bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13273: 24.3.50; [PATCH] enhancement request: repeatable `visual-line


From: Eli Zaretskii
Subject: bug#13273: 24.3.50; [PATCH] enhancement request: repeatable `visual-line-mode' line movements
Date: Fri, 28 Dec 2012 22:13:57 +0200

> From: Vitalie Spinu <spinuvit@gmail.com>
> Cc: drew.adams@oracle.com,  13273@debbugs.gnu.org
> Date: Fri, 28 Dec 2012 20:55:41 +0100
> 
>   > Did you re-dump Emacs after patching simple.el?  simple.el is
>   > preloaded, so you cannot patch it without dumping Emacs again.
> 
> What is re-dump Emacs? Recompile from scratch? You don't mean dump-emacs
> function, do you?

Yes, I do.  Typing just "make" in the source tree after you patch
lisp/simple.el will do that automatically.

> I have just evaluated the new functions that Drew has supplied. Also
> loaded the whole simple.el with load-buffer. Tried the new functions and
> they didn't work + all other misbehavior. Same effect in both cases.

I'm not surprised.  Doing what you did might cause any number of weird
effects.  Don't do that if you care about your sanity.

> Beginning-of-line and end-of-line are C built-ins. Drew's functions are
> elisp.

Exactly.  So functions in C that call these built-ins from C will
still call the old versions coded in C, and Emacs is likely to run
amok.

> My guess is that that might matter even when recompiling emacs.

Yes, the C built-ins need to be commented out, and then Emacs needs to
be recompiled.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]