... <snip> ... Here is what use in my .emacs to produce C function headers. You need to make a prototype first, e.g. something like: void writeSkeleton(char...
Lars Thuring
LThuring@...
Oct 1, 1999 10:26 am
9324
When deleting a word with M-d, there is sometimes a whitespace. Is there a way have that gobbled up along with the word? I'm sure it's pretty simple, but elisp...
Mike Caloud
caloud@...
Oct 1, 1999 4:44 am
9325
I apologize if the recipe is not in this message due time costraints. Anyway Emacs has a template package, tempo.el. You can read tempo.el documentation or...
Gian Uberto Lauri
lauri@...
Oct 1, 1999 7:34 am
9326
My pre-compiled gnuemacs 20.3.1 'highlights' all the displayed text with a grey background. That is, text in an ordinary buffer (say, *scratch*) looks just...
Frank R. Brown
list.Frank@...
Oct 1, 1999 12:38 pm
9327
... I forgot to include an example of what you get, so here it is: /*FUNCTION void writeSkeleton(char *pText, int nMaxSize) Short description. ENTRY: char...
Lars Thuring
LThuring@...
Oct 1, 1999 12:41 pm
9328
I don't know the answer to your question, but I frequently use M-SPC to reduce all the extra spaces around the cursor to just one. It is bound to the command ...
tim.werner@...
Oct 1, 1999 1:16 pm
9329
I've always used a slightly modified version of packages/tegra.el.Z in the elisp archive. This assumes c-mode but I've modified it to use the current comment...
Marshall, Robert (BeWT)
rxmarsha@...
Oct 1, 1999 2:05 pm
9330
This is probably a more generic emacs question. Sorry for posting it here. With C-c C-c I can comment a region of code. I am not able to figure out how to...
Sridhar Vasudevan
svasu@...
Oct 1, 1999 4:43 pm
9331
After I have opened a file in emacs to edit, it creates a file with the same name, but a .flc extension. This file appears to be a binary format. Does anyone...
Anders Knudsen
anders.knudsen@...
Oct 1, 1999 5:02 pm
9332
... FRB> My pre-compiled gnuemacs 20.3.1 'highlights' all the displayed FRB> text with a grey background. That is, text in an ordinary buffer FRB> (say,...
Gian Uberto Lauri
lauri@...
Oct 1, 1999 5:12 pm
9333
... There isn't a built in way to do this in Emacs and it would be a little difficult since it's all based on the syntax table. Here's a new function that...
Howard Melman
howard@...
Oct 1, 1999 5:13 pm
9334
Hello, Are there any know problems with speedbar and folding mode? When I use speedbar to look at my files that are folded, I don't see any of my methods;...
Kevin Delia
Kevin.Delia@...
Oct 1, 1999 5:16 pm
9335
... I think this is rather mode-specific. However, the guiding principles are in info node `(emacs)Multi-Line Comments', from which this is ... To turn...
Dr Francis J. Wright
F.J.Wright@...
Oct 1, 1999 5:49 pm
9336
In simple.el is the comment-region function, which takes a final optional ARG: "If ARG is negative, delete that many comment characters instead." So we have...
Robert Bresner
rbresner@...
Oct 1, 1999 6:20 pm
9337
Sridhar, C-c C-c is usually bound to comment-region; the documentation for that function says: Comment or uncomment each line in the region. With just C-u...
Daniel, Elijah
Elijah.Daniel@...
Oct 1, 1999 6:21 pm
9338
... speedbar uses imenu by default to determine what to show. imenu builds its list from the contents of the buffer. I don't know how folding mode works but if...
Paul Kinnucan
paulk@...
Oct 1, 1999 6:37 pm
9339
C-u -1 C-c C-c performs this information. If for some bizarre reason you commented a region twice, C-u -2 C-c C-c will remove both sets, etc... ... Rod...
Rod Flancher
rflancher@...
Oct 1, 1999 6:43 pm
9340
Yes, that seems to be what is happening - I unfold a method then click Shift-MB2 and, voila!, the method(s) which are unfolded appear in speedbar...Thanks!...
Kevin Delia
Kevin.Delia@...
Oct 1, 1999 6:43 pm
9341
... DB> I'm a bit rusty at lisp. Can someone give me a head start for writing an DB> elisp function to create a file template such as There used to be some...
Jack Vinson
vinson@...
Oct 1, 1999 6:46 pm
9342
Thanks for all the input. Van pointed me to the fast lock mode in emacs. Sure enough, my .emacs file sets this mode. Below is the mode description from emacs: ...
Anders Knudsen
anders.knudsen@...
Oct 1, 1999 7:57 pm
9343
... (defun uncomment-region (b e) "Remove one level of comment around region." (interactive "r") (comment-region b e -1)) Then, for example: (add-hook...
Ken Goldman
kgold@...
Oct 1, 1999 8:12 pm
9344
'.FLC' is a coloring book. I believe that this is font-lock cached info. If you use the syntax- highlighting (colors) for editing files, it will store the ...
Bill Pringlemeir
bpringle@...
Oct 1, 1999 8:34 pm
9345
I'm investigating a problem that has some chance of being an incompatibility between feedmail.el and emacs 20.4, but it's a bit inconvenient for me to test...
WJCarpenter
bill@...
Oct 1, 1999 8:52 pm
9346
I believe it is a font lock colorization file. I've seen them get created when either I have a font lock not set to lazy or a really big file. It seems to...
Jere McDevitt
Jere_McDevitt@...
Oct 1, 1999 8:56 pm
9347
... That is incorrect, I believe. Consider Emacs-Lisp mode. You add doubled comment characters (;;) with C-u 2 M-x comment-region, you remove them with C-u...
Joe Riel
joer@...
Oct 1, 1999 9:03 pm
9348
DB- I know a bunch of other folks already replied to this one but I just couldn't resist...I've been playing around minimally with elisp for a few weeks and...
Michael Landis
mike@...
Oct 2, 1999 12:23 am
9349
... In addition to the other excellent suggestions, let me add the alternative of running an X window system such as EXCEED on your NT machine. That way, you...
Uday S. Reddy
u-reddy@...
Oct 2, 1999 12:56 am
9350
Thanks for all the help. I've built it based on the code by rbresner and it's working great. In the future I'll take a look at tempo.el and see what kinds of...
Deep Blue
cooldev@...
Oct 2, 1999 3:06 am
9351
M-X SHELL or F2 both don't work. I can't get Emacs to run cmdprompt. No prompt line appears after I open a shell. How can I fix this problem? Isaac ...
Isaac
fik@...
Oct 3, 1999 7:01 am
9352
... I think it might be worth forcing ange-ftp to treat the host as a "dumb" host; see `ange-ftp-add-dumb-unix-host' and `ange-ftp-dumb-unix-host-regexp' for...