bpt/emacs.git
10 years agoCorreect a minor error introduced into NEWS by my last commit.
Eric S. Raymond [Wed, 8 Jan 2014 23:44:02 +0000 (18:44 -0500)]
Correect a minor error introduced into NEWS by my last commit.

10 years agoRename INSTALL.BZR to UNSTALL.REPOm and carry that through in other files.
Eric S. Raymond [Wed, 8 Jan 2014 23:24:54 +0000 (18:24 -0500)]
Rename INSTALL.BZR to UNSTALL.REPOm and carry that through in other files.

10 years agoIn preparation for the move to git, sanitize out some Bazaar-specific names.
Eric S. Raymond [Wed, 8 Jan 2014 22:57:47 +0000 (17:57 -0500)]
In preparation for the move to git, sanitize out some Bazaar-specific names.

* version.el (emacs-bzr-version): Name changed to
emacs-repository-version.
* loadup.el: Follow through on this name change.
* lisp/mail/emacsbug.el (report-emacs-bug): Factor out any
assumption about the version control system in use.

10 years agoProper help support for EIEIO classes and methods.
David Engster [Wed, 8 Jan 2014 21:59:19 +0000 (22:59 +0100)]
Proper help support for EIEIO classes and methods.

10 years agoRewrite EIEIO help functions and hook them into help system.
David Engster [Wed, 8 Jan 2014 21:30:12 +0000 (22:30 +0100)]
Rewrite EIEIO help functions and hook them into help system.

* help-fns.el (help-fns-describe-function-functions): New
variable to call functions for augmenting help buffers.
(describe-function-1): Remove explicit calls to
`help-fns--compiler-macro', `help-fns--parent-mode' and
`help-fns--obsolete'.  Put them in above new variable instead, and
call them through `run-hook-with-args'.
* emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
`eieio-describe-class'.  Not meant for interactive use anymore,
but to augment existing help buffers.  Remove optional second
argument.  Create proper button for file location.  Rewrite
function to use `insert' instead of `princ' and `prin1' where
possible.
(eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
(eieio-method-def, eieio-class-def): Move further up.
(describe-method, describe-generic, eieio-describe-method): Remove
aliases.
(eieio-help-constructor, eieio-help-generic): Rename from
`eieio-describe-constructor' and `eieio-describe-generic', resp.
Rewrite to use `insert' in the current buffer and use proper help
buttons.
(eieio-help-find-method-definition)
(eieio-help-find-class-definition): Also accept symbols as
arguments.
(eieio-help-mode-augmentation-maybee): Remove.
(eieio-describe-class-sb): Use `describe-function'.
* emacs-lisp/eieio.el (help-fns-describe-function-functions): Add
`eieio-help-generic' and `eieio-help-constructor'.

10 years agoChangeLog fix
Glenn Morris [Wed, 8 Jan 2014 19:39:25 +0000 (14:39 -0500)]
ChangeLog fix
(When reverting a change _immediately_ after making it, just delete
the original ChangeLog entry, rather than adding a new one.)

10 years agoSpelling fixes.
Paul Eggert [Wed, 8 Jan 2014 19:16:10 +0000 (11:16 -0800)]
Spelling fixes.

* lisp/language/china-util.el (hz-ascii-designation):
Rename from hz-ascii-designnation.
(hz-ascii-designation): Rename from hz-ascii-designnation.
All uses changed.
* lisp/cedet/semantic/decorate/include.el (semantic-decoration-mouse-3):
Rename from semantic-decoratiton-mouse-3.  All uses changed.
* lisp/org/org-irc.el (org-irc-ellipsify-description): Rename from
org-irc-elipsify-description.  All uses changed.

10 years agoChangeLog fix
Glenn Morris [Wed, 8 Jan 2014 18:31:35 +0000 (13:31 -0500)]
ChangeLog fix

10 years ago* lisp/url/url-http.el (url-http-create-request): Don't add extra \r\n after
Jarosław Rzeszótko [Wed, 8 Jan 2014 18:29:16 +0000 (13:29 -0500)]
* lisp/url/url-http.el (url-http-create-request): Don't add extra \r\n after
http data.

Fixes: debbugs:16220

10 years agoFix 2014-01-08T11:19:30Z!bzg@gnu.org
Bastien Guerry [Wed, 8 Jan 2014 17:39:31 +0000 (18:39 +0100)]
Fix 2014-01-08T11:19:30Z!bzg@gnu.org

* emacs-lisp/package.el (package-installed-p): Fix my previous
commit (2014-01-08T11:19:30Z!bzg@gnu.org).

10 years ago* lisp/emacs-lisp/package.el (package-delete): Only remove pkg-desc from
Stefan Monnier [Wed, 8 Jan 2014 14:19:27 +0000 (09:19 -0500)]
* lisp/emacs-lisp/package.el (package-delete): Only remove pkg-desc from
package-alist.

10 years agopackage.el: various fixes.
Bastien Guerry [Wed, 8 Jan 2014 11:19:30 +0000 (12:19 +0100)]
package.el: various fixes.

* emacs-lisp/package.el (package-installed-p): First check if the
package name is in package-alist.
(package-delete): Correctly delete the package from package-alist.

10 years agoemacs-lisp/package.el (package--check-signature): Fix download error handling
Daiki Ueno [Wed, 8 Jan 2014 06:25:21 +0000 (15:25 +0900)]
emacs-lisp/package.el (package--check-signature): Fix download error handling

* emacs-lisp/package.el (url-recreate-url): Declare.
(url-http-target-url): Declare.
(package-handle-response): Include requested URL in the error
message.
(package--check-signature): Don't re-signal errors from
package--with-work-buffer.  Suggested by Stefan Monnier.

10 years agoFix bug 15980
Bastien Guerry [Tue, 7 Jan 2014 23:36:29 +0000 (00:36 +0100)]
Fix bug 15980

* minibuffer.el (completion--try-word-completion): When both a
hyphen and a space are possible candidates for the character
following a word, display both candidates.

10 years agoFix misdisplay of interlaced GIFs with libgif5.
Paul Eggert [Tue, 7 Jan 2014 21:14:32 +0000 (13:14 -0800)]
Fix misdisplay of interlaced GIFs with libgif5.

* image.c (gif_load): libgif5 deinterlaces for us, so don't do
it again.

Fixes: debbugs:16372

10 years agoAdd new hook to augment help buffers.
David Engster [Tue, 7 Jan 2014 20:40:44 +0000 (21:40 +0100)]
Add new hook to augment help buffers.

* help-fns.el (help-fns-describe-function-functions): New variable to
call functions for augmenting help buffers.
(describe-function-1): Remove explicit calls to
`help-fns--compiler-macro', `help-fns--parent-mode' and
`help-fns--obsolete'.  Put them in above new variable instead.  Call
all of them through `run-hook-with-args'.

10 years agoFix some superscript typos in doc/
Glenn Morris [Tue, 7 Jan 2014 18:50:49 +0000 (13:50 -0500)]
Fix some superscript typos in doc/

* doc/lispref/files.texi (File Attributes):
* doc/misc/efaq.texi (Problems with very large files):
Fix superscript typo.

10 years agobuffers.texi: Fix typo in @math construct.
Bastien Guerry [Tue, 7 Jan 2014 18:01:12 +0000 (19:01 +0100)]
buffers.texi: Fix typo in @math construct.

* buffers.texi (Buffers): Fix display of @math content by using
nested braces.  (Bug#16389)

Note that the HTML and plaintext output will use the curly braces
like 2^{61} -- but it's better than to have a wrong display of 2^61
in the PDF and printed versions.

10 years agoFix Bugs 16351 and 16383 when rounding in balance-windows-2.
Martin Rudalics [Tue, 7 Jan 2014 17:16:24 +0000 (18:16 +0100)]
Fix Bugs 16351 and 16383 when rounding in balance-windows-2.

* window.el (balance-windows-2): While rounding don't give a
window more than the remainder.  Bug#16351, Bug#16383.

10 years ago* etc/refcards/orgcard.tex: Revert part of previous change.
Glenn Morris [Tue, 7 Jan 2014 17:13:07 +0000 (09:13 -0800)]
* etc/refcards/orgcard.tex: Revert part of previous change.

10 years agoFix previous change
Glenn Morris [Tue, 7 Jan 2014 16:59:24 +0000 (08:59 -0800)]
Fix previous change

10 years agoChangeLog fixes
Glenn Morris [Tue, 7 Jan 2014 16:55:17 +0000 (08:55 -0800)]
ChangeLog fixes

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.