bpt/emacs.git
10 years agolisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.
Juanma Barranquero [Sun, 23 Mar 2014 18:13:35 +0000 (19:13 +0100)]
lisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.

10 years agosrc/w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.
Juanma Barranquero [Sun, 23 Mar 2014 18:11:18 +0000 (19:11 +0100)]
src/w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.

10 years agoFix up recent merge ChangeLog duplication
Glenn Morris [Sun, 23 Mar 2014 17:56:34 +0000 (10:56 -0700)]
Fix up recent merge ChangeLog duplication

Perhaps the merge was done without using bzrmerge.el

10 years agoFurther improve XIM init
Daniel Colascione [Sun, 23 Mar 2014 11:45:17 +0000 (04:45 -0700)]
Further improve XIM init

10 years agoFurther improve create_frame_xic patch
Daniel Colascione [Sun, 23 Mar 2014 11:35:21 +0000 (04:35 -0700)]
Further improve create_frame_xic patch

10 years agoMake Emacs work with ibus
Daniel Colascione [Sun, 23 Mar 2014 10:57:25 +0000 (03:57 -0700)]
Make Emacs work with ibus

10 years agoImprove XIC fix
Daniel Colascione [Sun, 23 Mar 2014 10:56:30 +0000 (03:56 -0700)]
Improve XIC fix

10 years agoWork around flaky XIM modules
Daniel Colascione [Sun, 23 Mar 2014 10:24:51 +0000 (03:24 -0700)]
Work around flaky XIM modules

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 23 Mar 2014 10:24:01 +0000 (06:24 -0400)]
Auto-commit of loaddefs files.

10 years agoNotice when gfilenotify depends on glib
Daniel Colascione [Sun, 23 Mar 2014 09:17:29 +0000 (02:17 -0700)]
Notice when gfilenotify depends on glib

10 years agoImprove init_tty readability
Daniel Colascione [Sun, 23 Mar 2014 08:29:43 +0000 (01:29 -0700)]
Improve init_tty readability

10 years agoMerge capitalized-words-mode and subword-mode
Daniel Colascione [Sun, 23 Mar 2014 07:36:26 +0000 (00:36 -0700)]
Merge capitalized-words-mode and subword-mode

10 years agoMerge from emacs-24; up to 2014-03-21T23:16:26Z!rms@gnu.org
Daniel Colascione [Sun, 23 Mar 2014 06:02:36 +0000 (23:02 -0700)]
Merge from emacs-24; up to 2014-03-21T23:16:26Z!rms@gnu.org

10 years agoFix keyword argument parsing. Please bootstrap.
Daniel Colascione [Sun, 23 Mar 2014 06:00:18 +0000 (23:00 -0700)]
Fix keyword argument parsing. Please bootstrap.

10 years agoFix cl-defun keyword arg parsing. Please bootstrap.
Daniel Colascione [Sun, 23 Mar 2014 05:50:24 +0000 (22:50 -0700)]
Fix cl-defun keyword arg parsing.  Please bootstrap.

10 years agoDon't underflow datagram_address array
Daniel Colascione [Sun, 23 Mar 2014 05:15:48 +0000 (22:15 -0700)]
Don't underflow datagram_address array

10 years agoFix test failure in non-graphical mode
Dmitry Gutov [Sun, 23 Mar 2014 03:26:13 +0000 (05:26 +0200)]
Fix test failure in non-graphical mode

* test/automated/package-test.el (package-test-describe-package):
Fix test failure in non-graphical mode.

Add some missing ChangeLog entries.

10 years agoBackport Yeeloong battery.el fix from trunk
Richard M. Stallman [Sun, 23 Mar 2014 00:08:47 +0000 (17:08 -0700)]
Backport Yeeloong battery.el fix from trunk

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00782.html

* lisp/battery.el (battery-linux-sysfs):
Search for each field from the beginning of the buffer.

10 years ago* efaq.texi: Remove cindex that no longer applies after previous change
Glenn Morris [Sat, 22 Mar 2014 23:58:15 +0000 (16:58 -0700)]
* efaq.texi: Remove cindex that no longer applies after previous change

10 years agoMake dired-read-regexp obsolete
Glenn Morris [Sat, 22 Mar 2014 23:56:19 +0000 (16:56 -0700)]
Make dired-read-regexp obsolete

It's not worth having such a trivial wrapper for read-regexp.

* lisp/dired.el (dired-read-regexp): Make obsolete.
(dired-mark-files-regexp, dired-mark-files-containing-regexp)
(dired-flag-files-regexp):
* lisp/dired-aux.el (dired-mark-read-regexp):
* lisp/dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.

10 years agoMake some files in etc obsolete
Glenn Morris [Sat, 22 Mar 2014 23:47:20 +0000 (16:47 -0700)]
Make some files in etc obsolete

These are old copies of online information that is not Emacs-specific.

* etc/CENSORSHIP, etc/GNU, etc/LINUX-GNU, etc/THE-GNU-PROJECT, etc/WHY-FREE:
Replace contents with pointers to www.gnu.org or emacs.info, mark obsolete.

* src/callproc.c (init_callproc): In etc, look for NEWS rather than GNU.

* lisp/startup.el (fancy-startup-text):
* lisp/help.el (describe-gnu-project): Visit online info about GNU project.

* doc/emacs/help.texi (Help Files): Update C-h g description.

* doc/misc/efaq.texi (Informational files for Emacs): Do not mention etc/GNU.

* admin/notes/copyright: Remove references to these files.

* etc/MACHINES, etc/NEWS.19: Replace references to these files.

10 years agoReduce duplication in lib-src etags/ctags rules
Glenn Morris [Sat, 22 Mar 2014 23:08:41 +0000 (16:08 -0700)]
Reduce duplication in lib-src etags/ctags rules

* lib-src/Makefile.in (etags_deps, etags_args): New, to reduce duplication.
(etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.

10 years agoUse $@ more in lib-src/Makefile.in
Glenn Morris [Sat, 22 Mar 2014 23:06:29 +0000 (16:06 -0700)]
Use $@ more in lib-src/Makefile.in

* lib-src/Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
(profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
(emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
(update-game-score${EXEEXT}, emacsclient.res): Use $@.

10 years ago* lib-src/Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
Glenn Morris [Sat, 22 Mar 2014 23:02:13 +0000 (16:02 -0700)]
* lib-src/Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.

10 years ago* etc/PROBLEMS: Small copyedits.
Glenn Morris [Sat, 22 Mar 2014 22:56:29 +0000 (15:56 -0700)]
* etc/PROBLEMS: Small copyedits.

10 years agoRemove lib-src/test-distrib.c and related
Glenn Morris [Sat, 22 Mar 2014 22:52:47 +0000 (15:52 -0700)]
Remove lib-src/test-distrib.c and related

The class of problems that this was designed to detect, namely .elc
files getting corrupted by being passed around by email via uuencode
or somesuch, has not been a relevant concern for many years.

* lib-src/test-distrib.c, lib-src/testfile: Remove.

* lib-src/Makefile.in (DONT_INSTALL): Remove test-distrib.
(test-distrib${EXEEXT}): Remove rule.

* make-dist: Do not distribute lib-src/testfile.

* admin/quick-install-emacs (AVOID): Remove testfile and test-distrib.

* INSTALL, etc/PROBLEMS, admin/notes/unicode:
Remove references to test-distrib and testfile.

10 years agoInclude interactive-only information in describe-function output
Glenn Morris [Sat, 22 Mar 2014 22:36:29 +0000 (15:36 -0700)]
Include interactive-only information in describe-function output

* lisp/help-fns.el (help-fns--interactive-only): New function.
(help-fns-describe-function-functions): Add the above function.

* lisp/simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
(next-line, previous-line): Remove hand-written interactive-only
information from doc strings, it is auto-generated now.

* lisp/bookmark.el (bookmark-write):
* lisp/epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
(epa-mail-import-keys): Mark interactive-only,
and remove hand-written interactive-only information from doc strings.

* lisp/epa.el (epa-decrypt-armor-in-region, epa-verify-region)
(epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
* lisp/files.el (not-modified):
* lisp/simple.el (mark-whole-buffer): Mark interactive-only.

* doc/lispref/commands.texi (Defining Commands):
Mention that interactive-only also affects describe-function.

* etc/NEWS: Mention this.

10 years agoAllow `declare' to set the interactive-only property
Glenn Morris [Sat, 22 Mar 2014 22:12:52 +0000 (15:12 -0700)]
Allow `declare' to set the interactive-only property

* lisp/emacs-lisp/byte-run.el (defun-declarations-alist):
Add interactive-only.  Doc tweak.
(macro-declarations-alist): Doc tweak.

* lisp/subr.el (declare): Doc tweak (add xref to manual).

* lisp/comint.el (comint-run):
* lisp/files.el (insert-file-literally, insert-file):
* lisp/replace.el (replace-string, replace-regexp):
* lisp/simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
(delete-forward-char, goto-line, insert-buffer, next-line)
(previous-line): Set interactive-only via declare.

* doc/lispref/functions.texi (Declare Form): Add interactive-only.

* doc/lispref/commands.texi (Defining Commands) Mention declare.

* etc/NEWS: Mention this.

10 years agoMerge from emacs-24; up to 2014-03-21T21:27:25Z!dancol@dancol.org
Glenn Morris [Sat, 22 Mar 2014 21:44:04 +0000 (14:44 -0700)]
Merge from emacs-24; up to 2014-03-21T21:27:25Z!dancol@dancol.org

10 years ago* lispref/commands.texi (Defining Commands): Tweak previous change.
Glenn Morris [Sat, 22 Mar 2014 21:41:31 +0000 (14:41 -0700)]
* lispref/commands.texi (Defining Commands): Tweak previous change.

10 years ago* lispref/commands.texi (Defining Commands): List interactive-only values.
Glenn Morris [Sat, 22 Mar 2014 19:54:48 +0000 (12:54 -0700)]
* lispref/commands.texi (Defining Commands): List interactive-only values.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 22 Mar 2014 10:18:10 +0000 (06:18 -0400)]
Auto-commit of loaddefs files.

10 years agoFix bug#16873
Dmitry Gutov [Sat, 22 Mar 2014 08:43:30 +0000 (10:43 +0200)]
Fix bug#16873

* lisp/emacs-lisp/package.el (package-desc): Use the contents of the
quoted form, not its cdr.

10 years agodoc/lispref/functions.texi (Core Advising Primitives): Fix cross-reference in last...
Eli Zaretskii [Sat, 22 Mar 2014 08:35:03 +0000 (10:35 +0200)]
doc/lispref/functions.texi (Core Advising Primitives): Fix cross-reference in last change.

10 years agoRevert last commit.
Eli Zaretskii [Sat, 22 Mar 2014 08:28:20 +0000 (10:28 +0200)]
Revert last commit.

10 years agoFix bug #16694 with face attributes changed by themes.
Matthias Dahl [Sat, 22 Mar 2014 08:18:42 +0000 (10:18 +0200)]
Fix bug #16694 with face attributes changed by themes.

 lisp/faces.el (face-spec-recalc): Doc fix.  Call
 make-face-x-resource-internal earlier, and condition that on
 no-init-from-resources being nil.

10 years ago* help.el (temp-buffer-setup-hook): Remove help-mode-setup.
Leo Liu [Sat, 22 Mar 2014 08:13:46 +0000 (16:13 +0800)]
* help.el (temp-buffer-setup-hook): Remove help-mode-setup.
(temp-buffer-show-hook): Remove help-mode-finish.

Fixes: debbugs:16038

10 years agoDo not read uninitialized memory in conv_sockaddr_to_lisp
Daniel Colascione [Sat, 22 Mar 2014 03:04:53 +0000 (20:04 -0700)]
Do not read uninitialized memory in conv_sockaddr_to_lisp

10 years agoDo not read unitialized memory in conv_sockaddr_to_lisp
Daniel Colascione [Sat, 22 Mar 2014 03:04:24 +0000 (20:04 -0700)]
Do not read unitialized memory in conv_sockaddr_to_lisp

10 years agolisp/w32-common-fns.el (x-selection-owner-p): Get documentation from DOC.
Juanma Barranquero [Sat, 22 Mar 2014 00:24:00 +0000 (01:24 +0100)]
lisp/w32-common-fns.el (x-selection-owner-p): Get documentation from DOC.
Add empty docstring for the benefit of doc.c; change parameter profile
to match the X function.

10 years agoFix bugs that screwed M-x battery on Yeeloong
Richard M. Stallman [Fri, 21 Mar 2014 23:20:31 +0000 (19:20 -0400)]
Fix bugs that screwed M-x battery on Yeeloong

* lisp/battery.el (battery-linux-sysfs): Search for each field
from the beginning of the buffer.

10 years agoAvoid GC crashes.
Richard M. Stallman [Fri, 21 Mar 2014 23:16:26 +0000 (19:16 -0400)]
Avoid GC crashes.

* lisp/subr.el (set-transient-map): Clear out function and value
of the temporary symbol when we're done with it.

10 years ago*** empty log message ***
Richard M. Stallman [Fri, 21 Mar 2014 23:10:32 +0000 (19:10 -0400)]
*** empty log message ***

10 years agoMake Rmail delete and undelete commands handle repeat count.
Richard M. Stallman [Fri, 21 Mar 2014 23:09:02 +0000 (19:09 -0400)]
Make Rmail delete and undelete commands handle repeat count.

* lisp/mail/rmail.el (rmail-delete-message): Update summary.
(rmail-undelete-previous-message): Handle repeat count arg.
(rmail-delete-backward, rmail-delete-forward): Likewise.

* lisp/mail/rmailsum.el (rmail-summary-delete-forward):
Optimize case of reaching end and handling count.
(rmail-summary-mark-deleted): Optimize when N is current msg.
Don't create new summary line.
(rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
(rmail-summary-undelete-many): Rewrite for speed.
(rmail-summary-msg-number): New function.

10 years ago* doc/lispref/functions.texi (Advising Functions): Explain a bit more how
Stefan Monnier [Fri, 21 Mar 2014 21:47:52 +0000 (17:47 -0400)]
* doc/lispref/functions.texi (Advising Functions): Explain a bit more how
arguments work.
(Advice combinators): New node.
(Core Advising Primitives): Use it.  Expand description of "depth".
(Advising Named Functions): Document limitation of advices on macros.

10 years agoAdd memory information to bug reports
Daniel Colascione [Fri, 21 Mar 2014 21:27:25 +0000 (14:27 -0700)]
Add memory information to bug reports

10 years agoMerge from emacs-24; up to 2014-03-21T08:51:02Z!eliz@gnu.org
Glenn Morris [Fri, 21 Mar 2014 19:04:57 +0000 (12:04 -0700)]
Merge from emacs-24; up to 2014-03-21T08:51:02Z!eliz@gnu.org

10 years agoIncrease default history-length from 30 to 100
Glenn Morris [Fri, 21 Mar 2014 17:04:50 +0000 (13:04 -0400)]
Increase default history-length from 30 to 100

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg02008.html

* lisp/cus-start.el (history-length): Bump :version.

* src/minibuf.c (history-length): Increase default from 30 to 100.

10 years ago* net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
Michael Albinus [Fri, 21 Mar 2014 13:02:25 +0000 (14:02 +0100)]
* net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
  and `tramp-copy-env'.

* net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
  (tramp-maybe-open-connection): Handle `tramp-login-env'.

10 years agoCode for previous change
Daniel Colascione [Fri, 21 Mar 2014 12:10:23 +0000 (05:10 -0700)]
Code for previous change

10 years agoFrame icon optimization
Daniel Colascione [Fri, 21 Mar 2014 12:09:57 +0000 (05:09 -0700)]
Frame icon optimization

10 years agoMove might_dump assignment earlier in initialization
Daniel Colascione [Fri, 21 Mar 2014 10:38:41 +0000 (03:38 -0700)]
Move might_dump assignment earlier in initialization

10 years agoAllow lisp allocation via mmap in dumped emacs
Daniel Colascione [Fri, 21 Mar 2014 10:25:10 +0000 (03:25 -0700)]
Allow lisp allocation via mmap in dumped emacs

10 years agoFix regression introduced by patch for Bug#10500.
YAMAMOTO Mitsuharu [Fri, 21 Mar 2014 10:14:10 +0000 (19:14 +0900)]
Fix regression introduced by patch for Bug#10500.
* xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin.
* w32term.c (x_draw_image_relief): Likewise.

10 years agoAllow lisp allocation via mmap in dumped emacs
Daniel Colascione [Fri, 21 Mar 2014 10:13:38 +0000 (03:13 -0700)]
Allow lisp allocation via mmap in dumped emacs

10 years agoBump trunk version to 24.4.50.
Eli Zaretskii [Fri, 21 Mar 2014 10:12:53 +0000 (12:12 +0200)]
Bump trunk version to 24.4.50.

 modified files:
   ChangeLog
   README
   configure.ac
   doc/emacs/emacsver.texi
   doc/man/emacs.1
   msdos/sed2v2.inp
   nt/config.nt
   nt/emacs.rc
   nt/emacsclient.rc
   nt/makefile.w32-in

10 years agoTruly maximize w32 frames with odd fonts and some texi fixes.
Martin Rudalics [Fri, 21 Mar 2014 09:23:22 +0000 (10:23 +0100)]
Truly maximize w32 frames with odd fonts and some texi fixes.

* w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't
constrain frame size in SW_SHOWMAXIMIZED case so we can truly
maximize a frame for odd default fonts.
* frames.texi (Size and Position): In `frame-resize-pixelwise'
description drop remark about frame maximization.
* windows.texi (Display Action Functions): Add description for
`display-buffer-no-window' and explain use of `allow-no-window'
alist entries.

10 years agoExtend and improve w32-shell-execute on MS-Windows.
Eli Zaretskii [Fri, 21 Mar 2014 08:51:02 +0000 (10:51 +0200)]
Extend and improve w32-shell-execute on MS-Windows.

 src/w32fns.c (Fw32_shell_execute) [!CYGWIN]: Use ShellExecuteEx, to
 support more "verbs".

10 years agoDo not allow a dumped Emacs to be dumped
Daniel Colascione [Fri, 21 Mar 2014 07:27:26 +0000 (00:27 -0700)]
Do not allow a dumped Emacs to be dumped

10 years agoDon't set make-backup-files in lisp/Makefile loaddefs rules
Glenn Morris [Fri, 21 Mar 2014 07:22:41 +0000 (00:22 -0700)]
Don't set make-backup-files in lisp/Makefile loaddefs rules

* lisp/Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
Don't set `make-backup-files'.

It doesn't really matter either way, so we might as well not bother.

10 years ago* lisp/electric.el (electric-indent-post-self-insert-function): Add doc.
Glenn Morris [Fri, 21 Mar 2014 07:19:21 +0000 (00:19 -0700)]
* lisp/electric.el (electric-indent-post-self-insert-function): Add doc.

10 years agoCosmetic tweaks for the output of `info-finder'
Glenn Morris [Fri, 21 Mar 2014 07:14:08 +0000 (00:14 -0700)]
Cosmetic tweaks for the output of `info-finder'

* lisp/info.el (info--prettify-description): New function,
to give info-finder descriptions consistent case, punctuation.
(Info-finder-find-node): Use it.  Sort packages.
Refer to "description" rather than "commentary".

10 years ago* lispref/commands.texi (Defining Commands): Copyedit re `interactive-only'.
Glenn Morris [Fri, 21 Mar 2014 07:06:55 +0000 (00:06 -0700)]
* lispref/commands.texi (Defining Commands): Copyedit re `interactive-only'.

10 years agoTiny doc/misc edits
Glenn Morris [Fri, 21 Mar 2014 07:00:21 +0000 (00:00 -0700)]
Tiny doc/misc edits

* doc/misc/ede.texi (ede-linux):
* doc/misc/vip.texi (New Bindings): Tiny copyedits.

10 years agoAdd some standard finder Keywords: to lisp/nxml/*.el.
Glenn Morris [Fri, 21 Mar 2014 06:56:55 +0000 (23:56 -0700)]
Add some standard finder Keywords: to lisp/nxml/*.el.

10 years ago* Makefile.in (all): Depend on `info'.
Glenn Morris [Fri, 21 Mar 2014 06:49:38 +0000 (23:49 -0700)]
* Makefile.in (all): Depend on `info'.

Fixes: debbugs:16626

10 years ago* admin/update_autogen: Auto-detect VCS in use.
Glenn Morris [Fri, 21 Mar 2014 06:39:13 +0000 (23:39 -0700)]
* admin/update_autogen: Auto-detect VCS in use.
(vcs): New variable.
(status, commit, main): Handle git.

10 years ago* etc/NEWS: Add top-level headings for next release
Glenn Morris [Fri, 21 Mar 2014 06:36:08 +0000 (23:36 -0700)]
* etc/NEWS: Add top-level headings for next release
Not sure if it will be "24.5", but does not matter at the moment.

10 years agoFix bug#16826
Dmitry Gutov [Fri, 21 Mar 2014 06:06:52 +0000 (08:06 +0200)]
Fix bug#16826

* lisp/emacs-lisp/package.el (package-compute-transaction):
Use `version-list-<=' to compare the requirement version against
the package version already to be installed.  Update the error
message.

10 years agoFix bug#17050
Dmitry Gutov [Fri, 21 Mar 2014 04:26:39 +0000 (06:26 +0200)]
Fix bug#17050

* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
Add indentation rule for ` @ '.

10 years agolisp/*.el: Fix typos.
Juanma Barranquero [Fri, 21 Mar 2014 01:12:57 +0000 (02:12 +0100)]
lisp/*.el: Fix typos.

* lisp/align.el (align-regexp): Remove superfluous backslash.

* lisp/ffap.el (ffap-ftp-default-user, ffap-url-regexp)
  (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
  (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
  Fix docstring typos.
  (ffap-next): Use C-u in docstring.
  (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
  (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
  Remove superfluous backslashes.
  (ffap-string-at-point): Reflow docstring.

* lisp/server.el (server-host): Reflow docstring.
  (server-unload-function): Fix docstring typo.
  (server-eval-at): Remove superfluous backslash.

* lisp/skeleton.el (skeleton-insert): Remove superfluous backslash.
  (skeleton-insert): Doc fix.
  (skeleton-insert): Reflow docstring.

* lisp/term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
  (tty-color-approximate, tty-color-by-index, tty-color-values)
  (tty-color-desc): Remove superfluous backslashes.

10 years agoBackport doc.c fix from trunk.
Paul Eggert [Fri, 21 Mar 2014 00:10:29 +0000 (17:10 -0700)]
Backport doc.c fix from trunk.

* doc.c (store_function_docstring): Fix pointer signedness mismatch.

10 years agolisp/frameset.el: Make list-registers a bit more informative.
Juanma Barranquero [Fri, 21 Mar 2014 00:03:08 +0000 (01:03 +0100)]
lisp/frameset.el: Make list-registers a bit more informative.

(frameset--print-register): New function.
(frameset-to-register): Use it.

10 years agoBackport doc fix from trunk.
Paul Eggert [Thu, 20 Mar 2014 23:15:19 +0000 (16:15 -0700)]
Backport doc fix from trunk.

* internals.texi (C Integer Types): Prefer 'false' and 'true'
to '0' and '1' for booleans.

10 years ago* electric.el (global-map): Really bind C-j.
Stefan Monnier [Thu, 20 Mar 2014 22:00:20 +0000 (18:00 -0400)]
* electric.el (global-map): Really bind C-j.

Fixes: debbugs:16770

10 years agolisp/progmodes/hideif.el (hif-tokenize): Understand non-decimal floats.
Juanma Barranquero [Thu, 20 Mar 2014 18:22:17 +0000 (19:22 +0100)]
lisp/progmodes/hideif.el (hif-tokenize): Understand non-decimal floats.

10 years agolisp/emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
Juanma Barranquero [Thu, 20 Mar 2014 18:16:47 +0000 (19:16 +0100)]
lisp/emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.

10 years agolisp/skeleton.el (skeleton-autowrap): Mark as obsolete.
Juanma Barranquero [Thu, 20 Mar 2014 18:13:16 +0000 (19:13 +0100)]
lisp/skeleton.el (skeleton-autowrap): Mark as obsolete.

10 years ago* internals.texi (C Integer Types): Prefer 'false' and 'true'
Paul Eggert [Thu, 20 Mar 2014 17:58:01 +0000 (10:58 -0700)]
* internals.texi (C Integer Types): Prefer 'false' and 'true'

to '0' and '1' for booleans.

10 years ago* doc.c (store_function_docstring): Fix pointer signedness mismatch.
Paul Eggert [Thu, 20 Mar 2014 17:42:05 +0000 (10:42 -0700)]
* doc.c (store_function_docstring): Fix pointer signedness mismatch.

10 years ago* lisp/electric.el (electric-newline-and-maybe-indent): New command.
Stefan Monnier [Thu, 20 Mar 2014 17:14:45 +0000 (13:14 -0400)]
* lisp/electric.el (electric-newline-and-maybe-indent): New command.
Bind it globally to C-j.
(electric-indent-mode): Don't mess with the global map any more.
Don't drop the post-self-insert-hook is some buffer is still using it.
* lisp/bindings.el (global-map): Remove C-j binding.

Fixes: debbugs:16770

10 years ago* lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
Stefan Monnier [Thu, 20 Mar 2014 16:00:17 +0000 (12:00 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
the docstring of functions advised before dumping.
* src/doc.c (store_function_docstring): Warn when we don't know where to
put a docstring.
(Fsubstitute_command_keys): Don't advertise the fact that
text-properties are dropped, since we think it's a bug that we'll fix
in 24.5.

Fixes: debbugs:16993

10 years ago* src/frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date.
Stefan Monnier [Thu, 20 Mar 2014 14:09:37 +0000 (10:09 -0400)]
* src/frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date.
* src/xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame.
* src/frame.c (frame_garbaged): Make "docstring" more precise.

10 years ago* src/charset.c (init_charset): When we cannot find the charsets directory,
Glenn Morris [Thu, 20 Mar 2014 01:21:52 +0000 (21:21 -0400)]
* src/charset.c (init_charset): When we cannot find the charsets directory,
mention if EMACSDATA is set.

10 years agoMark tiny change
Glenn Morris [Thu, 20 Mar 2014 01:20:15 +0000 (21:20 -0400)]
Mark tiny change

10 years ago* numbers.texi: Improve and clarify a bit, and fix some minor bugs.
Paul Eggert [Wed, 19 Mar 2014 21:21:01 +0000 (14:21 -0700)]
* numbers.texi: Improve and clarify a bit, and fix some minor bugs.

Remove now-obsolete hypothetical note about negative division,
as the C standard has changed.

10 years ago* fns.c (Frandom): Fix rare bug where the result isn't random.
Paul Eggert [Wed, 19 Mar 2014 21:14:32 +0000 (14:14 -0700)]
* fns.c (Frandom): Fix rare bug where the result isn't random.

10 years agoFix porting inconsistency about rounding to even.
Paul Eggert [Wed, 19 Mar 2014 21:09:08 +0000 (14:09 -0700)]
Fix porting inconsistency about rounding to even.

* doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations):
Document that 'round' and 'fround' round to even.
* src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even.
This way, the unusual !HAVE_RINT case acts like the usual
HAVE_RINT case, and we can fix the documentation accordingly.

10 years ago* lisp/ps-print.el (ps-generate-postscript-with-faces):
Stefan-W. Hahn [Wed, 19 Mar 2014 19:12:50 +0000 (15:12 -0400)]
* lisp/ps-print.el (ps-generate-postscript-with-faces):
Explicitly deactivate the mark.
* lisp/simple.el (deactivate-mark): Update region highlight.

Fixes: debbugs:16866

10 years agoFix minor memory-related problems on MS-Windows revealed by Dr. Memory.
Eli Zaretskii [Wed, 19 Mar 2014 17:43:18 +0000 (19:43 +0200)]
Fix minor memory-related problems on MS-Windows revealed by Dr. Memory.

 src/w32fns.c (reset_modifiers): Zero out keystate[] before using it.
 (w32_wnd_proc): Initialize the dwHoverTime member of
 TRACKMOUSEEVENT structure.

10 years agolisp/emacs-lisp/package.el (describe-package-1): Decode commentary (bug#16733).
Juanma Barranquero [Wed, 19 Mar 2014 16:14:26 +0000 (17:14 +0100)]
lisp/emacs-lisp/package.el (describe-package-1): Decode commentary (bug#16733).

10 years agolisp/iimage.el: Remove obsolete URL from Commentary (bug#17038).
Juanma Barranquero [Wed, 19 Mar 2014 02:24:51 +0000 (03:24 +0100)]
lisp/iimage.el: Remove obsolete URL from Commentary (bug#17038).

10 years agoRecommend not modifying :set's value arg in defcustom (bug#16755).
Juanma Barranquero [Tue, 18 Mar 2014 23:31:17 +0000 (00:31 +0100)]
Recommend not modifying :set's value arg in defcustom (bug#16755).

* doc/lispref/customize.texi (Variable Definitions):
* lisp/custom.el (defcustom): Recommend avoiding
  destructive modification of the value argument of :set.

10 years agoAdd NEWS markup for CEDET.
David Engster [Tue, 18 Mar 2014 21:17:05 +0000 (22:17 +0100)]
Add NEWS markup for CEDET.

10 years ago* doc/lispref/modes.texi (Auto-Indentation): Mention electric-indent variables.
Stefan Monnier [Tue, 18 Mar 2014 21:14:36 +0000 (17:14 -0400)]
* doc/lispref/modes.texi (Auto-Indentation): Mention electric-indent variables.
* doc/misc/cc-mode.texi (Indentation Commands): Remove C-j, since it's not
defined by CC-mode but globally.
(FAQ): Tweak text about RET and auto-indentation.
* doc/misc/vip.texi (Other Vi Commands): Adjust doc of C-j.

10 years agoDocument new EDE features.
David Engster [Tue, 18 Mar 2014 21:12:42 +0000 (22:12 +0100)]
Document new EDE features.

* ede.texi (ede-cpp-root): Document the :compile-command slot.
(ede-linux): Document new variables
`project-linux-build-directory-default' and
`project-linux-architecture-default'.

10 years ago* lisp/simple.el (newline-and-indent): Do autofill.
Stefan Monnier [Tue, 18 Mar 2014 20:49:24 +0000 (16:49 -0400)]
* lisp/simple.el (newline-and-indent): Do autofill.

Fixes: debbugs:17031

10 years agoDelete hunk mistakenly included in previous change.
Richard M. Stallman [Tue, 18 Mar 2014 13:22:01 +0000 (09:22 -0400)]
Delete hunk mistakenly included in previous change.

10 years agoEnsure dired-display-file displays it in other window.
Richard M. Stallman [Tue, 18 Mar 2014 12:07:01 +0000 (08:07 -0400)]
Ensure dired-display-file displays it in other window.

* dired.el (dired-display-file): Force use of other window.

10 years agodoc/lispref/functions.texi (Advising Named Functions): Fix reference.
Juanma Barranquero [Tue, 18 Mar 2014 11:29:33 +0000 (12:29 +0100)]
doc/lispref/functions.texi (Advising Named Functions): Fix reference.