1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00
Commit Graph

109964 Commits

Author SHA1 Message Date
Glenn Morris
7e561c1012 ChangeLog fixes 2013-02-11 23:38:54 -08:00
Glenn Morris
958614cf80 Make S-SPC scroll in the opposite direction to SPC
* lisp/calc/calc-graph.el (calc-graph-show-dumb):
* lisp/calendar/calendar.el (calendar-mode-map):
* lisp/cus-edit.el (custom-mode-map):
* lisp/ehelp.el (electric-help-map):
* lisp/emulation/vip.el (vip-mode-map):
* lisp/epa.el (epa-key-list-mode-map):
* lisp/info.el (Info-mode-map):
* lisp/mail/rmail.el (rmail-mode-map):
* lisp/mail/rmailsum.el (rmail-summary-mode-map):
* lisp/man.el (Man-mode-map):
* lisp/net/newst-plainview.el (newsticker-mode-map):
* lisp/progmodes/cpp.el (cpp-edit-mode-map):
* lisp/progmodes/grep.el (grep-mode-map):
* lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
* lisp/simple.el (special-mode-map):
* lisp/startup.el (splash-screen-keymap):
* lisp/view.el (view-mode-map):
Make S-SPC scroll in the opposite sense to SPC.

Fixes: debbugs:2145
2013-02-11 20:46:18 -08:00
Eli Zaretskii
8c0905acd1 MS-Windows followup for 2013-02-11T23:37:18Z!eggert@cs.ucla.edu.
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
 ($(BLD)/memrchr.$(O)): New dependency.

 nt/inc/ms-w32.h: Add prototype for memrchr.
2013-02-12 05:52:04 +02:00
Glenn Morris
71b8431643 Tweak quoting in earlier configure.ac emacs_config_options change 2013-02-11 19:51:24 -05:00
Paul Eggert
a84b7c5334 Tune by using memchr and memrchr.
* .bzrignore: Add string.h.
* admin/merge-gnulib (GNULIB_MODULES): Add memrchr.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4:
New files, from gnulib.
* src/doc.c (Fsnarf_documentation):
* src/fileio.c (Fsubstitute_in_file_name):
* src/search.c (find_newline, scan_newline):
* src/xdisp.c (pos_visible_p, display_count_lines):
Use memchr and memrchr rather than scanning byte-by-byte.
* src/search.c (find_newline): Rename from scan_buffer.
Omit first arg TARGET, as it's always '\n'.  All callers changed.
2013-02-11 15:37:18 -08:00
Paul Eggert
71d4202f20 Merge from gnulib. 2013-02-11 15:15:46 -08:00
Stefan Monnier
6659b59ccb Aidan Gauland <aidalgol@no8wireless.co.nz>
Fixes: debbugs:13689

* lisp/erc/erc-match.el (erc-match-message): Don't truncate action messages.
2013-02-11 17:53:36 -05:00
Paul Eggert
b09a48104f Clean up read_key_sequence a tiny bit more.
* keyboard.c (read_char_x_menu_prompt) [HAVE_MENUS]:
(read_key_sequence): Remove unused locals.
2013-02-11 11:42:04 -08:00
Elias Pipping
4fa60c545d * lisp/doc-view.el (doc-view-current-cache-dir): Beware % escapes.
Fixes: debbugs:13679
2013-02-11 14:29:40 -05:00
Stefan Monnier
99d0d6dc23 Clean up read_key_sequence a bit; reread active keymaps after first event.
* src/keyboard.c (read_char, read_char_x_menu_prompt)
(read_char_minibuf_menu_prompt):
Replace nmaps+maps with a single `map' arg.
(follow_key): Operate on a single map.
(active_maps): New function.
(test_undefined): Also return true for nil bindings.
(read_key_sequence): Use active_maps to replace the arrays of keymaps with
a single (composed) keymap.  Remember `first_event' to choose the right
set of active keymaps.  Recompute the set of keymaps after receiving
the first event.  Remove GOBBLE_FIRST_EVENT.
(syms_of_keyboard): Remove inhibit_local_menu_bar_menus.
* src/keyboard.h (read_char): Update declaration.
* src/lread.c (read_filtered_event): Adjust call to read_char.
* lisp/cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2013-02-11 14:21:23 -05:00
Eli Zaretskii
f5e1b6804d Fix previous commit for bug #13675.
src/xdisp.c (move_it_vertically_backward, move_it_by_lines): Don't
 use the limitation on backwards movement when lines are truncated
 in the window.
2013-02-11 19:32:32 +02:00
Glenn Morris
2f559cd2a1 Auto-commit of generated files. 2013-02-11 06:17:34 -05:00
Michael Albinus
add89f61bd * NEWS: Add autorevert changes. 2013-02-11 11:42:58 +01:00
Dmitry Antipov
f74de3451c * marker.c (set_marker_internal): If desired position is passed
as a marker, avoid call to buf_charpos_to_bytepos.
* window.c (Fset_window_point): Omit redundant type checking.
(Fset_window_start): Likewise.  Format comment.
(window_scroll_pixel_based): Use set_marker_restricted_both
with character and byte positions obtained from an iterator.
(Fset_window_configuration): Use set_marker_restricted_both.
* xdisp.c (message_dolog): Likewise.
2013-02-11 14:21:52 +04:00
Glenn Morris
5109429f09 Check whether diff supports --label before using it
* lisp/vc/diff.el (diff-use-labels): New variable.
(diff-no-select): Use --label rather than -L, and first
check that it is supported.

Fixes: debbugs:11067
2013-02-11 00:28:08 -08:00
Glenn Morris
97a1cd9d27 Add `enable-dir-local-variables'
* lisp/files.el (enable-dir-local-variables): New variable.
(hack-dir-local-variables): Respect enable-dir-local-variables.

* lisp/tutorial.el (help-with-tutorial): Ignore directory-local variables.

Fixes: debbugs:11127
2013-02-10 17:50:45 -08:00
Glenn Morris
c57b2d7627 NEWS copyedits 2013-02-10 17:44:39 -08:00
Glenn Morris
31db8c31fd * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
(vc-svn-global-switches): ... to here.

Fixes: debbugs:13513
2013-02-10 17:07:05 -08:00
Glenn Morris
55fe8e6492 ChangeLog for previous 2013-02-10 16:55:26 -08:00
Glenn Morris
1e8725cfae * configure.ac (emacs_config_options): Record some env vars. 2013-02-10 16:54:48 -08:00
Paul Eggert
e37778785a Remove obsolete references to VAX in comments. 2013-02-10 16:35:37 -08:00
Eli Zaretskii
a4ba396395 Speed up some redisplay operations with very long lines (Bug#13675).
src/xdisp.c (move_it_vertically_backward, move_it_by_lines): When
 text lines are longer than window's screen lines, don't move back
 too far.  This speeds up some redisplay operations.
2013-02-10 18:49:09 +02:00
Dmitry Antipov
68643cdeb6 * syntax.c (scan_sexps_forward): Fix byte position calculation
Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change.
2013-02-10 20:25:33 +04:00
Christopher Schmidt
2f108463fa * minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle
"foo (bar, default: xxx): " prompts.
2013-02-10 15:18:48 +01:00
Glenn Morris
1e8a045abd Auto-commit of generated files. 2013-02-10 06:19:05 -05:00
Paul Eggert
7ba11bee64 * fileio.c (Fexpand_file_name): Omit confusing pointer comparison
that was not needed.
2013-02-10 00:26:56 -08:00
Glenn Morris
8b0590de7e * configure.ac (emacs_config_options): Strip out the (internal) arguments
--no-create and --no-recursion.
2013-02-09 19:37:48 -08:00
Chong Yidong
0ccdf61ed6 * files.el (basic-save-buffer-1): Don't set buffer-file-coding-system-explicit.
Fixes: debbugs:4533
2013-02-10 11:08:21 +08:00
Glenn Morris
490a9458c8 Merge from emacs-24; up to 2012-12-15T12:19:04Z!juri@jurta.org 2013-02-09 17:56:25 -08:00
Glenn Morris
c4af1efc91 * doc/emacs/trouble.texi (Checklist): Update bug keybinding. 2013-02-09 17:54:16 -08:00
Glenn Morris
9cbab8d6ab ChangeLog attribution fix 2013-02-09 17:49:48 -08:00
Glenn Morris
7171926321 ChangeLog typo fix 2013-02-09 17:32:14 -08:00
Katsumi Yamaoka
ac0215a325 lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend 2013-02-10 00:51:34 +00:00
Katsumi Yamaoka
b152f5d36f lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend 2013-02-10 00:51:12 +00:00
Jay Belanger
5d9c6f17db * doc/misc/calc.texi (Basic Operations on Units):
(Customizing Calc): Mention the variable `calc-allow-units-as-numbers'.

* lisp/calc/calc.el (calc-allow-units-as-numbers): New variable.
* lisp/calc/calc-units.el (calc-convert-units): Use new variable.
2013-02-09 17:17:05 -06:00
Paul Eggert
eff1c1900f Minor hashing refactoring.
* fns.c (SXHASH_REDUCE): Move to lisp.h.
(sxhash_float): Return EMACS_UINT, for consistency with the other
hash functions.
* lisp.h (INTMASK): Now a macro, since SXHASH_REDUCE is now a
non-static inline function and therefore can't use static vars.
(SXHASH_REDUCE): Move here from fns.c, and make it inline.
* profiler.c (hashfn_profiler): Use SXHASH_REDUCE, to be consistent
with the other hash functions.
2013-02-09 14:42:33 -08:00
Eli Zaretskii
4dde2087c4 Fix last ChangeLog entry.
Fixes: debbugs:13661
2013-02-09 18:39:46 +02:00
Eli Zaretskii
74ba158362 Fix bug #13661 with w32-downcase-file-names and shell-command.
src/callproc.c (Fcall_process_region): Make sure the XXXXXX part of
 the temporary file pattern is not downcased even when
 w32-downcase-file-names is non-nil.
2013-02-09 18:36:53 +02:00
Eli Zaretskii
2d0504232e subr.el (buffer-file-type, default-buffer-file-type): Remove. 2013-02-09 18:20:29 +02:00
Eli Zaretskii
8549f9e89b Remove all references to buffer-file-type and related features.
src/xdisp.c (decode_mode_spec): Remove handling of %t.

 lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
 buffer-file-type.
 lisp/mail/feedmail.el (feedmail-force-binary-write): Doc fix.
 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
 coding-system-for-write instead.
 lisp/jka-compr.el (jka-compr-write-region): Don't bind
 buffer-file-type.
 lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
 buffer-file-type.
 lisp/files.el (file-name-buffer-file-type-alist): Remove defvar.
 (insert-file-contents-literally): Remove reference to
 file-name-buffer-file-type-alist.
 lisp/dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
 make-obsolete.
 (find-buffer-file-type-match, find-buffer-file-type): Remove.
 (find-buffer-file-type-coding-system): Remove references to
 find-buffer-file-type-match, find-buffer-file-type, and
 buffer-file-type.
 Don't put find-buffer-file-type-coding-system into
 file-coding-system-alist.
 (find-file-binary, find-file-text): Bind coding-system-for-read
 instead of file-name-buffer-file-type-alist.
 lisp/erc/erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type.

 doc/emacs/msdog.texi (Text and Binary): Delete the description of
 file-name-buffer-file-type-alist.

 doc/lispref/modes.texi (%-Constructs): Remove the description of %t.
 doc/lispref/nonascii.texi (MS-DOS File Types): Delete node.

Fixes: debbugs:12989
2013-02-09 14:52:01 +02:00
Glenn Morris
2cdd55fc76 Auto-commit of generated files. 2013-02-09 06:17:59 -05:00
Tassilo Horn
f63f9398b3 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
converter (Bug#13622).  Patch provided by Jambunathan K
<kjambunathan@gmail.com>.
(doc-view-unoconv-program): Make obsolete variable.
(doc-view-odf->pdf-converter-program): New variable.
(doc-view-odf->pdf-converter-function): New variable.
(doc-view-mode-p): Use it.
(doc-view-odf->pdf-converter-unoconv): Rename from
`doc-view-odf->pdf-converter-unoconv'.
(doc-view-odf->pdf-converter-soffice): New function.
(doc-view-convert-current-doc): Use
`doc-view-odf->pdf-converter-function'.
2013-02-09 10:58:48 +01:00
Eli Zaretskii
6b48c83105 src/msdos.c (careadlinkatcwd): Remove. 2013-02-09 11:02:17 +02:00
Chong Yidong
123ecb68a0 Bind view-echo-area-messages in minibuffer-inactive-mode-map.
* help.el (view-echo-area-messages): Use display-buffer.

* minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
view-echo-area-messages.

Fixes: debbugs:13340
2013-02-09 13:52:20 +08:00
Chong Yidong
044a9eac4e * dired-x.el (dired-do-run-mail): Prompt for confirmation.
Fixes: debbugs:13561
2013-02-09 13:09:02 +08:00
Chong Yidong
e78e7e486d Correct non-standard binding of report-emacs-bug-insert-to-mailer.
* lisp/mail/emacsbug.el (report-emacs-bug): Change binding of
report-emacs-bug-insert-to-mailer to C-c M-i.

Fixes: debbugs:13510
2013-02-09 12:43:42 +08:00
Glenn Morris
dc55466e67 * doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result. 2013-02-08 21:36:39 -05:00
Glenn Morris
6511485f2c More small TODO updates 2013-02-08 20:57:36 -05:00
Paul Eggert
c516d21a88 * sedlibmk.inp: Sync with changes in lib/Makefile.in.
(HAVE_SECURE_GETENV, GNULIB_SECURE_GETENV): Edit to appropriate values.
2013-02-08 15:45:43 -08:00
Paul Eggert
8376d87efc Merge from gnulib. 2013-02-08 15:37:17 -08:00