]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years agoauto upstream
Joakim Verona [Wed, 13 Feb 2013 23:04:38 +0000 (00:04 +0100)]
auto upstream

11 years ago* src/keyboard.c (syms_of_keyboard): Further tweaks of docstring.
Stefan Monnier [Wed, 13 Feb 2013 19:43:06 +0000 (14:43 -0500)]
* src/keyboard.c (syms_of_keyboard): Further tweaks of docstring.

11 years agoUse ControlMaster where applicable. (Bug#13677)
Michael Albinus [Wed, 13 Feb 2013 16:23:15 +0000 (17:23 +0100)]
Use ControlMaster where applicable.  (Bug#13677)

* net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
replacing `tramp-detect-ssh-controlmaster'.
(tramp-default-method): Use it.

* net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
[rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
arguments.
[scpc, rsyncc]: Remove methods.
(top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
and "ssh2_old".
(tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
(tramp-maybe-open-connection): Reuse tmpfile for ControlPath.

11 years ago* lisp/emacs-lisp/package.el (package--initialized): Move before first use.
Stefan Monnier [Wed, 13 Feb 2013 16:02:35 +0000 (11:02 -0500)]
* lisp/emacs-lisp/package.el (package--initialized): Move before first use.

11 years ago* lisp/icomplete.el (icomplete-hide-common-prefix): New user option.
Jambunathan K [Wed, 13 Feb 2013 15:13:22 +0000 (10:13 -0500)]
* lisp/icomplete.el (icomplete-hide-common-prefix):  New user option.
(icomplete-first-match): New face.
(icomplete-completions): Correct handling of "complete but not unique".

Fixes: debbugs:12638
11 years ago* lisp/descr-text.el (describe-char): Display the script.
YE Qianchuan [Wed, 13 Feb 2013 14:54:59 +0000 (09:54 -0500)]
* lisp/descr-text.el (describe-char): Display the script.

Fixes: debbugs:13698
11 years ago* lisp/tmm.el: Use lexical-binding and current-active-maps.
Stefan Monnier [Wed, 13 Feb 2013 13:40:00 +0000 (08:40 -0500)]
* lisp/tmm.el: Use lexical-binding and current-active-maps.
(tmm-menubar): Use map-keymap and pcase.
(tmm--completion-table): New function.
(tmm-prompt): Use it to fix the menu order.
(tmm-get-keybind): Use current-active-maps.

11 years agoAdd dired-hide-details-mode. (Bug#6799)
Christopher Schmidt [Wed, 13 Feb 2013 09:42:31 +0000 (10:42 +0100)]
Add dired-hide-details-mode.  (Bug#6799)

* locate.el (locate-mode): Set parent mode property to dired-mode.

* find-dired.el (find-dired): Call dired-insert-set-properties on
initial information line.  Set process mark on end of buffer.
(find-dired-sentinel):
Call dired-insert-set-properties on summary.

* dired.el (dired-hide-details-hide-symlink-targets)
(dired-hide-details-hide-information-lines): New options.
(dired-insert-directory):
Set properties after final treatment of output.
(dired-insert-set-properties):
Set dired-hide-details-* properties.
(dired-mode-map): Bind dired-hide-details-mode.
(dired-mode): Set buffer-invisibility-spec to a list.
(dired-next-line): Skip hidden lines.
(dired-previous-line): Use dired-next-line.
(dired-hide-details-mode): New minor mode.
(dired-hide-details-update-invisibility-spec): New function.

11 years agoMake yow.el obsolete
Glenn Morris [Wed, 13 Feb 2013 08:50:44 +0000 (00:50 -0800)]
Make yow.el obsolete

* lisp/play/yow.el: Move to obsolete/.

* doc/emacs/ack.texi (Acknowledgments): Don't mention yow any more.

* doc/misc/message.texi (News Headers): Don't mention yow any more.

* etc/NEWS: Mention this.

Fixes: debbugs:9384
11 years ago* vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
Juri Linkov [Wed, 13 Feb 2013 08:41:56 +0000 (10:41 +0200)]
* vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
to select `ediff-control-frame' and set input focus correctly on Xfce.

Fixes: debbugs:12218
11 years agoAdd more keymaps where S-SPC scrolls in the opposite direction to SPC.
Juri Linkov [Wed, 13 Feb 2013 08:28:47 +0000 (10:28 +0200)]
Add more keymaps where S-SPC scrolls in the opposite direction to SPC.

* lisp/image-mode.el (image-mode-map):
* lisp/doc-view.el (doc-view-mode-map):
* lisp/vc/ediff-util.el (ediff-setup-keymap):
Make S-SPC scroll in the opposite sense to SPC.

* lisp/gnus/gnus-art.el (gnus-article-mode-map):
* lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-article-map):
Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)

11 years ago* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Improve
Dmitry Gutov [Wed, 13 Feb 2013 08:15:05 +0000 (12:15 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Improve
performance.  Instead of recalculating indentation fully for each
line, sum up indentation depth based only on visited lines.
(ruby-parse-partial): Increase the depth after "do" even when END
is right after it.
(ruby-parse-partial): When END is in the middle of a percent
literal, increase the depth if the delimiter chars belong to the
paren syntax class.

* test/automated/ruby-mode-tests.el
(ruby-move-to-block-skips-percent-literal): New test.

11 years agofortune-compile tiny change
Kirill A. Korinskiy [Wed, 13 Feb 2013 08:10:41 +0000 (00:10 -0800)]
fortune-compile tiny change

* lisp/play/fortune.el (fortune-compile):
Also make the compiled file if it does not exist at all, not just if it is old.

Fixes: debbugs:5338
11 years ago* font.c (font_range): Add pos_byte argument. Adjust comment
Dmitry Antipov [Wed, 13 Feb 2013 07:14:38 +0000 (11:14 +0400)]
* font.c (font_range): Add pos_byte argument.  Adjust comment
and break long line.
* font.h (font_range): Adjust prototype.
* composite.c (autocmp_chars): Pass byte position to font_range.
Break long line.  Remove useless prototype and format comment.

11 years ago* emacs-lisp/package.el (package-menu-execute): Doc fix.
Glenn Morris [Wed, 13 Feb 2013 05:00:45 +0000 (21:00 -0800)]
* emacs-lisp/package.el (package-menu-execute): Doc fix.

11 years ago* package.el (package-menu-execute): Add optional noquery argument (tiny change)
Yves Baumes [Wed, 13 Feb 2013 04:59:06 +0000 (20:59 -0800)]
* package.el (package-menu-execute): Add optional noquery argument (tiny change)

Fixes: debbugs:13625
11 years agoMerge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org
Glenn Morris [Wed, 13 Feb 2013 04:31:09 +0000 (20:31 -0800)]
Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org

11 years ago* src/keyboard.c (input-decode-map, key-translation-map): Doc fixes.
Glenn Morris [Wed, 13 Feb 2013 04:26:43 +0000 (20:26 -0800)]
* src/keyboard.c (input-decode-map, key-translation-map): Doc fixes.

11 years ago* lisp/erc/erc-match.el (erc-match-message): Fix last commit.
Aidan Gauland [Wed, 13 Feb 2013 04:02:11 +0000 (23:02 -0500)]
* lisp/erc/erc-match.el (erc-match-message): Fix last commit.

11 years ago* doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.
Glenn Morris [Wed, 13 Feb 2013 02:25:02 +0000 (21:25 -0500)]
* doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.

11 years ago* doc/lispref/modes.texi (Minor Mode Conventions): Fix typo.
Glenn Morris [Wed, 13 Feb 2013 02:20:52 +0000 (21:20 -0500)]
* doc/lispref/modes.texi (Minor Mode Conventions): Fix typo.

11 years agoMinor getenv-related fixes.
Paul Eggert [Wed, 13 Feb 2013 02:10:36 +0000 (18:10 -0800)]
Minor getenv-related fixes.

* callproc.c (Fcall_process_region) [!DOS_NT]:
Avoid unnecessary duplicate call to getenv.
* callproc.c (init_callproc):
* dispnew.c (init_display):
* sysdep.c (sys_subshell):
Omit unnecessary cast of getenv or egetenv.

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 agoauto upstream
Joakim Verona [Tue, 12 Feb 2013 23:04:17 +0000 (00:04 +0100)]
auto upstream

11 years agoImprove AIX port some more.
Paul Eggert [Tue, 12 Feb 2013 18:43:11 +0000 (10:43 -0800)]
Improve AIX port some more.

With this, it should be as good as it was in 23.3, though it's
still pretty bad: the dumped emacs does not run.  See Mark Fleishman in
http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html
* unexaix.c (start_of_text): Remove.
(_data, _text): Declare as char[], not int, as AIX manual suggests.
(bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr)
(orig_load_scnptr, orig_data_scnptr):
Now off_t, not long, since they are file offsets.
(make_hdr): Use _data, not start_of_data ().
This is the key part of the fix.
(make_hdr, unrelocate_symbols): Use off_t for file offsets.
(unrelocate_symbols): Cast pointers to intptr_t, not to ulong.

Fixes: debbugs:13650
11 years ago* pre-crt0.c (data_start): Initialize to 1.
Paul Eggert [Tue, 12 Feb 2013 18:33:42 +0000 (10:33 -0800)]
* pre-crt0.c (data_start): Initialize to 1.

This ports to compilers that optimize the external declaration
'int x = 0;' as if it were 'int x;' to shrink the executable.

11 years agoIn doc, use standard American English style for e.g., etc., i.e.
Paul Eggert [Tue, 12 Feb 2013 17:36:54 +0000 (09:36 -0800)]
In doc, use standard American English style for e.g., etc., i.e.

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 agokeymaps.texi small fix for bug#13684
Glenn Morris [Tue, 12 Feb 2013 00:33:18 +0000 (19:33 -0500)]
keymaps.texi small fix for bug#13684

* doc/lispref/keymaps.texi (Scanning Keymaps):
Remove obsolete sentence about meta characters; this changed in 22.1.

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 agoauto upstream
Joakim Verona [Mon, 11 Feb 2013 23:04:05 +0000 (00:04 +0100)]
auto upstream

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 agoImprove AIX port.
Paul Eggert [Mon, 11 Feb 2013 20:32:54 +0000 (12:32 -0800)]
Improve AIX port.

This doesn't fix the bug, but it makes progress: Emacs builds now.
* unexaix.c: Include inttypes.h, stdarg.h.
(report_error, report_error_1): Mark as _Noreturn.
(report_error): Don't report the wrong errno.
(report_error_1): Now varargs.  All callers changed.
(make_hdr): Use uintptr_t, not unsigned, when converting pointers
to unsigned.  Don't use ADDR_CORRECT, as it no longer exists.
(write_ptr): Use %p to print address rather than %lx and a cast
to unsigned long.  Grow buffer a bit, to be safer.

Fixes: debbugs:13650
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 agoFix rare aborts in bidi.c.
Eli Zaretskii [Mon, 11 Feb 2013 17:27:48 +0000 (19:27 +0200)]
Fix rare aborts in bidi.c.

 src/bidi.c (bidi_resolve_neutral): After finding the next
 non-neutral character, accept NEUTRAL_ON type as well, because
 directional control characters, such as LRE and RLE, have their
 type converted to that by bidi_resolve_weak.  This avoids aborts
 when LRE/RLE follows a run of neutrals.
 (bidi_move_to_visually_next): Assert that return value of
 bidi_peek_at_next_level is non-negative.  Negative values will
 cause an infloop.

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 copyedit (consistent capitalization for top-level headings)
Glenn Morris [Mon, 11 Feb 2013 01:46:52 +0000 (17:46 -0800)]
NEWS copyedit (consistent capitalization for top-level headings)

11 years agoNEWS copyedits
Glenn Morris [Mon, 11 Feb 2013 01:44:39 +0000 (17:44 -0800)]
NEWS copyedits

11 years ago* doc/lispref/objects.texi (Char-Table Type): Add cindex.
Glenn Morris [Mon, 11 Feb 2013 01:21:21 +0000 (17:21 -0800)]
* doc/lispref/objects.texi (Char-Table Type): Add cindex.

11 years ago* doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing.
Glenn Morris [Mon, 11 Feb 2013 01:16:30 +0000 (17:16 -0800)]
* doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing.

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 agoauto upstream
Joakim Verona [Sun, 10 Feb 2013 23:03:42 +0000 (00:03 +0100)]
auto upstream

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* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
Michael Albinus [Sun, 10 Feb 2013 10:07:09 +0000 (11:07 +0100)]
* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
if DIR exists and PARENTS is non-nil.

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 agoauto upstream
Joakim Verona [Sat, 9 Feb 2013 23:03:41 +0000 (00:03 +0100)]
auto upstream

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 agoauto upstream
Joakim Verona [Fri, 8 Feb 2013 23:03:39 +0000 (00:03 +0100)]
auto upstream

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