self insertion
  Home FAQ Contact Sign in
Search only in:
alt.philosophy
 
Advanced search
MATCHING GROUPS



more...
Group Profile...
POPULAR GROUPS

more...

found 650 articles for 0.007 sec
Re: Overriding self-insert-command doesn't work     

Author: Robert Thorpe
Date: Mar 14, 2007 07:17

...> wrote: On Mar 12, 6:23 pm, "Robert Thorpe" <rtho...@realworldtech.com> wrote: The command "self-insert-command" is inbuilt to Emacs. It is part of .... I don't see why built-in functions should have to call the internal implementation of self-insert-command directly rather than invoking the function in the symbol's function slot. Isn't ...
Show full article (0.89Kb)
RE: Overriding self-insert-command doesn't work     

Author: Drew Adams
Date: Mar 12, 2007 19:04

> if you know ways other than advising to change the definition of self-insert-command transpararently then I'm all ears. (define-key map [remap self-insert-command] #'my-version-of-self-insert) or add some function to `after-change-functions'. The first one requires emacs 22 (AFAIK). I use this, which ...
Show full article (0.49Kb)
Re: Overriding self-insert-command doesn't work     

Author: Barry Margolin
Date: Mar 12, 2007 18:25

... wrote: On Mar 12, 6:23 pm, "Robert Thorpe" <rtho...@realworldtech.com> wrote: The command "self-insert-command" is inbuilt to Emacs. It is part of ...I don't see why built-in functions should have to call the internal implementation of self-insert-command directly rather than invoking the function in the symbol's function slot. Isn'...
Show full article (1.19Kb)
Re: Overriding self-insert-command doesn't work     

Author: David Hansen
Date: Mar 12, 2007 12:30

...: I mean if you know ways other than advising to change the definition of self-insert-command transpararently then I'm all ears. I don't know what you wanna do but maybe: (define-key map [remap self-insert-command] #'my-version-of-self-insert) or add some function to `after-change-functions'. The first one requires emacs 22 (AFAIK). David...
Show full article (0.45Kb)
Re: Overriding self-insert-command doesn't work     

Author: spamfilteraccount
Date: Mar 12, 2007 11:30

...Mar 12, 6:23 pm, "Robert Thorpe" <rtho...@realworldtech.com> wrote: The command "self-insert-command" is inbuilt to Emacs. It is...should have to call the internal implementation of self-insert-command directly rather than invoking the function in the symbol's function slot...other than advising to change the definition of self-insert-command transpararently then I'm all ears...
Show full article (0.83Kb)
Re: Overriding self-insert-command doesn't work     

Author: Robert Thorpe
Date: Mar 12, 2007 10:23

...> I'd like to override self-insert-command in a way ... function belonging to the symbol `self-insert-command'. In the code ... it seems to affect only self-insert- command function calls (hello ...I press enter which presumably calls self-insert-command), but it's ... when I press any other self insert key (like "a"). Curiously,... Gnu Emacs 21. The command "self-insert-command" is inbuilt to ...
Show full article (1.30Kb) · Show article thread
Overriding self-insert-command doesn't work     

Author: spamfilteraccount
Date: Mar 10, 2007 08:56

I'd like to override self-insert-command in a way...function belonging to the symbol `self-insert-command'. In the code...own function: (defvar oldfunc (symbol-function 'self-insert-command)) (defun my...it seems to affect only self-insert- command function calls (hello...press enter which presumably calls self-insert-command), but it's...when I press any other self insert key (like "a"). Curiously...
Show full article (1.03Kb)
tempo-snippets (0.1.5) --- visual insertion of tempo templates     

Author: Nikolaj Schumacher
Date: Aug 11, 2008 04:45

...(match-string 1 prompt) prompt))) overlay) (insert text) (setq overlay (make-overlay beg (...))) ;;; overridden functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun tempo-snippets-insert-prompt (prompt &optional save-name no-insert...arg) 'arg)))) (put command-name 'no-self-insert t) (and tag (tempo-add-...
Show full article (22.13Kb)
Re: insert space after specific chars     

Author: Pascal J. Bourguignon
Date: Jul 15, 2008 11:23

....com> writes: I would like to insert a single space after certain characters, ...the local bindings of the buffer. (defun self-insert-and-space-command () (interactive) (insert last-command-char " ")) M-x local-set-key RET + RET self-insert-and-space-command RET If it..."&") (kbd "="))) (local-set-key key 'self-insert-and-space-command))) Then hook ...
Show full article (1.40Kb) · Show article thread
RE: How to insert space in minibuffer while in completing-read ?     

Author: Drew Adams
Date: Mar 8, 2008 14:06

...> allow space chars in minibuffer input, do this: (define-key minibuffer-local-completion-map " " 'self-insert-command)) (define-key minibuffer-local-must-match-map " " 'self-insert-command)) I think you mean to set those keys to nil rather than to `self-insert-command'. It may have the same result in 99%% ...
Show full article (0.61Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · next