]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years agolisp/progmodes/js.el: Silence byte-compiler warning.
Juanma Barranquero [Wed, 13 Feb 2013 00:53:07 +0000 (01:53 +0100)]
lisp/progmodes/js.el: Silence byte-compiler warning.

11 years agont/config.nt: Sync with autogen/config.in.
Juanma Barranquero [Wed, 13 Feb 2013 00:52:04 +0000 (01:52 +0100)]
nt/config.nt: Sync with autogen/config.in.
(GC_MARK_STACK): Remove.
(GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
(HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
(HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.

11 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Wed, 13 Feb 2013 00:50:38 +0000 (01:50 +0100)]
src/makefile.w32-in: Update dependencies.

11 years ago* cmdargs.texi (General Variables):
Paul Eggert [Wed, 13 Feb 2013 00:42:56 +0000 (16:42 -0800)]
* cmdargs.texi (General Variables):

Fix TMPDIR documentation to match the code's behavior.

11 years agoFix cursor positioning near scroll margin at top of window.
Eli Zaretskii [Tue, 12 Feb 2013 16:43:09 +0000 (18:43 +0200)]
Fix cursor positioning near scroll margin at top of window.

 src/xdisp.c (try_scrolling): Scroll text up more if point is too close
 to ZV and inside the scroll margin.  This makes sure point is moved
 outside the scroll margin in these cases.

11 years agoMinor additional fix in the wake of bugs #13623 and 13626.
Eli Zaretskii [Tue, 12 Feb 2013 16:36:55 +0000 (18:36 +0200)]
Minor additional fix in the wake of bugs #13623 and 13626.

 src/xdisp.c (redisplay_internal): Don't set w->region_showing to the
 marker's position.
 (display_line): Set w->region_showing to the value of
 it->region_beg_charpos, not to -1.  This fixes redisplay
 optimization when cursor is moved up after M->.
 src/window.h (struct window): region_showing can no longer be negative.

11 years ago* net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
Michael Albinus [Tue, 12 Feb 2013 14:35:10 +0000 (15:35 +0100)]
* net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.

* net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
only if it doesn't exist.

* net/tramp-sh.el (tramp-sh-handle-start-file-process): Set
process marker.

11 years agoImprove previous patch to allow for multiple simultaneous ODF->PDF
Tassilo Horn [Tue, 12 Feb 2013 11:53:34 +0000 (12:53 +0100)]
Improve previous patch to allow for multiple simultaneous ODF->PDF
conversions.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 12 Feb 2013 11:17:35 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years ago* doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
Tassilo Horn [Tue, 12 Feb 2013 10:52:47 +0000 (11:52 +0100)]
* doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
UserInstallation when calling soffice to work around LibreOffice
bug 37531.

11 years ago* files.el (basic-save-buffer): Offer to create a non-existing directory.
Glenn Morris [Tue, 12 Feb 2013 08:36:09 +0000 (00:36 -0800)]
* files.el (basic-save-buffer): Offer to create a non-existing directory.

Fixes: debbugs:3016
11 years agoChangeLog fixes
Glenn Morris [Tue, 12 Feb 2013 07:38:54 +0000 (23:38 -0800)]
ChangeLog fixes

11 years agoMake S-SPC scroll in the opposite direction to SPC
Glenn Morris [Tue, 12 Feb 2013 04:46:18 +0000 (20:46 -0800)]
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
11 years agoMS-Windows followup for 2013-02-11T23:37:18Z!eggert@cs.ucla.edu.
Eli Zaretskii [Tue, 12 Feb 2013 03:52:04 +0000 (05:52 +0200)]
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.

11 years agoTweak quoting in earlier configure.ac emacs_config_options change
Glenn Morris [Tue, 12 Feb 2013 00:51:24 +0000 (19:51 -0500)]
Tweak quoting in earlier configure.ac emacs_config_options change

11 years agoTune by using memchr and memrchr.
Paul Eggert [Mon, 11 Feb 2013 23:37:18 +0000 (15:37 -0800)]
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.

11 years agoMerge from gnulib.
Paul Eggert [Mon, 11 Feb 2013 23:15:46 +0000 (15:15 -0800)]
Merge from gnulib.

11 years agoAidan Gauland <aidalgol@no8wireless.co.nz>
Stefan Monnier [Mon, 11 Feb 2013 22:53:36 +0000 (17:53 -0500)]
Aidan Gauland <aidalgol@no8wireless.co.nz>
Fixes: debbugs:13689
* lisp/erc/erc-match.el (erc-match-message): Don't truncate action messages.

11 years agoClean up read_key_sequence a tiny bit more.
Paul Eggert [Mon, 11 Feb 2013 19:42:04 +0000 (11:42 -0800)]
Clean up read_key_sequence a tiny bit more.

* keyboard.c (read_char_x_menu_prompt) [HAVE_MENUS]:
(read_key_sequence): Remove unused locals.

11 years ago* lisp/doc-view.el (doc-view-current-cache-dir): Beware % escapes.
Elias Pipping [Mon, 11 Feb 2013 19:29:40 +0000 (14:29 -0500)]
* lisp/doc-view.el (doc-view-current-cache-dir): Beware % escapes.

Fixes: debbugs:13679
11 years agoClean up read_key_sequence a bit; reread active keymaps after first event.
Stefan Monnier [Mon, 11 Feb 2013 19:21:23 +0000 (14:21 -0500)]
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.

11 years agoFix previous commit for bug #13675.
Eli Zaretskii [Mon, 11 Feb 2013 17:32:32 +0000 (19:32 +0200)]
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.

11 years agoAuto-commit of generated files.
Glenn Morris [Mon, 11 Feb 2013 11:17:34 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years ago* NEWS: Add autorevert changes.
Michael Albinus [Mon, 11 Feb 2013 10:42:58 +0000 (11:42 +0100)]
* NEWS: Add autorevert changes.

11 years ago* marker.c (set_marker_internal): If desired position is passed
Dmitry Antipov [Mon, 11 Feb 2013 10:21:52 +0000 (14:21 +0400)]
* 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.

11 years agoCheck whether diff supports --label before using it
Glenn Morris [Mon, 11 Feb 2013 08:28:08 +0000 (00:28 -0800)]
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
11 years agoAdd `enable-dir-local-variables'
Glenn Morris [Mon, 11 Feb 2013 01:50:45 +0000 (17:50 -0800)]
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
11 years agoNEWS copyedits
Glenn Morris [Mon, 11 Feb 2013 01:44:39 +0000 (17:44 -0800)]
NEWS copyedits

11 years ago* vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
Glenn Morris [Mon, 11 Feb 2013 01:07:05 +0000 (17:07 -0800)]
* vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
(vc-svn-global-switches): ... to here.

Fixes: debbugs:13513
11 years agoChangeLog for previous
Glenn Morris [Mon, 11 Feb 2013 00:55:26 +0000 (16:55 -0800)]
ChangeLog for previous

11 years ago* configure.ac (emacs_config_options): Record some env vars.
Glenn Morris [Mon, 11 Feb 2013 00:54:48 +0000 (16:54 -0800)]
* configure.ac (emacs_config_options): Record some env vars.

11 years agoRemove obsolete references to VAX in comments.
Paul Eggert [Mon, 11 Feb 2013 00:35:37 +0000 (16:35 -0800)]
Remove obsolete references to VAX in comments.

11 years agoSpeed up some redisplay operations with very long lines (Bug#13675).
Eli Zaretskii [Sun, 10 Feb 2013 16:49:09 +0000 (18:49 +0200)]
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.

11 years ago* syntax.c (scan_sexps_forward): Fix byte position calculation
Dmitry Antipov [Sun, 10 Feb 2013 16:25:33 +0000 (20:25 +0400)]
* syntax.c (scan_sexps_forward): Fix byte position calculation
Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change.

11 years ago* minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle
Christopher Schmidt [Sun, 10 Feb 2013 14:18:48 +0000 (15:18 +0100)]
* minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Handle
"foo (bar, default: xxx): " prompts.

11 years agoAuto-commit of generated files.
Glenn Morris [Sun, 10 Feb 2013 11:19:05 +0000 (06:19 -0500)]
Auto-commit of generated files.

11 years ago* fileio.c (Fexpand_file_name): Omit confusing pointer comparison
Paul Eggert [Sun, 10 Feb 2013 08:26:56 +0000 (00:26 -0800)]
* fileio.c (Fexpand_file_name): Omit confusing pointer comparison

that was not needed.

11 years ago* configure.ac (emacs_config_options): Strip out the (internal) arguments
Glenn Morris [Sun, 10 Feb 2013 03:37:48 +0000 (19:37 -0800)]
* configure.ac (emacs_config_options): Strip out the (internal) arguments
--no-create and --no-recursion.

11 years ago* files.el (basic-save-buffer-1): Don't set buffer-file-coding-system-explicit.
Chong Yidong [Sun, 10 Feb 2013 03:08:21 +0000 (11:08 +0800)]
* files.el (basic-save-buffer-1): Don't set buffer-file-coding-system-explicit.

Fixes: debbugs:4533
11 years agoMerge from emacs-24; up to 2012-12-15T12:19:04Z!juri@jurta.org
Glenn Morris [Sun, 10 Feb 2013 01:56:25 +0000 (17:56 -0800)]
Merge from emacs-24; up to 2012-12-15T12:19:04Z!juri@jurta.org

11 years ago* doc/emacs/trouble.texi (Checklist): Update bug keybinding.
Glenn Morris [Sun, 10 Feb 2013 01:54:16 +0000 (17:54 -0800)]
* doc/emacs/trouble.texi (Checklist): Update bug keybinding.

11 years agoChangeLog attribution fix
Glenn Morris [Sun, 10 Feb 2013 01:49:48 +0000 (17:49 -0800)]
ChangeLog attribution fix

11 years agoChangeLog typo fix
Glenn Morris [Sun, 10 Feb 2013 01:32:14 +0000 (17:32 -0800)]
ChangeLog typo fix

11 years agolisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend
Katsumi Yamaoka [Sun, 10 Feb 2013 00:51:34 +0000 (00:51 +0000)]
lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend

11 years agolisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend
Katsumi Yamaoka [Sun, 10 Feb 2013 00:51:12 +0000 (00:51 +0000)]
lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend

11 years ago* doc/misc/calc.texi (Basic Operations on Units):
Jay Belanger [Sat, 9 Feb 2013 23:17:05 +0000 (17:17 -0600)]
* 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.

11 years agoMinor hashing refactoring.
Paul Eggert [Sat, 9 Feb 2013 22:42:33 +0000 (14:42 -0800)]
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.

11 years agoFix last ChangeLog entry.
Eli Zaretskii [Sat, 9 Feb 2013 16:39:46 +0000 (18:39 +0200)]
Fix last ChangeLog entry.

Fixes: debbugs:13661
11 years agoFix bug #13661 with w32-downcase-file-names and shell-command.
Eli Zaretskii [Sat, 9 Feb 2013 16:36:53 +0000 (18:36 +0200)]
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.

11 years agosubr.el (buffer-file-type, default-buffer-file-type): Remove.
Eli Zaretskii [Sat, 9 Feb 2013 16:20:29 +0000 (18:20 +0200)]
subr.el (buffer-file-type, default-buffer-file-type): Remove.

11 years agoRemove all references to buffer-file-type and related features.
Eli Zaretskii [Sat, 9 Feb 2013 12:52:01 +0000 (14:52 +0200)]
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
11 years agoAuto-commit of generated files.
Glenn Morris [Sat, 9 Feb 2013 11:17:59 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years ago* doc-view.el: Use (and prefer) soffice as default ODF->PDF
Tassilo Horn [Sat, 9 Feb 2013 09:58:48 +0000 (10:58 +0100)]
* 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'.

11 years agosrc/msdos.c (careadlinkatcwd): Remove.
Eli Zaretskii [Sat, 9 Feb 2013 09:02:17 +0000 (11:02 +0200)]
src/msdos.c (careadlinkatcwd): Remove.

11 years agoBind view-echo-area-messages in minibuffer-inactive-mode-map.
Chong Yidong [Sat, 9 Feb 2013 05:52:20 +0000 (13:52 +0800)]
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
11 years ago* dired-x.el (dired-do-run-mail): Prompt for confirmation.
Chong Yidong [Sat, 9 Feb 2013 05:09:02 +0000 (13:09 +0800)]
* dired-x.el (dired-do-run-mail): Prompt for confirmation.

Fixes: debbugs:13561
11 years agoCorrect non-standard binding of report-emacs-bug-insert-to-mailer.
Chong Yidong [Sat, 9 Feb 2013 04:43:42 +0000 (12:43 +0800)]
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
11 years ago* doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result.
Glenn Morris [Sat, 9 Feb 2013 02:36:39 +0000 (21:36 -0500)]
* doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result.

11 years agoMore small TODO updates
Glenn Morris [Sat, 9 Feb 2013 01:57:36 +0000 (20:57 -0500)]
More small TODO updates

11 years ago* sedlibmk.inp: Sync with changes in lib/Makefile.in.
Paul Eggert [Fri, 8 Feb 2013 23:45:43 +0000 (15:45 -0800)]
* sedlibmk.inp: Sync with changes in lib/Makefile.in.

(HAVE_SECURE_GETENV, GNULIB_SECURE_GETENV): Edit to appropriate values.

11 years agoMerge from gnulib.
Paul Eggert [Fri, 8 Feb 2013 23:37:17 +0000 (15:37 -0800)]
Merge from gnulib.

11 years ago* movemail.c (getenv): Remove decl (unused since 1994).
Paul Eggert [Fri, 8 Feb 2013 23:28:29 +0000 (15:28 -0800)]
* movemail.c (getenv): Remove decl (unused since 1994).

11 years ago* src/lread.c (skip_dyn_bytes): New function.
Stefan Monnier [Fri, 8 Feb 2013 17:42:09 +0000 (12:42 -0500)]
* 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
11 years agoMerge from emacs-24; up to 2012-12-14T21:27:39Z!rgm@gnu.org
Glenn Morris [Fri, 8 Feb 2013 17:23:24 +0000 (09:23 -0800)]
Merge from emacs-24; up to 2012-12-14T21:27:39Z!rgm@gnu.org

11 years agoRemove old TODO item - user-error was added
Glenn Morris [Fri, 8 Feb 2013 17:14:58 +0000 (09:14 -0800)]
Remove old TODO item - user-error was added

11 years agoRemove longlines entry (bug#13652)
Glenn Morris [Fri, 8 Feb 2013 17:13:46 +0000 (09:13 -0800)]
Remove longlines entry (bug#13652)

11 years agokeymaps.texi tweak
Glenn Morris [Fri, 8 Feb 2013 17:13:06 +0000 (09:13 -0800)]
keymaps.texi tweak

* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps):
Remove confusing mention of "symbolic prefix".

Fixes: debbugs:13643
11 years ago* lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
Stefan Monnier [Fri, 8 Feb 2013 16:17:18 +0000 (11:17 -0500)]
* 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
11 years ago* lisp/simple.el (end-of-buffer): Don't touch unrelated windows.
Stefan Monnier [Fri, 8 Feb 2013 15:53:49 +0000 (10:53 -0500)]
* lisp/simple.el (end-of-buffer): Don't touch unrelated windows.
(fundamental-mode): Use run-mode-hooks.

Fixes: debbugs:13466
11 years ago* leim/quail/latin-ltx.el: Add greek superscripts.
Stefan Monnier [Fri, 8 Feb 2013 15:48:36 +0000 (10:48 -0500)]
* leim/quail/latin-ltx.el: Add greek superscripts.

11 years ago* lisp/eshell/esh-proc.el (eshell/kill): Fix last change.
Stefan Monnier [Fri, 8 Feb 2013 15:47:07 +0000 (10:47 -0500)]
* 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.

11 years ago* lisp/eshell: Minor fixes.
Aidan Gauland [Fri, 8 Feb 2013 15:07:03 +0000 (10:07 -0500)]
* 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.

11 years ago* doc/misc/eshell.texi: Fill most of the missing sections.
Aidan Gauland [Fri, 8 Feb 2013 14:59:24 +0000 (09:59 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.

11 years ago* search.c (scan_buffer): Calculate end byte position just once.
Dmitry Antipov [Fri, 8 Feb 2013 14:44:53 +0000 (18:44 +0400)]
* search.c (scan_buffer): Calculate end byte position just once.
(scan_newline): Do not recalculate start_byte.
(search_command): Use eassert.
* syntax.c (struct lisp_parse_state): New member location_byte.
(scan_sexps_forward): Record from_byte and avoid redundant
character to byte position calculation ...
(Fparse_partial_sexp): ... here.  Break too long line.

11 years ago* doc/misc/eshell.texi: Fill most of the missing sections. emacs-23
Aidan Gauland [Fri, 8 Feb 2013 14:44:17 +0000 (09:44 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.

11 years agosrc/xdisp.c: Fix commentary of display_count_lines.
Eli Zaretskii [Fri, 8 Feb 2013 14:27:04 +0000 (16:27 +0200)]
src/xdisp.c: Fix commentary of display_count_lines.

11 years ago* lisp/icomplete.el (icomplete-forward-completions)
Jambunathan K [Fri, 8 Feb 2013 07:53:55 +0000 (09:53 +0200)]
* lisp/icomplete.el (icomplete-forward-completions)
(icomplete-backward-completions): Handle corner case.

Fixes: debbugs:13602
11 years ago* lisp.h (make_uninit_vector): New function.
Dmitry Antipov [Fri, 8 Feb 2013 05:28:52 +0000 (09:28 +0400)]
* lisp.h (make_uninit_vector): New function.
* alloc.c (Fvector, Fmake_byte_code):
* ccl.c (Fregister_ccl_program):
* charset.c (Fdefine_charset_internal, define_charset_internal):
* coding.c (make_subsidiaries, Fdefine_coding_system_internal):
* composite.c (syms_of_composite):
* font.c (Fquery_font, Ffont_info, syms_of_font):
* fontset.c (FONT_DEF_NEW, Fset_fontset_font):
* ftfont.c (ftfont_shape_by_flt):
* indent.c (recompute_width_table):
* nsselect.m (clean_local_selection_data):
* syntax.c (init_syntax_once):
* w32unsubscribe.c (uniscribe_shape):
* window.c (Fcurrent_window_configuration):
* xfaces.c (Fx_family_fonts):
* xselect.c (selection_data_to_lisp_data): Use it.

11 years ago* coding.c (Fdefine_coding_system_internal): Use AREF where
Dmitry Antipov [Thu, 7 Feb 2013 16:09:04 +0000 (20:09 +0400)]
* coding.c (Fdefine_coding_system_internal): Use AREF where
argument is known to be a vector.
* fns.c (Flocale_info): Likewise for ASET.
* xselect.c (selection_data_to_lisp_data): Likewise for ASET.
* w32fns.c (w32_parse_hot_key): Likewise for ASIZE and AREF.

11 years ago* vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
Michael Albinus [Thu, 7 Feb 2013 08:50:04 +0000 (09:50 +0100)]
* vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
be nil.  Handle this.  (Bug#13636)

11 years agoMerge from emacs-24; up to 2012-12-14T15:38:50Z!monnier@iro.umontreal.ca
Glenn Morris [Thu, 7 Feb 2013 08:31:21 +0000 (00:31 -0800)]
Merge from emacs-24; up to 2012-12-14T15:38:50Z!monnier@iro.umontreal.ca

11 years agoForce saving without encoding, regardless of current message.
Richard M. Stallman [Thu, 7 Feb 2013 08:04:05 +0000 (03:04 -0500)]
Force saving without encoding, regardless of current message.

11 years agoRegenerate AUTHORS and ldefs-boot.el emacs-24.2.93
Glenn Morris [Thu, 7 Feb 2013 08:03:47 +0000 (00:03 -0800)]
Regenerate AUTHORS and ldefs-boot.el

11 years agoChangeLog author fix
Glenn Morris [Thu, 7 Feb 2013 07:40:58 +0000 (23:40 -0800)]
ChangeLog author fix

11 years agoMerge Org 7.9.3e (commit b07a9bb).
Bastien Guerry [Thu, 7 Feb 2013 07:11:59 +0000 (08:11 +0100)]
Merge Org 7.9.3e (commit b07a9bb).

11 years agoMerge from emacs-24; up to 2012-12-14T15:22:24Z!monnier@iro.umontreal.ca
Glenn Morris [Thu, 7 Feb 2013 06:23:54 +0000 (22:23 -0800)]
Merge from emacs-24; up to 2012-12-14T15:22:24Z!monnier@iro.umontreal.ca

11 years agoAuto-commit of generated files.
Glenn Morris [Thu, 7 Feb 2013 06:16:17 +0000 (01:16 -0500)]
Auto-commit of generated files.

11 years agoBump version number to 24.2.93
Glenn Morris [Thu, 7 Feb 2013 06:15:20 +0000 (22:15 -0800)]
Bump version number to 24.2.93

11 years agomouse.el comment
Glenn Morris [Thu, 7 Feb 2013 01:54:50 +0000 (20:54 -0500)]
mouse.el comment

11 years ago* auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
Gabor Vida [Thu, 7 Feb 2013 01:53:26 +0000 (20:53 -0500)]
* auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
in replacement text.

Fixes: debbugs:13637
11 years ago* emacs-lisp/package.el (describe-package-1): Tell what archive is used to
Nicolas Richard [Wed, 6 Feb 2013 16:10:13 +0000 (17:10 +0100)]
* emacs-lisp/package.el (describe-package-1): Tell what archive is used to
install the package.

Patch by Nicolas Richard.

11 years ago* vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
Glenn Morris [Wed, 6 Feb 2013 08:27:41 +0000 (00:27 -0800)]
* vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
if we can't get user input.

Fixes: debbugs:6567
11 years agoChangeLog date fix (do not merge to trunk)
Glenn Morris [Wed, 6 Feb 2013 04:37:28 +0000 (20:37 -0800)]
ChangeLog date fix (do not merge to trunk)

11 years ago* doc/misc/cl.texi (Equality Predicates): Mention memql.
Glenn Morris [Wed, 6 Feb 2013 04:36:44 +0000 (20:36 -0800)]
* doc/misc/cl.texi (Equality Predicates): Mention memql.

11 years ago* lisp/startup.el (command-line): If simple.el is missing,
Glenn Morris [Wed, 6 Feb 2013 02:03:35 +0000 (21:03 -0500)]
* lisp/startup.el (command-line): If simple.el is missing,
test and warn about for some possible causes.

11 years agoBackport fix for execvp issue from trunk
Daniel Colascione [Tue, 5 Feb 2013 23:52:03 +0000 (15:52 -0800)]
Backport fix for execvp issue from trunk

11 years agoRelocate NEWS entry from 24.3 section to 24.4 where it belongs
Glenn Morris [Tue, 5 Feb 2013 17:01:25 +0000 (09:01 -0800)]
Relocate NEWS entry from 24.3 section to 24.4 where it belongs

11 years ago* NEWS: Mention ns-use-native-fullscreen.
Jan Djärv [Tue, 5 Feb 2013 12:21:55 +0000 (13:21 +0100)]
* NEWS: Mention ns-use-native-fullscreen.

11 years ago* lisp/cus-start.el (all): Add ns-use-native-fullscreen.
Jan Djärv [Tue, 5 Feb 2013 12:16:35 +0000 (13:16 +0100)]
* lisp/cus-start.el (all): Add ns-use-native-fullscreen.

* src/nsmenu.m (update_frame_tool_bar): Check for negative tool bar
height.

* src/nsterm.h (HAVE_NATIVE_FS): Define if OSX => 10.7.
(EmacsView): Add fs_is_native, fsIsNative, isFullscreen and
updateCollectionBehaviour.

* src/nsterm.m (NEW_STYLE_FS): Remove.
(ns_last_use_native_fullscreen): New variable.
(x_make_frame_visible): Replace NEW_STYLE_FS with isFullscreen.
(x_set_window_size): Do not take title bar and tool bar into account
if isFullscreen returns YES.
(ns_fullscreen_hook): Replace NEW_STYLE_FS with isFullscreen.
(check_native_fs): New function.
(ns_select, ns_read_socket): Call check_native_fs if HAVE_NATIVE_FS.
(ns_term_init): Remove NEW_STYLE_FS.
(updateFrameSize:, windowWillResize:toSize:): Only adjust for title bar
and tool bar if isFullscreen returns NO.
(windowDidResize:): Replace NEW_STYLE_FS with fsIsNative.
(initFrameFromEmacs:): Initialize fs_is_native.  Replace NEW_STYLE_FS
with HAVE_NATIVE_FS.
(window:willUseFullScreenPresentationOptions:): New method.
(windowDidEnterFullScreen:): Replace NEW_STYLE_FS with fsIsNative.
Hide toolbar if not enabled.
(windowDidExitFullScreen:): Call updateCollectionBehaviour.
Restore tool bar if enabled, hide it otherwise (Bug#13444).
(fsIsNative, isFullscreen, updateCollectionBehaviour): New methods.
(toggleFullScreen:): If fs_is_native, call toggleFullScreen on
window.  Do no set FRAME_EXTERNAL_TOOL_BAR (f) to 0.
Check FRAME_EXTERNAL_TOOL_BAR (f) before restoring
FRAME_TOOLBAR_HEIGHT (f).  Call updateFrameSize when going non-fs.
(syms_of_nsterm): Add ns-use-native-fullscreen.

11 years ago* lisp/profiler.el (profiler-report-mode-map): Add a restart menu entry.
Glenn Morris [Tue, 5 Feb 2013 02:12:58 +0000 (21:12 -0500)]
* lisp/profiler.el (profiler-report-mode-map): Add a restart menu entry.