]> code.delx.au - gnu-emacs/log
gnu-emacs
10 years agoUpdate copyright year to 2014 by running admin/update-copyright.
Paul Eggert [Wed, 1 Jan 2014 07:43:34 +0000 (07:43 +0000)]
Update copyright year to 2014 by running admin/update-copyright.

10 years agoFix last change of grow_mini_window.
Martin Rudalics [Tue, 31 Dec 2013 19:06:18 +0000 (20:06 +0100)]
Fix last change of grow_mini_window.

* window.c (grow_mini_window): Fix last change.

10 years ago* nsterm.m (windowDidResignKey:): Set mouse_moved to 0.
Jan Djärv [Tue, 31 Dec 2013 18:30:18 +0000 (19:30 +0100)]
* nsterm.m (windowDidResignKey:): Set mouse_moved to 0.

Fixes: debbugs:8421
10 years agoMinor fixes for MinGW64 build.
Fabrice Popineau [Tue, 31 Dec 2013 16:01:34 +0000 (18:01 +0200)]
Minor fixes for MinGW64 build.

 configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
 MinGW64 build on MS-Windows.

 nt/inc/ms-w32.h (sys_kill): Fix prototype.

 src/w32term.c (w32_initialize): Use LCID and LOWORD.
 src/w32proc.c (create_child): Use pid_t for 5th argument.
 (IsValidLocale): Don't provide prototype for MinGW64.
 (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout)
 (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD.
 src/w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which
 MinGW64 doesn't support.
 src/lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build.

10 years agoFix typo in a comment in the last commit in w2.c.
Eli Zaretskii [Tue, 31 Dec 2013 15:12:33 +0000 (17:12 +0200)]
Fix typo in a comment in the last commit in w2.c.

10 years agomerge trunk
Kenichi Handa [Tue, 31 Dec 2013 15:04:57 +0000 (00:04 +0900)]
merge trunk

10 years agointernational/mule-conf.el: Unify the charset indian-is13194.
Kenichi Handa [Tue, 31 Dec 2013 15:03:36 +0000 (00:03 +0900)]
international/mule-conf.el: Unify the charset indian-is13194.
(indian-is13194): Specify unify-map.

10 years agoFall back on SetNamedSecurityInfo if SetFileSecurity fails in acl_set_file.
Fabrice Popineau [Tue, 31 Dec 2013 15:00:43 +0000 (17:00 +0200)]
Fall back on SetNamedSecurityInfo if SetFileSecurity fails in acl_set_file.

 src/w32.c (set_named_security_info): New function.
 (acl_set_file): Fall back on set_named_security_info if
 set_file_security fails.  Fixes rare failures in backups.
 (g_b_init_set_named_security_info_w)
 (g_b_init_set_named_security_info_a): New static variables.
 (globals_of_w32): Initialize them to zero.
 (set_named_security_info): Set them to non-zero if the
 corresponding API is available.
 (SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc): New
 function typedefs.

10 years agoSome more fixes following pixelwise resize changes including one for Bug#16306.
Martin Rudalics [Tue, 31 Dec 2013 09:48:54 +0000 (10:48 +0100)]
Some more fixes following pixelwise resize changes including one for Bug#16306.

* gtkutil.c (x_wm_set_size_hint): Have size hints respect value
of frame_resize_pixelwise.
* widget.c (pixel_to_text_size): New function.
(update_wm_hints): Have size hints respect value of
frame_resize_pixelwise.
(EmacsFrameResize): Alway process resize requests pixelwise.
* window.c (grow_mini_window): Make sure mini window is at least
one line tall.
* xdisp.c (display_menu_bar): Make sure menubar extends till
right end of frame.
* xfns.c (x_set_menu_bar_lines): Resize frame windows pixelwise.
(x_set_tool_bar_lines): Calculate pixelwise.
* xterm.c (x_wm_set_size_hint): Have size hints respect value of
frame_resize_pixelwise.

10 years ago* etc/NEWS: Relocate entries that had strayed to the wrong Emacs version.
Glenn Morris [Tue, 31 Dec 2013 02:02:49 +0000 (18:02 -0800)]
* etc/NEWS: Relocate entries that had strayed to the wrong Emacs version.

10 years ago* subr.el (set-temporary-overlay-map): Obsolete alias.
Leo Liu [Tue, 31 Dec 2013 00:27:27 +0000 (08:27 +0800)]
* subr.el (set-temporary-overlay-map): Obsolete alias.

Fixes: debbugs:16305
10 years agoIgnore XF86WakeUp
Daniel Colascione [Mon, 30 Dec 2013 23:27:07 +0000 (15:27 -0800)]
Ignore XF86WakeUp

10 years agoFix infloop in indentation code
Daniel Colascione [Mon, 30 Dec 2013 23:16:34 +0000 (15:16 -0800)]
Fix infloop in indentation code

10 years agosrc/fileio.c: Silence compiler warnings.
Juanma Barranquero [Mon, 30 Dec 2013 22:36:44 +0000 (23:36 +0100)]
src/fileio.c: Silence compiler warnings.

* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
variables not used there.

10 years ago* admin.el (manual-html-fix-headers, manual-html-fix-index-1):
Glenn Morris [Mon, 30 Dec 2013 18:58:16 +0000 (10:58 -0800)]
* admin.el (manual-html-fix-headers, manual-html-fix-index-1):
Some updates for changes in Texinfo 5 output.

10 years agoFix bug #16299 with assertion violation in set-default-file-modes on Windows.
Eli Zaretskii [Mon, 30 Dec 2013 17:51:28 +0000 (19:51 +0200)]
Fix bug #16299 with assertion violation in set-default-file-modes on Windows.

 src/w32.c (sys_umask): New function.

 nt/inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.

10 years agoRevert @documentencoding changes in the docs.
Eli Zaretskii [Mon, 30 Dec 2013 17:08:32 +0000 (19:08 +0200)]
Revert @documentencoding changes in the docs.

10 years agoFix Bug#16284.
Martin Rudalics [Mon, 30 Dec 2013 09:14:29 +0000 (10:14 +0100)]
Fix Bug#16284.

* dispnew.c (change_frame_size_1): Take old width of root window
from that window's pixel width.  Bug#16284.

10 years agoSpecify info encoding and language.
Paul Eggert [Mon, 30 Dec 2013 03:19:25 +0000 (19:19 -0800)]
Specify info encoding and language.

* emacs.texi, emacs-xtra.texi:
* emacs-lisp-intro.texi:
* back.texi, book-spine.texi, elisp.texi, lay-flat.texi:
* ada-mode.texi, auth.texi, autotype.texi, bovine.texi, calc.texi:
* cc-mode.texi, cl.texi, dbus.texi, dired-x.texi, ebrowse.texi:
* ede.texi, ediff.texi, edt.texi, efaq-w32.texi, efaq.texi:
* eieio.texi, emacs-gnutls.texi, emacs-mime.texi, epa.texi, erc.texi:
* ert.texi, eshell.texi, eudc.texi, flymake.texi, forms.texi:
* gnus-coding.texi, gnus-faq.texi, gnus.texi, htmlfontify.texi:
* idlwave.texi, ido.texi, info.texi, mairix-el.texi, message.texi:
* mh-e.texi, newsticker.texi, nxml-mode.texi, octave-mode.texi:
* org.texi, pcl-cvs.texi, pgg.texi, rcirc.texi, reftex.texi:
* remember.texi, sasl.texi, sc.texi, semantic.texi, ses.texi:
* sieve.texi, smtpmail.texi, speedbar.texi, srecode.texi:
* todo-mode.texi, tramp.texi, url.texi, vip.texi, viper.texi:
* widget.texi, wisent.texi, woman.texi:
Add @documentencoding, @documentlanguage as needed.

Fixes: debbugs:16292
10 years ago* emacs-lisp-intro.texi: Use @quotation for license notice.
Glenn Morris [Mon, 30 Dec 2013 03:08:09 +0000 (19:08 -0800)]
* emacs-lisp-intro.texi: Use @quotation for license notice.

10 years agoPlain copy-file no longer chmods an existing destination.
Paul Eggert [Sun, 29 Dec 2013 18:18:45 +0000 (10:18 -0800)]
Plain copy-file no longer chmods an existing destination.

* doc/lispref/files.texi (Changing Files): Document this.
* etc/NEWS: Document this.
* src/fileio.c (realmask): Now a static var, not a local.
(barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
Remove arg STATPTR.  All uses changed.
(Fcopy_file): Do not alter permissions of existing destinations,
unless PRESERVE-PERMISSIONS (renamed from
PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
Avoid race when testing for existing destinations and for
when input and output files are the same.
If changing the group fails, adjust both default and
preserved permissions so that access is not granted to the
wrong group.
(Fset_default_file_modes, init_fileio): Update realmask.
(Fdefault_file_modes): Use realmask instead of calling umask.

Fixes: debbugs:16133
10 years ago* configure.ac (xcsdkdir): Only set if using xcrun.
Jan Djärv [Sun, 29 Dec 2013 13:17:09 +0000 (14:17 +0100)]
* configure.ac (xcsdkdir): Only set if using xcrun.

10 years agoRevert quoting of xcrun-related library.
Paul Eggert [Sun, 29 Dec 2013 07:52:53 +0000 (23:52 -0800)]
Revert quoting of xcrun-related library.

10 years ago* src/emacs.c (main): [DAEMON_MUST_EXEC]: Restore close-on-exec after exec.
Paul Eggert [Sun, 29 Dec 2013 07:42:46 +0000 (23:42 -0800)]
* src/emacs.c (main): [DAEMON_MUST_EXEC]: Restore close-on-exec after exec.

Fixes: debbugs:16262
10 years ago* configure.ac (LIBXML2_CFLAGS): Fix xcrun-related quoting problem.
Paul Eggert [Sun, 29 Dec 2013 07:15:01 +0000 (23:15 -0800)]
* configure.ac (LIBXML2_CFLAGS): Fix xcrun-related quoting problem.

Reported by YAMAMOTO Mitsuharu in:
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00995.html

10 years agoAdd the "use strict;" and "use warnings;" pragmas.
Xue Fuqiao [Sun, 29 Dec 2013 05:18:15 +0000 (13:18 +0800)]
Add the "use strict;" and "use warnings;" pragmas.

* admin/make-emacs:
* admin/build-configs: Add the "use strict;" and "use warnings;" pragmas.

10 years agoFix pipe bug with OS X emacs --daemon (Bug#16262).
Paul Eggert [Sat, 28 Dec 2013 22:56:58 +0000 (14:56 -0800)]
Fix pipe bug with OS X emacs --daemon (Bug#16262).

* emacs.c (main) [DAEMON_MUST_EXEC]: Clear the close-on-exec
flags on the daemon pipe ends before execing.

10 years agoFix bug #16272 when inserting newline at point-min in electric-pair-mode.
João Távora [Sat, 28 Dec 2013 19:26:54 +0000 (19:26 +0000)]
Fix bug #16272 when inserting newline at point-min in electric-pair-mode.

* elec-pair.el (electric-pair-post-self-insert-function): Don't
open extra newlines at beginning of buffer.

10 years agoFix a thinko in last commit.
Eli Zaretskii [Sat, 28 Dec 2013 17:12:57 +0000 (19:12 +0200)]
Fix a thinko in last commit.

10 years agoFix bug #14739 with creation of GUI frames from TTY session on Windows.
Eli Zaretskii [Sat, 28 Dec 2013 11:47:26 +0000 (13:47 +0200)]
Fix bug #14739 with creation of GUI frames from TTY session on Windows.

 src/w32fns.c (Fx_create_frame): Error out if called from a TTY
 session.

 lisp/frame.el (window-system-for-display): Don't allow to create a
 GUI frame from a -nw session on MS-Windows.

10 years ago* configure.ac: Fix CC detection for xcrun case.
Jan Djärv [Sat, 28 Dec 2013 10:37:53 +0000 (11:37 +0100)]
* configure.ac: Fix CC detection for xcrun case.

10 years ago* configure.ac: Fix CC detection for xcrun case.
Jan Djärv [Sat, 28 Dec 2013 10:12:43 +0000 (11:12 +0100)]
* configure.ac: Fix CC detection for xcrun case.

10 years ago* admin/admin.el (cusver-scan): Warn about missing :types.
Glenn Morris [Sat, 28 Dec 2013 08:33:44 +0000 (00:33 -0800)]
* admin/admin.el (cusver-scan): Warn about missing :types.
(cusver-check): Interactively, require existing directories.

* admin/cus-test.el: Comment.

10 years agoRevert earlier erc-button change
Glenn Morris [Sat, 28 Dec 2013 08:27:34 +0000 (00:27 -0800)]
Revert earlier erc-button change

10 years agoEvery defcustom should specify its type
Glenn Morris [Sat, 28 Dec 2013 08:21:33 +0000 (00:21 -0800)]
Every defcustom should specify its type

* apropos.el (apropos-match-face):
* calculator.el (calculator-displayer):
* dabbrev.el (dabbrev-search-these-buffers-only):
* face-remap.el (buffer-face-mode-face):
* simple.el (yank-handled-properties):
* emacs-lisp/testcover.el (testcover-potentially-1value-functions):
* mail/footnote.el (footnote-mode-line-string, footnote-prefix):
* mail/hashcash.el (hashcash-accept-resources, hashcash-program)
(hashcash-double-spend-database):
* progmodes/ruby-mode.el (ruby-deep-indent-paren)
(ruby-deep-indent-paren-style):
* textmodes/flyspell.el (flyspell-auto-correct-binding):
* textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
(rst-toc-insert-number-separator, rst-toc-insert-max-level):
* vc/pcvs-defs.el (cvs-minor-mode-prefix):
* erc/erc-log.el (erc-log-file-coding-system):
* gnus/gnus-sieve.el (gnus-sieve-select-method):
* gnus/gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl)
(gravatar-rating, gravatar-size):
* gnus/message.el (message-minibuffer-local-map):
* gnus/sieve-manage.el (sieve-manage-authenticators)
(sieve-manage-authenticator-alist):
Specify custom types.

* mail/hashcash.el (hashcash-program): Rename from hashcash-path.
Update callers.

10 years agoSpelling and typo fixes.
Paul Eggert [Sat, 28 Dec 2013 06:37:35 +0000 (22:37 -0800)]
Spelling and typo fixes.

10 years agoDoc updates
Chong Yidong [Sat, 28 Dec 2013 04:30:19 +0000 (12:30 +0800)]
Doc updates

* buffers.texi (Modification Time): Document visited-file-modtime change.

* modes.texi (Auto Major Mode): Document interpreter-mode-alist change.

10 years agoChangeLog fixes for font-locking
Glenn Morris [Sat, 28 Dec 2013 02:17:54 +0000 (18:17 -0800)]
ChangeLog fixes for font-locking

10 years agoAdd missing custom :versions, plus small fixes
Glenn Morris [Sat, 28 Dec 2013 02:16:05 +0000 (18:16 -0800)]
Add missing custom :versions, plus small fixes

* emacs-lisp/smie.el (smie-config): Add type, version, initialize.

* bookmark.el (bookmark-bmenu-use-header-line):
* doc-view.el (doc-view-scale-internally):
* pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
* register.el (register-preview-delay):
* net/shr.el (shr-bullet):
* progmodes/cfengine.el (cfengine-cf-promises)
(cfengine-parameters-indent):
* progmodes/octave.el (inferior-octave-error-regexp-alist):
* textmodes/reftex-vars.el (reftex-label-regexps):
* vc/log-edit.el (log-edit-setup-add-author): Add version.

* cedet/ede/linux.el (project-linux-build-directory-default)
(project-linux-architecture-default): Fix custom types.  Add version.

* gnus/gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar):
* gnus/gnus-sum.el (gnus-subthread-sort-functions): Add version.
* gnus/gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version.

10 years agoMisc small custom fixes
Glenn Morris [Sat, 28 Dec 2013 01:24:15 +0000 (17:24 -0800)]
Misc small custom fixes

The value of defcustom's const should not be quoted!

* lisp/desktop.el (desktop-restore-in-current-display):
* lisp/newcomment.el (comment-empty-lines):
* lisp/progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
(idlwave-pad-keyword):
* lisp/progmodes/tcl.el (tcl-tab-always-indent):
* lisp/textmodes/reftex-vars.el (reftex-index-default-tag):
* lisp/elec-pair.el (electric-pair-skip-whitespace):
* lisp/progmodes/cfengine.el (cfengine-cf-promises):
* lisp/cedet/ede/linux.el (project-linux-build-directory-default)
(project-linux-architecture-default):
* lisp/erc/erc-button.el (erc-button-alist):
* lisp/gnus/auth-source.el (auth-sources):
* lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
* lisp/url/url-history.el (url-history-track):
* lisp/url/url-vars.el (url-honor-refresh-requests):
Fix custom types.

* lisp/net/tls.el (tls-certtool-program): Fix default value.

10 years agoTweak previos change
Glenn Morris [Sat, 28 Dec 2013 00:48:28 +0000 (16:48 -0800)]
Tweak previos change

10 years ago* doc/lispref/control.texi (Pattern matching case statement): Brevity.
Glenn Morris [Sat, 28 Dec 2013 00:47:15 +0000 (16:47 -0800)]
* doc/lispref/control.texi (Pattern matching case statement): Brevity.

10 years ago* doc/emacs/trouble.texi (Understanding Bug Reporting): Brevity.
Glenn Morris [Sat, 28 Dec 2013 00:42:59 +0000 (16:42 -0800)]
* doc/emacs/trouble.texi (Understanding Bug Reporting): Brevity.

ChangeLog fix.

10 years agoFix problem with MAKE and xcrun configuration.
Paul Eggert [Sat, 28 Dec 2013 00:40:58 +0000 (16:40 -0800)]
Fix problem with MAKE and xcrun configuration.

* configure.ac: Don't set MAKE unless 'make' doesn't work.
Set it only in the environment, not in the makefile.
Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html

10 years agoFix ChangeLog typos.
Juanma Barranquero [Sat, 28 Dec 2013 00:36:00 +0000 (01:36 +0100)]
Fix ChangeLog typos.

10 years agoauthors.el updates and ChangeLog fixes
Glenn Morris [Sat, 28 Dec 2013 00:31:33 +0000 (16:31 -0800)]
authors.el updates and ChangeLog fixes

* lisp/emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names, authors-renamed-files-alist): Additions.

10 years agoChangeLog fixes
Glenn Morris [Sat, 28 Dec 2013 00:08:54 +0000 (16:08 -0800)]
ChangeLog fixes

10 years ago* test/automated/electric-tests.el: Require 'elec-pair.
Glenn Morris [Sat, 28 Dec 2013 00:04:56 +0000 (16:04 -0800)]
* test/automated/electric-tests.el: Require 'elec-pair.

Set copyright holder to FSF.

10 years agoRevert unnecessary earlier change
Glenn Morris [Sat, 28 Dec 2013 00:03:17 +0000 (16:03 -0800)]
Revert unnecessary earlier change

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 28 Dec 2013 00:00:54 +0000 (19:00 -0500)]
Auto-commit of loaddefs files.

10 years agoShell completion for filenames from current directory, related docs.
Jarek Czekalski [Fri, 27 Dec 2013 20:58:21 +0000 (21:58 +0100)]
Shell completion for filenames from current directory, related docs.

* lisp/shell.el  Shell completion now matches executable filenames from
the current buffer's directory, on systems in which this behaviour
is the default (windows-nt, ms-dos).
* src/callproc.c (Vexec_path): Document that exec-directory is in it.
* doc/emacs/mini.texi (Completion Options): Add a link to Shell Options.
* doc/emacs/misc.texi (Shell Mode): Move documentation of
shell-completion-fignore from Shell Mode to Shell Options.

Fixes: debbugs:15461
10 years ago* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Unbreak bootstrap.
Glenn Morris [Fri, 27 Dec 2013 20:24:25 +0000 (12:24 -0800)]
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Unbreak bootstrap.

10 years agoPort xcrun configuration to GNU/Linux.
Paul Eggert [Fri, 27 Dec 2013 19:14:10 +0000 (11:14 -0800)]
Port xcrun configuration to GNU/Linux.

* configure.ac (xcsdkdir): Default to empty.
(XCRUN): Don't require Darwin for xcrun.  Move xcrun checking to
just before AM_INIT_AUTOMAKE, to make the dependency between it
and automake clearer.
(CC): Don't use AC_PROG_CC twice; only the first use expands to the
shell code that is wanted, which breaks 'configure' on non-Darwin
platforms.  Instead, fix CC by hand if it's not found.

10 years agoFix Electric Pair mode's autowrapping tests in batch-mode.
João Távora [Fri, 27 Dec 2013 18:05:03 +0000 (18:05 +0000)]
Fix Electric Pair mode's autowrapping tests in batch-mode.

10 years ago* configure.ac: Detect xcrun on OSX and use it for make, gcc and libxml.
Jan Djärv [Fri, 27 Dec 2013 16:57:52 +0000 (17:57 +0100)]
* configure.ac: Detect xcrun on OSX and use it for make, gcc and libxml.

10 years ago* net/shr.el (shr-insert): Don't infloop if the width is zero.
Lars Ingebrigtsen [Fri, 27 Dec 2013 15:43:54 +0000 (16:43 +0100)]
* net/shr.el (shr-insert): Don't infloop if the width is zero.

10 years ago* lisp/icomplete.el (icomplete-show-matches-on-no-input): Default to nil.
Stefan Monnier [Fri, 27 Dec 2013 12:55:26 +0000 (07:55 -0500)]
* lisp/icomplete.el (icomplete-show-matches-on-no-input): Default to nil.

Fixes: debbugs:16251
10 years ago* lisp/electric.el: Move all electric-pair-* to elec-pair.el.
Stefan Monnier [Fri, 27 Dec 2013 12:53:57 +0000 (07:53 -0500)]
* lisp/electric.el: Move all electric-pair-* to elec-pair.el.
* lisp/elec-pair.el: New file, split from electric.el.

10 years agoEnable ns-use-srgb-colorspace by default
Julien Danjou [Fri, 27 Dec 2013 10:43:11 +0000 (11:43 +0100)]
Enable ns-use-srgb-colorspace by default

See thread
https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00706.html

* nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by
default.

10 years ago* admin/admin.el: Minor cleanups.
Xue Fuqiao [Fri, 27 Dec 2013 10:21:47 +0000 (18:21 +0800)]
* admin/admin.el: Minor cleanups.

* admin/admin.el (manual-misc-manuals, make-manuals):
(manual-pdf, cusver-find-files):
(cusver-new-version, cusver-scan, cusver-goto-xref):
(cusver-check): Doc fix.
(manual-html-node, cusver-check): Use `user-error'.

10 years agoMore doc updates
Chong Yidong [Fri, 27 Dec 2013 03:38:26 +0000 (11:38 +0800)]
More doc updates

* commands.texi (Reading One Event): Mention keyboard coding.

* functions.texi (Function Cells):
* eval.texi (Function Indirection): Update for the fact that
symbol-function no longer signals an error.

* keymaps.texi (Translation Keymaps, Translation Keymaps):
* nonascii.texi (Terminal I/O Encoding): Copyedits.

* data.c (Fsymbol_function): Doc fix.

10 years agoSync better from sources.
Paul Eggert [Fri, 27 Dec 2013 03:25:43 +0000 (19:25 -0800)]
Sync better from sources.

* CXTERM-DIC/ARRAY30.tit, CXTERM-DIC/4Corner.tit:
* CXTERM-DIC/QJ.tit, CXTERM-DIC/QJ-b5.tit:
Omit blank lines not present in the original.
* CXTERM-DIC/CCDOSPY.tit:
* CXTERM-DIC/PY-b5.tit:
* CXTERM-DIC/SW.tit, CXTERM-DIC/TONEPY.tit:
* MISC-DIC/pinyin.map, MISC-DIC/ziranma.cin:
Clarify which header lines were added for Emacs.
* CXTERM-DIC/README:
Clarify what changes we made, and where the files came from.
* MISC-DIC/README, MISC-DIC/pinyin.map, MISC-DIC/ziranma.cin:
Update URLs.
* SKK-DIC/SKK-JISYO.L: Update from upstream.

10 years agoFix another shr infloop in the filling code
Lars Ingebrigtsen [Fri, 27 Dec 2013 02:58:16 +0000 (03:58 +0100)]
Fix another shr infloop in the filling code

(shr-find-fill-point): Off by one error in comparison with the
indentation.

10 years agoshr didn't fill Japanese text correctly any more
Lars Ingebrigtsen [Fri, 27 Dec 2013 02:21:42 +0000 (03:21 +0100)]
shr didn't fill Japanese text correctly any more

* net/shr.el (shr-find-fill-point): Don't try to fill if the
indentation level is larger than the width, because that will
infloop.
(shr-insert): Fill repeatedly long texts, so that Japanese is
formatted correctly.

Fixes: debbugs:16263
10 years agolisp/gnus/gnus-sum.el (gnus-summary-respool-query): Make split tracing work in nnimap...
Lars Ingebrigtsen [Thu, 26 Dec 2013 22:13:28 +0000 (22:13 +0000)]
lisp/gnus/gnus-sum.el (gnus-summary-respool-query): Make split tracing work in nnimap groups, too

10 years agoMake Electric Pair mode smarter/more useful:
João Távora [Thu, 26 Dec 2013 22:02:49 +0000 (22:02 +0000)]
Make Electric Pair mode smarter/more useful:

* lisp/electric.el: Pairing/skipping helps preserve
  balance. Autobackspacing behaviour. Opens extra newlines between
  pairs. Skip whitespace before closing delimiters.

* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new
  features.

* test/automated/electric-tests.lisp: New file.

* doc/emacs/programs.texi: Describe new features.

* lisp/simple.el: Pass non-nil interactive arg to newline call inside
  newline-and-indent.

10 years ago* lisp/progmodes/python.el: Use lexical-binding.
Fabián Ezequiel Gallina [Thu, 26 Dec 2013 16:45:19 +0000 (13:45 -0300)]
* lisp/progmodes/python.el: Use lexical-binding.
(python-nav-beginning-of-defun): Stop searching ASAP.

10 years agoSome more tinkering with Bug#16051.
Martin Rudalics [Thu, 26 Dec 2013 11:31:42 +0000 (12:31 +0100)]
Some more tinkering with Bug#16051.

* window.c (resize_frame_windows): Don't let the size of the
root window drop below the frame's default character size.
Never ever delete any subwindows - let the window manager do the
clipping.

* w32fns.c (x_set_tool_bar_lines): Rewrite calculation of number
of toolbar lines needed when they exceed the height of the root
window.
(unwind_create_frame_1): New function.
(Fx_create_frame): Generally inhibit calling the window
configuration change hook here.  Remove extra call to
change_frame_size - it's not needed when we don't run the
configuration change hook.

10 years agoFix core dumps with gcc -fsanitize=address and GNU/Linux.
Paul Eggert [Thu, 26 Dec 2013 08:57:28 +0000 (00:57 -0800)]
Fix core dumps with gcc -fsanitize=address and GNU/Linux.

On my Fedora 19 platform the core dumps were so big that
my desktop became nearly catatonic.
* configure.ac: Check whether addresses are sanitized.
(CANNOT_DUMP): Warn if addresses are sanitized and not CANNOT_DUMP.
(DOUG_LEA_MALLOC): Do not define if addresses are sanitized.
(SYSTEM_MALLOC): Define if addresses are sanitized.
* src/alloc.c (no_sanitize_memcpy) [MAX_SAVE_STACK > 0]: New function.
(Fgarbage_collect) [MAX_SAVE_STACK > 0]: Use it.
(USE_ALIGNED_MALLOC): Do not define if addresses are sanitized.
(mark_memory): Use ATTRIBUTE_NO_SANITIZE_ADDRESS rather than
a clang-only syntax.
* src/conf_post.h (__has_feature): New macro, if not already defined.
(ADDRESS_SANITIZER, ADDRESS_SANITIZER_WORKAROUND)
(ATTRIBUTE_NO_SANITIZE_ADDRESS): New macros.

10 years agoUpdate doc for advice changes.
Chong Yidong [Thu, 26 Dec 2013 03:27:45 +0000 (11:27 +0800)]
Update doc for advice changes.

* doc/lispref/advice.texi (Advising Functions, Defining Advice):
Special forms can no longer be advised.

* lisp/emacs-lisp/advice.el: Update commentary.

10 years agoMisc changes made in Gnus master
Gnus developers [Thu, 26 Dec 2013 00:59:01 +0000 (00:59 +0000)]
Misc changes made in Gnus master

10 years agoSpelling fix.
Paul Eggert [Wed, 25 Dec 2013 23:25:32 +0000 (15:25 -0800)]
Spelling fix.

10 years agoDon't infloop when we can't find a good place to break lines in shr
Lars Ingebrigtsen [Wed, 25 Dec 2013 22:52:15 +0000 (23:52 +0100)]
Don't infloop when we can't find a good place to break lines in shr

(shr-insert): Don't infloop if we can't find a good place to break
the line.

Fixes: debbugs:16256
10 years agoSome fixes for vc-ignore (Bug#15754).
Xue Fuqiao [Wed, 25 Dec 2013 22:57:00 +0000 (06:57 +0800)]
Some fixes for vc-ignore (Bug#15754).

Inspired by Andreas Politz and Dmitry Gutov.

10 years agolisp/ChangeLog: Fix last commit
Katsumi Yamaoka [Wed, 25 Dec 2013 22:53:57 +0000 (22:53 +0000)]
lisp/ChangeLog: Fix last commit

10 years agobyte-run.el (eval-when-compile), cc-defs.el (cc-eval-when-compile): Fix edebug spec...
Katsumi Yamaoka [Wed, 25 Dec 2013 22:37:04 +0000 (22:37 +0000)]
byte-run.el (eval-when-compile), cc-defs.el (cc-eval-when-compile): Fix edebug spec (bug#16184)

10 years agolisp/gnus/gnus-sum.el (gnus-summary-exit): Stop animations
Lars Ingebrigtsen [Wed, 25 Dec 2013 22:28:09 +0000 (22:28 +0000)]
lisp/gnus/gnus-sum.el (gnus-summary-exit): Stop animations

10 years agoMerge from mainline.
Xue Fuqiao [Wed, 25 Dec 2013 22:27:00 +0000 (06:27 +0800)]
Merge from mainline.

10 years agoSome fixes for vc-ignore (Bug#15754).
Xue Fuqiao [Wed, 25 Dec 2013 22:24:37 +0000 (06:24 +0800)]
Some fixes for vc-ignore (Bug#15754).

Inspired by Andreas Politz and Dmitry Gutov.

10 years agoGrammer fix
Lars Ingebrigtsen [Wed, 25 Dec 2013 19:38:08 +0000 (20:38 +0100)]
Grammer fix

10 years ago* net/shr.el (shr-visit-file): Removed debugging function.
Lars Ingebrigtsen [Wed, 25 Dec 2013 19:37:41 +0000 (20:37 +0100)]
* net/shr.el (shr-visit-file): Removed debugging function.

10 years agoFurther shr quotation mark fill fixes
Lars Ingebrigtsen [Wed, 25 Dec 2013 18:14:49 +0000 (19:14 +0100)]
Further shr quotation mark fill fixes

(shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
(shr-find-fill-point): Remove the special checks for the quotation
mark, since `shr-char-kinsoku-bol-p' should now return the right
thing.

10 years ago* lisp/progmodes/python.el:
Fabián Ezequiel Gallina [Wed, 25 Dec 2013 18:07:31 +0000 (15:07 -0300)]
* lisp/progmodes/python.el:
(python-nav--lisp-forward-sexp): New function.
(python-nav--lisp-forward-sexp-safe): Use it.  Rename from
python-nav-lisp-forward-sexp-safe.
(python-nav--forward-sexp): New argument SAFE allows switching
forward sexp movement behavior for parens.
(python-nav-forward-sexp): Throw errors on unterminated parens.
(python-nav-backward-sexp, python-nav-forward-sexp-safe)
(python-nav-backward-sexp-safe): New functions.
(python-shell-buffer-substring): Use
`python-nav-forward-sexp-safe'.

* test/automated/python-tests.el
(python-nav-lisp-forward-sexp-safe-1): Remove test.
(python-nav-forward-sexp-safe-1): New test.

Fixes: debbugs:16191
10 years agoFold shr text with single quotation marks better
Lars Ingebrigtsen [Wed, 25 Dec 2013 17:31:39 +0000 (18:31 +0100)]
Fold shr text with single quotation marks better

* net/shr.el (shr-find-fill-point): Don't break lines before a
quotation mark.

10 years agoFix bug #16252 with 'mailto:' documents passed to w32-shell-execute.
Eli Zaretskii [Wed, 25 Dec 2013 17:30:24 +0000 (19:30 +0200)]
Fix bug #16252 with 'mailto:' documents passed to w32-shell-execute.

 src/w32fns.c (Fw32_shell_execute): Make DOCUMENT absolute only if it
 is a file name.

10 years agoeww textarea fixups
Kenjiro NAKAYAMA [Wed, 25 Dec 2013 15:33:16 +0000 (16:33 +0100)]
eww textarea fixups

* net/eww.el (eww-form-textarea): Use a different face for
textareas than text input since they have different keymaps.

Fixes: debbugs:16142
10 years agoDoc updates for several Emacs 24.4 changes.
Chong Yidong [Wed, 25 Dec 2013 10:24:52 +0000 (18:24 +0800)]
Doc updates for several Emacs 24.4 changes.

* doc/lispref/commands.texi (Event Input Misc): Document new arg to
input-pending-p.

* doc/lispref/display.texi (Font Selection): Tweak example.

* doc/lispref/keymaps.texi (Active Keymaps): Re-organize the text.
(Searching Keymaps): Rewrite the pseudo-code for 24.4 changes.
(Controlling Active Maps): Note that set-transient-map uses
overriding-terminal-local-map.

* doc/lispref/nonascii.texi (Specifying Coding Systems): Don't refer to
emacs-mule-dos.
(Lisp and Coding Systems): Describe emacs-mule return value in
modern terms.

* doc/lispref/tips.texi (Coding Conventions): Tweak the coding system tip;
Emacs now uses utf-8 by default for Emacs Lisp source files.

* doc/emacs/glossary.texi (Glossary): Define MULE in modern terms.

* src/keyboard.c (Voverriding_terminal_local_map):
(Voverriding_local_map): Doc fix.

* src/keymap.c (Vemulation_mode_map_alists): Doc fix.

10 years agoRephrase lexical binding requirement sentence.
Tassilo Horn [Wed, 25 Dec 2013 09:12:24 +0000 (10:12 +0100)]
Rephrase lexical binding requirement sentence.

* doc/lispref/control.texi (Pattern matching case statement): Rephrase lexical
binding requirement: the example needs it, not `pcase' itself.

10 years agoDocument `eval' changes.
Chong Yidong [Wed, 25 Dec 2013 03:05:11 +0000 (11:05 +0800)]
Document `eval' changes.

* doc/lispref/eval.texi (Eval): Document the LEXICAL arg to eval.

* doc/lispref/variables.texi (Variables, Void Variables): Use "scoping rule"
terminology consistently.
(Variable Scoping): Add index entries, and use "dynamic scope"
terminology in place of "indefinite scope" to reduce confusion.
(Lexical Binding): Document lexical environment format.
(Using Lexical Binding): Add index entries for error messages.

10 years agoDoc fixes (index and comment).
Xue Fuqiao [Wed, 25 Dec 2013 02:18:43 +0000 (10:18 +0800)]
Doc fixes (index and comment).

10 years ago* lisp/progmodes/python.el (python-nav-beginning-of-statement): Speed
Fabián Ezequiel Gallina [Tue, 24 Dec 2013 19:48:40 +0000 (16:48 -0300)]
* lisp/progmodes/python.el (python-nav-beginning-of-statement): Speed
up.

Fixes: debbugs:15295
10 years agoAutomate the procedure for updating copyright year.
Paul Eggert [Tue, 24 Dec 2013 18:27:53 +0000 (10:27 -0800)]
Automate the procedure for updating copyright year.

* admin/merge-gnulib (GNULIB_MODULES): Add update-copyright.
* admin/notes/years: Mention admin/update-copyright.
* admin/update-copyright: New file.
* build-aux/update-copyright: New file.
* make-dist: Distribute it.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* msdos/autogen/Makefile.in: Update copyright year.

10 years agoeww bookmark window restoration
Lars Ingebrigtsen [Tue, 24 Dec 2013 18:07:55 +0000 (19:07 +0100)]
eww bookmark window restoration

* net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
the window configuration.

10 years agoAttempt to catch backtrace of segfault in bug #16234.
Eli Zaretskii [Tue, 24 Dec 2013 17:55:07 +0000 (19:55 +0200)]
Attempt to catch backtrace of segfault in bug #16234.

10 years agoFix eww-open-file for MS-Windows and MS-DOS.
Eli Zaretskii [Tue, 24 Dec 2013 17:23:56 +0000 (19:23 +0200)]
Fix eww-open-file for MS-Windows and MS-DOS.

 lisp/net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
 we run on MS-Windows or MS-DOS.

10 years agoMinor fixes in w32-shell-execute.
Eli Zaretskii [Tue, 24 Dec 2013 17:21:06 +0000 (19:21 +0200)]
Minor fixes in w32-shell-execute.

 src/w32fns.c (Fw32_shell_execute): Ensure DOCUMENT is an absolute
 file name when it is submitted to ShellExecute.  Simplify code.
 Don't test DOCUMENT for being a string, as that is enforced by
 CHECK_STRING.  Doc fix.

10 years agoIn balance-windows-area don't call window-height and window-width. Bug#16241.
Martin Rudalics [Tue, 24 Dec 2013 16:42:03 +0000 (17:42 +0100)]
In balance-windows-area don't call window-height and window-width.  Bug#16241.

* window.el (balance-windows-area): Call window-size instead of
window-height and window-width.  Bug#16241.

10 years agoFix missing arg in pcase example.
Tassilo Horn [Tue, 24 Dec 2013 15:30:59 +0000 (16:30 +0100)]
Fix missing arg in pcase example.

* doc/lispref/control.texi (Pattern matching case statement): Fix missing
argument in simple expression language sample.  Add
some sample programs written in that language.  Mention that
`pcase' requires lexical binding.

Fixes: debbugs:16238
10 years ago* doc/emacs/trouble.texi (Checklist): Fix a cross-reference.
Xue Fuqiao [Tue, 24 Dec 2013 08:33:02 +0000 (16:33 +0800)]
* doc/emacs/trouble.texi (Checklist): Fix a cross-reference.

10 years agoFix eww bookmark window configuration
Lars Ingebrigtsen [Tue, 24 Dec 2013 07:25:27 +0000 (08:25 +0100)]
Fix eww bookmark window configuration

* net/eww.el (eww-bookmark-quit): Remove.
(eww-bookmark-browse): Restore the window configuration when you
choose a bookmark.

Fixes: debbugs:16144