]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoMerge from emacs-24
Stefan Monnier [Sun, 16 Nov 2014 05:22:20 +0000 (00:22 -0500)]
Merge from emacs-24

9 years ago* lisp/emacs-lisp/backquote.el (backquote-process): Optimize away the ,' case.
Stefan Monnier [Sun, 16 Nov 2014 04:59:50 +0000 (23:59 -0500)]
* lisp/emacs-lisp/backquote.el (backquote-process): Optimize away the ,' case.

9 years agoDon't ignore .gitattributes
Andreas Schwab [Sat, 15 Nov 2014 23:49:38 +0000 (00:49 +0100)]
Don't ignore .gitattributes

Local attributes belong to .git/info/attributes.

9 years agoUse git rev-parse to get repository version
Andreas Schwab [Sat, 15 Nov 2014 22:48:47 +0000 (23:48 +0100)]
Use git rev-parse to get repository version

* version.el (emacs-repository-get-version): Use git rev-parse
instead of git log.

9 years agoBackport 2014-06-30 admin/update_autogen change
Glenn Morris [Sat, 15 Nov 2014 23:16:28 +0000 (18:16 -0500)]
Backport 2014-06-30 admin/update_autogen change

* admin/update_autogen: Auto-detect VCS in use.
(vcs): New variable.
(status, commit, main): Handle git.

9 years agoFixes: debbugs:18432
Fabián Ezequiel Gallina [Sat, 15 Nov 2014 22:02:52 +0000 (19:02 -0300)]
Fixes: debbugs:18432
* lisp/progmodes/python.el (python-indent-calculate-levels): Fix
indentation behavior multiline dedenter statement.

* test/automated/python-tests.el (python-indent-dedenters-8): New test
for Bug#18432.

9 years agoIgnore generated file lib/stdalign.h.
Christoph Scholtes [Sat, 15 Nov 2014 21:11:06 +0000 (14:11 -0700)]
Ignore generated file lib/stdalign.h.

9 years agoFix region indentation
Fabián Ezequiel Gallina [Sat, 15 Nov 2014 21:10:58 +0000 (18:10 -0300)]
Fix region indentation

Fixes: debbugs:18843
* lisp/progmodes/python.el (python-indent-region): Use
python-indent-line and skip special cases.

* test/automated/python-tests.el (python-indent-region-1)
(python-indent-region-2, python-indent-region-3)
(python-indent-region-4, python-indent-region-5): New tests.

9 years ago* net/eww.el (eww-search-words): Mention `eww-search-prefix'.
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 20:18:58 +0000 (21:18 +0100)]
* net/eww.el (eww-search-words): Mention `eww-search-prefix'.

9 years agoEldoc setup code enhancements
Fabián Ezequiel Gallina [Sat, 15 Nov 2014 18:50:30 +0000 (15:50 -0300)]
Eldoc setup code enhancements

Fixes: debbugs:18962
* lisp/progmodes/python.el (python-eldoc-setup-code): Enhance string
type checks, simplify printing.

9 years agoUse cherry-pick -xe instead of git log amend
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 18:25:29 +0000 (19:25 +0100)]
Use cherry-pick -xe instead of git log amend

9 years agoBackport: Fix for 18993.
Jan D [Sat, 15 Nov 2014 18:20:37 +0000 (19:20 +0100)]
Backport: Fix for 18993.

* nsterm.m (ns_send_appdefined): Check for application defined
event on Cocoa (Bug#18993).  Backport from trunk.

9 years agoRedo the fix, the old takes too much CPU.
Jan D [Sat, 15 Nov 2014 18:09:58 +0000 (19:09 +0100)]
Redo the fix, the old takes too much CPU.

Fixes: 18993
* nsterm.m (ns_send_appdefined): Check for application defined
event on Cocoa (Bug#18993).
(run): Restore code before the previous 18993 fix.

9 years agoFix bug #19060 with inaccurate pixel-based scrolling.
Eli Zaretskii [Sat, 15 Nov 2014 17:04:17 +0000 (19:04 +0200)]
Fix bug #19060 with inaccurate pixel-based scrolling.

 src/window.c (window_scroll_pixel_based): Avoid truncation/rounding
 errors in computing the number of pixels to scroll.  Suggested by
 Kelly Dean <kelly@prtime.org>.

9 years agoFix cherry-pick conflict.
Michael Albinus [Sat, 15 Nov 2014 16:53:53 +0000 (17:53 +0100)]
Fix cherry-pick conflict.

9 years agoBackport: Fixes: debbugs:18940
Michael Albinus [Thu, 13 Nov 2014 15:26:51 +0000 (16:26 +0100)]
Backport: Fixes: debbugs:18940

* vc/vc-hg.el (vc-hg-state): Disable pager.

Conflicts:
lisp/ChangeLog

9 years agoAdd a draft of a very simple git workflow
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 16:06:34 +0000 (17:06 +0100)]
Add a draft of a very simple git workflow

9 years agoMark last change as "tiny"
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 15:25:55 +0000 (16:25 +0100)]
Mark last change as "tiny"

9 years ago(report-emacs-bug): Make a better guess at envelope-from
Peder O. Klingenberg [Sat, 15 Nov 2014 15:22:29 +0000 (16:22 +0100)]
(report-emacs-bug): Make a better guess at envelope-from

Fixes: debbugs:19054
* mail/emacsbug.el (report-emacs-bug): Make a better guess at
  envelope-from when reporting through sendmail.

9 years agoFix getting frame size wrong when restoring desktop.
Jan D [Sat, 15 Nov 2014 13:35:15 +0000 (14:35 +0100)]
Fix getting frame size wrong when restoring desktop.

* nsmenu.m (update_frame_tool_bar): If tool bar changes height,
call updateFrameSize.

9 years agoFixes: 18757
Jan D [Sat, 15 Nov 2014 12:39:30 +0000 (13:39 +0100)]
Fixes: 18757
* nsterm.m (setFrame:): Remove call to display (Bug#18757).

9 years agosrc/window.h (WINDOW_FRAME_LINE_HEIGHT): Fix a typo in a comment.
Eli Zaretskii [Sat, 15 Nov 2014 09:25:16 +0000 (11:25 +0200)]
src/window.h (WINDOW_FRAME_LINE_HEIGHT): Fix a typo in a comment.

 Reported by Kelly Dean <kelly@prtime.org>.

9 years ago.gitignore: Add lib-src/blessmail
Teemu Likonen [Sat, 15 Nov 2014 07:10:59 +0000 (09:10 +0200)]
.gitignore: Add lib-src/blessmail

9 years ago* .gitignore: Add a few more missing entries.
Stefan Monnier [Sat, 15 Nov 2014 05:44:14 +0000 (00:44 -0500)]
* .gitignore: Add a few more missing entries.

9 years agoBackport Use derived-mode-p in python.el instead of equality test with major-mode
Ivan Andrus [Sat, 1 Nov 2014 18:33:02 +0000 (12:33 -0600)]
Backport Use derived-mode-p in python.el instead of equality test with major-mode

Fixes: debbugs:18854
* progmodes/python.el (python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.

9 years agoTime-out NS event loop
David Reitter [Fri, 14 Nov 2014 15:56:39 +0000 (10:56 -0500)]
Time-out NS event loop

OS X 10.10 will, at times, not send us the application-defined
event that is used to terminate the event loop.  As a workaround,
we define a timeout and react accordingly.  Leaving it in place
for other OSX and NS versions as a safety net.

Partial revert of 2014-11-08T16:32:37Z!jan.h.d@swipnet.se.

Fixes debbugs:18993

9 years agoUse derived-mode-p in python.el instead of equality test on major-mode
Ivan Andrus [Sat, 1 Nov 2014 18:33:02 +0000 (12:33 -0600)]
Use derived-mode-p in python.el instead of equality test on major-mode

* progmodes/python.el (python-shell-font-lock-kill-buffer):
(python-shell-font-lock-with-font-lock-buffer)
(python-shell-get-buffer, python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.

9 years agoDon't rerun configure if lisp/version.el changes
Andreas Schwab [Fri, 14 Nov 2014 20:44:03 +0000 (21:44 +0100)]
Don't rerun configure if lisp/version.el changes

lisp/version.el is no longer the authority for emacs-version.

* Makefile.in (config.status): Don't depend on
${srcdir}/lisp/version.el.

9 years agoMerge from gnulib.
Paul Eggert [Fri, 14 Nov 2014 20:23:11 +0000 (12:23 -0800)]
Merge from gnulib.

2014-11-14 extern-inline: update commentary about GCC bugs
2014-11-06 unistd: port to iOS
2014-11-04 update from texinfo
* doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4:
Update from gnulib.

9 years agobuild: port to GCC 4.6.4 + glibc 2.5
Paul Eggert [Fri, 14 Nov 2014 20:20:17 +0000 (12:20 -0800)]
build: port to GCC 4.6.4 + glibc 2.5

On platforms this old, building with _FORTIFY_SOURCE equal to 2
results in duplicate definitions of standard library functions.
Problem reported by Nelson H. F. Beebe.
* configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK.
By default, do not enable this unless GNULIB_PORTCHECK is defined.
This better matches the original intent, which as I recall was to
enable these extra checks only with --enable-gcc-warnings.

9 years ago* .gitignore: Add emacs-[1-9]*, to ignore files like emacs-25.0.50.1.
Paul Eggert [Fri, 14 Nov 2014 20:18:44 +0000 (12:18 -0800)]
* .gitignore: Add emacs-[1-9]*, to ignore files like emacs-25.0.50.1.

9 years ago(emacs-repository-get-version): Call `git log' with proper format argument
Ulrich Müller [Fri, 14 Nov 2014 04:03:32 +0000 (05:03 +0100)]
(emacs-repository-get-version): Call `git log' with proper format argument

Fixes: debbugs:19049
* version.el (emacs-repository-get-version): Call `git log'
command with proper format argument (bug#19049).

9 years agoIgnore all built versions of Emacs (and .gitattributes)
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 13:57:16 +0000 (14:57 +0100)]
Ignore all built versions of Emacs (and .gitattributes)

9 years agoCompress publicsuffix file to save space
David Reitter [Fri, 14 Nov 2014 12:22:01 +0000 (07:22 -0500)]
Compress publicsuffix file to save space

* url-domsuf.el (url-domsuf-parse-file): Read compressed
publicsuffix file if available.
* Makefile.in (install-arch-indep): Compress publicsuffix.txt file.

9 years agoAttempt to allocate less font entity objects in xfont_list_pattern
Dmitry Antipov [Fri, 14 Nov 2014 10:40:24 +0000 (13:40 +0300)]
Attempt to allocate less font entity objects in xfont_list_pattern

* xfont.c (xfont_list_pattern): Do not allocate font entity object
for each candidate font but attempt to reuse it from previous improper
candidate, if any.

9 years agoFixes: 19036
Jan Djärv [Fri, 14 Nov 2014 07:41:53 +0000 (08:41 +0100)]
Fixes: 19036
* nsfns.m (x_set_foreground_color, x_set_background_color)
(x_set_cursor_color, Fxw_color_values): Block/unblock input,
use SET_FRAME_GARBAGED instead of redraw_frame (Bug#19036).

9 years agoRename python-shell-virtualenv-path to fit GNU conventions
Fabián Ezequiel Gallina [Fri, 14 Nov 2014 06:26:08 +0000 (03:26 -0300)]
Rename python-shell-virtualenv-path to fit GNU conventions

* lisp/progmodes/python.el (python-shell-virtualenv-root): Rename from
python-shell-virtualenv-path.
(python-shell-internal-get-process-name)
(python-shell-calculate-process-environment)
(python-shell-calculate-exec-path): Use it.

9 years agoFix error preloading bindings.el.
Eli Zaretskii [Fri, 14 Nov 2014 06:14:06 +0000 (08:14 +0200)]
Fix error preloading bindings.el.

 lisp/bindings.el (search-map): Fix last change: don't use 'kbd' in
 bindings.el, since it is not yet loaded when bindings.el is preloaded.

9 years ago* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fabián Ezequiel Gallina [Fri, 14 Nov 2014 05:29:40 +0000 (02:29 -0300)]
* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fix previous merge.

9 years ago* net/eww.el (eww-render): Don't set the title to the URL.
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 04:08:34 +0000 (05:08 +0100)]
* net/eww.el (eww-render): Don't set the title to the URL.

9 years ago(emacs-repository-get-version): Call `git log' with proper format argument
Ulrich Müller [Fri, 14 Nov 2014 04:03:32 +0000 (05:03 +0100)]
(emacs-repository-get-version): Call `git log' with proper format argument

Fixes: debbugs:19049
* version.el (emacs-repository-get-version): Call `git log'
command with proper format argument (bug#19049).

9 years agoBind `M-s M-s' globally to `eww-search-words'
Kenjiro NAKAYAMA [Fri, 14 Nov 2014 03:46:11 +0000 (04:46 +0100)]
Bind `M-s M-s' globally to `eww-search-words'

Fixes: debbugs:16258
* etc/NEWS: Mention the new `M-s M-s' keystroke.

* lisp/bindings.el (search-map): Bind M-s M-s to `eww-search-words'.

* net/eww.el (eww-search-words): New command.

9 years agoDon't query on Gnus exits from ephemeral groups
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 03:24:14 +0000 (04:24 +0100)]
Don't query on Gnus exits from ephemeral groups

* gnus-sum.el (gnus-summary-exit-no-update): Don't query about
discarding changes in ephemeral groups.

9 years agoChangeLog entry from previous commit
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 03:20:03 +0000 (04:20 +0100)]
ChangeLog entry from previous commit

9 years agoSilence warnings in ietf-drums-parse-address
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 03:19:18 +0000 (04:19 +0100)]
Silence warnings in ietf-drums-parse-address

* ietf-drums.el (ietf-drums-parse-address): Don't issue warnings about
things the user isn't interested in.

9 years agoFix some 24-hour time stamps in documentation.
Paul Eggert [Fri, 14 Nov 2014 03:15:41 +0000 (19:15 -0800)]
Fix some 24-hour time stamps in documentation.

* doc/lispref/os.texi (Time of Day):
* doc/misc/org.texi (The date/time prompt, Matching tags and properties):
Use leading zero with 24-hour times less than 10:00.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Katsumi Yamaoka [Thu, 13 Nov 2014 22:12:32 +0000 (22:12 +0000)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agolisp/gnus/gnus-notifications.el (gnus-notifications-notify): Provide both app-icon...
Julien Danjou [Thu, 13 Nov 2014 22:11:48 +0000 (22:11 +0000)]
lisp/gnus/gnus-notifications.el (gnus-notifications-notify): Provide both app-icon and image-path

9 years ago* net/shr.el (shr-inhibit-images): Add a doc string.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 22:06:05 +0000 (23:06 +0100)]
* net/shr.el (shr-inhibit-images): Add a doc string.

9 years agoAdd a hook to be run after eww has rendered a page
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 21:41:55 +0000 (22:41 +0100)]
Add a hook to be run after eww has rendered a page

* net/eww.el (eww-after-render-hook): New variable.
(eww-render): Use it.

9 years agoMake shr stop descending into the dom before `max-specpdl-size' stops us
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 21:11:51 +0000 (22:11 +0100)]
Make shr stop descending into the dom before `max-specpdl-size' stops us

* net/shr.el (shr-descend): Don't descend further than
`max-specpdl-size' allows (bug#16587).
(shr-depth): New variable.
(shr-warning): New variable.

9 years agoBackport fix for minor Bazaar leftovers.
Paul Eggert [Thu, 13 Nov 2014 17:16:33 +0000 (09:16 -0800)]
Backport fix for minor Bazaar leftovers.

Reported by Perry E. Metzger in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00745.html
* .dir-locals.el: Remove reference to bzr commit --fixes debbugs.
* etc/CONTRIBUTE: More git transition.

9 years agoshr URL expansion fixes
Ivan Shmakov [Thu, 13 Nov 2014 18:41:20 +0000 (19:41 +0100)]
shr URL expansion fixes

Fixes: debbugs:17958
* net/shr.el (shr-parse-base): Handle <base href=""> correctly.
(shr-expand-url): Expand absolute URLs correctly (bug#17958).

9 years agoFix minor Bazaar leftovers.
Paul Eggert [Thu, 13 Nov 2014 17:16:33 +0000 (09:16 -0800)]
Fix minor Bazaar leftovers.

Reported by Perry E. Metzger in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00745.html
* .dir-locals.el: Remove reference to bzr commit --fixes debbugs.
* etc/CONTRIBUTE: More git transition.

9 years ago* net/eww.el (eww): Add comment to clarify.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 16:59:35 +0000 (17:59 +0100)]
* net/eww.el (eww): Add comment to clarify.

9 years agoUse annotated tags for releases
Andreas Schwab [Thu, 13 Nov 2014 16:50:41 +0000 (17:50 +0100)]
Use annotated tags for releases

* make-tarball.txt: Make annotated tag and push it out.

9 years agoAdd forgotten ChangeLog entry for bug#16244
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 16:16:46 +0000 (17:16 +0100)]
Add forgotten ChangeLog entry for bug#16244

9 years agoDisplay SVG images in external <object> files
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 16:02:07 +0000 (17:02 +0100)]
Display SVG images in external <object> files

Fixes: debbugs:16244
* net/eww.el (eww-form-file): Fix version number.

* net/shr.el (shr-parse-image-data): Remove blocked bits from
external SVG images.
(shr-tag-object): Display images in <object> forms.
(shr-tag-table): Also insert <objects> after the tables.

9 years ago.gitignore: Add more ignorables.
Eli Zaretskii [Thu, 13 Nov 2014 16:06:54 +0000 (18:06 +0200)]
.gitignore: Add more ignorables.

9 years agoBackport .gitignore changes from master.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 15:58:07 +0000 (17:58 +0200)]
Backport .gitignore changes from master.

 .gitignore: Copy over sufficient ignorable files from the old
 .bzrignore that a simple build doesn't list lots of unregistered
 files.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Thu, 13 Nov 2014 15:29:20 +0000 (16:29 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

Conflicts:
lisp/ChangeLog

9 years agoFixes: debbugs:18940
Michael Albinus [Thu, 13 Nov 2014 15:26:51 +0000 (16:26 +0100)]
Fixes: debbugs:18940
* vc/vc-hg.el (vc-hg-state): Disable pager.

9 years agoAdd automaticall built files to .gitignore
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 14:25:48 +0000 (15:25 +0100)]
Add automaticall built files to .gitignore

* .gitignore: Copy over sufficient ignorable files from the old
.bzrignore that a simple build doesn't list lots of unregistered
files.

9 years ago* net/eww.el (eww-form-file): Fix version number.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 13:10:05 +0000 (14:10 +0100)]
* net/eww.el (eww-form-file): Fix version number.

9 years agoAvoid undefined behavior in color table hashing.
Paul Eggert [Thu, 13 Nov 2014 06:34:52 +0000 (22:34 -0800)]
Avoid undefined behavior in color table hashing.

* image.c (CT_HASH_RGB) [COLOR_TABLE_SUPPORT]: Remove, replacing with ...
(ct_hash_rgb) [COLOR_TABLE_SUPPORT]: New function.  All uses changed.
This function avoids undefined behavior with signed shift overflow.

9 years ago* net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 05:13:19 +0000 (21:13 -0800)]
* net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.

9 years agolisp/gnus/mml2015.el (mml2015-display-key-image): Adjust :version
Katsumi Yamaoka [Thu, 13 Nov 2014 04:22:48 +0000 (04:22 +0000)]
lisp/gnus/mml2015.el (mml2015-display-key-image): Adjust :version

9 years ago[Backport] lisp/gnus/mml2015.el (mml2015-display-key-image): New variable
Adam Sjøgren [Thu, 13 Nov 2014 04:22:36 +0000 (04:22 +0000)]
[Backport] lisp/gnus/mml2015.el (mml2015-display-key-image): New variable

9 years agoGit transition patch
Eric S. Raymond [Tue, 11 Nov 2014 18:28:05 +0000 (13:28 -0500)]
Git transition patch

All bzr revision IDS, and all CVS revision IDs for which a commit
could be identified, were changed to time-date!committer version
stamps. All .cvsignore files in the history became .gitignore files.
Fixes-bug annotations from bzr were copied into the corresponding
commit comments.

(The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>.
The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>)

Committer/author email addresses are generally correct for the
transition day, not necessarily when the commit was originally made.

9 years agoGit transition patch
Eric S. Raymond [Tue, 11 Nov 2014 18:28:02 +0000 (13:28 -0500)]
Git transition patch

All bzr revision IDS, and all CVS revision IDs for which a commit
could be identified, were changed to time-date!committer version
stamps. All .cvsignore files in the history became .gitignore files.
Fixes-bug annotations from bzr were copied into the corresponding
commit comments.

(The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>.
The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>)

Committer/author email addresses are generally correct for the
transition day, not necessarily when the commit was originally made.

9 years agoAllow uploading files from eww
Kenjiro NAKAYAMA [Mon, 10 Nov 2014 21:33:55 +0000 (22:33 +0100)]
Allow uploading files from eww

2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

        * net/eww.el(eww-form-file(defface)): New defface of file upload form.
        (eww-submit-file): New key map of file upload.
        (eww-form-file): New file upload button and file name context.
        (eww-select-file): Select file and display selected file name.
        (eww-tag-input): Handle input tag of file type.
        (eww-update-field): Add point offset.
        (eww-submit): Add submit with multipart/form-data.

        * gnus/mm-url.el (mm-url-encode-multipart-form-data):
        Restore to handle "multipart/form-data" by eww.

9 years agoAllow using several eww buffers (bug#16211)
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 21:18:11 +0000 (22:18 +0100)]
Allow using several eww buffers (bug#16211)

* net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
Allow taking a buffer to render data in.  This allows using several
eww buffers (bug#16211).

9 years ago(eww-download-callback): Save only the file contents
Charles Rendleman [Mon, 10 Nov 2014 20:55:55 +0000 (21:55 +0100)]
(eww-download-callback): Save only the file contents

* net/eww.el (eww-download-callback): Save only the file contents,
not the headers.

9 years ago(eww-save-history): Don't let the history grow infinitely.
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:44:33 +0000 (21:44 +0100)]
(eww-save-history): Don't let the history grow infinitely.

9 years ago* eww.texi (Basics): Document `eww-readable'.
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:37:17 +0000 (21:37 +0100)]
* eww.texi (Basics): Document `eww-readable'.

9 years agoRestore the header line after using `eww-readable'
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:34:43 +0000 (21:34 +0100)]
Restore the header line after using `eww-readable'

(eww-readable): Copy over pertinent data from the parent page.

9 years agoMake `l' and other commands work in eww after going back in history
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:30:30 +0000 (21:30 +0100)]
Make `l' and other commands work in eww after going back in history

* net/eww.el (eww-data): New plist to store all the data relevant
to a single page, used throughout the file instead of the
variables `eww-current-url', `eww-current-dom',
`eww-current-source', and `eww-current-title'.

9 years agoRefactor the eww history saving to prepare for storing even more
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:22:59 +0000 (21:22 +0100)]
Refactor the eww history saving to prepare for storing even more

* net/eww.el (eww-data): New plist to store all the data relevant
to a single page, used throughout the file instead of the
variables `eww-current-url', `eww-current-dom',
`eww-current-source', and `eww-current-title'.

9 years agoAllow VTIMEZONE where daylight and standard time zones are equal.
Sylvain Chouleur [Mon, 10 Nov 2014 17:07:09 +0000 (09:07 -0800)]
Allow VTIMEZONE where daylight and standard time zones are equal.

See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
* calendar/icalendar.el (icalendar--convert-tz-offset):
Support timezone without daylight saving time.

9 years agoMerge from emacs-24; up to 117702
Glenn Morris [Mon, 10 Nov 2014 16:49:41 +0000 (08:49 -0800)]
Merge from emacs-24; up to 117702

9 years agoChangeLog tweak
Glenn Morris [Mon, 10 Nov 2014 16:47:16 +0000 (08:47 -0800)]
ChangeLog tweak

9 years agofix version tags
Kelvin White [Mon, 10 Nov 2014 10:38:11 +0000 (05:38 -0500)]
fix version tags

9 years agodoc/misc/ChangeLog: Fix date for 2014-08-13T13:14:43Z!kwhite@gnu.org
Katsumi Yamaoka [Mon, 10 Nov 2014 09:30:26 +0000 (09:30 +0000)]
doc/misc/ChangeLog: Fix date for 2014-08-13T13:14:43Z!kwhite@gnu.org

9 years agodoc/misc/{gnus.texi,gnus-faq.texi}: Update docs wrt shr/html mail
Tassilo Horn [Mon, 10 Nov 2014 09:28:18 +0000 (09:28 +0000)]
doc/misc/{gnus.texi,gnus-faq.texi}: Update docs wrt shr/html mail

* gnus.texi (HTML): Update section so that it mentions shr and w3m.
Also link the full EWW manual that explains more on shr, too.
* gnus-faq.texi (FAQ 4 - Reading messages, FAQ 4-16): Add Q&A on how to
increase contrast when displaying HTML mail with shr.

9 years agoMerge from emacs-24; up to 117698
Glenn Morris [Mon, 10 Nov 2014 07:39:35 +0000 (23:39 -0800)]
Merge from emacs-24; up to 117698

9 years ago* lisp/startup.el (command-line): Handle nil elements in load-path.
Glenn Morris [Mon, 10 Nov 2014 07:12:37 +0000 (23:12 -0800)]
* lisp/startup.el (command-line): Handle nil elements in load-path.

9 years ago* lisp/help.el (view-lossage): Include the actual commands run.
Stefan Monnier [Mon, 10 Nov 2014 02:58:52 +0000 (21:58 -0500)]
* lisp/help.el (view-lossage): Include the actual commands run.
* src/keyboard.c (command_loop_1): Record this-command in recent-keys.
(Frecent_keys): Rewrite. and add optional `include-cmds' arg.

9 years agodoc/misc/gnus.texi (Top): Add missing `HTML' menu.
Katsumi Yamaoka [Mon, 10 Nov 2014 02:17:47 +0000 (02:17 +0000)]
doc/misc/gnus.texi (Top): Add missing `HTML' menu.
(HTML): Fix xref to FAQ 4-16.

9 years agoFurther reduce the number of versioned files storing the version number
Glenn Morris [Mon, 10 Nov 2014 02:01:56 +0000 (18:01 -0800)]
Further reduce the number of versioned files storing the version number

* configure.ac (doc/man/emacs.1): Generate it.

* Makefile.in (top_bootclean): Remove doc/man/emacs.1.

* make-dist: Do not distribute doc/man/emacs.1.

* admin/admin.el (set-version): No need to update doc/man/emacs.1.

* doc/man/emacs.1.in: Rename from emacs.1.

* .bzrignore: Add doc/man/emacs.1.

9 years agoFix bug#18964
Dmitry Gutov [Mon, 10 Nov 2014 01:29:58 +0000 (03:29 +0200)]
Fix bug#18964

* lisp/vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
no state is specified.

9 years ago* admin/admin.el: Comments.
Glenn Morris [Mon, 10 Nov 2014 01:22:24 +0000 (17:22 -0800)]
* admin/admin.el: Comments.

9 years agoChangeLog fix
Glenn Morris [Mon, 10 Nov 2014 01:16:27 +0000 (17:16 -0800)]
ChangeLog fix

9 years agoStop keeping etc/refcards/emacsver.tex in the repository
Glenn Morris [Mon, 10 Nov 2014 00:57:01 +0000 (16:57 -0800)]
Stop keeping etc/refcards/emacsver.tex in the repository

* configure.ac (etc/refcards/emacsver.tex): Generate it.

* Makefile.in (etc-emacsver): New PHONY rule.
(bootstrap-clean): Delete etc/refcards/emacsver.tex.

* admin/admin.el (set-version): No need to update etc/refcards/emacsver.tex.
(set-copyright): Update etc/refcards/emacsver.tex.in.

* etc/refcards/emacsver.tex.in: Rename from emacsver.tex.

* .bzrignore: Add etc/refcards/emacsver.tex.

9 years ago* doc/emacs/Makefile.in (doc-emacsver): Tweak tempfile name.
Glenn Morris [Mon, 10 Nov 2014 00:29:27 +0000 (16:29 -0800)]
* doc/emacs/Makefile.in (doc-emacsver): Tweak tempfile name.

9 years agoStop keeping doc/emacs/emacsver.texi in the repository
Glenn Morris [Mon, 10 Nov 2014 00:17:17 +0000 (16:17 -0800)]
Stop keeping doc/emacs/emacsver.texi in the repository

* configure.ac (doc/emacs/emacsver.texi): Generate it.

* make-dist (doc/emacs/emacsver.texi) [update]: No longer check it.

* doc/emacs/Makefile.in (top_srcdir, version): New, set by configure.
(doc-emacsver): New rule.
(bootstrap-clean, maintainer-clean): Delete emacsver.texi.
(emacsver.texi.in): Rename from emacsver.texi.

* admin/admin.el (set-version): No need to update doc/emacs/emacsver.texi.
(make-manuals-dist-output-variables): Add top_srcdir.
(make-manuals-dist--1): Handle @version@ specially.

* .bzrignore: Add doc/emacs/emacsver.texi.

9 years agoUpdate from CEDET trunk.
David Engster [Mon, 10 Nov 2014 00:04:30 +0000 (01:04 +0100)]
Update from CEDET trunk.

* grammars/c.by (template-type): Add :template-specifier and
:typevar to capture extra details about the template.
(opt-post-fcn-modifiers): Splice in the found symbol into the
return value correctly.
(QUESTION): New punctuation.
(expression): Add ternary conditional support.

* grammars/scheme.by (MODULE): New token.
(scheme): Handle expanding the MODULE tag.
(scheme-list): Remove closeparen required match.
(scheme-in-list): Remove extraneous matches for DEFINE.  Add
support for MODULE Simplify matching for code & make work.
(name-args, name-arg-list, name-arg-expand): Make it work.

* semantic.el (semantic-mode): Add/remove 3
completion-at-point-functions.
(semantic-completion-at-point-function): Removed.
(semantic-analyze-completion-at-point-function)
(semantic-analyze-notc-completion-at-point-function)
(semantic-analyze-nolongprefix-completion-at-point-function): New
completion at point functions.

* semantic/doc.el (semantic-doc-snarf-comment-for-tag): Fix case
when comment-end is empty string.

* semantic/debug.el
(semantic-debug-parser-debugger-source): New buffer local
variable.
(semantic-debug-interface): Add 'nil' initform to overlays.
(semantic-debug-mode): Remove read-only tags from buffers on exit.
(semantic-debug): Add autoload cookie.  Force the language
specific debugger to load.

* semantic/db.el (generic::semanticdb-full-filename): New generic
method to allow this method to be used on buffer names via an
associated database.

* semantic/symref.el
(semantic-symref-cleanup-recent-buffers-fcn): When cleaning up
buffers, don't clean up buffers that are being used (i.e., in a
window) when the hook fires.
(semantic-symref-recently-opened-buffers): New tracking variable.
(semantic-symref-cleanup-recent-buffers-fcn): New hook fcn.
(semantic-symref-result-get-tags): Move logic into
`semantic-symref-hit-to-tag-via-buffer', and cleanup buffers via
the symref cleanup function in post-command-hook.
(semantic-symref-hit-to-tag-via-buffer): Logic that used to be
from above.
(semantic-symref-hit-to-tag-via-db): New.

* semantic/analyze.el:
(semantic-analyze-find-tag-sequence-default): If first entry in
sequence is the only one, apply tagclass filter.
(semantic-analyze-princ-sequence): Show slot even if empty.
(semantic-analyze-find-tag-sequence)
(semantic-analyze-find-tag-sequence-default): Add flags argument.
Add support for forcing the final entry of the sequence to be of
class variable.
(semantic-analyze-find-tag): Fix bug where input class filter was
ignored if there was a typecache match.
(semantic-analyze-current-context-default): For assignments, the
assignee now must be of class variable.

* semantic/analyze/complete.el
(semantic-analyze-possible-completions-default): Add
'no-longprefix' flag.  When used, the prefix and prefixtypes are
shortened to just the last symbol.

* semantic/bovine/c.el (semantic-c-do-lex-if): Catch errors from
'hideif', and push to the parser warning stack.
(semantic-lex-cpp-define): When a comment is at the end of a
macro, do not subtract an extra 1 from the found position.  Fixes
bug with: #define foo (a)/**/ adding an extra ')' to the stream.

* semantic/bovine/scm.el (semantic-lex-scheme-symbol): Allow
symbols to be one char long.

* semantic/bovine/grammar.el
(bovine-grammar-calculate-source-on-path): New.
(bovine-grammar-setupcode-builder): Use it.

* ede.el (ede/detect): New require.
(ede-version): Bump version
(ede-initialize-state-current-buffer): Use new
`ede-detect-directory-for-project' to detect projects first
instead of depending on currente dir only.
(ede-delete-project-from-global-list): New.
(ede-flush-deleted-projects): Use above.
(ede-check-project-query-fcn): New variable
(ede-check-project-directory): Use above when querying the user.
Added to support unit testing of this security measure.
(ede-initialize-state-current-buffer): Use
`ede-directory-project-cons' instead of the -detect- fcn to take
advantage of the cache.  Pass found project into
`ede-load-project-file'.
(ede-load-project-file): Add new input DETECTIN.
(ede-rescan-toplevel): Get the proj root a better way.
(ede-load-project-file): Return the loaded object.  When asking
for existing project, ask for an exact match.
(ede-initialize-state-current-buffer): Simplify some conditional
logic.
(ede-load-project-file): Simplify conditional logic.
(ede-global-list-sanity-check): New Testing fcn.
(ede-parent-project): Replace old code with call to faster
`ede-find-subproject-for-directory'.
(ede-load-project-file): Use
`ede-directory-get-toplevel-open-project' instead of above
deleted.  Rename "pfc" to "autoloader".  Use
`ede-directory-project-cons' to detect a project.  Delete no
project found case where we search up the tree.

* ede/auto.el (ede-project-autoload): Fix doc typo.  Add
`:root-only' slot.
(ede-auto-load-project): Doc update: warn to not use.
(ede-dir-to-projectfile): Deleted.
(ede-project-autoload-dirmatch): Add subdir-only slot.  Make
configdatastash unbound by default.
(ede-do-dirmatch): If subdir-only is true, then don't allow exact
matches.  Account for configdatastash as unbound.  Assume value of
nil means no tool installed.  Make sure loaded path matches from
beginning.  Stash the regexp, not the raw string.
(ede-project-class-files): Note that makefile and automake are not
root only.
(ede-auto-detect-in-dir): New (for use with `ede/detect.el').
(ede-project-dirmatch-p): Deleted.
(ede-project-root-directory): Remove body, return nil.
(ede-project-autoload): :proj-root-dirmatch can be null & doc fix.
(ede-auto-detect-in-dir): If there is no :proj-file, check for a
dirmatch.

* ede/generic.el (ede/config): Replace require of ede.
(ede-generic-new-autoloader): Generic projects are now safe by
default.  Note this is NOT a root only project.
(project-rescan, ede-project-root, ede-generic-target-java)
(ede-java-classpath, ede-find-subproject-for-directory): New.
(ede-enable-generic-projects): Add new autoloaders for git, bzr,
hg, sv, CVS.
(ede-generic-vc-project)
(ede-generic-vc-project::ede-generic-setup-configuration): New.
(ede-generic-config): Remove slots: c-include-path,
c-preprocessor-table, c-preprocessor-files, classpath,
build-command, debug-command, run command.  Inherit from
ede-extra-config-build, ede-extra-config-program.  Make
run-command :value match :custom so only strings are accepted.
Add some more :group slot specifiers.
(ede-generic-project): Add mixins `ede-project-with-config-c' and
`ede-project-with-config-java'. Inherit from
`ede-project-with-config-build',
`ede-project-with-config-program'.  Subclass
`ede-project-with-config'.  Remove duplication from new baseclass.
(ede-generic-target): Inherit from `ede-target-with-config-build',
`ede-target-with-config-program'. Subclass `ede-target-with-config'.
(ede-generic-target-c-cpp): Add mixin `ede-target-with-config-c'.
(ede-generic-target-java): Add mixin `ede-target-with-config-java'.
(ede-preprocessor-map, ede-system-include-path)
(edejava-classpath): Deleted, moved to config.el.
(project-compile-project, project-compile-target)
(project-debug-target, project-run-target): Deleted.
(ede-generic-get-configuration, ede-generic-setup-configuration)
(ede-commit-project, project-rescan)
(ede-generic-project::ede-customize)
(ede-generic-target::ede-customize)
(ede-generic-config::eieio-done-customizing)
(ede-generic-config::ede-commit): Deleted.  Subsumed by new
baseclass.
(ede-preprocessor-map, ede-system-include-path)
(project-debug-target, project-run-target): Call new
`ede-config-get-configuration' instead of old version.
(ede-generic-load): Do not add to global list here.

* ede/files.el (ede-find-project-root)
(ede-files-find-existing)
(ede-directory-get-toplevel-open-project-new): Deleted.
(ede-project-root-directory): Use `ede-project-root' first.
(ede-project-directory-remove-hash)
(ede--directory-project-from-hash)
(ede--directory-project-add-description-to-hash): Rename to make
internal symbols (via --).  Expand input dir first.
(ede-directory-project-p): Doc fix (note obsoleted.)
(ede-toplevel-project-or-nil): Alias to `ede-toplevel-project'.
(ede-toplevel-project): Doc Fix.  Delete commented out old code.
Simplify returning result from ede-detect-directory-for-project.
(ede-directory-get-open-project): Support when
inodes are disabled.  If disabled to str compare on root project.
(ede-directory-get-toplevel-open-project): Enabled nested
projects.  When doing directory name matching, save the 'short'
version of an answer (non-exact match) and eventually select the
shortest answer at the end.  Expand the filename of tested
projects.  Better support for when inodes are disabled.  Add
'exact' option so that it will return a project that is an exact
match.
(ede-find-subproject-for-directory): Small optimization to run
`file-truename' less often.
(ede-directory-project-p): Move content, then use
`ede-directory-project-cons'.  Use
`ede-detect-directory-for-project', replacing old detection loop.
(ede-directory-project-cons): New, from above.
(ede-toplevel-project): Toss old scanning code.  Use
`ede-detect-directory-for-project' instead.
(ede-directory-get-toplevel-open-project-new): New.

* ede/linux.el (ede-linux-project-root): Deleted.
(ede-project-autoload): Remove dirmatch entry - it is no longer
needed.

* lisp/cedet/ede/proj.el (project-rescan): Replace direct
manipulation of `ede-projects' with equivalent and better
functions.
(ede-proj-load): Replace call to test if dir has project to
explicity ask filesystem if Project.ede is there.

* ede/config.el:
* ede/detect.el: New files.

* ede/project-am.el (project-run-target): Add "./" to program to
run for systems where '.' isn't in PATH.
(project-am-load): Remove old code regarding `ede-constructing'.
Just read in the makefiles.

* ede/linux.el (ede-linux-load): Do not add to global list here.
Don't check for existing anymore.
(project-rescan): New.
(ede-linux-project-list, ede-linux-file-existing): Deleted.
(ede-linux-project-root): Delete body.  Need symbol for autoloads
for now.
(ede-linux-project): No longer instance tracker.
(ede-project-autoload): Don't provide :proj-root

* ede/emacs.el (ede-emacs-load): Do not add project to global list
here.  Don't look for existing first.
(ede-project-autoload): Remove dirmatch entry - it is no longer
needed.  Don't provide proj-root anymore.
(ede-emacs-project-list, ede-emacs-file-existing): Delete.
(ede-emacs-project-root): Remove body (need symbol for loaddefs
still).
(ede-emacs-project): Do not instance track anymore.

* ede/cpp-root.el (initialize-instance): Remove commented code.
Add note about why we are adding the project to the master list.
Make sure if we are replacing a prev version, remove from global
list.
(ede-cpp-root-file-existing)
(ede-cpp-root-project-file-for-dir)
(ede-cpp-root-count, ede-cpp-root-project-root, ede-cpp-root-load)
(ede-project-autoload cpp-root): Deleted.
(ede-project-root-directory): Return :directory instead of
calculating from :file.
(project-rescan): New.

* ede/base.el (ede-toplevel): Only use buffer cached value if
subproj not passed in.

* srecode/java.el (srecode-semantic-handle-:java): Fix case when
an EDE project didn't support java paths.

* lisp/cedet/ede/proj-elisp.el
(ede-proj-target-elisp::ede-proj-tweak-autoconf): Kill buffer
after saving modified elisp-comp script, as to avoid "file has
changed on disk; really edit the buffer" questions when script
gets rewritten.

* emacs-lisp/eieio-custom.el (eieio-customize-object): Set
eieio-cog (current group) to g, which is an improved form of input
group.

* srecode/doc-cpp.srt (mode): Set to c mode so this works with
both C and C++.

9 years agoFix bug #18955 with failure generating macuvs.h on MS-Windows.
Eli Zaretskii [Sun, 9 Nov 2014 20:44:51 +0000 (22:44 +0200)]
Fix bug #18955 with failure generating macuvs.h on MS-Windows.

 admin/unidata/Makefile.in (${top_srcdir}/src/macuvs.h): Use
 unmsys--file-name.

9 years ago* lisp/isearch.el (isearch-message-prefix): Show "Multi-file" and
Juri Linkov [Sun, 9 Nov 2014 19:19:54 +0000 (21:19 +0200)]
* lisp/isearch.el (isearch-message-prefix): Show "Multi-file" and
"Multi-buffer" instead of "Multi".

* lisp/misearch.el (multi-isearch-file-list): Autoload
multi-isearch-buffer-list and multi-isearch-file-list.
(multi-isearch-end): Reset multi-isearch-buffer-list and
multi-isearch-file-list to nil.

* doc/emacs/search.texi (Other Repeating Search): Add documentation for
multi-isearch-files and multi-isearch-files-regexp.

Fixes: debbugs:13592
9 years agoetc/NEWS: Improve wording of query-replace history entry.
Eli Zaretskii [Sun, 9 Nov 2014 17:28:18 +0000 (19:28 +0200)]
etc/NEWS: Improve wording of query-replace history entry.

9 years agoFix bug #18982 with assertion violations when reverting buffers.
Eli Zaretskii [Sun, 9 Nov 2014 16:40:43 +0000 (18:40 +0200)]
Fix bug #18982 with assertion violations when reverting buffers.

 src/fileio.c (Finsert_file_contents): Invalidate buffer caches also
 when the inserted text does not need decoding.