Now on revision 111571. ------------------------------------------------------------ revno: 111571 fixes bug: http://debbugs.gnu.org/13503 committer: Eli Zaretskii branch nick: trunk timestamp: Sun 2013-01-20 20:06:54 +0200 message: Mention in NEWS that scroll-bar-adjust-thumb-portion is for X only. Bug#13503. diff: === modified file 'etc/NEWS' --- etc/NEWS 2013-01-19 20:38:13 +0000 +++ etc/NEWS 2013-01-20 18:06:54 +0000 @@ -59,6 +59,9 @@ POSIX ACL interfaces. ** New option `scroll-bar-adjust-thumb-portion'. +Available only on X, this option allows to control over-scrolling +using the scroll bar (i.e. dragging the thumb down even when the end +of the buffer is visible). * Editing Changes in Emacs 24.4 ------------------------------------------------------------ revno: 111570 committer: Paul Eggert branch nick: trunk timestamp: Sun 2013-01-20 09:45:53 -0800 message: * src/doprnt.c: Fix comment. diff: === modified file 'src/doprnt.c' --- src/doprnt.c 2013-01-02 16:13:04 +0000 +++ src/doprnt.c 2013-01-20 17:45:53 +0000 @@ -38,7 +38,7 @@ could include embedded null characters. . It signals an error if the length of the formatted string is about to - overflow MOST_POSITIVE_FIXNUM, to avoid producing strings longer than what + overflow ptrdiff_t or size_t, to avoid producing strings longer than what Emacs can handle. OTOH, this function supports only a small subset of the standard C formatted ------------------------------------------------------------ revno: 111569 committer: Glenn Morris branch nick: trunk timestamp: Sat 2013-01-19 18:40:49 -0800 message: * lisp-mode.el (emacs-lisp-mode-map): Add native profiler menu entries. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2013-01-20 02:39:59 +0000 +++ lisp/ChangeLog 2013-01-20 02:40:49 +0000 @@ -1,5 +1,8 @@ 2013-01-20 Glenn Morris + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): + Add native profiler menu entries. + * profiler.el (profiler-running-p): New function. (profiler-cpu-profile): Use profiler-running-p. (profiler-report-mode-map): Add some more menu entries. === modified file 'lisp/emacs-lisp/lisp-mode.el' --- lisp/emacs-lisp/lisp-mode.el 2013-01-19 20:38:13 +0000 +++ lisp/emacs-lisp/lisp-mode.el 2013-01-20 02:40:49 +0000 @@ -335,6 +335,22 @@ (bindings--define-key prof-map [prof-func] '(menu-item "Instrument Function..." elp-instrument-function :help "Instrument a function for profiling")) + ;; Maybe this should be in a separate submenu from the ELP stuff? + (bindings--define-key prof-map [sep-natprof] menu-bar-separator) + (bindings--define-key prof-map [prof-natprof-stop] + '(menu-item "Stop Native Profiler" profiler-stop + :help "Stop recording profiling information" + :enable (and (featurep 'profiler) + (profiler-running-p)))) + (bindings--define-key prof-map [prof-natprof-report] + '(menu-item "Show Profiler Report" profiler-report + :help "Show the current profiler report" + :enable (and (featurep 'profiler) + (profiler-running-p)))) + (bindings--define-key prof-map [prof-natprof-start] + '(menu-item "Start Native Profiler..." profiler-start + :help "Start recording profiling information")) + (bindings--define-key menu-map [lint] (cons "Linting" lint-map)) (bindings--define-key lint-map [lint-di] '(menu-item "Lint Directory..." elint-directory