]> code.delx.au - gnu-emacs/log
gnu-emacs
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

11 years agoFix ChangeLog date oddness
Glenn Morris [Sat, 5 Jan 2013 21:16:29 +0000 (13:16 -0800)]
Fix ChangeLog date oddness

11 years ago* doc/lsipref/display.texi (Overlay Properties): Mention field.
Glenn Morris [Sat, 5 Jan 2013 19:34:41 +0000 (11:34 -0800)]
* doc/lsipref/display.texi (Overlay Properties): Mention field.

Fixes: debbugs:13364
11 years ago* doc/emacs/text.texi (HTML Mode): Remove deleted nxml C-RET binding.
Glenn Morris [Sat, 5 Jan 2013 19:21:17 +0000 (11:21 -0800)]
* doc/emacs/text.texi (HTML Mode): Remove deleted nxml C-RET binding.

11 years agoChangeLog fix
Glenn Morris [Sat, 5 Jan 2013 19:07:09 +0000 (11:07 -0800)]
ChangeLog fix

11 years ago* tramp.texi (Remote shell setup): Replace literal NUL character by \0.
Andreas Schwab [Sat, 5 Jan 2013 16:49:56 +0000 (17:49 +0100)]
* tramp.texi (Remote shell setup): Replace literal NUL character by \0.

11 years agoFix manual formatting errors
Andreas Schwab [Sat, 5 Jan 2013 16:19:53 +0000 (17:19 +0100)]
Fix manual formatting errors

* lispref/hooks.texi (Standard Hooks): Fix use of @itemx.

* misc/ada-mode.texi: Remove braces from @title argument.
* misc/eudc.texi: Likewise.
* misc/smtpmail.texi: Likewise.
* misc/auth.texi (VERSION): Set before first use.
* misc/emacs-gnutls.texi (VERSION): Likewise.
* misc/pgg.texi (VERSION): Likewise.
* misc/ede.texi (Top): Rename from top, all uses changed.
* misc/eshell.texi: Add missing argument to @sp.
* misc/forms.texi (Top): Reorder menu to match structure.
* misc/htmlfontify.texi (Customisation): Add missing @item in
@enumerate.
* misc/org.texi (Advanced features): Add missing argument for @item.
(Property searches): Use @backslashchar{} in macro argument.
* misc/pcl-cvs.texi: Add missing argument to @sp.
(Movement commands): Fix use of @itemx.
* misc/vip.texi (Misc Commands, Viewing the Buffer): Likewise.
* misc/reftex.texi (Options (Creating Citations)): Add missing newline
before @end.
* misc/tramp.texi (Obtaining Tramp): Remove extra dots.
(Configuration): Reorder menu to match structure.
* misc/viper.texi (Marking): Add missing argument for @item.

11 years ago* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
Michael Albinus [Sat, 5 Jan 2013 13:48:16 +0000 (14:48 +0100)]
* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
(tramp-adb-handle-directory-files-and-attributes): Fix typos.

11 years ago* net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
Michael Albinus [Sat, 5 Jan 2013 13:41:57 +0000 (14:41 +0100)]
* net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
parsing of ls output using regular expression (handle filenames
with spaces).  Use virtual device number.
(tramp-do-parse-file-attributes-with-ls): New defun (Code
cleanup).

11 years agoImprove display of glyph matrix by dump-glyph-matrix.
Eli Zaretskii [Sat, 5 Jan 2013 13:37:36 +0000 (15:37 +0200)]
Improve display of glyph matrix by dump-glyph-matrix.

 src/xdisp.c (dump_glyph): Align glyph data better.  Use "pD" instead
 of a non-portable "t" to print ptrdiff_t values.  Allow up to 9
 digits for buffer positions, before misalignment starts.  Display
 "0" for integer "object" field.
 (dump_glyph_row): Adapt the header line to changes in dump_glyph.
 Display the newline glyph more unambiguously.

11 years agoFix usage of @itemx in ELisp manual.
Eli Zaretskii [Sat, 5 Jan 2013 08:37:05 +0000 (10:37 +0200)]
Fix usage of @itemx in ELisp manual.

 doc/lispref/hooks.texi (Standard Hooks): Use @item, not @itemx, as the first
 directive in a group of items.

11 years ago* keymaps.texi (Key Sequences): Remove obsolete sentence.
Chong Yidong [Tue, 2 Apr 2013 07:16:06 +0000 (15:16 +0800)]
* keymaps.texi (Key Sequences): Remove obsolete sentence.

Fixes: debbugs:13356
11 years ago* epg.el: Silence byte-compiler warnings.
Daiki Ueno [Fri, 4 Jan 2013 22:54:08 +0000 (07:54 +0900)]
* epg.el: Silence byte-compiler warnings.

11 years ago* epg.el (epg--start): Don't call "tty" program on W32 platforms.
Daiki Ueno [Fri, 4 Jan 2013 22:51:52 +0000 (07:51 +0900)]
* epg.el (epg--start): Don't call "tty" program on W32 platforms.

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.