]> code.delx.au - gnu-emacs/log
gnu-emacs
11 years agoRemove <>, since makes contents invisible on http://ftp.gnu.org
Glenn Morris [Sun, 13 Jan 2013 00:51:49 +0000 (16:51 -0800)]
Remove <>, since makes contents invisible on http://ftp.gnu.org

11 years ago* autorevert.el (auto-revert-notify-handler): Use `file-equal-p'.
Michael Albinus [Sat, 12 Jan 2013 19:24:27 +0000 (20:24 +0100)]
* autorevert.el (auto-revert-notify-handler): Use `file-equal-p'.

11 years ago* autorevert.el (auto-revert-notify-watch-descriptor): Give it
Michael Albinus [Sat, 12 Jan 2013 13:30:00 +0000 (14:30 +0100)]
* autorevert.el (auto-revert-notify-watch-descriptor): Give it
`permanent-local' property.

11 years agoFix filtering of file notification events in autorevert.el.
Eli Zaretskii [Sat, 12 Jan 2013 11:25:39 +0000 (13:25 +0200)]
Fix filtering of file notification events in autorevert.el.

 lisp/autorevert.el (auto-revert-notify-handler): Fix filtering of
 file notification by ACTION. For filtering by file name, compare
 only the non-directory part of the file name.

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

11 years ago* indent.c (Fvertical_motion): Remove now-incorrect GCPROs
Paul Eggert [Sat, 12 Jan 2013 06:15:12 +0000 (22:15 -0800)]
* indent.c (Fvertical_motion): Remove now-incorrect GCPROs

for old_charpos and old_bytepos.

11 years agoEnable conservative stack scanning for all architectures.
Paul Eggert [Sat, 12 Jan 2013 05:21:06 +0000 (21:21 -0800)]
Enable conservative stack scanning for all architectures.

Suggested by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00183.html>.
* configure.ac (GC_MARK_STACK): Remove.

11 years ago* lisp/autorevert.el: Use cl-lib instead of cl.
Stefan Monnier [Sat, 12 Jan 2013 04:17:08 +0000 (23:17 -0500)]
* lisp/autorevert.el: Use cl-lib instead of cl.

11 years ago* lisp/vc/vc-bzr.el (vc-bzr--sanitize-header): New function.
Stefan Monnier [Sat, 12 Jan 2013 03:15:14 +0000 (22:15 -0500)]
* lisp/vc/vc-bzr.el (vc-bzr--sanitize-header): New function.
(vc-bzr-checkin): Use it.
* lisp/vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
will preserve match-data.

Fixes: debbugs:13307
11 years agoRemove obsolete comment about NON_SAVING_SETJMP.
Paul Eggert [Sat, 12 Jan 2013 01:47:07 +0000 (17:47 -0800)]
Remove obsolete comment about NON_SAVING_SETJMP.

11 years agoFix bug with set-time-zone-rule and LOCALTIME_CACHE.
Paul Eggert [Sat, 12 Jan 2013 01:15:06 +0000 (17:15 -0800)]
Fix bug with set-time-zone-rule and LOCALTIME_CACHE.

* editfns.c (set_time_zone_rule) [LOCALTIME_CACHE]:
Clear tzvalbuf_in_environ if this workaround is in effect.
Problem and fix reported by Kazuhiro Ito.

Fixes: debbugs:13415
11 years ago* lib/getopt_.h: Remove trailing CRs that crept in.
Paul Eggert [Fri, 11 Jan 2013 23:28:04 +0000 (15:28 -0800)]
* lib/getopt_.h: Remove trailing CRs that crept in.

11 years ago* lisp/progmodes/js.el: Fix multiline declarations's indentation.
Felix H. Dahlke [Fri, 11 Jan 2013 23:24:52 +0000 (18:24 -0500)]
* lisp/progmodes/js.el: Fix multiline declarations's indentation.
(js--declaration-keyword-re): New var.
(js--multi-line-declaration-indentation): New function.
(js--proper-indentation): Use it.

Fixes: debbugs:8576
11 years agoDisambiguate function and variable references in docstrings.
Aaron S. Hawley [Fri, 11 Jan 2013 23:08:55 +0000 (18:08 -0500)]
Disambiguate function and variable references in docstrings.
* lisp/comint.el (comint-history-isearch-message): Fix ambiguous doc
 string cross-reference(s).

* lisp/ffap.el (ffap-string-at-point-region, ffap-next)
(ffap-string-at-point, ffap-string-around)
(ffap-copy-string-as-kill, ffap-highlight-overlay)
(ffap-literally): Fix ambiguous doc string cross-reference(s).

* lisp/font-lock.el (font-lock-keywords-alist)
(font-lock-removed-keywords-alist): Fix ambiguous doc string
        cross-reference(s).

* lisp/help-mode.el (help-xref-symbol-regexp): Add "call" as a hint for
a cross-reference to a function.

* lisp/info.el (Info-find-emacs-command-nodes): Fix ambiguous doc
 string cross-reference(s).

* lisp/isearch.el (isearch-message-function, isearch-fail-pos): Fix
 ambiguous doc string cross-reference(s).

* lisp/misearch.el (multi-isearch-next-buffer-function): Fix ambiguous
 doc string cross-reference(s).

* lisp/newcomment.el (comment-box): Fix ambiguous doc string
 cross-reference(s).

* lisp/printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
(pr-setting-database): Fix ambiguous doc string
 cross-reference(s).

* lisp/ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
(ps-n-up-filling-database): Fix ambiguous doc string
 cross-reference(s).

* lisp/server.el (server-buffer, server-log): Fix ambiguous doc string
 cross-reference(s).

* lisp/simple.el (newline, delete-backward-char, delete-forward-char)
(minibuffer-history-isearch-message, kill-line, track-eol)
(temporary-goal-column): Fix ambiguous doc string
 cross-reference(s).

* lisp/whitespace.el (whitespace-point)
(whitespace-font-lock-refontify, whitespace-bob-marker)
(whitespace-eob-marker): Fix ambiguous doc string
 cross-reference(s).

* lisp/calc/calc.el (calc-highlight-selections-with-faces)
 (calc-dispatch): Fix ambiguous doc string cross-reference(s).

* lisp/emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): Fix
 ambiguous doc string cross-reference(s).

* lisp/gnus/gnus-start.el (gnus-check-new-newsgroups): Fix ambiguous doc string
 cross-reference(s).

* lisp/gnus/gnus-sum.el (gnus-summary-newsgroup-prefix): Fix ambiguous doc string
 cross-reference(s).

* lisp/international/mule.el (add-to-coding-system-list): Fix ambiguous
 doc string cross-reference(s).

* lisp/progmodes/cc-fonts.el (c-font-lock-keywords-3)
(c++-font-lock-keywords-3, objc-font-lock-keywords-3)
(java-font-lock-keywords-3, idl-font-lock-keywords-3)
(pike-font-lock-keywords-3): Fix ambiguous doc string
 cross-reference(s).

* lisp/progmodes/compile.el (compile): Fix ambiguous doc string
 cross-reference(s).

* lisp/progmodes/etags.el (tags-table-files)
(tags-table-files-function, tags-included-tables-function): Fix
 ambiguous doc string cross-reference(s).

* lisp/progmodes/gdb-mi.el (gdb, gdb-setup-windows)
(gdb-restore-windows): Fix ambiguous doc string
 cross-reference(s).

* lisp/textmodes/flyspell.el (flyspell-mark-duplications-flag)
(flyspell-default-deplacement-commands): Fix ambiguous doc string
 cross-reference(s).

* lisp/textmodes/ispell.el (ispell-accept-output): Fix ambiguous doc
 string cross-reference(s).

* lisp/textmodes/sgml-mode.el (html-tag-help): Fix ambiguous doc string
 cross-reference(s).

* lisp/vc/compare-w.el (compare-ignore-whitespace)
(compare-ignore-case, compare-windows-dehighlight): Fix ambiguous
 doc string cross-reference(s).

* lisp/vc/diff.el (diff): Fix ambiguous doc string cross-reference(s).

* src/insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
 ambiguous doc string cross-reference(s).

* src/keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous
 doc string cross-reference(s).

* src/window.c (Fwindow_point, syms_of_window): Fix ambiguous doc
 string cross-reference(s).

Fixes: debbugs:12686
11 years ago*** empty log message ***
Stefan Monnier [Fri, 11 Jan 2013 23:03:04 +0000 (18:03 -0500)]
*** empty log message ***

11 years agoFix a scoping error.
Michael Albinus [Fri, 11 Jan 2013 22:54:42 +0000 (23:54 +0100)]
Fix a scoping error.

11 years ago* autorevert.el (top): Require 'cl in order to pacify byte compiler.
Michael Albinus [Fri, 11 Jan 2013 22:36:32 +0000 (23:36 +0100)]
* autorevert.el (top): Require 'cl in order to pacify byte compiler.
(auto-revert-notify-rm-watch): Ignore errors.
(auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
inotify, and '(size last-write-time) for w32notify.  Set
buffer-local `auto-revert-use-notify' to nil when adding a file
watch fails - this is a fallback to the file modification check.
(auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
(auto-revert-notify-event-action)
(auto-revert-notify-event-file-name): New defuns.
(auto-revert-notify-handler): Use them.  Implement first
plausibility checks.
(auto-revert-handler): Handle also `auto-revert-tail-mode'.

11 years agocolor.el: fix color-rgb-to-hsv computing
Julien Danjou [Fri, 11 Jan 2013 15:04:24 +0000 (15:04 +0000)]
color.el: fix color-rgb-to-hsv computing

11 years agoAvoid unnecessary byte position calculation for the gap movement.
Dmitry Antipov [Fri, 11 Jan 2013 13:25:10 +0000 (17:25 +0400)]
Avoid unnecessary byte position calculation for the gap movement.
Since all users of move_gap do CHAR_TO_BYTE for other purposes
anyway, all of them should use move_gap_both instead.
* lisp.h (move_gap): Remove prototype.
* insdel.c (move_gap): Remove.
(move_gap_both): Add eassert.
* editfns.c (Ftranspose_regions): Tweak to use move_gap_both.
* xml.c (parse_region): Likewise.

11 years agoUse point-max-marker and point-min-marker here and there.
Dmitry Antipov [Fri, 11 Jan 2013 10:40:54 +0000 (14:40 +0400)]
Use point-max-marker and point-min-marker here and there.
* lisp/emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
* lisp/erc/erc-dcc.el (erc-dcc-chat-setup): Likewise.
* lisp/gnus/gnus-async.el (gnus-async-article-callback): Likewise.
* lisp/erc/erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
* lisp/gnus/gnus-art.el (gnus-mime-display-security): Use point-min-marker
and point-max-marker.

11 years agoFix last commit in autorevert.el.
Eli Zaretskii [Fri, 11 Jan 2013 09:45:54 +0000 (11:45 +0200)]
Fix last commit in autorevert.el.

 lisp/autorevert.el (auto-revert-notify-rm-watch)
 (auto-revert-notify-add-watch): Fix typos in w32notify function
 names.

11 years agoMS-Windows followup to bugfix #13387.
Eli Zaretskii [Fri, 11 Jan 2013 09:33:54 +0000 (11:33 +0200)]
MS-Windows followup to bugfix #13387.

 nt/inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
 used in term.c.

11 years agolib/getopt_.h: Regenerate.
Eli Zaretskii [Fri, 11 Jan 2013 09:20:41 +0000 (11:20 +0200)]
lib/getopt_.h: Regenerate.

11 years agolisp/gnus/mml-smime.el: Add mml-smime-encrypt-to-self
Uwe Brauer [Fri, 11 Jan 2013 03:06:13 +0000 (03:06 +0000)]
lisp/gnus/mml-smime.el: Add mml-smime-encrypt-to-self

* mml-smime.el (mml-smime-encrypt-to-self): New user option analogous
to mml2015-encrypt-to-self.
(mml-smime-epg-encrypt): Respect mml-smime-encrypt-to-self.

11 years agoemacsclient -t should not suspend Emacs server
Paul Eggert [Fri, 11 Jan 2013 02:40:58 +0000 (18:40 -0800)]
emacsclient -t should not suspend Emacs server

* lisp.h, sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
New functions.
* term.c (init_tty): Use them instead of rolling our own code.
* sysdep.c (tcsetpgrp_without_stopping): Likewise.  Here, this
switches from 'signal' to 'pthread_sigmask', which is safer in
multithreaded applications.
* term.c (Fresume_tty): Don't bother dissociating if O_IGNORE_CTTY,
which has already arranged for that.
(dissociate_if_controlling_tty): If setsid fails, fall back on TIOCNOTTY.
This is the main part of the bug fix.

Fixes: debbugs:13387
11 years ago* autorevert.el (auto-revert-notify-enabled): Move up.
Michael Albinus [Thu, 10 Jan 2013 20:26:15 +0000 (21:26 +0100)]
* autorevert.el (auto-revert-notify-enabled): Move up.
(auto-revert-use-notify): New defcustom.
(auto-revert-mode, global-auto-revert-mode)
(auto-revert-notify-add-watch, auto-revert-handler)
(auto-revert-buffers): Use `auto-revert-use-notify' instead of
`auto-revert-notify-enabled'.

11 years ago* gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around
Jan Djärv [Thu, 10 Jan 2013 17:45:08 +0000 (18:45 +0100)]
* gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around
x_last_font_name.

Fixes: debbugs:13403
11 years ago* lisp/files.el (auto-mode-alist): Use doc-view for djvu files.
Elias Pipping [Thu, 10 Jan 2013 15:50:04 +0000 (10:50 -0500)]
* lisp/files.el (auto-mode-alist): Use doc-view for djvu files.
* lisp/doc-view.el (doc-view-document->bitmap):
Use doc-view-single-page-converter-function instead of
single-page-converter arg; adjust callers.

Fixes: debbugs:13164
11 years ago* lisp/progmodes/which-func.el (which-function): Understand Semantic's use
Feng Li [Thu, 10 Jan 2013 15:36:01 +0000 (10:36 -0500)]
* lisp/progmodes/which-func.el (which-function): Understand Semantic's use
of overlays in imenu--index-alist.

11 years ago* lisp/man.el: Handle different "man -k" behaviors. Use utf-8.
Wolfgang Jenkner [Thu, 10 Jan 2013 15:01:35 +0000 (10:01 -0500)]
* lisp/man.el: Handle different "man -k" behaviors.  Use utf-8.
(Man-man-k-use-anchor): New var.
(Man-parse-man-k): New function.
(Man-completion-table): Use it.
(man): Flush the completion cache between uses.
* test/automated/man-tests.el: New file.

Fixes: debbugs:13160
11 years ago* autorevert.el: Add file watch support.
Michael Albinus [Thu, 10 Jan 2013 14:27:48 +0000 (15:27 +0100)]
* autorevert.el: Add file watch support.
(auto-revert-notify-enabled): New defconst.
(auto-revert-notify-watch-descriptor-hash-list)
(auto-revert-notify-watch-descriptor)
(auto-revert-notify-modified-p): New defvars.
(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
(auto-revert-notify-handler): New defuns.
(auto-revert-mode, global-auto-revert-mode): Remove file watches
when mode is disabled.
(auto-revert-handler): Check for `auto-revert-notify-modified-p'.
(auto-revert-buffers): Add file watches for active buffers.

11 years agoOmit buffer_slot_type_mismatch and use generic predicates to enforce
Dmitry Antipov [Thu, 10 Jan 2013 10:30:16 +0000 (14:30 +0400)]
Omit buffer_slot_type_mismatch and use generic predicates to enforce
the type of per-buffer values where appropriate.
* src/lisp.h (struct Lisp_Buffer_Objfwd): Rename slottype member to
predicate, which is how it's really used now.  Adjust comment.
* src/buffer.h (buffer_slot_type_mismatch): Remove prototype.
* src/buffer.c (buffer_slot_type_mismatch): Remove.
(DEFVAR_PER_BUFFER, defvar_per_buffer): Rename type argument to
predicate.  Adjust comment.
(syms_of_buffer): Use Qsymbolp for major-mode.  Use Qintegerp for
fill-column, left-margin, tab-width, buffer-saved-size,
left-margin-width, right-margin-width, left-fringe-width,
right-fringe-width, scroll-bar-width and buffer-display-count.
Use Qstringp for default-directory, buffer-file-name,
buffer-file-truename and buffer-auto-save-file-name.  Use Qfloatp for
scroll-up-aggressively and scroll-down-aggressively.  Use Qnumberp for
line-spacing.
* src/data.c (store_symval_forwarding): Adjust to call the predicate.
* lisp/cus-start.el (toplevel): Only allow float values for
scroll-up-aggressively and scroll-down-aggressively.
Allow any number for line-spacing.

11 years ago* tramp.texi (Default Host): Introduce `tramp-default-host-alist'.
Michael Albinus [Thu, 10 Jan 2013 07:34:48 +0000 (08:34 +0100)]
* tramp.texi (Default Host): Introduce `tramp-default-host-alist'.

11 years ago* lisp/doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
Stefan Monnier [Thu, 10 Jan 2013 05:05:24 +0000 (00:05 -0500)]
* lisp/doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
(doc-view-pdf->png-converter-function): Use mupdf if available.
(doc-view-djvu->png-converter-function)
(doc-view-ps->png-converter-function): Remove.
(doc-view--image-file-pattern): Replace doc-view--image-file-extension.
(doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
(doc-view-already-converted-p): Adjust accordingly.
(doc-view-mode-p): Simplify.
(doc-view-enlarge): Use setq-local.
(doc-view-pdf->png-converter-ghostscript)
(doc-view-djvu->png-converter-ddjvu)
(doc-view-pdf->png-converter-mupdf): Rework to call
doc-view-start-process directly.
(doc-view-pdf/ps->png): Simplify accordingly.
(doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
(doc-view-document->bitmap): Rename from doc-view-document->png.
(doc-view-convert-current-doc): Merge pdf and djvu cases.
(doc-view-set-slice-from-bounding-box): Fix completion table.
(doc-view-mode): Use add-hook for after-revert-hook.

11 years agoMisc make-tarball updates
Glenn Morris [Thu, 10 Jan 2013 04:12:46 +0000 (20:12 -0800)]
Misc make-tarball updates

11 years agoMerge from emacs-24
Stefan Monnier [Thu, 10 Jan 2013 03:43:02 +0000 (22:43 -0500)]
Merge from emacs-24

11 years agoBump version to 24.2.92 emacs-24.2.92
Glenn Morris [Thu, 10 Jan 2013 02:45:32 +0000 (18:45 -0800)]
Bump version to 24.2.92
Regenerate etc/AUTHORS and lisp/ldefs-boot.el

11 years ago* lisp/emacs-lisp/crm.el: Allow any regexp for separators.
Roland Winkler [Thu, 10 Jan 2013 02:45:31 +0000 (21:45 -0500)]
* lisp/emacs-lisp/crm.el: Allow any regexp for separators.
(crm-default-separator): All spaces around the default comma separator.
(crm--completion-command): New macro.
(crm-completion-help, crm-complete, crm-complete-word): Use it.
(crm-complete-and-exit): Handle non-single-char separators.

11 years agoChangeLog fixes from M-x authors
Glenn Morris [Thu, 10 Jan 2013 02:30:52 +0000 (18:30 -0800)]
ChangeLog fixes from M-x authors

11 years agoauthors.el tiny updates
Glenn Morris [Thu, 10 Jan 2013 02:30:06 +0000 (18:30 -0800)]
authors.el tiny updates

* lisp/emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names, authors-renamed-files-alist):
Add some more entries.

11 years agoMerge from gnulib.
Paul Eggert [Thu, 10 Jan 2013 02:19:44 +0000 (18:19 -0800)]
Merge from gnulib.

11 years ago* lisp/image-mode.el (image-mode-winprops): Don't throw away the fallback
Stefan Monnier [Wed, 9 Jan 2013 22:47:27 +0000 (17:47 -0500)]
* lisp/image-mode.el (image-mode-winprops): Don't throw away the fallback
`t' pseudo-window entry.

11 years agoFix bugs in the c-parse-state mechanism. Reuse some markers instead of
Alan Mackenzie [Wed, 9 Jan 2013 21:33:00 +0000 (21:33 +0000)]
Fix bugs in the c-parse-state mechanism.  Reuse some markers instead of
continually generating new ones.

cc-engine.el (c-state-old-cpp-beg-marker, c-state-old-cpp-end-marker):
New variables.
(c-append-lower-brace-pair-to-state-cache): Start a backward search for
"}" definitively outside CPP constructs.
(c-remove-stale-state-cache): Inform the caller of a need to search back
for a brace pair in certain circumstances.
(c-state-maybe-marker): New macro.
(c-parse-state): Reuse markers when appropriate.

11 years ago* test/automated/undo-tests.el (undo-test0): Adjust error to code change.
Aaron S. Hawley [Wed, 9 Jan 2013 21:29:27 +0000 (16:29 -0500)]
* test/automated/undo-tests.el (undo-test0): Adjust error to code change.

11 years agocommands.texi small fix for bug#13393
Glenn Morris [Wed, 9 Jan 2013 21:26:08 +0000 (16:26 -0500)]
commands.texi small fix for bug#13393

* doc/lispref/commands.texi (Interactive Codes):
Whitespace does not terminate interactive "S".

11 years ago* lisp/doc-view.el: Add support for DjVu.
Elias Pipping [Wed, 9 Jan 2013 21:24:42 +0000 (16:24 -0500)]
* lisp/doc-view.el: Add support for DjVu.
(doc-view-djvu->png-converter-function): New config var.
(doc-view-single-page-converter-function, doc-view--image-type)
(doc-view--image-file-extension): New vars.
(doc-view-mode): Initialize them.
(doc-view-goto-page): Use them.
(doc-view-mode-p): Add support for ddjvu.
(doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
(doc-view-set-up-single-converter): New funs.
(doc-view-pdf/ps->png): Extend for djvu.
(doc-view-document->png): Rename from doc-view-pdf->png.
(doc-view-convert-current-doc): Handle djvu.
(doc-view-insert-image, doc-view-display)
(doc-view-already-converted-p): Don't hardcode png.
(doc-view-set-doc-type): Recognize djvu docs.

Fixes: debbugs:13164
11 years agoexecute-extended-command prompt fix (bug#13395)
Glenn Morris [Wed, 9 Jan 2013 21:23:14 +0000 (16:23 -0500)]
execute-extended-command prompt fix (bug#13395)

* lisp/simple.el (execute-extended-command): Doc fix.
Bind prefix-arg around read-extended-command, for prompt.

11 years ago* lisp/doc-view.el: Add support for mupdf converter.
Elias Pipping [Wed, 9 Jan 2013 19:48:42 +0000 (14:48 -0500)]
* lisp/doc-view.el: Add support for mupdf converter.
(doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
(doc-view-ps->png-converter-function): New config vars.
(doc-view-pdf->png-converter-ghostscript)
(doc-view-ps->png-converter-ghostscript)
(doc-view-pdf->png-converter-mupdf): New functions.
(doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.

Fixes: debbugs:13164
11 years agont/config.nt: Sync with autogen/config.in.
Juanma Barranquero [Wed, 9 Jan 2013 15:07:44 +0000 (16:07 +0100)]
nt/config.nt: Sync with autogen/config.in.
(HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.

11 years agosrc/w32.c, src/w32term.c: Remove unused local variables.
Juanma Barranquero [Wed, 9 Jan 2013 15:07:01 +0000 (16:07 +0100)]
src/w32.c, src/w32term.c: Remove unused local variables.

11 years ago* insdel.c (make_gap_larger): Fix comment because gap_left doesn't
Dmitry Antipov [Wed, 9 Jan 2013 14:08:49 +0000 (18:08 +0400)]
* insdel.c (make_gap_larger): Fix comment because gap_left doesn't
adjust markers.
(make_gap_smaller): Likewise for gap_right.

11 years ago* lisp.h (make_gap_1): New prototype.
Dmitry Antipov [Wed, 9 Jan 2013 13:50:22 +0000 (17:50 +0400)]
* lisp.h (make_gap_1): New prototype.
* buffer.h (GAP_BYTES_DFL, GAP_BYTES_MIN): New macros for the special
gap size values.
* editfns.c (Fbuffer_size): Rename from Fbufsize to fit the common
naming convention.
(syms_of_editfns): Adjust defsubr.  Drop commented-out obsolete code.
* insdel.c (make_gap_larger): Use GAP_BYTES_DFL.
(make_gap_smaller): Use GAP_BYTES_MIN.  Adjust comment.
(make_gap_1): New function to adjust the gap of any buffer.
* coding.c (coding_alloc_by_making_gap): Use it.
* buffer.c (compact_buffer): Likewise.  Use BUF_Z_BYTE, BUF_GAP_SIZE,
GAP_BYTES_DFL and GAP_BYTES_MIN.  Adjust comment.

11 years ago* net/tramp.el (tramp-eshell-directory-change): Check remote-path
Michael Albinus [Wed, 9 Jan 2013 09:49:27 +0000 (10:49 +0100)]
* net/tramp.el (tramp-eshell-directory-change): Check remote-path
first in session cache: When `tramp-own-remote-path' is in
`tramp-remote-path', the remote path is only set in the session
cache.

11 years agoMinor doc fix.
Chong Yidong [Wed, 9 Jan 2013 09:46:30 +0000 (17:46 +0800)]
Minor doc fix.

11 years ago* faces.el (read-face-name): Doc fix.
Chong Yidong [Wed, 9 Jan 2013 09:43:38 +0000 (17:43 +0800)]
* faces.el (read-face-name): Doc fix.

11 years agoMerge from emacs-24; up to 2012-12-08T12:11:29Z!eliz@gnu.org
Glenn Morris [Wed, 9 Jan 2013 08:30:21 +0000 (00:30 -0800)]
Merge from emacs-24; up to 2012-12-08T12:11:29Z!eliz@gnu.org

11 years agoBackport spelling fixes from trunk
Paul Eggert [Wed, 9 Jan 2013 08:29:10 +0000 (00:29 -0800)]
Backport spelling fixes from trunk

11 years agoSpelling fix merged from gnulib.
Paul Eggert [Wed, 9 Jan 2013 08:25:11 +0000 (00:25 -0800)]
Spelling fix merged from gnulib.

11 years agoRemove duplicated ChangeLog entry
Glenn Morris [Wed, 9 Jan 2013 08:20:20 +0000 (00:20 -0800)]
Remove duplicated ChangeLog entry

11 years agoSpelling fixes.
Paul Eggert [Wed, 9 Jan 2013 08:17:47 +0000 (00:17 -0800)]
Spelling fixes.

* lisp/net/tramp-adb.el (tramp-adb-get-toolbox):
Fix misspelling of 'unknown'.

11 years ago* mml-smime.el (epg-sub-key-fingerprint): Autoload.
Daiki Ueno [Wed, 9 Jan 2013 05:11:16 +0000 (14:11 +0900)]
* mml-smime.el (epg-sub-key-fingerprint): Autoload.

11 years agoRemove some obsolete trace.el commentary
Glenn Morris [Wed, 9 Jan 2013 04:01:57 +0000 (20:01 -0800)]
Remove some obsolete trace.el commentary

11 years agoRemove some of the more obsolete MAINTAINERS info
Glenn Morris [Wed, 9 Jan 2013 04:00:57 +0000 (20:00 -0800)]
Remove some of the more obsolete MAINTAINERS info

11 years ago* emacs-lisp/trace.el (trace-function, trace-function-background): Doc fix.
Glenn Morris [Wed, 9 Jan 2013 03:59:10 +0000 (19:59 -0800)]
* emacs-lisp/trace.el (trace-function, trace-function-background): Doc fix.

11 years ago* lisp/international/mule-cmds.el (read-char-by-name): Move let-binding
Juri Linkov [Wed, 9 Jan 2013 00:20:02 +0000 (02:20 +0200)]
* lisp/international/mule-cmds.el (read-char-by-name): Move let-binding
of completion-ignore-case around completing-read to fix regression
exhibited by the test case `C-x 8 RET *acc TAB' and caused by
`string-match-p' using the nil value of `case-fold-search' and
`completion-ignore-case' in `completion-pcm--all-completions'..

Fixes: debbugs:12615
11 years ago* lisp/textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
Juri Linkov [Tue, 8 Jan 2013 23:50:40 +0000 (01:50 +0200)]
* lisp/textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
* lisp/progmodes/flymake.el (flymake-errline, flymake-warnline):
Use underline style wave on terminals that support it.

* src/xfaces.c (tty_supports_face_attributes_p): Return 0 for the case
of (supports :underline (:style wave)).

Fixes: debbugs:13000
11 years ago* lisp/emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
Stefan Monnier [Tue, 8 Jan 2013 22:26:21 +0000 (17:26 -0500)]
* lisp/emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
the predicate returns nil.

11 years agoFixes related to the last Org merge.
Bastien Guerry [Tue, 8 Jan 2013 22:02:09 +0000 (23:02 +0100)]
Fixes related to the last Org merge.

11 years ago* lisp/simple.el: Use lexical-binding.
Stefan Monnier [Tue, 8 Jan 2013 20:15:15 +0000 (15:15 -0500)]
* lisp/simple.el: Use lexical-binding.
(primitive-undo): Use pcase.
(minibuffer-history-isearch-push-state): Use a closure.

11 years ago* lisp/simple.el (primitive-undo): Move from undo.c.
Aaron S. Hawley [Tue, 8 Jan 2013 19:13:31 +0000 (14:13 -0500)]
* lisp/simple.el (primitive-undo): Move from undo.c.
* src/undo.c (Fprimitive_undo): Move to simple.el.
(syms_of_undo): Remove declaration for Sprimitive_undo.
* test/automated/undo-tests.el: New file.

11 years agoMerge Org up to commit 4cac75153. Some ChangeLog formatting fixes.
Bastien Guerry [Tue, 8 Jan 2013 18:49:37 +0000 (19:49 +0100)]
Merge Org up to commit 4cac75153.  Some ChangeLog formatting fixes.

11 years ago* lisp/vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
Stefan Monnier [Tue, 8 Jan 2013 17:34:35 +0000 (12:34 -0500)]
* lisp/vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
(cvs-mode-remove-handled): Use it.

Fixes: debbugs:13380
11 years agodoc/misc/org.texi: Fix version number
Bastien Guerry [Tue, 8 Jan 2013 16:56:58 +0000 (17:56 +0100)]
doc/misc/org.texi: Fix version number

11 years ago* src/keyboard.c (echo_add_key): Rename from echo_add_char.
Stefan Monnier [Tue, 8 Jan 2013 16:51:11 +0000 (11:51 -0500)]
* src/keyboard.c (echo_add_key): Rename from echo_add_char.

11 years agoMerge Org (commit c8c217). Fix mistake about updating the wrong ChangeLog.
Bastien Guerry [Tue, 8 Jan 2013 15:31:30 +0000 (16:31 +0100)]
Merge Org (commit c8c217).  Fix mistake about updating the wrong ChangeLog.

11 years ago* lisp/emacs-lisp/nadvice.el (advice--tweak): New function.
Stefan Monnier [Tue, 8 Jan 2013 15:24:56 +0000 (10:24 -0500)]
* lisp/emacs-lisp/nadvice.el (advice--tweak): New function.
(advice--remove-function, advice--subst-main): Use it.
* lisp/emacs-lisp/advice.el: Update commentary.

11 years agoMerge Org 7.9.3 (commit 31c1aea)
Bastien Guerry [Tue, 8 Jan 2013 14:27:18 +0000 (15:27 +0100)]
Merge Org 7.9.3 (commit 31c1aea)

11 years ago* net/tramp-adb.el (tramp-adb-file-name-handler-alist): Remove
Michael Albinus [Tue, 8 Jan 2013 11:02:58 +0000 (12:02 +0100)]
* net/tramp-adb.el (tramp-adb-file-name-handler-alist): Remove
spurious entry.

11 years agoetc/NEWS: Document the change wrt `apropos-user-option' and `apropos-variable'
Bastien Guerry [Tue, 8 Jan 2013 07:14:51 +0000 (08:14 +0100)]
etc/NEWS: Document the change wrt `apropos-user-option' and `apropos-variable'

11 years agoMerge from gnulib (comment change only).
Paul Eggert [Tue, 8 Jan 2013 05:07:19 +0000 (21:07 -0800)]
Merge from gnulib (comment change only).

11 years agoAdd some :version tags
Glenn Morris [Tue, 8 Jan 2013 04:40:09 +0000 (20:40 -0800)]
Add some :version tags

* gnus/mml-smime.el (mml-smime-sign-with-sender): Add :version.

* net/tramp.el (tramp-default-host-alist): Add :version.

11 years ago* lisp/info.el (Info-read-node-name-2): Don't duplicate suffixes for single completion.
Juri Linkov [Tue, 8 Jan 2013 00:28:55 +0000 (02:28 +0200)]
* lisp/info.el (Info-read-node-name-2): Don't duplicate suffixes for single completion.
(info--manual-names): Expand node completions into an explicit list
before appending it to another list.  Filter out internal buffers
with the leading space in the buffer name.  (Bug#10771)

Fixes: debbugs:12456
11 years ago* lisp/info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
Juri Linkov [Tue, 8 Jan 2013 00:11:51 +0000 (02:11 +0200)]
* lisp/info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
that defaults to the Top node.
(Info-goto-node, Info-read-node-name): Doc fix to mention that
the short format (FILENAME) goes to the Top node.
(Info-build-node-completions): Rename arg `file' to `filename'.

* doc/misc/info.texi (Go to node): Mention the abbreviated format
`(FILENAME)' equal to `(FILENAME)Top'.

Fixes: debbugs:13365
11 years agoIntroduce `apropos-user-option' and update `apropos-variable'. (Bug#13276)
Bastien Guerry [Mon, 7 Jan 2013 22:00:55 +0000 (23:00 +0100)]
Introduce `apropos-user-option' and update `apropos-variable'.  (Bug#13276)

11 years ago* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
Jürgen Hötzel [Mon, 7 Jan 2013 19:44:48 +0000 (20:44 +0100)]
* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
Handle filename correctly, when parsing "source -> target" symlink
output.
(tramp-adb-handle-set-file-times): New defun.

11 years ago* lisp/emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
Stefan Monnier [Mon, 7 Jan 2013 18:03:01 +0000 (13:03 -0500)]
* lisp/emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
advice list when the interactive-spec of ad-Advice-* changes.

11 years agowid-edit.el (widget-default-get): Work for inlined elements (Bug#12670)
Katsumi Yamaoka [Mon, 7 Jan 2013 11:24:35 +0000 (11:24 +0000)]
wid-edit.el (widget-default-get): Work for inlined elements (Bug#12670)

11 years ago* net/tramp.el (tramp-default-host-alist): New defcustom.
Michael Albinus [Mon, 7 Jan 2013 09:25:34 +0000 (10:25 +0100)]
* net/tramp.el (tramp-default-host-alist): New defcustom.
(tramp-find-host): Use it.
(tramp-eshell-directory-change): Moved from tramp-sh.el.  Add to
`eshell-directory-change-hook'.

* net/tramp-adb.el (top): Add adb specific entry in
`tramp-default-host-alist'.
(tramp-adb-file-name-host): Remove function.
(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.

* net/tramp-sh.el : Move eshell integration code to tramp.el.

11 years agolisp/gnus/mml-smime.el: Support signing by sender.
Daiki Ueno [Mon, 7 Jan 2013 03:59:02 +0000 (12:59 +0900)]
lisp/gnus/mml-smime.el: Support signing by sender.

11 years ago* lisp/progmodes/compile.el (compilation-parse-errors): Fix typo.
Glenn Morris [Mon, 7 Jan 2013 01:23:26 +0000 (17:23 -0800)]
* lisp/progmodes/compile.el (compilation-parse-errors): Fix typo.

Fixes: debbugs:13369
11 years agocomint-send-input tiny change
Vitalie Spinu [Mon, 7 Jan 2013 01:06:39 +0000 (17:06 -0800)]
comint-send-input tiny change

* lisp/comint.el (comint-send-input): Check size of buffer before
waiting for process output, in case already accepted.

Fixes: debbugs:13290
11 years ago* net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
Jürgen Hötzel [Sun, 6 Jan 2013 21:25:27 +0000 (22:25 +0100)]
* net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.

11 years agoMerge from emacs-24; up to 2012-12-07T15:31:43Z!cyd@gnu.org
Glenn Morris [Sun, 6 Jan 2013 20:34:54 +0000 (12:34 -0800)]
Merge from emacs-24; up to 2012-12-07T15:31:43Z!cyd@gnu.org

11 years ago* net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
Michael Albinus [Sun, 6 Jan 2013 15:44:18 +0000 (16:44 +0100)]
* net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
consist of mor than one digit.
(tramp-adb-file-name-handler-alist): Use
`tramp-handle-file-exists-p' consistently.
(tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
(tramp-adb-handle-file-exists-p): Remove function.
(tramp-adb-file-name-host): New defun.
(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
Use it.
(tramp-adb-maybe-open-connection): Set "remote-path" property.

11 years ago* autotype.texi: Remove undefined command @subtitlefont.
Andreas Schwab [Sun, 6 Jan 2013 14:29:40 +0000 (15:29 +0100)]
* autotype.texi: Remove undefined command @subtitlefont.
* cc-mode.texi: Likewise.

11 years ago* org.texi (Advanced features): Use `@w{ }' instead of `@ ' in
Andreas Schwab [Sun, 6 Jan 2013 10:34:26 +0000 (11:34 +0100)]
* org.texi (Advanced features): Use `@w{ }' instead of `@ ' in
@item argument.
(Property searches): Use \\ instead of @backslashchar{}.
* pgg.texi (VERSION): Move @set below @setfilename.

11 years ago* windows.texi (Vertical Scrolling): Fix typos.
Chong Yidong [Sun, 6 Jan 2013 03:10:18 +0000 (11:10 +0800)]
* windows.texi (Vertical Scrolling): Fix typos.

Fixes: debbugs:13267
11 years agoTry to handle buffer/file modifications which conflict with VCS locking.
Chong Yidong [Sun, 6 Jan 2013 02:58:57 +0000 (10:58 +0800)]
Try to handle buffer/file modifications which conflict with VCS locking.

* vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.

* vc/vc.el (vc-next-action): Detect buffer modifications
conflicting with locking VCS operation.

Fixes: debbugs:11490
11 years agoFix echoing of replayed keys.
Chong Yidong [Sun, 6 Jan 2013 02:38:04 +0000 (10:38 +0800)]
Fix echoing of replayed keys.

* keyboard.c (echo_add_char): New function, factored out from
echo_char.  Don't add a space if the previous echo string was
empty.
(echo_char): Use it.
(read_key_sequence): When echoing mock input, ensure that the
trailing dash is properly added.

Fixes: debbugs:13255
11 years agoMerge from emacs-24; up to 2012-12-07T08:13:49Z!dmantipov@yandex.ru
Glenn Morris [Sat, 5 Jan 2013 21:18:01 +0000 (13:18 -0800)]
Merge from emacs-24; up to 2012-12-07T08:13:49Z!dmantipov@yandex.ru