General :: Default-tab-width A Emacs Function?
Apr 22, 2010Which is correct?
Code:
Or
Code:
I got these in two web sites.
From emacs window:
How would to get info about it in emacs documentation/manual?
Which is correct?
Code:
Or
Code:
I got these in two web sites.
From emacs window:
How would to get info about it in emacs documentation/manual?
anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?
View 2 Replies View RelatedWay back from Windows 3.x days to the latest 64bit Windows 7 (classic/standard theme)there is a way to make the window edge border wider then 1 pixel.I often use 3 to 5 pixel to make it easy to grab on hi-resolutions displays and hi DPI monitors.There doesn't seem to be an easy or obvious way to do this with the Gnome X-Windowing system?
View 3 Replies View RelatedI'm using emacs 23.2.1 with quack on Linux and trying to set my default typeface to Inconsolata Medium 13. It is installed on my system (debian sid) and can be set manually per buffer in emacs. However, I would like it to be used throughout and by default. My suspicion is that quack's mode is somehow conflicting.
I've searched a good deal looking for information on font customization in emacs. Although there is documentation and examples out there, I've found them fairly incoherent when taken together and nothing specifically addressing this issue. Here is my .emacs
set-default-font "Inconsolata-13")
Turn on visible-bell, get rid of beeps
setq visible-bell t)
Hilight the selected region
setq transient-mark-mode t)
[Code]...
In 10.4 I had set my default terminal size to my screen width - I type some long commands. After running an update this morning, my terminal comes up in the install default size. Using the preferences dialog, I cannot find the control to set the default width. Has it been removed? I hope I'm looking in the wrong place, but I have a chilling feeling that it's been dropped or perhaps just accidentally commented out.
View 2 Replies View RelatedA couple of days I started using latex and have still one question about the table width. My table is too wide for a page. How can I adjust it so that it fits on the full width of a page? Can I use a command or do I have to specify each column widths by hand?
My table looks like this;
I did try several commands likeextwidth, esizebox, setlength but didn't found the solution yet.
I use ioctl to get the cosole window size (the SSH window).
I use the following code:
When I debug on linux pc, it gives me the correct window width. But after I try it on router (this is my enventual place where my code shall run), ioctl always give me 0 width, that is, numberOfColumnsOfTerminalWindow == 0. but the returnValue is 0 which means that the function call succeeds.
I'm using ubuntu 9.04. I use emacs for almost everything. I used emacs that I compiled from the source on my laptop. I liked the default font that came with it. So I never cared about the font. For some reasons I have to switch to another laptop where emacs is installed from the package. I donot want to go through compiling the source again. I would like to know what is name of the default font in emacs. I donot like the default font that comes with the ubuntu package.
The font I'm talking about is the font that is usually found in most emacs written documents. Similar to this webpage (web browsers might render this differently) . And also this webpage. describing font without knowing the name is difficult . The second link gives a better idea. (Hopefully :-))
Also I read about cse-huji-default-font but M-x describe-variable says it can not find the variable. (Is this related to my problem??)
what the default font of emacs is how to set it.
When I open Emacs the default is a split window. I can remove the splits with control-x-1. How to get it to open with a single window by default?
View 4 Replies View RelatedI was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:
-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).
Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?
The top row of keys on my notebook are currently assigned to various media functions (brightness, volume, play, stop, etc.) These keys are rarely used, and it would be better if they were assigned to the function keys (f1,f2,f3,...) by default, rather then using the fn key to access them. Locking the fn key down is not an option. What can I do?
View 2 Replies View RelatedI have a template similar to the following.
Code:
template <charT>
virtual void do_get_date(charT* = "str")
{ ... }
As you can see we have a problem. If we use a wchar_t instead the string wont be formatted right we need to prefix L in front. If we use char16_t we need to prefix a u in front. Is there a was to make the generic without resorting the the std::string class?
How can I change GTK caret width?
Debian GNU/Linux 5.0.4;
Gnome 2.22.3.
Is it possible to change the width of zmixer??
zmixer eventually uses gtk_vscale but I am not able to increase the width of it.
I'm running 9.10. I was installing ALSA so that I could run my EMU 1616, and when I tried to go through the steps to install, I'm running into two errors that I've noticed so far. I think. Anyway, the first is that is states that the panelw library isn't there, and that alsamixer: function snd_ctl_open failed for default: No such device or address. The alsamixer one is really odd, since it's there, but I don't know why it won't run.
I initially had it running, and now it isn't. I've yet to get sound out of my EMU. the terminal window also tells me that it can't find the snd_emu file, even though it exists on the computer as well. I need an answer for a dummy.
My screen capture software, shutter and system's default "take screenshot", do not function normal any more. It can only capture the desktop wallpaper, not any other elements on the desktop, nor any other opened windows. It's just like taking an x-ray picture by passing all the other objects/elements/running programs on top of the desktop wallpaper. Any ideas? I am using Fedora 14 64 bit. The screen capture software were working fine, though.
My screen capture software, shutter and system's default "take screenshot", do not function normal any more. It can only capture the desktop wallpaper, not any other elements on the desktop, nor any other opened windows. It's just like taking an x-ray picture by passing all the other objects/elements/running programs on top of the desktop wallpaper. Any ideas? I am using Fedora 14 64 bit. The screen capture software were working fine, though.
I am logging the output of: top -b -n1 -c so I can keep track of which processes are using how much memory and CPU each minute. When top shows the full command line (-c), the command line text gets truncated at the edge of the screen. This is perfect when running and displaying in a terminal. However, I am sending STDOUT to a file for parsing later and want the full command name logged. Is there a way I can tell top to use a specific screen width? (I know it maxes at 512, that would be fine)
Is there a better way to achieve a similar goal: get periodic stats about which processes are running and how many resources they are consuming?
tmux shows screen like this:
[code]...
Window has non-maximum width, attempt to copy text from it leads to "" getting in text. How to fix it and get the tmux window full width?
I have a mixed set of images, each one having a slightly different resolution with a slightly different aspect ratio from the other images.I have tried using commands like:convert -resizeand:convert -cropHowever I can't seem to figure out the correct command to make all images have a width of 1024 and an aspect ratio of 6x4, without causing the image to stretch or get squashed.
View 2 Replies View RelatedWhat If I wanted to scan a string like the following...
[Code]...
Anyhow just one giant string that's longer than my screen's width. If I simply copy and paste that string after a grep command, it seems that the terminal inserts newlines at the terminal's width and therefore not the whole string goes in. Even if I insert a quote before the beginning of the string and then paste it in, terminal still reads in a newlines somehow and obviously says command not found, etc.
I'd like to widen the width of the standard vertical scrollbar in firefox 3.6 or above. I know now that it is not an edit in about:config and appears that you have to edit in user.js, prefs.js, or in the Profile folder but I 3 prefs.js in my profile folder -
prefs.js
prefs-1.js and
prefs-2.js
Secondly, I cannot find the user.js file. its location if it is still a viable file to edit. which (or what) prefs file I should concentrate on for this edit.
Plainly, it shouldn't be this tough to adjust the vertical scrollbar width, in a perfect world it would be adjustable though Windows. Anyway, this old fart's having difficulty grabbing that scrollbar.
My task bar is quite broad. so when ever i open more than 6 windows at a time then the task bar adjusts the tabs in two row. how can explicitly specify the width for those tabs. so that they all fit in one line.
View 1 Replies View RelatedI tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?
View 1 Replies View RelatedI bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.
View 9 Replies View RelatedCode:
#include <iostream>
using namespace std;
[code]...
I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.
View 2 Replies View RelatedI am currently interested in switching from vim to emacs.One of the more compelling reasons for this is the smooth integration with a unix environment. The most experienced emacs users I have seen have a bash prompt at the bottom of their window, with stdout going to a buffer right above it. They then interact with the output of programs such as grep in interesting ways.I am on Ubuntu 10.04 and the default emacs environment does not seem to do much for me in the way of integration. For example, in the M-x shell mode, output from basic commands like ls produce lots of strange characters and hitting the up arrow does not go to previous commands.
View 4 Replies View RelatedI am doing some project work and for that using the server at college with ssh connection. Every time I try to open emacs on the terminal after connecting, it opens emacs in the terminal itself i.e. not its own window. On my laptop on which ubuntu is installed, emacs always opens up in its own window an thats how I am used to it. There are several problems when it opens in the terminal like when I try to use commands such as M-V, actually terminal's view menu opens up, its very frustrating. Also I am pretty sure that the college server runs on red hat and has X installed on it. So what do I need to do to get my emacs window back.
View 4 Replies View RelatedI was reading how you could browse the net with Emacs but then it was stated that it was done with another application like Firefox so this would imply that Emacs is an interpreter would it not? What is Emacs capable of? Is it an interpreter that runs a text editor?
View 11 Replies View Related