]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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.

11 years ago* keyboard.c (record_asynch_buffer_change): Initialize an event
Dmitry Antipov [Wed, 26 Dec 2012 09:40:45 +0000 (13:40 +0400)]
* keyboard.c (record_asynch_buffer_change): Initialize an event
only if it's really needed.
* frame.h (enum output_method): Remove output_mac member since
it's a leftover from the deleted code.
* frame.c (Fframep): Adjust user here ...
* terminal.c (Fterminal_live_p): ... and here.
* coding.c (Qmac): Now here because it's only used to denote
end-of-line encoding type.
(syms_of_coding): DEFSYM it.
* frame.h (Qmac): Remove duplicated declaration.

11 years agoRevert static checking of stack smashing.
Paul Eggert [Wed, 26 Dec 2012 05:41:42 +0000 (21:41 -0800)]
Revert static checking of stack smashing.

* configure.ac (WARN_CFLAGS): Omit -Wstack-protector when
configured with --enable-gcc-warnings.  -Wstack-protector causes
diagnostics to be issued on Ubuntu 12.10 x86-64.

11 years agoMove photo ID display code from epg.el to gnus/mml2015.el.
Daiki Ueno [Wed, 26 Dec 2012 04:20:21 +0000 (13:20 +0900)]
Move photo ID display code from epg.el to gnus/mml2015.el.

2012-12-26  Daiki Ueno  <ueno@gnu.org>
* mml2015.el (mml2015-epg-signature-to-string): New function.
(mml2015-epg-verify-result-to-string): New function.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-verify)
(mml2015-epg-clear-verify): Use mml2015-epg-verify-result-to-string
instead of epg-verify-result-to-string.
(epg-signature-key-id, epg-signature-to-string): Autoload.
(epg-verify-result-to-string): Remove autoload.

2012-12-25  Adam Sjøgren  <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): New function, to retrieve photo
ID image from GPG public key.
(mml2015-epg-key-image-to-string): New function.

11 years ago* window.c (select_window_1): Now static.
Paul Eggert [Wed, 26 Dec 2012 02:45:43 +0000 (18:45 -0800)]
* window.c (select_window_1): Now static.

11 years agolisp/gnus/ChangeLog: Fix wrongly adjusted dates
Katsumi Yamaoka [Tue, 25 Dec 2012 23:38:16 +0000 (23:38 +0000)]
lisp/gnus/ChangeLog: Fix wrongly adjusted dates

11 years agoDisplay images from gpg signatures
Adam Sjøgren [Tue, 25 Dec 2012 22:49:35 +0000 (23:49 +0100)]
Display images from gpg signatures

* epg.el (epg-signature-to-string): Use new functions
epg-key-image, epg-key-image-to-string to find and display image
from key.

11 years agolisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
Leo Liu [Tue, 25 Dec 2012 22:23:10 +0000 (22:23 +0000)]
lisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
  error when plstore-cache-passphrase-for-symmetric-encryption is set
  (bug#13264).

11 years agoMerge changes made in Gnus master
Gnus developers [Tue, 25 Dec 2012 22:12:59 +0000 (22:12 +0000)]
Merge changes made in Gnus master

2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
* gnus-sum.el (gnus-set-global-variables): Don't copy over the summary
  buffer to the article buffer here, because that clobbers multiple
  article buffers.
* gnus-art.el (gnus-article-setup-buffer): Make sure that the article
  buffer always points to the right summary buffer.

2012-12-25  John Wiegley  <jwiegley@gmail.com>
* auth-source.el (auth-source-netrc-parse): Allow using "password" as
  the password (bug#12097).

2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
* shr.el (shr-tag-a): Don't tagify <A> elements that don't have HREFs
  (bug#13263).
* gnus-salt.el (gnus-highlight-selected-tree): Check whether the Tree
  buffer exists before using it (bug#12475).
* gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
  offline groups (bug#11937).
* message.el (message-yank-original): When using customize to set the
  value of `message-cite-style', the variable it set to a symbol that's
  the name of the variable, which must then be dereferenced (bug#12616).

2012-09-13  Wolfgang Jenkner  <wjenkner@inode.at>
* lisp/gnus-spec.el (gnus-face-face-function): Initialize the value of
  the `face' property with a list whose car is the face specified in the
  format string and whose cdr is (nil).
* lisp/gnus-util.el
  (gnus-put-text-property-excluding-characters-with-faces): Change
  accordingly.
  (gnus-get-text-property-excluding-characters-with-faces): New function.
* lisp/gnus-sum.el (gnus-summary-highlight-line):
* lisp/gnus-salt.el (gnus-tree-highlight-node):
* lisp/gnus-group.el (gnus-group-highlight-line): Use it.

11 years agoFix window-body-width on text terminals.
Eli Zaretskii [Tue, 25 Dec 2012 17:37:29 +0000 (19:37 +0200)]
Fix window-body-width on text terminals.

 src/window.c (window_body_cols): Subtract display margins from the
 window body width on TTYs as well.  See
 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html
 for the original report.

11 years agoAvoid compiler warnings in w32.c:acl_to_text.
Eli Zaretskii [Tue, 25 Dec 2012 17:14:23 +0000 (19:14 +0200)]
Avoid compiler warnings in w32.c:acl_to_text.

11 years ago* xterm.h (struct x_output): Remove toolbar_detached member since it's
Dmitry Antipov [Tue, 25 Dec 2012 15:07:59 +0000 (19:07 +0400)]
* xterm.h (struct x_output): Remove toolbar_detached member since it's
set but never used.
* gtkutil.c (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
(xg_create_tool_bar): Adjust users.

11 years agoMerge changes made in Gnus master
Lars Ingebrigtsen [Tue, 25 Dec 2012 12:00:26 +0000 (12:00 +0000)]
Merge changes made in Gnus master

nnimap.el (nnimap-authenticator): Expand to allow specifying the
  login methods.
  (nnimap-login): Respect the `nnimap-authenticator' variable.
gnus-sum.el (gnus-summary-push-marks-to-backend): Push the complete
  mark state when moving articles.  Otherwise unticked articles will get
  their ticks back after moving.
gnus.texi (Customizing the IMAP Connection): Mention the other
  authenticators.

11 years ago* xdisp.c (redisplay_window): Remove inner local variable
Dmitry Antipov [Tue, 25 Dec 2012 11:37:21 +0000 (15:37 +0400)]
* xdisp.c (redisplay_window): Remove inner local variable
because the outer shadowed one has the same meaning.

11 years agoMerge changes made in Gnus master
Lars Ingebrigtsen [Mon, 24 Dec 2012 22:56:47 +0000 (22:56 +0000)]
Merge changes made in Gnus master

gnus-srvr.el (gnus-browse-delete-group): Fix syntax error.
message.el (message-ignored-news-headers): Always remove
  X-Message-SMTP-Method to avoid information leakage if the user
  mistakenly inserts the header into news messages.
gnus-srvr.el (gnus-browse-delete-group): New command and keystroke.
gnus-sum.el (gnus-summary-hide-thread): If point were further to the
  right than four characters, this command would move point to
  `point-max'.  Don't do that.
gnus-group.el (gnus-group-read-ephemeral-group): Set the active data
  to nil to allow re-selecting groups that gain articles.
  (gnus-bug-group-download-format-alist): Update the URL.
gnus.texi (Browse Foreign Server): Document `gnus-browse-delete-group'.

11 years agoAllow function as value of initial-buffer-choice (Bug#13251).
Constantin Kulikov [Mon, 24 Dec 2012 17:49:19 +0000 (18:49 +0100)]
Allow function as value of initial-buffer-choice (Bug#13251).

* startup.el (initial-buffer-choice): Allow function as value
(Bug#13251).
(command-line-1): Handle case where initial-buffer-choice
specifies a function.
* server.el (server-execute): Handle case where
initial-buffer-choice specifies a function.

11 years agoFix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames.
Eli Zaretskii [Mon, 24 Dec 2012 16:15:13 +0000 (18:15 +0200)]
Fix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames.

 src/fileio.c (file_name_as_directory, directory_file_name): Accept
 an additional argument MULTIBYTE to indicate whether the input C
 came from a multibyte or a unibyte Lisp string; all callers
 adjusted.  Don't assume the input string is always multibyte.
 (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly:
 don't ENCODE_FILE them, and return a unibyte string if the input
 was unibyte.
 (Fexpand_file_name): Don't mix unibyte with multibyte strings, and
 don't assume the input strings will always be multibyte.  If the
 input strings are multibyte, decode strings obtained from C
 library functions.

11 years ago* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
Andreas Schwab [Mon, 24 Dec 2012 16:03:39 +0000 (17:03 +0100)]
* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
group is nil.

11 years agoFix the MS-Windows build.
Eli Zaretskii [Mon, 24 Dec 2012 15:56:17 +0000 (17:56 +0200)]
Fix the MS-Windows build.

 nt/inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
 in lib/filemode.c that broke the MS-Windows build.
 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.

11 years agolisp/gnus/gnus-int.el (gnus-backend-trace): Also note the elapsed seconds
Lars Ingebrigtsen [Mon, 24 Dec 2012 13:28:39 +0000 (13:28 +0000)]
lisp/gnus/gnus-int.el (gnus-backend-trace): Also note the elapsed seconds

11 years ago* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
Dmitry Antipov [Mon, 24 Dec 2012 12:21:42 +0000 (16:21 +0400)]
* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
to check whether the buffer is displayed in some window.
* xdisp.c (message_dolog): Likewise.

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

11 years agoMake smtpmail forget the password if the server says it's invalid
Lars Ingebrigtsen [Mon, 24 Dec 2012 12:14:04 +0000 (13:14 +0100)]
Make smtpmail forget the password if the server says it's invalid

* mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
its own function.
(smtpmail-try-auth-methods): Forget the user name/password if the
login is unsuccessful.

Fixes: debbugs:12424
11 years ago* buffer.h (BUF_COMPACT): New macro to follow the common style.
Dmitry Antipov [Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)]
* buffer.h (BUF_COMPACT): New macro to follow the common style.
* buffer.c (Fget_buffer_create): Use it to set compact field of
struct buffer_text to avoid accessing an uninitialized value
when compact_buffer is called for the first time.
(compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.

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

11 years agoFixes: debbugs:13222
Andreas Schwab [Mon, 24 Dec 2012 10:26:35 +0000 (11:26 +0100)]
Fixes: debbugs:13222
* configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.

11 years ago* lisp/progmodes/ruby-mode.el: Bump the version to 1.2.
Dmitry Gutov [Mon, 24 Dec 2012 07:14:49 +0000 (11:14 +0400)]
* lisp/progmodes/ruby-mode.el: Bump the version to 1.2.

Fixes: debbugs:13200
11 years agoMerge from gnulib.
Paul Eggert [Mon, 24 Dec 2012 06:24:08 +0000 (22:24 -0800)]
Merge from gnulib.

11 years agolisp/gnus/shr.el (shr-tag-em): Render em as italic, not bold
Andreas Schwab [Mon, 24 Dec 2012 04:21:58 +0000 (04:21 +0000)]
lisp/gnus/shr.el (shr-tag-em): Render em as italic, not bold

11 years agoshr: render <em> as italic, not bold
Andreas Schwab [Sun, 23 Dec 2012 17:43:34 +0000 (18:43 +0100)]
shr: render <em> as italic, not bold

11 years agoDon't fail in acl_set_file on MS-Windows if the operation is a no-op.
Eli Zaretskii [Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)]
Don't fail in acl_set_file on MS-Windows if the operation is a no-op.

 src/w32.c (acl_set_file): If setting the file security descriptor
 fails, and the new DACL is identical to the existing one, silently
 return success.  This fixes problems for users backing up their
 own files without having the necessary privileges for setting
 security descriptors.

11 years agoImprove handling of subprocess shutdown on MS-Windows.
Eli Zaretskii [Sun, 23 Dec 2012 17:06:58 +0000 (19:06 +0200)]
Improve handling of subprocess shutdown on MS-Windows.

 src/w32proc.c (reader_thread): Do not index fd_info[] with negative
 values.
 (reader_thread): Exit when cp->status becomes STATUS_READ_ERROR
 after WaitForSingleObject returns normally.  This expedites reader
 thread shutdown when delete_child triggers it.
 (reap_subprocess): More accurate commentary for why we call
 delete_child only when cp->fd is negative.
 src/w32.c (sys_close): Do not call delete_child on a subprocess
 whose handle is not yet closed.  Instead, set its file descriptor
 to a negative value, so that reap_subprocess will call
 delete_child on that subprocess when its SIGCHLD arrives.  This
 avoids closing handles used for communications between sys_select
 and reader_thread, which doesn't give sys_select a chance to
 notice that the process exited and invoke the SIGCHLD handler for
 it.