]> code.delx.au - gnu-emacs/log
gnu-emacs
11 years agoMerge from emacs-24; up to 2012-12-06T20:16:38Z!monnier@iro.umontreal.ca
Glenn Morris [Fri, 4 Jan 2013 19:22:37 +0000 (11:22 -0800)]
Merge from emacs-24; up to 2012-12-06T20:16:38Z!monnier@iro.umontreal.ca

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

11 years agoAdd htmlfontify manual to build process
Glenn Morris [Fri, 4 Jan 2013 09:43:08 +0000 (01:43 -0800)]
Add htmlfontify manual to build process

* doc/misc/Makefile.in (INFO_TARGETS, DVI_TARGETS, PDF_TARGETS):
Add htmlfontify.
(htmlfontify, $(buildinfodir)/htmlfontify$(INFO_EXT))
(htmlfontify.dvi, htmlfontify.pdf): New targets.

* doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean):
Add htmlfontify.
($(infodir)/htmlfontify$(INFO_EXT), htmlfontify.dvi): New targets.

* info/dir: Add htmlfontify.

11 years ago* net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
Michael Albinus [Fri, 4 Jan 2013 09:41:23 +0000 (10:41 +0100)]
* net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
non-negative integers.  Otherwise, the default values are used.
(tramp-convert-file-attributes): Convert uid and gid to integers.

11 years ago* doc/misc/htmlfontify.texi: Miscellaneous fixes and updates.
Glenn Morris [Fri, 4 Jan 2013 09:39:40 +0000 (01:39 -0800)]
* doc/misc/htmlfontify.texi: Miscellaneous fixes and updates.
Set copyright to FSF, update license to GFDL 1.3+.

11 years agoImport the htmlfontify manual
Vivek Dasmohapatra [Fri, 4 Jan 2013 09:38:18 +0000 (01:38 -0800)]
Import the htmlfontify manual

11 years agoicomplete-prospects-height fix (tiny change)
Wesley Dawson [Fri, 4 Jan 2013 08:20:49 +0000 (00:20 -0800)]
icomplete-prospects-height fix (tiny change)

* icomplete.el (icomplete-completions):
Honor icomplete-prospects-height once more following 2012-11-29 changes.

Fixes: debbugs:13224
11 years ago* lisp/subr.el (internal--called-interactively-p--get-frame): Find aliases
Stefan Monnier [Fri, 4 Jan 2013 03:42:11 +0000 (22:42 -0500)]
* lisp/subr.el (internal--called-interactively-p--get-frame): Find aliases
of called-interactively-p as well.

Fixes: debbugs:13237
11 years ago* lisp/view.el (view--enable, view--disable): Rename from view-mode-enable
Stefan Monnier [Fri, 4 Jan 2013 02:53:48 +0000 (21:53 -0500)]
* lisp/view.el (view--enable, view--disable): Rename from view-mode-enable
and view-mode-disable and assume it's called from view-mode.
(view-mode-enable, view-mode-disable): Redefine as obsolete
compatibility layer above view-mode.
(view-mode-enter): Call `view-mode'.
* lisp/files.el (after-find-file): Call `view-mode'.

11 years ago* lisp/doc-view.el (doc-view-scale-internally): New var.
Stefan Monnier [Fri, 4 Jan 2013 02:45:59 +0000 (21:45 -0500)]
* lisp/doc-view.el (doc-view-scale-internally): New var.
(doc-view-enlarge, doc-view-insert-image): Obey it.

11 years ago* src/fileio.c (Ffile_acl): Undocument return format.
Stefan Monnier [Fri, 4 Jan 2013 02:42:08 +0000 (21:42 -0500)]
* src/fileio.c (Ffile_acl): Undocument return format.
* doc/lispref/files.texi (File Attributes): Idem.

11 years agoMerge from gnulib.
Paul Eggert [Fri, 4 Jan 2013 02:17:49 +0000 (18:17 -0800)]
Merge from gnulib.

This incorporates:
2013-01-04 stdio: remove now-unnecessary stdio.c
2013-01-04 fprintftime: depend on stdio, not ignore-value
2013-01-04 fwrite: silence __wur only for older glibc versions
2013-01-04 fwrite: silence __wur without using inline
* lib/stdio.c: Remove.
* lib/stdio.in.h, lib/strftime.c: Update from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

11 years agoDon't use previous underline thickness or position if previous underline type is...
YAMAMOTO Mitsuharu [Fri, 4 Jan 2013 02:05:33 +0000 (11:05 +0900)]
Don't use previous underline thickness or position if previous underline type is underwave.

11 years agoMake underwave look more triangular and also degrade gracefully for small fonts....
YAMAMOTO Mitsuharu [Fri, 4 Jan 2013 01:58:07 +0000 (10:58 +0900)]
Make underwave look more triangular and also degrade gracefully for small fonts.  (Bug#13000)

11 years ago* lisp/erc/erc-backend.el (312): Fix typo.
Glenn Morris [Fri, 4 Jan 2013 01:31:52 +0000 (17:31 -0800)]
* lisp/erc/erc-backend.el (312): Fix typo.

Fixes: debbugs:13235
11 years ago* epg.el (epg--start): Ignore errors when /dev/fd/0 does not exist.
Daiki Ueno [Thu, 3 Jan 2013 23:56:51 +0000 (08:56 +0900)]
* epg.el (epg--start): Ignore errors when /dev/fd/0 does not exist.

11 years ago* lisp/mail/rmail.el (rmail-set-header-1): Handle multi-line headers
Glenn Morris [Thu, 3 Jan 2013 19:41:59 +0000 (11:41 -0800)]
* lisp/mail/rmail.el (rmail-set-header-1): Handle multi-line headers
Ignore case.

Fixes: debbugs:13330
11 years ago* doc/lispref/hash.texi (Defining Hash): Fix typo (tiny change)
Ari Roponen [Thu, 3 Jan 2013 18:38:55 +0000 (10:38 -0800)]
* doc/lispref/hash.texi (Defining Hash): Fix typo (tiny change)

Fixes: debbugs:13345
11 years agoterm-handle-colors-array fix
Glenn Morris [Thu, 3 Jan 2013 18:31:45 +0000 (10:31 -0800)]
term-handle-colors-array fix

* lisp/term.el (term-handle-colors-array):
Ensure face attributes are fully specified, not nil.

Fixes: debbugs:13337
11 years agoAuto-commit of generated files.
Glenn Morris [Thu, 3 Jan 2013 12:17:45 +0000 (07:17 -0500)]
Auto-commit of generated files.

11 years agoAuto-commit of generated files.
Glenn Morris [Thu, 3 Jan 2013 11:18:24 +0000 (06:18 -0500)]
Auto-commit of generated files.

11 years agomakefile-fill-paragraph tweak
Glenn Morris [Thu, 3 Jan 2013 08:23:10 +0000 (00:23 -0800)]
makefile-fill-paragraph tweak

* lisp/progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
Handle paragraph starting at beginning of buffer.

11 years ago* term.el (term-default-fg-color, term-default-bg-color): Fix custom type.
Glenn Morris [Thu, 3 Jan 2013 06:33:25 +0000 (22:33 -0800)]
* term.el (term-default-fg-color, term-default-bg-color): Fix custom type.

11 years agoetags.el fix for compressed files
Glenn Morris [Thu, 3 Jan 2013 02:54:10 +0000 (18:54 -0800)]
etags.el fix for compressed files

* lisp/progmodes/etags.el (tags-compression-info-list): Doc fix.
(tag-find-file-of-tag-noselect):
Check auto-compression-mode rather than 'jka-compr being loaded.

Fixes: debbugs:13338
11 years agoMerge from emacs-24; up to 2012-12-06T07:33:20Z!rgm@gnu.org
Glenn Morris [Thu, 3 Jan 2013 02:37:57 +0000 (18:37 -0800)]
Merge from emacs-24; up to 2012-12-06T07:33:20Z!rgm@gnu.org

11 years ago* check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
Glenn Morris [Thu, 3 Jan 2013 02:36:29 +0000 (18:36 -0800)]
* check-doc-strings: Update for CVS->bzr, moved lispref/ directory.
(Now it actually runs.  Whether or not it does anything useful is
another matter...)

11 years agoRemove some deleted files
Glenn Morris [Thu, 3 Jan 2013 02:31:36 +0000 (18:31 -0800)]
Remove some deleted files

11 years agoRemove some old admin/ files
Glenn Morris [Thu, 3 Jan 2013 02:29:46 +0000 (18:29 -0800)]
Remove some old admin/ files
(eg make-changelog-diff hasn't been updated since CVS days)

11 years agoTweak some lispref line breaks
Glenn Morris [Thu, 3 Jan 2013 02:23:39 +0000 (18:23 -0800)]
Tweak some lispref line breaks

* doc/lispref/processes.texi (System Processes):
* doc/lispref/syntax.texi (Syntax Table Functions):
Tweak some line breaks.

11 years ago* doc/lispref/searching.texi (Replacing Match): Fix xref.
Glenn Morris [Thu, 3 Jan 2013 02:15:57 +0000 (18:15 -0800)]
* doc/lispref/searching.texi (Replacing Match): Fix xref.

11 years agoRegenerate PDF refcards
Glenn Morris [Thu, 3 Jan 2013 02:11:33 +0000 (18:11 -0800)]
Regenerate PDF refcards

11 years agoMisc updates for admin/make-tarball.txt
Glenn Morris [Thu, 3 Jan 2013 02:04:31 +0000 (18:04 -0800)]
Misc updates for admin/make-tarball.txt

11 years ago* admin/emacs-pretesters: Remove file.
Glenn Morris [Thu, 3 Jan 2013 01:56:56 +0000 (17:56 -0800)]
* admin/emacs-pretesters: Remove file.

11 years ago* doc/lispref/elisp.texi (DATE): Bump to Jan 2013.
Glenn Morris [Thu, 3 Jan 2013 01:53:13 +0000 (17:53 -0800)]
* doc/lispref/elisp.texi (DATE): Bump to Jan 2013.

11 years agoAdd 2013 to another copyright range
Glenn Morris [Thu, 3 Jan 2013 01:49:08 +0000 (17:49 -0800)]
Add 2013 to another copyright range

11 years agoAdd 2013 to yet more FSF copyright years
Glenn Morris [Thu, 3 Jan 2013 01:46:47 +0000 (17:46 -0800)]
Add 2013 to yet more FSF copyright years

11 years agoAdd 2013 to more copyright years
Glenn Morris [Thu, 3 Jan 2013 01:35:49 +0000 (17:35 -0800)]
Add 2013 to more copyright years

11 years agoeval-after-load fix
Glenn Morris [Thu, 3 Jan 2013 00:50:35 +0000 (16:50 -0800)]
eval-after-load fix

* lisp/subr.el (eval-after-load): Don't purecopy the form, so that it
can be nconc'd later on; reverts 2009-11-11 change.

Fixes: debbugs:13331
11 years agodefun fix for cl declarations + interactive forms
Glenn Morris [Thu, 3 Jan 2013 00:43:46 +0000 (16:43 -0800)]
defun fix for cl declarations + interactive forms

* lisp/emacs-lisp/byte-run.el (defun):
Place cl declarations after any interactive spec.

Fixes: debbugs:13265
11 years agoRemove duplicate merged ChangeLog entries
Glenn Morris [Thu, 3 Jan 2013 00:38:32 +0000 (16:38 -0800)]
Remove duplicate merged ChangeLog entries

11 years agoCorrect dates of merged ChangeLog entries
Glenn Morris [Wed, 2 Jan 2013 19:02:05 +0000 (11:02 -0800)]
Correct dates of merged ChangeLog entries

11 years agoMerge from gnulib.
Paul Eggert [Wed, 2 Jan 2013 16:37:04 +0000 (08:37 -0800)]
Merge from gnulib.

11 years agoUpdate copyright dates to 2013.
Paul Eggert [Wed, 2 Jan 2013 16:30:50 +0000 (08:30 -0800)]
Update copyright dates to 2013.

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