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.
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
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
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)
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.
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
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.
Glenn Morris [Wed, 13 Feb 2013 05:00:45 +0000 (21:00 -0800)]
* emacs-lisp/package.el (package-menu-execute): Doc fix.
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
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
Glenn Morris [Wed, 13 Feb 2013 04:26:43 +0000 (20:26 -0800)]
* src/keyboard.c (input-decode-map, key-translation-map): Doc fixes.
Aidan Gauland [Wed, 13 Feb 2013 04:02:11 +0000 (23:02 -0500)]
* lisp/erc/erc-match.el (erc-match-message): Fix last commit.
Glenn Morris [Wed, 13 Feb 2013 02:25:02 +0000 (21:25 -0500)]
* doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.
Glenn Morris [Wed, 13 Feb 2013 02:20:52 +0000 (21:20 -0500)]
* doc/lispref/modes.texi (Minor Mode Conventions): Fix typo.
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.
Juanma Barranquero [Wed, 13 Feb 2013 00:53:07 +0000 (01:53 +0100)]
lisp/progmodes/js.el: Silence byte-compiler warning.
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.
Juanma Barranquero [Wed, 13 Feb 2013 00:50:38 +0000 (01:50 +0100)]
src/makefile.w32-in: Update dependencies.
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.
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
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.
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.
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.
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.
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.
Tassilo Horn [Tue, 12 Feb 2013 11:53:34 +0000 (12:53 +0100)]
Improve previous patch to allow for multiple simultaneous ODF->PDF
conversions.
Glenn Morris [Tue, 12 Feb 2013 11:17:35 +0000 (06:17 -0500)]
Auto-commit of generated files.
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.
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
Glenn Morris [Tue, 12 Feb 2013 07:38:54 +0000 (23:38 -0800)]
ChangeLog fixes
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
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.
Glenn Morris [Tue, 12 Feb 2013 00:51:24 +0000 (19:51 -0500)]
Tweak quoting in earlier configure.ac emacs_config_options change
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.
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.
Paul Eggert [Mon, 11 Feb 2013 23:15:46 +0000 (15:15 -0800)]
Merge from gnulib.
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.
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
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.
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
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.
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.
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.
Glenn Morris [Mon, 11 Feb 2013 11:17:34 +0000 (06:17 -0500)]
Auto-commit of generated files.
Michael Albinus [Mon, 11 Feb 2013 10:42:58 +0000 (11:42 +0100)]
* NEWS: Add autorevert changes.
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.
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
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
Glenn Morris [Mon, 11 Feb 2013 01:46:52 +0000 (17:46 -0800)]
NEWS copyedit (consistent capitalization for top-level headings)
Glenn Morris [Mon, 11 Feb 2013 01:44:39 +0000 (17:44 -0800)]
NEWS copyedits
Glenn Morris [Mon, 11 Feb 2013 01:21:21 +0000 (17:21 -0800)]
* doc/lispref/objects.texi (Char-Table Type): Add cindex.
Glenn Morris [Mon, 11 Feb 2013 01:16:30 +0000 (17:16 -0800)]
* doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing.
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
Glenn Morris [Mon, 11 Feb 2013 00:55:26 +0000 (16:55 -0800)]
ChangeLog for previous
Glenn Morris [Mon, 11 Feb 2013 00:54:48 +0000 (16:54 -0800)]
* configure.ac (emacs_config_options): Record some env vars.
Paul Eggert [Mon, 11 Feb 2013 00:35:37 +0000 (16:35 -0800)]
Remove obsolete references to VAX in comments.
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.
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.
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.
Glenn Morris [Sun, 10 Feb 2013 11:19:05 +0000 (06:19 -0500)]
Auto-commit of generated files.
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.
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.
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.
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
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
Glenn Morris [Sun, 10 Feb 2013 01:54:16 +0000 (17:54 -0800)]
* doc/emacs/trouble.texi (Checklist): Update bug keybinding.
Glenn Morris [Sun, 10 Feb 2013 01:49:48 +0000 (17:49 -0800)]
ChangeLog attribution fix
Glenn Morris [Sun, 10 Feb 2013 01:32:14 +0000 (17:32 -0800)]
ChangeLog typo fix
Katsumi Yamaoka [Sun, 10 Feb 2013 00:51:34 +0000 (00:51 +0000)]
lisp/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
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.
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.
Eli Zaretskii [Sat, 9 Feb 2013 16:39:46 +0000 (18:39 +0200)]
Fix last ChangeLog entry.
Fixes: debbugs:13661
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.
Eli Zaretskii [Sat, 9 Feb 2013 16:20:29 +0000 (18:20 +0200)]
subr.el (buffer-file-type, default-buffer-file-type): Remove.
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
Glenn Morris [Sat, 9 Feb 2013 11:17:59 +0000 (06:17 -0500)]
Auto-commit of generated files.
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'.
Eli Zaretskii [Sat, 9 Feb 2013 09:02:17 +0000 (11:02 +0200)]
src/msdos.c (careadlinkatcwd): Remove.
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
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
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
Glenn Morris [Sat, 9 Feb 2013 02:36:39 +0000 (21:36 -0500)]
* doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result.
Glenn Morris [Sat, 9 Feb 2013 01:57:36 +0000 (20:57 -0500)]
More small TODO updates
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.
Paul Eggert [Fri, 8 Feb 2013 23:37:17 +0000 (15:37 -0800)]
Merge from gnulib.
Paul Eggert [Fri, 8 Feb 2013 23:28:29 +0000 (15:28 -0800)]
* movemail.c (getenv): Remove decl (unused since 1994).
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
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
Glenn Morris [Fri, 8 Feb 2013 17:14:58 +0000 (09:14 -0800)]
Remove old TODO item - user-error was added
Glenn Morris [Fri, 8 Feb 2013 17:13:46 +0000 (09:13 -0800)]
Remove longlines entry (bug#13652)
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
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
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
Stefan Monnier [Fri, 8 Feb 2013 15:48:36 +0000 (10:48 -0500)]
* leim/quail/latin-ltx.el: Add greek superscripts.
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.
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.
Aidan Gauland [Fri, 8 Feb 2013 14:59:24 +0000 (09:59 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.
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.
Aidan Gauland [Fri, 8 Feb 2013 14:44:17 +0000 (09:44 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.