bpt/emacs.git
10 years ago* lisp/menu-bar.el (menu-bar-help-extra-packages): Remove.
Glenn Morris [Tue, 7 Jan 2014 16:50:03 +0000 (08:50 -0800)]
* lisp/menu-bar.el (menu-bar-help-extra-packages): Remove.
(menu-bar-help-menu): Use view-external-packages instead.

* doc/misc/faq.texi: Comment.

10 years agoMerge Org version 8.2.5c.
Bastien Guerry [Tue, 7 Jan 2014 13:22:53 +0000 (14:22 +0100)]
Merge Org version 8.2.5c.

10 years agoemacs-lisp/package.el (package-delete): Delete package completely
Bastien Guerry [Tue, 7 Jan 2014 10:58:03 +0000 (11:58 +0100)]
emacs-lisp/package.el (package-delete): Delete package completely

* emacs-lisp/package.el (package-delete): Also delete the package
name from `package-alist', not its description only.

10 years agoReference efaq.info in preference to etc/MORE.STUFF
Glenn Morris [Tue, 7 Jan 2014 08:38:58 +0000 (00:38 -0800)]
Reference efaq.info in preference to etc/MORE.STUFF

* lisp/help.el (view-external-packages):
* lisp/menu-bar.el (menu-bar-help-extra-packages):
Visit efaq.info rather than etc/MORE.STUFF.

10 years agoMerge some info from etc/MORE.STUFF into efaq.texi
Glenn Morris [Tue, 7 Jan 2014 08:35:29 +0000 (00:35 -0800)]
Merge some info from etc/MORE.STUFF into efaq.texi

* doc/misc/efaq.texi (Basic editing, Packages that do not come with Emacs):
Merge in some info from etc/MORE.STUFF.

10 years ago* lisp/isearch.el (isearch-mode-map): Bind [return] and [backspace] to
Juri Linkov [Tue, 7 Jan 2014 07:55:50 +0000 (09:55 +0200)]
* lisp/isearch.el (isearch-mode-map): Bind [return] and [backspace] to
isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)

* lisp/progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
that shadows RET.

10 years agoFix typo in previous
Glenn Morris [Tue, 7 Jan 2014 07:51:20 +0000 (23:51 -0800)]
Fix typo in previous

10 years agoMinor tweak for earlier display.texi change
Glenn Morris [Tue, 7 Jan 2014 07:50:29 +0000 (23:50 -0800)]
Minor tweak for earlier display.texi change

10 years agoExplain recent change to log-view.el
Daniel Colascione [Tue, 7 Jan 2014 06:00:16 +0000 (22:00 -0800)]
Explain recent change to log-view.el

10 years agoMore doc updates.
Chong Yidong [Tue, 7 Jan 2014 04:36:52 +0000 (12:36 +0800)]
More doc updates.

* doc/emacs/search.texi (Special Isearch): Document C-x 8 RET in isearch.
(Word Search): Document incremental word search changes.
(Isearch Yank): Document M-s C-e with a prefix argument.

* doc/lispref/files.texi (Changing Files): Document copy-file changes.

* lisp/isearch.el (isearch-yank-char, isearch-yank-word)
(isearch-yank-line): Doc fix.

10 years ago* doc/lispref/display.texi (Logging Messages): Copyedits re messages-buffer.
Glenn Morris [Tue, 7 Jan 2014 02:56:17 +0000 (21:56 -0500)]
* doc/lispref/display.texi (Logging Messages): Copyedits re messages-buffer.

10 years ago* etc/PROBLEMS: Remove yet more old stuff; more small edits
Glenn Morris [Tue, 7 Jan 2014 02:33:46 +0000 (21:33 -0500)]
* etc/PROBLEMS: Remove yet more old stuff; more small edits

10 years ago* etc/PROBLEMS: More removal of old stuff
Glenn Morris [Tue, 7 Jan 2014 02:11:14 +0000 (21:11 -0500)]
* etc/PROBLEMS: More removal of old stuff

10 years ago* etc/PROBLEMS: Remove some old stuff; other small edits
Glenn Morris [Tue, 7 Jan 2014 02:06:00 +0000 (21:06 -0500)]
* etc/PROBLEMS: Remove some old stuff; other small edits

10 years ago* etc/PROBLEMS: Remove some no-longer relevant stuff re installation
Glenn Morris [Tue, 7 Jan 2014 01:54:51 +0000 (20:54 -0500)]
* etc/PROBLEMS: Remove some no-longer relevant stuff re installation

10 years ago* etc/NEWS: Markup trivia
Glenn Morris [Tue, 7 Jan 2014 01:50:44 +0000 (20:50 -0500)]
* etc/NEWS: Markup trivia

10 years agoDocument calendar-day-header-array
Glenn Morris [Tue, 7 Jan 2014 01:46:23 +0000 (20:46 -0500)]
Document calendar-day-header-array

* doc/emacs/cal-xtra.texi (Calendar Customizing):
Mention calendar-day-header-array.

* etc/NEWS: Markup.

10 years ago* lisp/abbrev.el (define-abbrev): Beware new meaning of fboundp.
Stefan Monnier [Mon, 6 Jan 2014 23:34:05 +0000 (18:34 -0500)]
* lisp/abbrev.el (define-abbrev): Beware new meaning of fboundp.
* lisp/emacs-lisp/elint.el (elint-find-builtins):
* lisp/emacs-lisp/eldoc.el (eldoc-symbol-function):
* lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
(byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
* lisp/apropos.el (apropos-safe-documentation):
* lisp/subr.el (symbol-file): Remove redundant fboundp.
* lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.

10 years agoFix Bug#16183 about `global-hl-line-sticky-flag'.
Bastien Guerry [Mon, 6 Jan 2014 20:54:37 +0000 (21:54 +0100)]
Fix Bug#16183 about `global-hl-line-sticky-flag'.

* hl-line.el (global-hl-line-overlay): Make a local variable.
(global-hl-line-overlays): New variable to store all overlays.
(global-hl-line-mode): Don't delete overlays from the current
buffer when `global-hl-line-sticky-flag' is non-nil.
(global-hl-line-highlight): Add new overlays to
`global-hl-line-overlays'.
(global-hl-line-unhighlight-all): New function to delete all
overlays when turning off `global-hl-line-mode'.

10 years ago* lisp/subr.el (set-transient-map): Fix nested case and docstring.
Stefan Monnier [Mon, 6 Jan 2014 19:29:39 +0000 (14:29 -0500)]
* lisp/subr.el (set-transient-map): Fix nested case and docstring.

10 years agoFix bug #16129 with slow and incorrect redisplay in follow-mode.
Eli Zaretskii [Mon, 6 Jan 2014 16:28:26 +0000 (18:28 +0200)]
Fix bug #16129 with slow and incorrect redisplay in follow-mode.

 src/xdisp.c (redisplay_window): Don't skip window redisplay if the
 last value of point is not equal to buffer's point.

10 years agoAdd `Texinfo' entry to reftex-label-alist-builtin.
Tassilo Horn [Mon, 6 Jan 2014 11:15:42 +0000 (12:15 +0100)]
Add `Texinfo' entry to reftex-label-alist-builtin.

* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
`Texinfo' entry.

10 years agoFix defun navigation in vc log view.
Daniel Colascione [Mon, 6 Jan 2014 07:33:06 +0000 (23:33 -0800)]
Fix defun navigation in vc log view.

10 years agoSpelling fixes.
Paul Eggert [Mon, 6 Jan 2014 06:25:30 +0000 (22:25 -0800)]
Spelling fixes.

* calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
* emacs-lisp/debug.el (cancel-debug-on-entry):
* epg.el (epg-error-to-string):
* files.el (recover-file):
* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
* mail/emacsbug.el (report-emacs-bug-hook):
* mail/sendmail.el (mail-recover):
* ses.el (ses-yank-resize):
* term/ns-win.el (ns-print-buffer):
Spelling fixes in diagnostics, mostly for "canceled" with one L.
* epg.el (epg-key-capability-alist): Rename from misspelled version.
All uses changed.
* obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.

10 years agoSpecify .texi encoding.
Paul Eggert [Mon, 6 Jan 2014 05:25:46 +0000 (21:25 -0800)]
Specify .texi encoding.

* emacs-lisp-intro.texi:
* back.texi, book-spine.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.texi, eieio.texi:
* emacs-gnutls.texi, epa.texi, erc.texi, ert.texi:
* eshell.texi, eudc.texi, flymake.texi, forms.texi, gnus-coding.texi:
* gnus-faq.texi, htmlfontify.texi, idlwave.texi, ido.texi, info.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.

10 years ago* dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
Leo Liu [Mon, 6 Jan 2014 05:04:57 +0000 (13:04 +0800)]
* dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
to avoid shadowning global key.

Fixes: debbugs:16354

10 years agorst-mode indentation is non-deterministic, so inhibit electric indentation
Daniel Colascione [Mon, 6 Jan 2014 03:58:59 +0000 (19:58 -0800)]
rst-mode indentation is non-deterministic, so inhibit electric indentation

10 years agoGnus: Silence the byte compiler
Katsumi Yamaoka [Sun, 5 Jan 2014 23:38:42 +0000 (23:38 +0000)]
Gnus: Silence the byte compiler

10 years agoMore doc updates.
Chong Yidong [Sun, 5 Jan 2014 23:36:13 +0000 (07:36 +0800)]
More doc updates.

* backups.texi (Making Backups): Document backup-buffer change.

* commands.texi (Defining Commands): Document the interactive-form
property more carefully.  Document interactive-only.

* compile.texi (Compiler Errors): Copyedits.  Note that the
details for byte-compile-warnings are in its docstring.

* customize.texi (Variable Definitions): Likewise.

* files.texi (Visiting Files): Copyedits.
(Testing Accessibility): Mention ACLs.  Move file-modes here from
File Attributes.
(Truenames): Move file-equal-p here from Kinds of Files.
(File Attributes): Move file-newer-than-file-p here from Testing
Accessibility.
(Extended Attributes): New node.  Add file-extended-attributes.
(Changing Files): Document set-file-extended-attributes.

* minibuf.texi (Minibuffer Contents): Remove obsolete function
minibuffer-completion-contents.

* variables.texi (Defining Variables): Note that defvar acts
always on the dynamic value.

10 years agoDefine org-level-* faces in tsdh-light theme.
Tassilo Horn [Sun, 5 Jan 2014 20:17:13 +0000 (21:17 +0100)]
Define org-level-* faces in tsdh-light theme.

* etc/themes/tsdh-light-theme.el (tsdh-light): Define org-level-*
faces.

10 years agoIn balance-windows add mising t to fix Bug#16351.
Martin Rudalics [Sun, 5 Jan 2014 16:29:44 +0000 (17:29 +0100)]
In balance-windows add mising t to fix Bug#16351.

* window.el (balance-windows): Add mising t to fix Bug#16351.

10 years agoMake shr do line filling better when encountering very long words
Lars Magne Ingebrigtsen [Sun, 5 Jan 2014 10:23:35 +0000 (11:23 +0100)]
Make shr do line filling better when encountering very long words

(shr-insert): If we have a word that's longer than `shr-width',
break after it anyway.  Otherwise we'll do no breaking once we get
such a long word.

10 years ago* net/shr.el (shr-descend): Don't bug out if the anchor is empty.
Lars Magne Ingebrigtsen [Sun, 5 Jan 2014 09:45:45 +0000 (10:45 +0100)]
* net/shr.el (shr-descend): Don't bug out if the anchor is empty.

Fixes: debbugs:16285

10 years agoMake the eww history browsing work again
Kenjiro NAKAYAMA [Sun, 5 Jan 2014 09:27:26 +0000 (10:27 +0100)]
Make the eww history browsing work again

* net/eww.el (eww-list-histories,eww-history-browse): Fixup.
(eww-history-quit): Delete and use quit-window.
(eww-history-kill): Delete, because it doesn't work well and
not necessary.
(eww-history-mode-map): Delete some keys and add easy-menu.

10 years ago* net/eww.el (eww): Support single/double quote for search.
Kenjiro NAKAYAMA [Sun, 5 Jan 2014 09:25:05 +0000 (10:25 +0100)]
* net/eww.el (eww):  Support single/double quote for search.

10 years agoFix misspelling of 'chinese' in rx.
Paul Eggert [Sun, 5 Jan 2014 06:10:52 +0000 (22:10 -0800)]
Fix misspelling of 'chinese' in rx.

* lisp/emacs-lisp/rx.el (rx-categories): Correct spelling of
chinese-two-byte.

Fixes: debbugs:16237

10 years agoChange subword regexps back to vars.
Paul Eggert [Sun, 5 Jan 2014 05:49:44 +0000 (21:49 -0800)]
Change subword regexps back to vars.

* progmodes/subword.el (subword-forward-regexp)
(subword-backward-regexp): Change these back to variables.

Fixes: debbugs:16296

10 years agoSpelling fix.
Paul Eggert [Sun, 5 Jan 2014 04:56:23 +0000 (20:56 -0800)]
Spelling fix.

10 years agoSpelling fixes.
Paul Eggert [Sun, 5 Jan 2014 02:56:08 +0000 (18:56 -0800)]
Spelling fixes.

* lib-src/Makefile.in (regex.o): Remove reference to no-longer-used macros
CONFIG_BROKETS and INHIBIT_STRING_HEADER.  "BROKETS" was a
misspelling anyway....
* src/nsterm.h (updateCollectionBehavior): Rename from
updateCollectionBehaviour.  All uses changed.

10 years agoDocument vconcat and the empty vector (Bug#16246).
Paul Eggert [Sun, 5 Jan 2014 01:33:33 +0000 (17:33 -0800)]
Document vconcat and the empty vector (Bug#16246).

* sequences.texi (Vector Functions):
Document behavior better when the result is empty.

10 years agoDocument behavior of (string-to-number "+@") (Bug#16293).
Paul Eggert [Sun, 5 Jan 2014 01:24:41 +0000 (17:24 -0800)]
Document behavior of (string-to-number "+@") (Bug#16293).

* strings.texi (String Conversion): Document behavior of
string-to-number on invalid strings that begin with "+", too.

10 years agoFix typo in previous change.
Paul Eggert [Sun, 5 Jan 2014 01:00:32 +0000 (17:00 -0800)]
Fix typo in previous change.

10 years agoPort to GNU/Linux with recent grsecurity/PaX patches (Bug#16343).
Paul Eggert [Sun, 5 Jan 2014 00:55:29 +0000 (16:55 -0800)]
Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343).

Problem and proposed patch reported by Ulrich Mueller;
this patch uses a somewhat-different approach.
* configure.ac (SETFATTR): New variable.
* src/Makefile.in (SETFATTR): New macro.
(temacs$(EXEEXT)): Use it.

10 years agoFix maximization behavior on Windows (Bug#16300).
Martin Rudalics [Sat, 4 Jan 2014 09:31:30 +0000 (10:31 +0100)]
Fix maximization behavior on Windows (Bug#16300).

Fix maximization behavior on Windows (Bug#16300).
* w32fns.c (w32_fullscreen_rect): Don't handle
FULLSCREEN_MAXIMIZED and FULLSCREEN_NONE specially.
* w32term.c (w32fullscreen_hook): Use SetWindowPlacement instead
of SetWindowPos.  Restore last placement also when leaving
FULLSCREEN_HEIGHT and FULLSCREEN_WIDTH.  Call ShowWindow in all
but the FULLSCREEN_BOTH case.

10 years ago* admin/admin.el (manual-html-fix-index-2): Fix minor Texinfo 4 issue
Glenn Morris [Sat, 4 Jan 2014 03:18:33 +0000 (19:18 -0800)]
* admin/admin.el (manual-html-fix-index-2): Fix minor Texinfo 4 issue
with start of detailed menu.

10 years ago* admin.el (manual-html-fix-index-2): Tweak previous change.
Glenn Morris [Sat, 4 Jan 2014 02:35:45 +0000 (18:35 -0800)]
* admin.el (manual-html-fix-index-2): Tweak previous change.

10 years agoYet more Texinfo 5 tweaks for admin.el's make-manuals
Glenn Morris [Sat, 4 Jan 2014 02:31:56 +0000 (18:31 -0800)]
Yet more Texinfo 5 tweaks for admin.el's make-manuals

* admin.el (manual-html-fix-node-div): Handle Texinfo 5's movable <hr>.
(manual-html-fix-index-2): Tweak Texinfo 5 table format.

10 years ago* eshell.texi (What Eshell is not): Clean up confusing clause.
Aidan Gauland [Fri, 3 Jan 2014 23:14:16 +0000 (12:14 +1300)]
* eshell.texi (What Eshell is not): Clean up confusing clause.

10 years ago* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
Stefan Monnier [Fri, 3 Jan 2014 22:38:55 +0000 (17:38 -0500)]
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
syntax-begin-function.

Fixes: debbugs:16247

10 years agoReverted 2014-01-02T21:05:34Z!vincentb1@users.sourceforge.net.
Vincent Belaïche [Fri, 3 Jan 2014 14:18:24 +0000 (15:18 +0100)]
Reverted 2014-01-02T21:05:34Z!vincentb1@users.sourceforge.net.

10 years agoReverted 2014-01-02T22:54:37Z!vincentb1@users.sourceforge.net.
Vincent Belaïche [Fri, 3 Jan 2014 14:15:53 +0000 (15:15 +0100)]
Reverted 2014-01-02T22:54:37Z!vincentb1@users.sourceforge.net.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 3 Jan 2014 11:21:25 +0000 (06:21 -0500)]
Auto-commit of loaddefs files.

10 years agoPort to C89.
Paul Eggert [Fri, 3 Jan 2014 06:47:27 +0000 (22:47 -0800)]
Port to C89.

* data.c (arithcompare_driver):
* fileio.c (Fcar_less_than_car):
* fns.c (internal_equal):
* frame.c (delete_frame):
* lisp.h (enum More_Lisp_Bits):
* lread.c (read1):
Avoid C99 constructs that don't work in C89.
* data.c (ULL_MAX, count_trailing_zeros_ll): New macros,
to port to C89, which doesn't have 'long long'.
(count_trailing_zero_bits): Use them.

10 years agoWhitespace fixes for recently-added code.
Paul Eggert [Fri, 3 Jan 2014 06:42:23 +0000 (22:42 -0800)]
Whitespace fixes for recently-added code.

10 years agoLisp manaual improvements re docstrings
Chong Yidong [Fri, 3 Jan 2014 05:49:06 +0000 (13:49 +0800)]
Lisp manaual improvements re docstrings

* doc/lispref/compile.texi (Docs and Compilation): Copyedits.

* doc/lispref/help.texi (Documentation, Accessing Documentation): Copyedits.
(Documentation Basics): Rewrite, avoiding a repeat discussion of
docstring conventions.

* doc/lispref/tips.texi (Documentation Tips): Move discussion of
emacs-lisp-docstring-fill-column here from Documentation Basics.

10 years agoRemove the dynamic-docstring-function feature.
Chong Yidong [Fri, 3 Jan 2014 05:37:58 +0000 (13:37 +0800)]
Remove the dynamic-docstring-function feature.

* emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
Ignore function-documentation property when getting documentation.
(ad-activate-advised-definition): Use function-documentation
generate the docstring.
(ad-make-advised-definition): Don't call
ad-make-advised-definition-docstring.
(ad-make-advised-definition-docstring, ad-advised-definition-p):
Delete functions.

* emacs-lisp/nadvice.el (advice--make-docstring): Change args.
(advice--docstring): Delete variable.
(advice--make-1): Leave the docstring empty.
(advice-add): Use function-documentation for advised docstring.

* progmodes/sql.el (sql-help): Use function-documentation instead
of dynamic-docstring-function property.  No need to autoload now.
(sql--help-docstring): New variable.
(sql--make-help-docstring): Use it.

* doc.c (Fdocumentation): Remove dynamic-docstring-function.

10 years ago* lisp/ielm.el (ielm-tab): Retarget.
Stefan Monnier [Fri, 3 Jan 2014 05:10:52 +0000 (00:10 -0500)]
* lisp/ielm.el (ielm-tab): Retarget.
(ielm-map): Use ielm-tab for tab.
(ielm-complete-filename): Use comint-filename-completion.
(ielm-complete-symbol): Remove.
(inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
remove ielm-tab from completion-at-point-functions.

Fixes: debbugs:16224

10 years ago* lisp/emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
Stefan Monnier [Fri, 3 Jan 2014 04:40:30 +0000 (23:40 -0500)]
* lisp/emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
Beware signals raised by predicates.

Fixes: debbugs:16201

10 years agoFix typo.
Michael Albinus [Fri, 3 Jan 2014 04:10:07 +0000 (05:10 +0100)]
Fix typo.

10 years agoMore Texinfo 5 updates for make-manuals (not yet finished)
Glenn Morris [Fri, 3 Jan 2014 03:24:27 +0000 (19:24 -0800)]
More Texinfo 5 updates for make-manuals (not yet finished)

* admin/admin.el (manual-html-fix-headers): Tweak Texinfo 5 body.
(manual-html-fix-node-div): Treat "header" like "node".
(manual-html-fix-index-1): Handle Texinfo 5 top heading.
(manual-html-fix-index-2): Tweak Texinfo 5 listing tables.

10 years ago* doc/misc/efaq-w32.texi, reftex.texi: Use @insertcopying in non-TeX.
Glenn Morris [Fri, 3 Jan 2014 03:15:01 +0000 (19:15 -0800)]
* doc/misc/efaq-w32.texi, reftex.texi: Use @insertcopying in non-TeX.

10 years ago* ede.texi, eieio.texi, semantic.texi, srecode.texi: Add copyright notice
Glenn Morris [Fri, 3 Jan 2014 03:13:58 +0000 (19:13 -0800)]
* ede.texi, eieio.texi, semantic.texi, srecode.texi: Add copyright notice
to titlepage.

10 years ago* doc/misc/dbus.texi, nxml-mode.texi, widget.texi: Add titlepage.
Glenn Morris [Fri, 3 Jan 2014 03:07:20 +0000 (19:07 -0800)]
* doc/misc/dbus.texi, nxml-mode.texi, widget.texi: Add titlepage.

10 years ago* doc/misc/ert.texi: Add a titlepage. Use @insertcopying.
Glenn Morris [Fri, 3 Jan 2014 03:00:39 +0000 (19:00 -0800)]
* doc/misc/ert.texi: Add a titlepage.  Use @insertcopying.

10 years ago* doc/misc/calc.texi (Top): Use @top rather than @chapter.
Glenn Morris [Fri, 3 Jan 2014 02:53:29 +0000 (18:53 -0800)]
* doc/misc/calc.texi (Top): Use @top rather than @chapter.

10 years agoMerge from gnulib.
Paul Eggert [Fri, 3 Jan 2014 01:59:58 +0000 (17:59 -0800)]
Merge from gnulib.

This incorporates:
2014-01-02 manywarnings: remove -Wmudflap
This ports better to GCC 4.9-to-be.

10 years ago* eshell.text (top): Fix incorrect use of xref.
Aidan Gauland [Fri, 3 Jan 2014 01:55:15 +0000 (14:55 +1300)]
* eshell.text (top): Fix incorrect use of xref.

10 years agoCorrect ses--file-format checking.
Vincent Belaïche [Thu, 2 Jan 2014 22:54:37 +0000 (23:54 +0100)]
Correct ses--file-format checking.

10 years agodired-do-print handles printer-name
Richard M. Stallman [Thu, 2 Jan 2014 22:35:00 +0000 (17:35 -0500)]
dired-do-print handles printer-name

* dired-aux.el (dired-do-print): Handle printer-name.

10 years agoMinor rmail fixes.
Richard M. Stallman [Thu, 2 Jan 2014 22:30:32 +0000 (17:30 -0500)]
Minor rmail fixes.

* mail/rmail.el (rmail-get-coding-function): Variable.
(rmail-get-coding-system): Use it.

* mail/rmail.el (rmail-make-in-reply-to-field):
Add parens in message-id.

* mail/rmailmm.el (rmail-mime-message-p): Moved to rmail.el.
* mail/rmail.el (rmail-mime-message-p): Moved from rmailmm.el.
(rmail-epa-decrypt): Turn off mime processing.

10 years agoAdd support for local printer functions in SES.
Vincent Belaïche [Thu, 2 Jan 2014 21:05:34 +0000 (22:05 +0100)]
Add support for local printer functions in SES.

10 years ago* eshell.text (top): Fix incorrect info filename in an xref.
Aidan Gauland [Thu, 2 Jan 2014 20:17:19 +0000 (09:17 +1300)]
* eshell.text (top): Fix incorrect info filename in an xref.

10 years ago* doc/misc/Makefile.in (cc_mode_deps): Rename from (typo) ccmode_deps.
Glenn Morris [Thu, 2 Jan 2014 19:19:20 +0000 (11:19 -0800)]
* doc/misc/Makefile.in (cc_mode_deps): Rename from (typo) ccmode_deps.

10 years agoAdd 2014 to more copyright years
Glenn Morris [Thu, 2 Jan 2014 19:18:24 +0000 (11:18 -0800)]
Add 2014 to more copyright years

10 years ago* doc/lispref/numbers.texi (Numeric Conversions): Fix a typo.
Glenn Morris [Thu, 2 Jan 2014 19:17:48 +0000 (11:17 -0800)]
* doc/lispref/numbers.texi (Numeric Conversions): Fix a typo.
Also some ChangeLog fixes.

10 years agoFurther adjust frame/window scrollbar width calculations.
Martin Rudalics [Thu, 2 Jan 2014 15:58:48 +0000 (16:58 +0100)]
Further adjust frame/window scrollbar width calculations.

* window.c (apply_window_adjustment): Set
windows_or_buffers_changed.
(Fwindow_scroll_bars): Return actual scrollbar width.
* xfns.c (x_set_scroll_bar_default_width): Rename wid to unit.
For non-toolkit builds again use 14 as minimum width and set
FRAME_CONFIG_SCROLL_BAR_WIDTH accordingly.
* xterm.c (XTset_vertical_scroll_bar): Take width from
WINDOW_SCROLL_BAR_AREA_WIDTH.
(x_new_font): Rename wid to unit.  Base calculation of new
scrollbar width on toolkit used and make it analogous to that of
x_set_scroll_bar_default_width.
* w32fns.c (x_set_scroll_bar_default_width): Rename wid to unit.
(Fx_create_frame): Call x_set_scroll_bar_default_width instead
of GetSystemMetrics.
* w32term.c (w32_set_vertical_scroll_bar): Take width from
WINDOW_SCROLL_BAR_AREA_WIDTH.
(x_new_font): Make it correspond to changes in xterm.c.

10 years ago* NEWS: Explain, why xesam.el is obsolete.
Michael Albinus [Thu, 2 Jan 2014 09:40:11 +0000 (10:40 +0100)]
* NEWS: Explain, why xesam.el is obsolete.

10 years ago* eshell.text (Command Basics): Removed `Command basics' chapter.
Aidan Gauland [Thu, 2 Jan 2014 09:32:20 +0000 (22:32 +1300)]
* eshell.text (Command Basics): Removed `Command basics' chapter.

10 years ago* eshell.text (What is Eshell?): Add section about what not to use Eshell for.
Aidan Gauland [Thu, 2 Jan 2014 09:27:46 +0000 (22:27 +1300)]
* eshell.text (What is Eshell?): Add section about what not to use Eshell for.

10 years ago* admin/check-doc-strings: Replace `perl -w' with `use warnings;'.
Xue Fuqiao [Thu, 2 Jan 2014 08:47:40 +0000 (16:47 +0800)]
* admin/check-doc-strings: Replace `perl -w' with `use warnings;'.

10 years agoPrefer ASCII in doc and comments when the difference does not matter.
Paul Eggert [Wed, 1 Jan 2014 23:13:59 +0000 (15:13 -0800)]
Prefer ASCII in doc and comments when the difference does not matter.

10 years ago* lisp.h (EMACS_INT): Configure based on INTPTR_MAX, not LONG_MAX.
Paul Eggert [Wed, 1 Jan 2014 19:27:41 +0000 (11:27 -0800)]
* lisp.h (EMACS_INT): Configure based on INTPTR_MAX, not LONG_MAX.

This is a cleaner way to fix the MinGW-w64 porting problem.
Check for INTPTR_MAX misconfiguration.

10 years agoFix bug #16265 with buffer caches when modifying text in indirect buffers.
Eli Zaretskii [Wed, 1 Jan 2014 17:44:48 +0000 (19:44 +0200)]
Fix bug #16265 with buffer caches when modifying text in indirect buffers.

 src/search.c (newline_cache_on_off, find_newline): In indirect
 buffers, use the newline cache of the base buffer.
 src/insdel.c (invalidate_buffer_caches): If BUF is an indirect
 buffer, invalidate the caches of its base buffer.
 src/indent.c (width_run_cache_on_off, compute_motion): In indirect
 buffers, use the width-run cache of the base buffer.
 src/xdisp.c (redisplay_window): When the window displays an indirect
 buffer, and the character widths in the display table have
 changed, invalidate the width-run cache of the corresponding base
 buffer.
 src/fileio.c (Finsert_file_contents): When invalidating the newline
 cache, consider the case of inserting into indirect buffer.
 src/bidi.c (bidi_paragraph_cache_on_off, bidi_find_paragraph_start):
 In indirect buffers, use the paragraph cache of the base buffer.

10 years agoFix copyright years by hand.
Paul Eggert [Wed, 1 Jan 2014 08:31:29 +0000 (00:31 -0800)]
Fix copyright years by hand.

These are dates that admin/update-copyright did not update,
or updated incorrectly.

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.