1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

109953 commits

Author SHA1 Message Date
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
Paul Eggert
e70e5000f0 * movemail.c (getenv): Remove decl (unused since 1994). 2013-02-08 15:28:29 -08:00
Stefan Monnier
75a65c7eb4 * src/lread.c (skip_dyn_bytes): New function.
(read1): Use it.  Use getc instead of READCHAR to read bytes.
(load_each_byte): Remove.  Update users.

Fixes: debbugs:12598
2013-02-08 12:42:09 -05:00
Glenn Morris
078891963d Merge from emacs-24; up to 2012-12-14T21:27:39Z!rgm@gnu.org 2013-02-08 09:23:24 -08:00
Glenn Morris
9079056058 Remove old TODO item - user-error was added 2013-02-08 09:14:58 -08:00
Glenn Morris
61c3528043 Remove longlines entry (bug#13652) 2013-02-08 09:13:46 -08:00
Glenn Morris
7bd007246e keymaps.texi tweak
* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps):
Remove confusing mention of "symbolic prefix".

Fixes: debbugs:13643
2013-02-08 09:13:06 -08:00
Stefan Monnier
7f526211ba * lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
Eval body right away, now that we do eager macroexpansion.

Fixes: debbugs:13605
2013-02-08 11:17:18 -05:00
Stefan Monnier
c9586acc97 * lisp/simple.el (end-of-buffer): Don't touch unrelated windows.
(fundamental-mode): Use run-mode-hooks.

Fixes: debbugs:13466
2013-02-08 10:53:49 -05:00
Stefan Monnier
91554659b8 * leim/quail/latin-ltx.el: Add greek superscripts. 2013-02-08 10:48:36 -05:00
Stefan Monnier
1a60168030 * lisp/eshell/esh-proc.el (eshell/kill): Fix last change.
* lisp/eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2013-02-08 10:47:07 -05:00
Aidan Gauland
276a61a690 * lisp/eshell: Minor fixes.
* lisp/eshell/em-ls.el (show-almost-all): Declare.
(eshell-do-ls): Add support for -A argument.
* lisp/eshell/esh-proc.el (eshell/kill): Rewrite.
2013-02-08 10:07:03 -05:00