bpt/emacs.git
11 years agoMerge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca
Paul Eggert [Wed, 2 Jan 2013 16:13:04 +0000 (08:13 -0800)]
Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca

11 years ago* net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
Michael Albinus [Wed, 2 Jan 2013 10:15:31 +0000 (11:15 +0100)]
* net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
`error' call.
(tramp-do-copy-or-rename-file): Ignore errors when calling
`set-file-extended-attributes'.

* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
handler for `file-acl'.
(tramp-smb-handle-file-acl): New defun.

11 years agoMerge changes made in Gnus master
Lars Magne Ingebrigtsen [Wed, 2 Jan 2013 09:20:32 +0000 (09:20 +0000)]
Merge changes made in Gnus master

lisp/gnus/gnus-msg.el: Don't do Gcc handling if Gnus isn't running
lisp/gnus/nnimap.el: Make nnimap treat \Deleted articles as \Read articles

11 years agoSimplify via eabs.
Paul Eggert [Wed, 2 Jan 2013 07:57:00 +0000 (23:57 -0800)]
Simplify via eabs.

* dired.c (file_name_completion):
* doc.c (get_doc_string):
* floatfns.c (round2):
* font.c (font_score, font_delete_unmatched):
* fringe.c (compute_fringe_widths):
* lread.c (read_list):
* minibuf.c (Ftry_completion):
* term.c (tty_ins_del_lines):
* xterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
Use eabs (x) rather than open-coding it as (x < 0 ? -x : x).

11 years ago* doc/misc/calc.texi (Free-Form Dates): Expand on the date reading
Jay Belanger [Wed, 2 Jan 2013 02:54:33 +0000 (20:54 -0600)]
* doc/misc/calc.texi (Free-Form Dates): Expand on the date reading
  algorithm.

* lisp/calc/README: Mention ISO 8601 week-numbering dates.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jan 2013 12:22:35 +0000 (07:22 -0500)]
Auto-commit of loaddefs files.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 1 Jan 2013 12:18:20 +0000 (07:18 -0500)]
Auto-commit of generated files.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jan 2013 11:17:46 +0000 (06:17 -0500)]
Auto-commit of loaddefs files.

11 years agoDon't run view-mode-hook twice when calling view-mode (Bug#13315).
Martin Rudalics [Tue, 1 Jan 2013 11:02:14 +0000 (12:02 +0100)]
Don't run view-mode-hook twice when calling view-mode (Bug#13315).

* view.el (view-mode-enable): New argument run-view-mode-hook.
Run view-mode-hook only when it's non-nil (Bug#13315).
(view-mode-enter): Call view-mode-enable with run-view-mode-hook
argument t.

11 years agoUpdate copyright notices for 2013.
Paul Eggert [Tue, 1 Jan 2013 09:11:05 +0000 (09:11 +0000)]
Update copyright notices for 2013.

11 years agolib-src/makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
Juanma Barranquero [Tue, 1 Jan 2013 08:58:46 +0000 (09:58 +0100)]
lib-src/makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).

11 years ago* emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
Andreas Schwab [Mon, 31 Dec 2012 21:53:33 +0000 (22:53 +0100)]
* emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
defun.  Don't check for DECL if DOCSTRING isn't a string.
(defun): Likewise.

11 years ago* eshell/em-cmpl.el (eshell-pcomplete): More thoroughly imitate pcomplete.
Glenn Morris [Mon, 31 Dec 2012 21:28:33 +0000 (13:28 -0800)]
* eshell/em-cmpl.el (eshell-pcomplete): More thoroughly imitate pcomplete.

Fixes: debbugs:13293

11 years ago* files.el (parse-colon-path): Return nil for empty path elements.
Glenn Morris [Mon, 31 Dec 2012 21:20:07 +0000 (13:20 -0800)]
* files.el (parse-colon-path): Return nil for empty path elements.

Fixes: debbugs:13296

11 years ago* progmodes/python.el (python-nav-end-of-statement): Rewrite in
Fabián Ezequiel Gallina [Mon, 31 Dec 2012 20:58:57 +0000 (17:58 -0300)]
* progmodes/python.el (python-nav-end-of-statement): Rewrite in
order to improve efficiency (Based on Daniel Colascione's
<dancol@dancol.org> patch).

Fixes: debbugs:13182

11 years ago* src/keymap.c (Fkey_description): Doc fix.
Glenn Morris [Mon, 31 Dec 2012 20:55:08 +0000 (12:55 -0800)]
* src/keymap.c (Fkey_description): Doc fix.

Fixes: debbugs:13323

11 years agoRefer to "button" rather than "active field" in lispref
Glenn Morris [Mon, 31 Dec 2012 20:23:29 +0000 (12:23 -0800)]
Refer to "button" rather than "active field" in lispref
(cf 2005-12-22 change to doc/emacs/custom.texi)

* doc/lispref/customize.texi (Common Keywords, Type Keywords):
Replace "active field" with "button".

Fixes: debbugs:13310

11 years ago* lisp/vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
Glenn Morris [Mon, 31 Dec 2012 20:13:28 +0000 (12:13 -0800)]
* lisp/vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.

11 years agoAdd an xref, cindex to the lispref
Glenn Morris [Mon, 31 Dec 2012 20:06:43 +0000 (12:06 -0800)]
Add an xref, cindex to the lispref

* customize.texi (Common Keywords): Add xref.
* tips.texi (Library Headers): Add cindex.

Fixes: debbugs:13311

11 years ago* progmodes/python.el: Bump defgroup :version to 24.3.
Fabián Ezequiel Gallina [Mon, 31 Dec 2012 19:35:57 +0000 (16:35 -0300)]
* progmodes/python.el: Bump defgroup :version to 24.3.

11 years agoBackported revisions 2012-12-29T12:33:33Z!fgallina@gnu.org and 2012-12-29T12:57:49Z...
Fabián Ezequiel Gallina [Mon, 31 Dec 2012 19:27:20 +0000 (16:27 -0300)]
Backported revisions 2012-12-29T12:33:33Z!fgallina@gnu.org and 2012-12-29T12:57:49Z!fgallina@gnu.org from trunk.

11 years agoFixes: debbugs:13316
Andreas Schwab [Mon, 31 Dec 2012 19:15:32 +0000 (20:15 +0100)]
Fixes: debbugs:13316

* emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
neither DOCSTRING nor DECL was given.

11 years agoFix a bug with time zones on MS-Windows.
Eli Zaretskii [Mon, 31 Dec 2012 16:09:00 +0000 (18:09 +0200)]
Fix a bug with time zones on MS-Windows.

 src/w32.c (unsetenv): Set up the string passed to _putenv
 correctly.  See
 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html
 for the bug this caused.

11 years agoUse URLs, not Boston addresses, in copyright notices.
Paul Eggert [Mon, 31 Dec 2012 15:34:32 +0000 (07:34 -0800)]
Use URLs, not Boston addresses, in copyright notices.

11 years ago* net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
Jürgen Hötzel [Mon, 31 Dec 2012 15:29:23 +0000 (16:29 +0100)]
* net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
(No device connected, invalid device name). (Bug #13299)

11 years agoOnce more fix resizing of rmail summary window.
Martin Rudalics [Mon, 31 Dec 2012 11:35:13 +0000 (12:35 +0100)]
Once more fix resizing of rmail summary window.

* window.el (window-resizable--p): Rename to window-resizable-p.
(window-resize-no-error): New function.

* mail/rmail.el (rmail-maybe-display-summary): Restore behavior
broken in fix from 2012-12-28.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 31 Dec 2012 11:20:58 +0000 (06:20 -0500)]
Auto-commit of loaddefs files.

11 years agoAuto-commit of generated files.
Glenn Morris [Mon, 31 Dec 2012 11:17:37 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years ago* lisp/subr.el (special-form-p): Don't signal errors on undef aliases.
Stefan Monnier [Mon, 31 Dec 2012 04:43:35 +0000 (23:43 -0500)]
* lisp/subr.el (special-form-p): Don't signal errors on undef aliases.

11 years ago* calc/calc-forms.el (math-parse-date): Try using
Jay Belanger [Mon, 31 Dec 2012 02:58:57 +0000 (20:58 -0600)]
* calc/calc-forms.el (math-parse-date): Try using
`math-parse-iso-date' when it looks like it might be needed.  Allow
times of 24:00.
(math-parse-date-validate, math-parse-iso-date-validate):  Allow times
of 24:00.

11 years ago* coding.c (Qmac): Now static.
Paul Eggert [Sun, 30 Dec 2012 21:34:39 +0000 (13:34 -0800)]
* coding.c (Qmac): Now static.

11 years agoSilence Gtk deprecation warnings by default.
Jan Djärv [Sun, 30 Dec 2012 19:34:25 +0000 (20:34 +0100)]
Silence Gtk deprecation warnings by default.

* configure.ac: New enable: --enable-gtk-deprecation-warnings, default off.
(HAVE_GTK3): If above enable is off, add
-DGDK_DISABLE_DEPRECATION_WARNINGS to GTK_CFLAGS.

11 years agoCheck for deprecated gtk tearoff menu item in configure.
Jan Djärv [Sun, 30 Dec 2012 19:08:15 +0000 (20:08 +0100)]
Check for deprecated gtk tearoff menu item in configure.

* configure.ac: Check for GtkHandlebox.
Check for GtkTearoffMenuItem.

* src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro.
(xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of
handlebox_widget.  Set toolbar_in_hbox to false/true, set
toolbar_is_packed to true.
(xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET.
(update_frame_tool_bar): Check toolbar_is_packed for packing.
Show all on TOOLBAR_TOP_WIDGET.
(free_frame_tool_bar): Check toolbar_is_packed.  Use widget returned
by TOOLBAR_TOP_WIDGET.
(xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET.
Check toolbar_is_packed.
(xg_have_tear_offs, tearoff_remove, tearoff_activate): Condition on
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_have_tear_offs): When ! HAVE_GTK_TEAROFF_MENU_ITEM_NEW, return
false.
(create_menus): Create tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_update_menubar): Update title only if
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_update_submenu): Skip tearoff only if
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
(xg_initialize): Initialize xg_detached_menus only if
HAVE_GTK_TEAROFF_MENU_ITEM_NEW.

11 years agoCheck for deprecated gtk_handle_box in configure.
Jan Djärv [Sun, 30 Dec 2012 18:44:00 +0000 (19:44 +0100)]
Check for deprecated gtk_handle_box in configure.

* configure.ac: Check for GtkHandlebox.

* src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro.
(xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of
handlebox_widget.  Set toolbar_in_hbox to false/true, set
toolbar_is_packed to true.
(xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET.
(update_frame_tool_bar): Check toolbar_is_packed for packing.
Show all on TOOLBAR_TOP_WIDGET.
(free_frame_tool_bar): Check toolbar_is_packed.  Use widget returned
by TOOLBAR_TOP_WIDGET.
(xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET.
Check toolbar_is_packed.

* src/xterm.h (struct x_output): Surround handlebox_widget with
#ifdef HAVE_GTK_HANDLE_BOX_NEW.  toolbar_is_packed is new,
toolbar_in_hbox is bool.

11 years agoMerge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.org
Glenn Morris [Sun, 30 Dec 2012 18:09:01 +0000 (10:09 -0800)]
Merge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.org

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 30 Dec 2012 12:23:26 +0000 (07:23 -0500)]
Auto-commit of loaddefs files.

11 years agoAuto-commit of generated files.
Glenn Morris [Sun, 30 Dec 2012 12:18:53 +0000 (07:18 -0500)]
Auto-commit of generated files.

11 years ago* net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
Michael Albinus [Sun, 30 Dec 2012 10:58:13 +0000 (11:58 +0100)]
* net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
Return `t' on success.

* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
handler for `set-file-selinux-context'.

11 years agoMS-DOS followup for 2012-12-04T21:17:30Z!monnier@iro.umontreal.ca.
Eli Zaretskii [Sun, 30 Dec 2012 05:33:03 +0000 (07:33 +0200)]
MS-DOS followup for 2012-12-04T21:17:30Z!monnier@iro.umontreal.ca.

 msdos/sed1v2.inp (TEMACS_LDFLAGS2): Remove editing.
 (LIBS_GNUSTEP): Edit to empty.

11 years agomairix.el fix for bug#13294
Glenn Morris [Sun, 30 Dec 2012 03:28:52 +0000 (19:28 -0800)]
mairix.el fix for bug#13294

* lisp/net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
Remove unnecessary/buggy autoloads (missing interactive).
(rmail-summary-displayed, rmail-summary): Declare.
(mairix-rmail-display): Just require rmail.

11 years agolisp/gnus/nnfolder.el: Allow regenerating recursive nnfolder names
Lars Magne Ingebrigtsen [Sat, 29 Dec 2012 23:18:05 +0000 (23:18 +0000)]
lisp/gnus/nnfolder.el: Allow regenerating recursive nnfolder names

11 years agoProperly configure GNUstep libraries
Andreas Schwab [Sat, 29 Dec 2012 19:37:32 +0000 (20:37 +0100)]
Properly configure GNUstep libraries

* configure.ac (TEMACS_LDFLAGS2): Don't define.
(LIBS_GNUSTEP): Set for GNUstep and substitute.
(LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep.

* src/Makefile.in (TEMACS_LDFLAGS2): Remove.
(LIBS_GNUSTEP): Define.
(LIBES): Add $(LIBS_GNUSTEP).
(temacs$(EXEEXT)): Use $(LDFLAGS) instead of $(TEMACS_LDFLAGS2).

11 years ago* net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
Michael Albinus [Sat, 29 Dec 2012 19:11:11 +0000 (20:11 +0100)]
* net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
(tramp-sh-handle-set-file-acl): Return `t' on success.

11 years agoHow to uncommit
Glenn Morris [Sat, 29 Dec 2012 18:15:47 +0000 (10:15 -0800)]
How to uncommit

11 years agoImprove copy-file diagnostics on MS-Windows.
Eli Zaretskii [Sat, 29 Dec 2012 17:47:39 +0000 (19:47 +0200)]
Improve copy-file diagnostics on MS-Windows.

 src/fileio.c (Fcopy_file) [WINDOWSNT]: Improve diagnostics when CopyFile
 fails by looking at what GetLastError returns.

11 years agoFix return values of set-file-acl and set-file-selinux-context when ENOTSUP.
Eli Zaretskii [Sat, 29 Dec 2012 17:02:34 +0000 (19:02 +0200)]
Fix return values of set-file-acl and set-file-selinux-context when ENOTSUP.

Fixes: debbugs:13298

11 years agoIndent
Andreas Schwab [Sat, 29 Dec 2012 15:28:42 +0000 (16:28 +0100)]
Indent

11 years agoFix changelog
Andreas Schwab [Sat, 29 Dec 2012 15:16:37 +0000 (16:16 +0100)]
Fix changelog

11 years agoFix last commit.
Eli Zaretskii [Sat, 29 Dec 2012 14:58:41 +0000 (16:58 +0200)]
Fix last commit.

 lisp/files.el (basic-save-buffer): If set-file-extended-attributes
 fails, fall back on set-file-modes.

Fixes: debbugs:13298

11 years agoFix bug #13298 with failed backups by falling back on set-file-modes.
Eli Zaretskii [Sat, 29 Dec 2012 14:32:36 +0000 (16:32 +0200)]
Fix bug #13298 with failed backups by falling back on set-file-modes.

 src/fileio.c (Fset_file_selinux_context, Fset_file_acl): Return t if
 file's SELinux context or ACLs successfully set, nil otherwise.

 lisp/files.el (backup-buffer-copy, basic-save-buffer-2): If
 set-file-extended-attributes fails, fall back on set-file-modes
 instead of signaling an error.

 doc/lispref/files.texi (Changing Files): Document the return values of
 set-file-selinux-context and set-file-acl.

11 years ago* progmodes/python.el: Support other commands triggering
Fabián Ezequiel Gallina [Sat, 29 Dec 2012 12:57:49 +0000 (09:57 -0300)]
* progmodes/python.el: Support other commands triggering
python-indent-line so indentation cycling continues to work.
(python-indent-trigger-commands): New defcustom.
(python-indent-line): Use it.

11 years ago* progmodes/python.el (python-shell-send-region): Add blank lines
Fabián Ezequiel Gallina [Sat, 29 Dec 2012 12:33:33 +0000 (09:33 -0300)]
* progmodes/python.el (python-shell-send-region): Add blank lines
for non sent code so backtraces remain correct.

11 years ago* emacs-lisp/package.el (package-untar-buffer): Improve integrity check for tarball...
Chong Yidong [Sat, 29 Dec 2012 11:06:10 +0000 (19:06 +0800)]
* emacs-lisp/package.el (package-untar-buffer): Improve integrity check for tarball contents.

11 years ago* progmodes/python.el: Remove cl dependency.
Fabián Ezequiel Gallina [Sat, 29 Dec 2012 11:04:55 +0000 (08:04 -0300)]
* progmodes/python.el: Remove cl dependency.
(python-syntax-count-quotes): Replace incf call.
(python-fill-string): Replace setf call.

11 years ago* emacs-lisp/package.el (package-untar-buffer): Handle problematic tarfile content...
Matt Fidler [Sat, 29 Dec 2012 10:26:14 +0000 (18:26 +0800)]
* emacs-lisp/package.el (package-untar-buffer): Handle problematic tarfile content listings.

Fixes: debbugs:13136

11 years agoMore cleanup in handling subprocess exiting on MS-Windows.
Eli Zaretskii [Sat, 29 Dec 2012 10:09:49 +0000 (12:09 +0200)]
More cleanup in handling subprocess exiting on MS-Windows.

 src/w32proc.c (reader_thread): Avoid passing NULL handles to
 SetEvent and WaitForSingleObject.

11 years agoSmall fix for python.el NEWS
Fabián Ezequiel Gallina [Sat, 29 Dec 2012 09:26:58 +0000 (06:26 -0300)]
Small fix for python.el NEWS

11 years agoMore improvements in 'struct glyph' comments.
Eli Zaretskii [Sat, 29 Dec 2012 09:24:13 +0000 (11:24 +0200)]
More improvements in 'struct glyph' comments.

11 years agoFix bug #9521 with forwarding MIME messages in Rmail.
Mark Lillibridge [Sat, 29 Dec 2012 08:50:27 +0000 (10:50 +0200)]
Fix bug #9521 with forwarding MIME messages in Rmail.

 lisp/mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
 the undecoded text of the message being forwarded.

11 years agoFix bug #13292 with use of @var in @def.. commands in ELisp manual.
Eli Zaretskii [Sat, 29 Dec 2012 08:23:21 +0000 (10:23 +0200)]
Fix bug #13292 with use of @var in @def.. commands in ELisp manual.

 doc/lispref/functions.texi (Declare Form):
 doc/lispref/intro.texi (A Sample Function Description):
 doc/lispref/syntax.texi (Syntax Table Internals, Syntax Table Functions):
 doc/lispref/variables.texi (Using Lexical Binding): Don't use @var or CAPS
 in @def.. commands.

11 years ago* net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
Michael Albinus [Sat, 29 Dec 2012 08:09:13 +0000 (00:09 -0800)]
* net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
integers, if they are real numbers.  (Bug#13282)

11 years agoA few more NEWS tweaks
Glenn Morris [Sat, 29 Dec 2012 08:08:17 +0000 (00:08 -0800)]
A few more NEWS tweaks

11 years agoMore NEWS copyedits, and some reordering
Glenn Morris [Sat, 29 Dec 2012 08:07:49 +0000 (00:07 -0800)]
More NEWS copyedits, and some reordering

11 years agoNEWS copyedits
Glenn Morris [Sat, 29 Dec 2012 08:07:02 +0000 (00:07 -0800)]
NEWS copyedits

11 years agoRemove +++/--- markup from NEWS
Glenn Morris [Sat, 29 Dec 2012 08:06:28 +0000 (00:06 -0800)]
Remove +++/--- markup from NEWS

11 years agoBackport gnus-msg fix from trunk
Lars Ingebrigtsen [Sat, 29 Dec 2012 08:05:17 +0000 (00:05 -0800)]
Backport gnus-msg fix from trunk

* lisp/gnus/gnus-msg.el (gnus-summary-resend-message):
Don't bug out on non-string posting styles.

Fixes: debbugs:13285

11 years agoFix ChangeLog entry for last commit.
Chong Yidong [Sat, 29 Dec 2012 06:14:55 +0000 (14:14 +0800)]
Fix ChangeLog entry for last commit.

11 years ago* info.el (info-other-window): New arg, for consistency with info.
Damien Cassou [Sat, 29 Dec 2012 06:14:00 +0000 (14:14 +0800)]
* info.el (info-other-window): New arg, for consistency with info.

11 years agoSimplify and fix last fix of rmail-maybe-display-summary.
Martin Rudalics [Fri, 28 Dec 2012 14:35:33 +0000 (15:35 +0100)]
Simplify and fix last fix of rmail-maybe-display-summary.

11 years agolisp/gnus/nntp.el (nntp-open-connection): Fix nntp connection problems with the Typho...
Lars Ingebrigtsen [Fri, 28 Dec 2012 12:26:54 +0000 (12:26 +0000)]
lisp/gnus/nntp.el (nntp-open-connection): Fix nntp connection problems with the Typhoon server

11 years agoAuto-commit of generated files.
Glenn Morris [Fri, 28 Dec 2012 11:17:36 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years agoRewrite rmail-maybe-display-summary (Bug#13066).
Martin Rudalics [Fri, 28 Dec 2012 10:24:04 +0000 (11:24 +0100)]
Rewrite rmail-maybe-display-summary (Bug#13066).

* mail/rmail.el (rmail-maybe-display-summary): Rewrite
(Bug#13066).

11 years ago* epg.el (epg--start): Modify process-environment locally.
Andreas Schwab [Fri, 28 Dec 2012 09:49:59 +0000 (10:49 +0100)]
* epg.el (epg--start): Modify process-environment locally.

11 years agoepg: Support pinentry-curses
Daiki Ueno [Fri, 28 Dec 2012 03:51:20 +0000 (12:51 +0900)]
epg: Support pinentry-curses

11 years agoPort EXTERNALLY_VISIBLE to Clang 3.2.
Paul Eggert [Fri, 28 Dec 2012 03:13:47 +0000 (19:13 -0800)]
Port EXTERNALLY_VISIBLE to Clang 3.2.

* conf_post.h (__has_attribute): New macro.
(EXTERNALLY_VISIBLE): Use it.  This ports to Clang 3.2.

11 years agoGnus: Avoid `Invalid face reference: nil' messages
Wolfgang Jenkner [Thu, 27 Dec 2012 22:51:46 +0000 (22:51 +0000)]
Gnus: Avoid `Invalid face reference: nil' messages

11 years ago* lisp/info.el (Info-file-completions): New variable.
Juri Linkov [Thu, 27 Dec 2012 20:42:02 +0000 (22:42 +0200)]
* lisp/info.el (Info-file-completions): New variable.
(Info-read-node-name-1): Complete node names in the Info file
when a file name is given.  Call `Info-build-node-completions'
with a file name.
(Info-build-node-completions): Add new arg `file'.  When it is
non-nil, visit it in a temporary buffer and cache its completions in
`Info-current-file-completions'.  Move most of the function body to
`Info-build-node-completions-1'.
(Info-build-node-completions-1): New function with the body from
`Info-build-node-completions'.

Fixes: debbugs:12456

11 years ago* lisp/frame.el (frame-maximization-style): Remove user option.
Juri Linkov [Thu, 27 Dec 2012 20:09:45 +0000 (22:09 +0200)]
* lisp/frame.el (frame-maximization-style): Remove user option.
(cycle-frame-maximized): Remove function.
(toggle-frame-maximized): Rewrite and bind to M-<f10>.
(toggle-frame-fullscreen): New command bound to <f11> instead of
`toggle-frame-maximized'.
http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html

11 years agofix last patch
Sam Steingold [Thu, 27 Dec 2012 19:58:04 +0000 (14:58 -0500)]
fix last patch

11 years ago* net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
Michael Albinus [Thu, 27 Dec 2012 19:00:57 +0000 (20:00 +0100)]
* net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.

* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
for `file-accessible-directory-p'.  (Bug#13275)

11 years agoconfigure.ac fix for double quotes in configure command-line
Glenn Morris [Thu, 27 Dec 2012 17:59:21 +0000 (09:59 -0800)]
configure.ac fix for double quotes in configure command-line

* configure.ac (emacs_config_options): New.
Use $@ rather than undocumented $ac_configure_args.
Replace any embedded double quotes.

Fixes: debbugs:13274

11 years agoFix bug #13277 with TTY cursor positioning in a line with overlay arrow.
Eli Zaretskii [Thu, 27 Dec 2012 17:29:14 +0000 (19:29 +0200)]
Fix bug #13277 with TTY cursor positioning in a line with overlay arrow.

 src/xdisp.c (set_cursor_from_row): Don't confuse a truncation or
 continuation glyph on a TTY with an indication of an empty line.
 src/dispextern.h: Improve commentary to glyph->charpos and
 glyph->object.

11 years ago* lisp/progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
Sam Steingold [Thu, 27 Dec 2012 16:33:06 +0000 (11:33 -0500)]
* lisp/progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
continuations, see <http://stackoverflow.com/questions/3582436>.

11 years agolisp/gnus/gnus-msg.el (gnus-summary-resend-message): Don't bug out on non-string...
Lars Ingebrigtsen [Thu, 27 Dec 2012 14:58:36 +0000 (14:58 +0000)]
lisp/gnus/gnus-msg.el (gnus-summary-resend-message): Don't bug out on non-string posting styles (bug#13285)

11 years agolisp/gnus/mml2015.el (mml2015-epg-key-image): separate attribute stream from stderr
Andreas Schwab [Thu, 27 Dec 2012 14:44:01 +0000 (14:44 +0000)]
lisp/gnus/mml2015.el (mml2015-epg-key-image): separate attribute stream from stderr

11 years agoAuto-commit of generated files.
Glenn Morris [Thu, 27 Dec 2012 11:17:38 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years agoChangeLog fix
Glenn Morris [Thu, 27 Dec 2012 08:25:30 +0000 (00:25 -0800)]
ChangeLog fix
remove dupe, mark tiny change by author without assignment
http://orgmode.org/w/?p=org-mode.git;a=patch;h=ae87b6e5f2a143bb69ab512515dc85b41ff0cd1e

11 years agoMerge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.edu
Glenn Morris [Thu, 27 Dec 2012 08:21:08 +0000 (00:21 -0800)]
Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.edu

11 years ago* plstore.el (plstore-passphrase-callback-function): Fix file/buffer typo.
Glenn Morris [Thu, 27 Dec 2012 08:11:33 +0000 (00:11 -0800)]
* plstore.el (plstore-passphrase-callback-function): Fix file/buffer typo.

Fixes: debbugs:13264

11 years agoDocument cygwin-convert-file-name-{to|from}-windows
Glenn Morris [Thu, 27 Dec 2012 07:55:14 +0000 (23:55 -0800)]
Document cygwin-convert-file-name-{to|from}-windows

* doc/lispref/files.texi (File Names): Mention Cygwin conversion functions.

* src/cygw32.c (Fcygwin_convert_file_name_to_windows)
(Fcygwin_convert_file_name_from_windows): Doc fixes.

* etc/NEWS: Related markup.

11 years agoCleanup comint-postoutput-scroll-to-bottom (Bug#13248).
Vitalie Spinu [Thu, 27 Dec 2012 07:33:47 +0000 (08:33 +0100)]
Cleanup comint-postoutput-scroll-to-bottom (Bug#13248).

* comint.el (comint-adjust-window-point): New function.
(comint-postoutput-scroll-to-bottom): Call
comint-adjust-window-point (Bug#13248).

11 years agoMerge changes made in Gnus master
Gnus developers [Wed, 26 Dec 2012 22:30:58 +0000 (22:30 +0000)]
Merge changes made in Gnus master

2012-12-26  Katsumi Yamaoka  <yamaoka@jpl.org>
* mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte.

2012-12-25  Adam Sjøgren  <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): use --attribute-fd rather than
  temporary file to get PGP key image. Pass no-show-photos when extracting
  image to avoid having it pop up twice.

2012-12-26  Lars Ingebrigtsen  <larsi@gnus.org>
 * gnus-art.el (gnus-article-treat-types): Include text/html as parts
 eligible for treatment.

11 years ago* lisp/progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
Dmitry Gutov [Wed, 26 Dec 2012 19:52:56 +0000 (23:52 +0400)]
* lisp/progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
Rakefile regexp.
(auto-mode-alist): Associate .gemspec files with ruby-mode
(https://bugs.ruby-lang.org/issues/5453).

11 years ago* lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
Dmitry Gutov [Wed, 26 Dec 2012 16:45:19 +0000 (20:45 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
  "module" and "def" to have indentation before them.  Regression
  from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).

* test/automated/ruby-mode-tests.el
  (ruby-indent-after-block-in-continued-expression): New test.

11 years ago* net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
Jürgen Hötzel [Wed, 26 Dec 2012 16:22:18 +0000 (17:22 +0100)]
* net/tramp-adb.el (tramp-adb-get-ls-command): New defun.  Suppress
coloring, if possible (required for BusyBox based systems like
CynagenMod).
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-insert-directory)
(tramp-adb-handle-file-name-all-completions): Use it.
(tramp-adb-get-toolbox): New defun.  Check for remote shell
implementation (BusyBox or Toolbox).

11 years ago* print.c (print_object): Fix last change.
Dmitry Antipov [Wed, 26 Dec 2012 15:46:51 +0000 (19:46 +0400)]
* print.c (print_object): Fix last change.

11 years ago* print.c (print_object): If Lisp_Save_Value object's pointer
Dmitry Antipov [Wed, 26 Dec 2012 15:40:19 +0000 (19:40 +0400)]
* print.c (print_object): If Lisp_Save_Value object's pointer
is the address of a memory area containing Lisp_Objects, try
to print them.
* alloc.c (valid_lisp_object_p): Adjust comment.

11 years ago* lisp.h (toplevel): Add two notices to the comment about
Dmitry Antipov [Wed, 26 Dec 2012 14:10:11 +0000 (18:10 +0400)]
* lisp.h (toplevel): Add two notices to the comment about
defining a new Lisp data type.

11 years agoMerge changes made in Gnus master
Lars Ingebrigtsen [Wed, 26 Dec 2012 13:58:54 +0000 (13:58 +0000)]
Merge changes made in Gnus master

gnus-util.el (gnus-goto-colon): Move to the beginning of the visual
  lines.  This makes summary commands with hidden threads work more
  reliably.
gnus-cite.el (gnus-article-hide-citation-maybe): Leave an expansion
  button to mark the hidden citations (bug#9395).

11 years agoAuto-commit of generated files.
Glenn Morris [Wed, 26 Dec 2012 11:17:38 +0000 (06:17 -0500)]
Auto-commit of generated files.