Re: etags: M-. jump to the tag(called func), but then how can i jump BACK(the calling line)?

2005-09-13 Thread Kevin Rodgers
t I can't find any reference to imenu-go in the etc/*NEWS files. Absent any evidence in the lisp/ChangeLog* files that pop-tag-mark was derived from your imenu-go, I think you have plenty of incentive to find out whether it meets your requirements (and thus obviates your complaint about a &qu

Re: lisp, gnus, rmail or vm questions

2005-09-12 Thread Kevin Rodgers
ago but it did not appear in menus. You can definitely do more in VM than Rmail, especially with MIME support and virtual folders. Since VM isn't part of Emacs, you should post a more specific question on gnu.emacs.vm.info -- Kevin Rodgers ___ Help-

Re: Using non-standard GNU GLOBAL options from within Emacs

2005-09-08 Thread Kevin Rodgers
.org/software/global/maillist.html). -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Newbie major-mode and elisp question

2005-09-08 Thread Kevin Rodgers
; to nil: | | (define-derived-mode article-mode sgml-mode "Article" | "Major mode for editing technical articles." | (setq case-fold-search nil)) | | Note that if the documentation string had been left out, it would have | been generated automatically, with a referen

Re: python novice

2005-09-07 Thread Kevin Rodgers
Adam wrote: >>(setq debug-on-error t) > > I stuck this into the *scratch* buffer, C-j didn't > work so I did eval-region to it. Now I get the > error reported as below. Hmmm ... > > Seems I'm in python-mode, however this is a Lisp > of Emacs error - telling me .. something. > > Seems I should hit

Re: Smooth incremental GNU Global gtags behaviour from Emacs

2005-09-07 Thread Kevin Rodgers
(gtags-global-complete-list-maybe)) ) ; (lambda () ...) ) ; (add-hook 'gtags-mode-hook ...) ); (when (executable-find "global") ...) ;; Use gtags in all modes for now. (gtags-mode 1) ); (when (locate-library "gtags") ...) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: local key swap? alternatives?

2005-09-07 Thread Kevin Rodgers
ime I have to spend on it... If the define-my-insert macro were rewritten to evalutate the NAME and CHAR arguments, you could add this to swap-keys: (when (eq binding-1 'self-insert-command) (setq binding-1 (define-my-insert (intern key-1) (string-to-char key-1 (when (eq bindi

Re: python novice

2005-09-06 Thread Kevin Rodgers
pe: sequencep, cpython" > > Whereas the same python program saved chmod +x and > run from the $ prompt works fine. > > How should I go about finding out about that error message ? (setq debug-on-error t) -- Kevin Rodgers ___

Re: Newbie question

2005-09-06 Thread Kevin Rodgers
the initial of some word in the item's name. | This letter or digit is separated from the item name by `=>'. You can | type the item's letter or digit to select the item. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: instance process name

2005-09-06 Thread Kevin Rodgers
at was used to run Emacs. | Any directory names are omitted. ` -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: instance process name

2005-09-02 Thread Kevin Rodgers
Rancier, Jeff wrote: > Is there an easy method to retrieve the process name of 'this' instance of > Emacs, via a lisp expression? ,[ C-h f emacs-pid RET ] | emacs-pid is a built-in function. | (emacs-pid) | | Return the process ID of Emacs, as an integer. `

Re: local key swap? alternatives?

2005-09-01 Thread Kevin Rodgers
ey keymap key-2 binding-1) (when (interactive-p) (message "%s runs the command %s; %s runs the command %s" key-1 (lookup-key keymap key-1 t) key-2 (lookup-key keymap key-2 t) (swap-keys "$" "4" latex-mode-map) (swap-keys "%" "5" latex-mode-map) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: user input in a macro

2005-08-31 Thread Kevin Rodgers
cally while the macro is running? I think this requires enable-recursive-minibuffers to be set: M-: (insert (read-string "Name: ")) RET But there is probably a better way. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: tags, yet again

2005-08-30 Thread Kevin Rodgers
can customize this variable. | | Defined in `etags'. ` -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: applying changes in .emacs

2005-08-29 Thread Kevin Rodgers
re's more. For example, if you want to double the default value of some variable: (setq max-lisp-eval-depth (* 2 max-lisp-eval-depth)) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: showing 2 buffers m then x

2005-08-29 Thread Kevin Rodgers
show buffers marked with m, in other windows. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: expand/collapse{} in c++

2005-08-26 Thread Kevin Rodgers
ent local keymap. If you only > want that binding available in c++-mode, you probably have set the > binding in the mode hook That's what I recommend, but some people prefer to use define-key and specify the keymap by name: (define-key c++-mode-map [f4] (kbd "C-c @ C-a")) --

Re: how to change file coding system

2005-08-26 Thread Kevin Rodgers
Peter Dyballa wrote: > and in csh alikes (csh, tcsh, zsh) ? la: > > set LANG=de_DE.UTF-8 I think you mean: setenv LANG de_DE.UTF-8 -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman

Re: invoking rcs from emacs on vfat

2005-08-25 Thread Kevin Rodgers
rcs'. ` E.g. (setq vc-rcs-master-templates (append vc-rcs-master-templates (mapcar 'downcase vc-rcs-master-templates))) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: how much memory?

2005-08-24 Thread Kevin Rodgers
ib-src utilities). That compares to 22.7 MB of Emacs Lisp and 15.7 MB of byte-compiled Lisp in the distribution, of which 2.6 MB was dumped into the 4.8 MB emacs executable. So a fresh emacs is about 46% C and 54% Lisp. -- Kevin Rodgers ___ Help-gnu-em

Re: font of menus

2005-08-24 Thread Kevin Rodgers
Friedrich Laher wrote: > Kevin Rodgers wrote: >> Have you tried customizing the menu face? > > how to do it that way ( ?? option -> customize ... ? ) > I cannot see but because my application invoces > emacs via shellscript, it's better done there anyway. Options -

Re: emacs-calc

2005-08-23 Thread Kevin Rodgers
Peter Tury wrote: how can I download calc? Can it be used on Win (XP)? I have Emacs 21.3.1 (a mingw build). I installed it simply and I can't see any calc.el(c) etc.? Start here: http://www.emacswiki.org/cgi-bin/wiki/AdvancedDeskCalculator -- Kevin Ro

Re: font of menus

2005-08-23 Thread Kevin Rodgers
Friedrich Laher wrote: is ther no way to influence the font of menus? Have you tried customizing the menu face? See also the Lucid [Menu X] Resources or LessTif [Menu X] Resources sections of the Emacs manual, depending on which toolkit you're using. -- Kevin Ro

Re: Case insensitive font-lock

2005-08-22 Thread Kevin Rodgers
to specify CASE-FOLD as non-nil. But you are specifying CASE-FOLD as t when fvwm-keywords-ignore-case is nil. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: re-search repeat by \{N\} not working. Bug?

2005-08-22 Thread Kevin Rodgers
Friedrich Laher wrote: or what's to be done? Post an actual example, please. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: List possible completions in pop-up menu and choose from it.

2005-08-19 Thread Kevin Rodgers
"*e") (save-window-excursion; suppress *Completions* buffer (dabbrev-mouse-completion)) ... ) And then replace the t POSITION argument to x-popup-menu with event. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Select an entire paragraph

2005-08-18 Thread Kevin Rodgers
[EMAIL PROTECTED] wrote: > Sorry if this is not the correct forum for this. Is there a way to > quickly select an entire paragraph (block of text surounded by > new/blank) lines? M-h M-w -- Kevin Rodgers ___ Help-gnu-emacs mailing list

Re: global key not binding

2005-08-15 Thread Kevin Rodgers
Baloff wrote: Kevin Rodgers <[EMAIL PROTECTED]> writes: Baloff wrote: > (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c b > (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c p > > I get symbol function definition is void .

Re: Case insensitive font-lock

2005-08-15 Thread Kevin Rodgers
ification functions, | `font-lock-fontify-buffer-function', `font-lock-unfontify-buffer-function', | `font-lock-fontify-region-function', `font-lock-unfontify-region-function', | `font-lock-inhibit-thing-lock' and `font-lock-maximum-size'. | | Defined in `

how to do reverse lookup in function-key-map?

2005-08-12 Thread Kevin Rodgers
the inverse lookup doesn't work: (where-is-internal 'up function-key-map) => nil (where-is-internal [up] function-key-map) => nil And ` C-h l' shows: ESC O A -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: error message:wrong type argument: listp, unbound

2005-08-11 Thread Kevin Rodgers
RET t RET C-x C-f foo.C RET Then post the *Backtrace* buffer contents here. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: error message:wrong type argument: listp, unbound

2005-08-11 Thread Kevin Rodgers
tart emacs with the -q and --no-site-file command line options? -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Keyboard macro with Isearch

2005-08-11 Thread Kevin Rodgers
ean by "stick after call Isearch". But these avoid the problem reported by the OP by explicitly terminating isearch, with C-m. And to find the beginning or end of a function definition, Emacs already has C-M-a and C-M-e. -- Kevin Rodgers __

Re: inserting the scratch buffer

2005-08-10 Thread Kevin Rodgers
Baloff wrote: > how do I insert the scratch buffer at point. > > say I am writing a post and want to insert whatever I wrote in my > scratch buffer. M-x insert-buffer RET *scratch* RET -- Kevin Rodgers ___ Help-gnu-emacs mailing list He

Re: global key not binding

2005-08-10 Thread Kevin Rodgers
pkg/info/" Info-default-directory-list)) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: global key not binding

2005-08-10 Thread Kevin Rodgers
`info' directory in the | source tree is used as the first element of `Info-directory-list', in | place of the installation Info directory. This is useful when you run | a version of Emacs without installing it. | | Defined in `info'. ` -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: c++-mode vs. c-mode

2005-08-09 Thread Kevin Rodgers
da () (run-hooks 'c-mode-hook))) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: inserting a file

2005-08-08 Thread Kevin Rodgers
my .emacs: (global-set-key "\C-xI" 'insert-buffer) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: default startup mode

2005-08-08 Thread Kevin Rodgers
-file is nil the site-start library should have been loaded. However it is possible that any of those files was partially loaded, then aborted due to errors. I don't know if it's possible to detect those cases after the fact, but if yo

Re: Name completion for library

2005-08-08 Thread Kevin Rodgers
e (list (completing-read "Load library: " 'locate-file-completion (cons load-path load-suffixes) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: vm - saving outgoing messages to som folder.

2005-08-05 Thread Kevin Rodgers
makwak wrote: > I also wondered whether there is a way to save my sent messages to > some IMAP folder. Hmmm, that'd be cool. It looks like Gnus' Message mode might support that; see the Archived Messages and the IMAP nodes of the Gnus manual, then ask specific questions on the gnu.emacs.gnus new

Re: focus return to old frame after make-frame

2005-08-05 Thread Kevin Rodgers
-frame (selected-frame)) (focus-function (intern (format "%s-focus-frame" window-system ad-do-it (when (fboundp focus-function) (funcall focus-function selected-frame -- Kevin Rodgers ___ Help-gnu-emacs mailing l

Re: Making recentf-menu-filter a list

2005-08-04 Thread Kevin Rodgers
senames recentf-arrange-by-mode)) >>` > > Probably, just a small matter of programming I'd guess. :-) > Maybe the sorting an displaying should be decoupled. How about: (setq recentf-menu-filter (lambda (menu-elements) (recentf-show-basenames (recentf

Re: default startup mode

2005-08-04 Thread Kevin Rodgers
uffer. | | You can customize this variable. | | Defined in `startup'. ` -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: vm - saving outgoing messages to som folder.

2005-08-03 Thread Kevin Rodgers
le name in each field. To put a fixed file name in the `FCC' field each time you start editing an outgoing message, set the variable `mail-archive-file-name' to that file name. Unless you remove the `FCC' field before sending, the message will be written into that

Re: igrep on remote files with tramp?

2005-08-02 Thread Kevin Rodgers
Kevin Rodgers wrote: > Daniel Berdine wrote: > > In any case, being able to run remote processes with tramp would be > great. > > It turns out that ange-ftp provides file name handlers for > shell-command, which uses remote-shell-program (e.g. /bin/remsh) to > execute

Re: igrep on remote files with tramp?

2005-08-02 Thread Kevin Rodgers
Daniel Berdine wrote: > On Thu, 28 Jul 2005 15:28:54 -0400, Kevin Rodgers wrote > (in article <[EMAIL PROTECTED]>): > > igrep only supports ange-ftp (and efs) to the extent that the > > igrep-visited-files and Buffer-menu-igrep commands explicitly ignore > > rem

Re: recentf: abbreviate paths? tilde for home folder?

2005-08-02 Thread Kevin Rodgers
nd-file-name "~")) "~" name)) > (setq recentf-filename-handler 'rs-recentf-filename-handler) Why not just (setq recentf-filename-handler 'abbreviate-file-name) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: how to create dedicated buffers every time emacs starts?

2005-08-02 Thread Kevin Rodgers
basically, make these 3 buffers every time emacs starts and if I call > M-x whatever, place it in one of those buffers and not in the buffer I > happen to be working in. ... for that, you have to call M-x whatever in your .emacs file: (dictionary) (info) (man "man") -- Kevin Rodger

Re: Font and Window Size in emacs

2005-08-02 Thread Kevin Rodgers
0-*-*-*-*-iso8859-1 But iso10646-1 might be more useful than iso8859-1. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: those strange characters

2005-08-01 Thread Kevin Rodgers
(when (equal (file-name-extension buffer-file-name) "script") (ansi-color-apply-on-region (point-min) (point-max) But if you don't want to adhere to such a convention, you could try translating all files: (require 'ansi-color) (add-hook 'find-file-hooks (lambda () (ansi-color-apply-on-region (point-min) (point-max -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: igrep on remote files with tramp?

2005-07-28 Thread Kevin Rodgers
Michael Albinus wrote: > Kevin Rodgers <[EMAIL PROTECTED]> writes: >>To properly support remote files, igrep would need to invoke the grep >>command in a remote shell. I know there has been discussion about >>whether Emacs should implement process handlers, so that tr

Re: marrying braket for ?: operator

2005-07-28 Thread Kevin Rodgers
ould recognize things like foible::gibber::eugh() and weeble::kerplunk(funky::gibbon ? whoop : holler()) as single expressions to be skipped over. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/lis

Re: igrep on remote files with tramp?

2005-07-28 Thread Kevin Rodgers
as been discussion about whether Emacs should implement process handlers, so that tramp could run programs on a remote host when invoked from a buffer visiting a remote file. But I don't know what was decided and implemented (if anything). Thanks, -- Kevin Rodgers _

Re: How to produce the effect of * and # of VIM in Emacs?

2005-07-27 Thread Kevin Rodgers
te some elisp function that > does so. Since you know the equivalent key sequence, it's just a macro: (global-set-key "*" "\M-b\C-s\C-w") -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: fancy diary display settings

2005-07-26 Thread Kevin Rodgers
t for the diary display. But the EmacsWiki shows you how to roll your own: http://www.emacswiki.org/cgi-bin/wiki/DiaryMode -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Need help writing file-visiting macro

2005-07-26 Thread Kevin Rodgers
used to open those jsp buffers (java > buffer respectively)?, when each of this file is / can be in different > directory? Just stick with find-file, or perhaps (switch-to-buffer (find-file-noselect FILE)) or (pop-to-buffer (find-file-noselect FILE)). -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Need help writing file-visiting macro

2005-07-25 Thread Kevin Rodgers
active) (when (null mdl-file) (setq mdl-file buffer-file-name)) (unless (and mdl-file (equal (file-name-extension mdl-file) "mdl")) (error "%s is not a \".mdl\" file" mdl-file)) (find-file (concat (file-name-sans-extension mdl-file) "_Impl.c")))

Re: set mark and point around current line

2005-07-25 Thread Kevin Rodgers
to the > window of my choice. You can give a prefix arg to other-window (which is what `C-x o' is bound to), e.g. `C-u 3 C-x o' or `M-3 C-x o'. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Query Major Mode

2005-07-21 Thread Kevin Rodgers
ython-mode. The value of mode-name is a string, e.g. "Python". -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Apply macro to region

2005-07-21 Thread Kevin Rodgers
nt-prefix-arg (read-command "Name of keyboard macro to apply: ") BTW, frequent users of apply-macro-to-region-lines might like this: (global-set-key "\C-xE" 'apply-macro-to-region-lines) -- Kevin Rodgers __

Re: find-file, default path

2005-07-19 Thread Kevin Rodgers
the files in your certain directory, it will prompt with that directory. If typing that directory name even once is too much, try setting an environment variable to it so you can reference it: C-x C-f $CERTAIN_DIR Or try putting this in your ~/.emacs file: (cd "/path/to/a/certain/director

Re: different font-lock faces for different modes

2005-07-18 Thread Kevin Rodgers
(set (make-local-variable font-lock-comment-face) ugly-face))) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul

2005-07-07 Thread Kevin Rodgers
| Normal hook run after loading terminal-specific Lisp code. | It also follows `emacs-startup-hook'. This hook exists for users to set, | so as to override the definitions made by the terminal-specific file. | Emacs never sets this variable itself. | | Defined in `startup'. ` -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: smtpmail.el and logging

2005-07-01 Thread Kevin Rodgers
x27; is non-nil, append the contents of the trace buffer." (when smtpmail-log-file (with-current-buffer (get-buffer (format "*trace of SMTP session to %s*" smtpmail-smt

Re: how to tell ediff to ignore case (case-insensitive comparison)?

2005-06-30 Thread Kevin Rodgers
sed as `ediff-diff-program', then the most useful options are | `-w', to ignore space, and `-i', to ignore case of letters. | At present, the option `-c' is not allowed. | | You can customize this variable. | | Defined in `ediff-diff'. ` -- Kevin Rodgers ___

Re: did syntax for setq auto-mode-alist or regexp change with 21.3.1?

2005-06-30 Thread Kevin Rodgers
alist (cons `( "makefile\\.gcc" . makefile-mode ) > auto-mode-alist )) No, you just need to put spaces around the dot that's between the complex regexp and the function. > Any ideas why the first form no longer works? To get you to clean up your code :-) Since dot is a valid

Re: display information in seperate buffer

2005-06-30 Thread Kevin Rodgers
he lines containing 'inletvelocity'!? Run ediff-buffers normally, then use `#f' to focus it on the differences you're interested in (those that match "inletvelocity"). -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: backward search for histories

2005-06-28 Thread Kevin Rodgers
mand in history... Do you know about google.com? Searching for "emacs minibuffer history isearch" yields http://lists.gnu.org/archive/html/emacs-devel/2004-12/msg00926.html http://www.sodan.org/~knagano/emacs/minibuf-isearch/ -- Kevin Rodgers __

Re: Dired shell command on file asymchronously

2005-06-24 Thread Kevin Rodgers
d introduce quoting characters that would be interpreted as part of the file name. If COMMAND is actually a shell command (i.e. with redirection operators etc.) then you must use shell-command instead of call-process. If it is just a program, then using call-proc

Re: backward search for histories

2005-06-22 Thread Kevin Rodgers
andyetitmoves wrote: > I would like to know if there is any package that can backward search > the history in use from the minibuffer, much like what C-r does in > zsh/bash. While entering anything in the minibuffer, M-r runs the previous-matching-history-element command. -- Kevi

Re: Sql-Mode - getting query results from MS SQL Server 2000

2005-06-16 Thread Kevin Rodgers
nction. Do ;; *not* call sql-interactive-mode by itself. ;; sql-mode can be used to keep editing SQL statements. The SQL ;; statements can be sent to the SQL process in the SQLi buffer. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Preventing modes overriding global keys

2005-06-14 Thread Kevin Rodgers
o fudge it by using key-translation-map to generate a user-defined function key from (kbd "TAB") that you would map globally to end-of-line. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Spell Checking

2005-06-08 Thread Kevin Rodgers
Stefan Monnier wrote: > Could you maybe pass this on to CC-mode people? Done. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Bug? in CC-Mode

2005-06-07 Thread Kevin Rodgers
(add-hook 'c-mode-hook (lambda () (c-set-style "gnu"))) BTW, the manual says: The default style in all newly created buffers is `gnu', but you can change this by setting variable `c-default-style'. So you shouldn't need to do anyt

Re: Spell Checking

2005-06-07 Thread Kevin Rodgers
t tHello is misspelled, causing many false > errors. Can you trick it by adding backslash-character to ispell-skip-region-alist? (add-hook 'c-mode-hook (lambda () (set (make-local-variable 'ispell-skip-region-alist) (cons '("\\

Re: gcc on xemacs

2005-06-06 Thread Kevin Rodgers
(file-name-nondirectory buffer-file-name)) in conjunction with these shell settings: CC=gcc; export CC CFLAGS=-Wall; export CFLAGS -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: user-input ?

2005-06-03 Thread Kevin Rodgers
ons, most of which are documented in the "High-Level Completion" and "Reading File Names" nodes. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Following links from help buffers - how to modify?

2005-06-02 Thread Kevin Rodgers
ich fails for built-in functions). (let* ((location (find-function-search-for-symbol fun nil file))) (pop-to-buffer (car location)) (goto-char (cdr location (list function file-name)

Re: mime-compose.el and Debian

2005-05-31 Thread Kevin Rodgers
Brendan Halpin wrote: > Kevin Rodgers <[EMAIL PROTECTED]> writes: >>Doesn't RMAIL respect mail-user-agent? >> >>(setq mail-user-agent 'message-user-agent) > > Yes, it does, but my problem is knowing which one I *should* use, > in terms of long-term de

Re: mime-compose.el and Debian

2005-05-31 Thread Kevin Rodgers
de), but can't break the > RMAIL habit so I get mail-mode when I do C-u R. Doesn't RMAIL respect mail-user-agent? (setq mail-user-agent 'message-user-agent) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Emacs 21 and w3 on Debian

2005-05-31 Thread Kevin Rodgers
Klaus Straubinger wrote: > Kevin Rodgers <[EMAIL PROTECTED]> wrote: >>Is it necessary to destructively modify url-callback-arguments? > > I am not sure because I have no complete overview over the URL library. > But in many places dynamic binding is used where one

Re: Emacs 21 and w3 on Debian

2005-05-27 Thread Kevin Rodgers
Klaus Straubinger wrote: > Kevin Rodgers <[EMAIL PROTECTED]> wrote: >>How exactly is that improvement implemented? >> >>(cons redirect-uri url-callback-arguments) >> >>(if url-callback-arguments >> (cons redirect-uri (cdr url-callback-argu

Re: Char Printing

2005-05-25 Thread Kevin Rodgers
s, caret and capital J. > Is there a function that will take an int (10) and print "\n"? If you want to print a newline, use (terpri). If you want to insert a newline, use (insert ?\n). -- Kevin Rodgers ___ Help-gnu-emacs mailing list H

Re: Emacs 21 and w3 on Debian

2005-05-25 Thread Kevin Rodgers
w exactly is that improvement implemented? (cons redirect-uri url-callback-arguments) (if url-callback-arguments (cons redirect-uri (cdr url-callback-arguments)) (list redirect-uri)) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-e

Re: translating the Hyper modifier to C-c

2005-05-24 Thread Kevin Rodgers
ntable ASCII character (space through tilde) ;; as a keyboard macro: Control-c followed by the character itself (let ((char ? )) (while (<= char ?~) (global-set-key (vector (car (read-from-string (format "?\\H-%c" char (format "\C-c%c"

Re: Case sensitive regexp

2005-05-23 Thread Kevin Rodgers
. However evaluating (looking-at "A") when the point is before an "a" returns true. Try (let ((case-fold-search nil)) (looking-at "A")) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://

Re: How to paste (yank) "raw text"

2005-05-23 Thread Kevin Rodgers
move-text-properties activate) "Remove all text properties from the inserted text." (set-text-properties (region-beginning) (region-end) '())) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: detached minibuffer woes

2005-05-20 Thread Kevin Rodgers
dow manager. I'm curious whether follow-mouse.el (which implements focus-follows-mouse within Emacs) works for you: http://www.emacswiki.org/elisp/follow-mouse.el -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Argument-list in function with variable number of arguments...

2005-05-20 Thread Kevin Rodgers
(while (< i n) (setq args (cons (read-from-minibuffer (format "Argument %d: " (setq i (1+ i args))) args)) ...) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: desktop and encodings

2005-05-19 Thread Kevin Rodgers
Mads Jensen wrote: I wish to have desktop-mode store the encodings, so I won't have to set them manually after desktop opened with "C-x RET f RET encoding". (setq desktop-locals-to-save (cons 'buffer-file-coding-system desktop-locals-to-sav

Re: how to not show images?

2005-05-19 Thread Kevin Rodgers
answers my question about the feature existing, and I'll just have to figure out why they don't work for me. Yes. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: customization; std vs. personal libraries

2005-05-19 Thread Kevin Rodgers
t; > > Eh ".emacs" is an ASCII file containing variables and values for > configuring Emacs. > > Are you being ironic, or complaining that the ASCII file uses the format > >(setq VAR VAL) > > instead of > >V

Re: how to not show images?

2005-05-19 Thread Kevin Rodgers
buffer. (set (make-local-variable 'image-types) nil) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: calling set-face-font in the .gun-emacs (aka .emacs)

2005-05-19 Thread Kevin Rodgers
Hattuari wrote: What I was really trying to learn is how to call an interactive command programmatically. I believe that can be done. Use `C-h f'. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/ma

Re: Listing completions automatically

2005-05-13 Thread Kevin Rodgers
he list of possible completions actually diplayed. Is there way to show the list immediately? (let ((unread-command-events (cons ?\t unread-command-events))) (completing-read PROMPT TABLE ...)) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help

Re: w3m-emacs

2005-05-13 Thread Kevin Rodgers
? Why not use desktop.el? (setq desktop-buffer-modes-to-save (cons 'w3m-mode desktop-buffer-modes-to-save)) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: wrong-type-argument when ~/.emacs is byte compiled

2005-05-12 Thread Kevin Rodgers
name (concat default-directory ".emacs"))) > (byte-compile-file (buffer-file-name > (add-hook 'after-save-hook 'autocompile) That will automatically byte compile .emacs files in any directory. -- Kevin Rodgers ___ Help-g

Re: use of special-event-map

2005-05-09 Thread Kevin Rodgers
me. Again, see the Misc Events node (aka Miscellaneous Window System Events section) of the Emacs Lisp manual. -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: Calculate window size in pixels

2005-05-06 Thread Kevin Rodgers
-width (truncate (* (window-width) column-pixel-width-ratio I think (+ (frame-pixel-DIMENSION) 0.0) can be replaced by (float (frame-pixel-DIMENSION)) -- Kevin Rodgers ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org

  1   2   >