]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoSpelling fix.
Paul Eggert [Mon, 24 Nov 2014 16:38:57 +0000 (08:38 -0800)]
Spelling fix.

9 years ago* src/keyboard.c: Fix comment typo.
Glenn Morris [Mon, 24 Nov 2014 07:49:39 +0000 (23:49 -0800)]
* src/keyboard.c: Fix comment typo.

9 years agoFixes: debbugs:18579
Dmitry Gutov [Mon, 24 Nov 2014 02:11:36 +0000 (04:11 +0200)]
Fixes: debbugs:18579
* lisp/vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.

9 years agoFixes: debbugs:18579
Dmitry Gutov [Mon, 24 Nov 2014 01:44:42 +0000 (03:44 +0200)]
Fixes: debbugs:18579
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
files.

9 years ago* textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
Michael Albinus [Sun, 23 Nov 2014 10:49:31 +0000 (11:49 +0100)]
* textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
remote `buffer-file-name'.

9 years agoFix calendar-mark-1
Leo Liu [Sun, 23 Nov 2014 07:51:24 +0000 (15:51 +0800)]
Fix calendar-mark-1

* calendar/diary-lib.el (calendar-mark-1): Fix thinko.

9 years agoAdd git commit hooks that do some simple checks on commits.
Paul Eggert [Sat, 22 Nov 2014 23:46:17 +0000 (15:46 -0800)]
Add git commit hooks that do some simple checks on commits.

* autogen.sh: Install Git hooks, if using Git.
* build-aux/git-hooks/commit-msg, build-aux/git-hooks/pre-commit:
New files, which are Git hooks that check for portable file names, and
do some simple checks for commit message format.

9 years agoSet PYTHONUNBUFFERED on shell startup.
Fabián Ezequiel Gallina [Sat, 22 Nov 2014 23:09:30 +0000 (20:09 -0300)]
Set PYTHONUNBUFFERED on shell startup.

Fixes: debbugs:18595
* lisp/progmodes/python.el (python-shell-unbuffered): New var.
(python-shell-calculate-process-environment): Use it.

* test/automated/python-tests.el
(python-shell-calculate-process-environment-4)
(python-shell-calculate-process-environment-5): New tests.
(python-shell-make-comint-3): Use file-equal-p.
(python-shell-get-or-create-process-1)
(python-shell-get-or-create-process-2)
(python-shell-get-or-create-process-3): Fix interpreter for
Windows.

9 years agoFixes: debbugs:19047
Michael Albinus [Sat, 22 Nov 2014 16:04:47 +0000 (17:04 +0100)]
Fixes: debbugs:19047
* net/tramp.el (tramp-action-password): Clean password on subsequent
attempts even if there was no wrong password indication.

9 years ago* net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
Michael Albinus [Sat, 22 Nov 2014 09:30:36 +0000 (10:30 +0100)]
* net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
fallback.
(tramp-open-connection-setup-interactive-shell): No need to check
for nil as `tramp-get-remote-locale' return value.

9 years agoAdd more of the old .bzrignore to .gitignore.
Paul Eggert [Fri, 21 Nov 2014 17:11:25 +0000 (09:11 -0800)]
Add more of the old .bzrignore to .gitignore.

Plus a few more .gitignore improvements.
* .gitignore: Add copyright notice, since it's big enough.
Put exceptions immediately after the patterns they're exceptions
to, to make them easier to follow.
Give four exceptions for the Makefile pattern.
Ignore /confdefs.h, test/indent/*.new, TAGS, GPATH, GSYMS, GRTAGS,
GTAGS, ID, *.exe, some nextstep-related files,
jisx2131-filter, *.orig, *.rej, etc/emacs.tmpdesktop, *.in-h
_* (except for build-aux/snippet/_Noreturn.h), /bin/, /BIN/,
/data/, etc/icons/, lib/cxxdefs.h, lib/SYS/, /libexec/, /lock/,
/README.W32, /share/, /site-lisp/, src/gdb.ini, /var/.
Ignore /configure.lineno, since POSIX requires
LINENO only with the User Portability Utilities option.
Ignore *cust-load.el and *loaddefs.el only under lisp.
Ignore core files of various flavors.
Do not ignore etc/refcards/gnus-logo.pdf.

9 years agoUse "~1" instead of "^" in vc-git.el to specify the parent of a Git commit.
Eli Zaretskii [Fri, 21 Nov 2014 10:34:59 +0000 (12:34 +0200)]
Use "~1" instead of "^" in vc-git.el to specify the parent of a Git commit.

 lisp/vc/vc-git.el (vc-git-previous-revision): Use "~1" instead of
 "^", since the latter is a special character for MS-Windows system
 shells.

9 years agoUse correct encoding to communicate with Git.
Eli Zaretskii [Fri, 21 Nov 2014 10:26:35 +0000 (12:26 +0200)]
Use correct encoding to communicate with Git.

 lisp/vc/vc-git.el (vc-git-command, vc-git--call): Bind
 coding-system-for-read and coding-system-for-write to
 vc-git-commits-coding-system.

9 years agoAdd src/_gdbinit to .gitignore.
Eli Zaretskii [Fri, 21 Nov 2014 08:56:15 +0000 (10:56 +0200)]
Add src/_gdbinit to .gitignore.

 .gitignore: Add back src/_gdbinit, which is a temporary file
 created by the MS-DOS build.

9 years agoAdd a.out to .gitignore.
Paul Eggert [Thu, 20 Nov 2014 20:40:41 +0000 (12:40 -0800)]
Add a.out to .gitignore.

Suggested by Lee Duhem in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01665.html
* .gitignore: Add a.out.
Move *.log next to *.tmp, since it's generic.
Put *.exe before non-generics.

9 years agoFix typo in ChangeLog.
Michael Albinus [Thu, 20 Nov 2014 19:17:35 +0000 (20:17 +0100)]
Fix typo in ChangeLog.

9 years agoImprove XEmacs compatibility.
Michael Albinus [Thu, 20 Nov 2014 19:10:15 +0000 (20:10 +0100)]
Improve XEmacs compatibility.

* net/tramp.el (tramp-autoload-file-name-handler):
Wrap `temporary-file-directory' by `symbol-value', it doesn't exist in XEmacs.
(tramp-read-passwd): Don't use `with-timeout-suspend' and
`with-timeout-unsuspend' if they don't exist, like in XEmacs.
(tramp-time-less-p, tramp-time-subtract): Remove functions.
(tramp-handle-file-newer-than-file-p, tramp-time-diff):
* net/ttramp-adb.el (tramp-adb-ls-output-time-less-p):
* net/ttramp-cache.el (tramp-get-file-property):
* net/ttramp-smb.el (tramp-smb-handle-insert-directory):
Use `time-less-p' and `time-subtract, respectively.

9 years agoLessen focus on ChangeLog files, as opposed to change log entries.
Paul Eggert [Wed, 19 Nov 2014 19:29:40 +0000 (11:29 -0800)]
Lessen focus on ChangeLog files, as opposed to change log entries.

This is in preparation for generating the former automatically
from the latter.
* admin/notes/bugtracker, admin/notes/copyright, admin/notes/newfile:
ChangeLog -> change log
* admin/notes/changelogs: Remove, merging old contents to ...
* admin/notes/repo: ... here.
* doc/emacs/maintaining.texi (Change Log): Mention that ChangeLog files may
be copied to or from a version control system.
* doc/emacs/trouble.texi (Sending Patches): Point to the commit messages.
* doc/lispref/intro.texi (Acknowledgments): ChangeLog file -> change log entries.
* doc/lispref/tips.texi (Library Headers): Emacs uses a version control system.
* etc/CONTRIBUTE: Give advice about git commit messages and how
to generate proposed patches containing them.

9 years ago.gitignore: Resurrect Windows-specific ignorables lost in last changes.
Eli Zaretskii [Wed, 19 Nov 2014 19:13:34 +0000 (21:13 +0200)]
.gitignore: Resurrect Windows-specific ignorables lost in last changes.

9 years agoFix VC documentation related to switching branches.
Eli Zaretskii [Wed, 19 Nov 2014 18:33:17 +0000 (20:33 +0200)]
Fix VC documentation related to switching branches.

 lisp/vc/vc.el (vc-retrieve-tag): Doc fix.

 doc/emacs/maintaining.texi (Switching Branches): Mention "C-x v r".
 Correct commands for switching branches in various VCSs.

9 years ago* .gitignore: Add /emacs-[1-9]*/, and sort better.
Paul Eggert [Wed, 19 Nov 2014 18:30:30 +0000 (10:30 -0800)]
* .gitignore: Add /emacs-[1-9]*/, and sort better.

9 years ago* .gitignore: Add some nextstep/mac ignorables.
Ivan Andrus [Sat, 15 Nov 2014 06:41:09 +0000 (23:41 -0700)]
* .gitignore: Add some nextstep/mac ignorables.

9 years ago.gitignore cleanup.
Paul Eggert [Tue, 18 Nov 2014 01:56:49 +0000 (17:56 -0800)]
.gitignore cleanup.

* .gitignore: Merge contents of subsidiary files and organize the
result so as to avoid duplication.  Remove no-longer needed entries.
* admin/charsets/.gitignore, admin/unidata/.gitignore:
* doc/lispintro/.gitignore, etc/.gitignore, leim/.gitignore:
* leim/ja-dic/.gitignore, lib-src/.gitignore, lisp/.gitignore:
* lisp/calc/.gitignore, lisp/calendar/.gitignore:
* lisp/cedet/.gitignore, lisp/emulation/.gitignore:
* lisp/erc/.gitignore, lisp/eshell/.gitignore, lisp/gnus/.gitignore:
* lisp/international/.gitignore, lisp/language/.gitignore:
* lisp/leim/.gitignore, lisp/leim/quail/.gitignore:
* lisp/mail/.gitignore, lisp/mh-e/.gitignore, lisp/net/.gitignore:
* lisp/nxml/.gitignore, lisp/obsolete/.gitignore:
* lisp/play/.gitignore, lisp/progmodes/.gitignore:
* lisp/term/.gitignore, lisp/textmodes/.gitignore:
* lisp/url/.gitignore, nt/.gitignore, src/.gitignore:
Remove; no longer needed.

9 years agoDefine MINGW_W64 and use it instead of _W64
Oscar Fuentes [Mon, 17 Nov 2014 22:06:13 +0000 (23:06 +0100)]
Define MINGW_W64 and use it instead of _W64

... for detecting MinGW-w64. _W64 is not specific of MinGW-w64, it is
defined for compatibility with MS VC++.

* nt/inc/ms-w32.h: Define MINGW_W64.

* admin/CPP-DEFINES: Mention MINGW_W64.

* nt/addpm.c: Use it.

* nt/addsection.c: Use it.

* nt/preprep.c: Use it.

* src/w32.c: Use MINGW_W64 instead of _W64

* src/w32term.c: Likewise.

9 years agoDon't assume "bzr log" uses --long format by default.
Eli Zaretskii [Mon, 17 Nov 2014 17:36:29 +0000 (19:36 +0200)]
Don't assume "bzr log" uses --long format by default.

 lisp/vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
 Don't assume --long is the default for "bzr log", always specify
 it explicitly, in case the user defined an alias for 'log' that
 uses some other format.

9 years agoRestore 'Bug#' -> 'debbugs:' rewrite in log-edit-mode.
Paul Eggert [Mon, 17 Nov 2014 03:43:26 +0000 (19:43 -0800)]
Restore 'Bug#' -> 'debbugs:' rewrite in log-edit-mode.

* .dir-locals.el (log-edit-mode): Restore the (log-edit-rewrite-fixes
"[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1").  See Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01187.html

9 years agoSimplify and fix doc-related .gitignore files.
Paul Eggert [Mon, 17 Nov 2014 01:19:05 +0000 (17:19 -0800)]
Simplify and fix doc-related .gitignore files.

This fixes some unwanted 'git status' output after 'make docs'.
* .gitignore: Add **/Makefile, **/makefile.
Remove Makefile, makefile.
Add doc/*/*.xxx rules for the usual kinds of documentation outputs
and temporaries.  Add doc/misc/cc-mode.ss.
* doc/emacs/.gitignore, doc/lispref/.gitignore, doc/misc/.gitignore:
* lwlib/.gitignore, oldXMenu/.gitignore:
Remove, as these .gitignore files are no longer needed.
* doc/lispintro/.gitignore: Replace with list of exceptional PDF files.

9 years agoPrevent resizing the echo area when iPython is enabled
Fabián Ezequiel Gallina [Sun, 16 Nov 2014 14:11:49 +0000 (11:11 -0300)]
Prevent resizing the echo area when iPython is enabled

Fixes: debbugs:18794
* lisp/progmodes/python.el (python-eldoc--get-doc-at-point): Strip
shell output before returning.

9 years agoFix indentation before `!=' and after `+='
Dmitry Gutov [Sun, 16 Nov 2014 12:19:16 +0000 (14:19 +0200)]
Fix indentation before `!=' and after `+='

Originally reported in https://github.com/mooz/js2-mode/issues/174.
* lisp/progmodes/js.el (js--indent-operator-re): Make assignments and
(in)equality operator a separate case.
(js--continued-expression-p): Escape the second `+' in the regexp.

9 years agoFix DocView slicing docs
Tassilo Horn [Sun, 16 Nov 2014 08:39:01 +0000 (09:39 +0100)]
Fix DocView slicing docs

* doc/emacs/misc.texi (DocView Slicing): Describe how to slice with the
mouse.  Fix command mentioned by slice by BoundingBox paragraph.
(Bug#18040)

9 years ago* src/frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003).
Stefan Monnier [Sun, 16 Nov 2014 05:30:12 +0000 (00:30 -0500)]
* src/frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003).
* lisp/window.el (handle-select-window): Deactivate shift-region.

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 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 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 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 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 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 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 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 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 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 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 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 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.

9 years agoFix bug #18995 with compiling w32heap.c with -funroll-loops.
Eli Zaretskii [Sun, 9 Nov 2014 15:57:37 +0000 (17:57 +0200)]
Fix bug #18995 with compiling w32heap.c with -funroll-loops.

 src/w32heap.c (allocate_heap): Set the lower limit of heap at 8MB.

9 years ago* nsterm.h (EmacsScroller): judge returns bool.
Jan Djärv [Sun, 9 Nov 2014 13:47:02 +0000 (14:47 +0100)]
* nsterm.h (EmacsScroller): judge returns bool.

* nsterm.m (ns_set_vertical_scroll_bar): Release bar.
(ns_judge_scroll_bars): Only set removed if judge returns true.
(judge): Returns bool == condemned.  Remove self from window.
(setPosition:portion:whole:): Remove raise SIGIO.

Fixes: debbugs:18757
9 years agoUpdate version to 24.5
Kelvin White [Sun, 9 Nov 2014 13:46:24 +0000 (08:46 -0500)]
Update version to 24.5

9 years agobackports: fix changelog
Kelvin White [Sun, 9 Nov 2014 13:36:43 +0000 (08:36 -0500)]
backports: fix changelog

9 years agoReplace doc/*/Makefile.in dist rules with code in admin/admin.el
Glenn Morris [Sun, 9 Nov 2014 02:02:51 +0000 (18:02 -0800)]
Replace doc/*/Makefile.in dist rules with code in admin/admin.el

* admin/admin.el (make-manuals-dist-output-variables)
(make-manuals-dist--1, make-manuals-dist): New.
Replaces doc/*/Makefile.in `dist' rules.

* doc/emacs/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

* doc/lispintro/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

* doc/lispref/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

* doc/misc/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

9 years agobackport: erc bugfixes
l3thal [Sun, 9 Nov 2014 01:51:43 +0000 (20:51 -0500)]
backport: erc bugfixes

9 years ago* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.
Glenn Morris [Sat, 8 Nov 2014 21:29:04 +0000 (13:29 -0800)]
* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.
Due to the vague doc, it was already being used this way.

9 years ago* nsterm.m (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless
Jan Djärv [Sat, 8 Nov 2014 19:40:17 +0000 (20:40 +0100)]
* nsterm.m (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless
needed (Bug#18757).

Fixes: debbugs:18993
9 years agoAttempt to fix NS hang. Will probably cause merge conflicts.
Jan Djärv [Sat, 8 Nov 2014 16:32:37 +0000 (17:32 +0100)]
Attempt to fix NS hang.  Will probably cause merge conflicts.

* nsterm.m (init): Replace OSX 10.9 check with IMPL_COCOA.
(run): Ditto.  Only use non-system event loop if OSX version is
exactly 10.9.

Fixes: debbugs:18993
9 years agoBackport Tramp changes from trunk.
Michael Albinus [Sat, 8 Nov 2014 09:07:24 +0000 (10:07 +0100)]
Backport Tramp changes from trunk.

* tramp.texi (Inline methods): Remove restriction on "telnet".
Recommend sharing ssh connections for "plink".
(External methods): Remove "sftp".  Merge "pscp" and "psftp"
descriptions.  Recommend sharing ssh connections.  Add "nc" method.
(GVFS based methods): Add "sftp".
(Customizing Completion, External packages, Issues): Use @dots{}.
(Remote shell setup): Explain, how to change command line
arguments of remote "nc" listener.

* trampver.texi: Update release number.

9 years agoBackport Tramp changes from trunk.
Michael Albinus [Sat, 8 Nov 2014 08:46:20 +0000 (09:46 +0100)]
Backport Tramp changes from trunk.

* automated/tramp-tests.el (tramp-remote-process-environment):
Declare.
(tramp--test-enabled): Ignore errors.
(tramp--instrument-test-case): Extend docstring.  Print debug
buffer in any case.
(tramp-test15-copy-directory): Skip for tramp-smb.el.
(tramp-test21-file-links): Use `file-truename' for directories.
(tramp-test26-process-file): Extend test according to Bug#17815.
(tramp-test27-start-file-process, tramp-test28-shell-command):
Retrieve process output more robustly.
(tramp-test29-vc-registered): Set $BZR_HOME.
(tramp--test-check-files): Extend test with `substitute-in-file-name'.
(tramp-test30-special-characters): Skip for tramp-adb.el,
tramp-gvfs.el and tramp-smb.el.  Add further file names.

9 years ago* net/tramp.el (tramp-check-cached-permissions): Include hop in
Michael Albinus [Fri, 7 Nov 2014 20:15:46 +0000 (21:15 +0100)]
* net/tramp.el (tramp-check-cached-permissions): Include hop in
the constructed Tramp file name.

Fixes: debbugs:18943
9 years ago* callproc.c (encode_current_directory): Encode dir at the end.
Michael Albinus [Fri, 7 Nov 2014 20:09:34 +0000 (21:09 +0100)]
* callproc.c (encode_current_directory): Encode dir at the end.

9 years ago* lisp/emulation/cua-base.el (cua--select-keymaps): Use region-active-p.
Stefan Monnier [Fri, 7 Nov 2014 19:55:39 +0000 (14:55 -0500)]
* lisp/emulation/cua-base.el (cua--select-keymaps): Use region-active-p.
(cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
* lisp/emulation/cua-gmrk.el (cua-cancel-global-mark): Same.

Fixes: debbugs:18952
9 years ago* src/callproc.c (encode_current_directory): Fix thinko in previous.
Glenn Morris [Fri, 7 Nov 2014 17:04:10 +0000 (09:04 -0800)]
* src/callproc.c (encode_current_directory): Fix thinko in previous.

9 years ago* callproc.c (encode_current_directory): Support handling of file
Michael Albinus [Fri, 7 Nov 2014 14:45:34 +0000 (15:45 +0100)]
* callproc.c (encode_current_directory): Support handling of file
names prepended by "/:".

Fixes: debbugs:18891
9 years ago* files.el (file-name-non-special): Wrap the call of
Michael Albinus [Fri, 7 Nov 2014 14:42:51 +0000 (15:42 +0100)]
* files.el (file-name-non-special): Wrap the call of
`insert-file-contents' by `unwind-protect', in order to set the
buffer's file name anyway.

Fixes: debbugs:18891
9 years agodoc/misc/eww.texi: Fix a typo and improve wording of last commit.
Eli Zaretskii [Fri, 7 Nov 2014 08:59:00 +0000 (10:59 +0200)]
doc/misc/eww.texi: Fix a typo and improve wording of last commit.

9 years agoBackport from trunk documentation of shr-color-visible-* variables.
Tassilo Horn [Fri, 7 Nov 2014 08:54:50 +0000 (10:54 +0200)]
Backport from trunk documentation of shr-color-visible-* variables.

 doc/misc/eww.texi (Advanced): Document increasing contrast with
 shr-color-visible-distance-min and shr-color-visible-luminance-min.

9 years agoepg: Adjust to GnuPG 2.1 key listing change
Daiki Ueno [Fri, 7 Nov 2014 04:16:26 +0000 (13:16 +0900)]
epg: Adjust to GnuPG 2.1 key listing change

* epg.el (epg--list-keys-1): Ignore fields after the 15th field
(bug#18979).  Reported by Hideki Saito.

Backported from trunk.

9 years ago* src/syntax.c (back_comment): Fix off-by-one error.
Alan Mackenzie [Thu, 6 Nov 2014 14:05:58 +0000 (09:05 -0500)]
* src/syntax.c (back_comment): Fix off-by-one error.

Fixes: debbugs:18022
9 years ago* src/xgselect.c (xg_select): Use g_main_context_acquire.
Dima Kogan [Thu, 6 Nov 2014 03:02:11 +0000 (22:02 -0500)]
* src/xgselect.c (xg_select): Use g_main_context_acquire.

Fixes: debbugs:18861
9 years agoBackport fix to bug #18749 to Emacs-24 branch.
Alan Mackenzie [Wed, 5 Nov 2014 18:38:51 +0000 (18:38 +0000)]
Backport fix to bug #18749 to Emacs-24 branch.

9 years agoFix wrong bound to c-font-lock-declarators. Fixes bug #18948.
Alan Mackenzie [Wed, 5 Nov 2014 17:57:50 +0000 (17:57 +0000)]
Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
progmodes/cc-fonts.el (c-font-lock-declarations): Pass "(point-max)" as
bound to c-font-lock-declarators, not "limit", as the buffer is sometimes
narrowed to less than "limit" (e.g., in the presence of macros).

9 years ago* net/tramp-adb.el (tramp-adb-handle-file-attributes):
Michael Albinus [Wed, 5 Nov 2014 11:24:04 +0000 (12:24 +0100)]
* net/tramp-adb.el (tramp-adb-handle-file-attributes):
* net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
* net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
case of errors.

* net/tramp.el (tramp-error-with-buffer): Show connection buffer
only when message appeared in minibuffer.

Fixes: debbugs:18891
9 years ago* dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
Michael Albinus [Wed, 5 Nov 2014 11:23:10 +0000 (12:23 +0100)]
* dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
raises an error.

Fixes: debbugs:18891
9 years ago* Makefile.in (install-info, uninstall): Restore pre-2012-12-13 solution
Glenn Morris [Wed, 5 Nov 2014 05:01:01 +0000 (21:01 -0800)]
* Makefile.in (install-info, uninstall): Restore pre-2012-12-13  solution
Do not merge to trunk.

Fixes: debbugs:18908
9 years ago* lisp/erc/erc.el (erc-send-input): Bind `str' dynamically.
Stefan Monnier [Tue, 4 Nov 2014 20:07:59 +0000 (15:07 -0500)]
* lisp/erc/erc.el (erc-send-input): Bind `str' dynamically.

Fixes: debbugs:18936
9 years agoFix error messages from jit-stealth-lock when load-average returns nil.
Eli Zaretskii [Tue, 4 Nov 2014 16:30:48 +0000 (18:30 +0200)]
Fix error messages from jit-stealth-lock when load-average returns nil.

 lisp/jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
 returned by load-average.

9 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
Michael Albinus [Tue, 4 Nov 2014 09:02:56 +0000 (10:02 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
a local copy; setting `inhibit-file-name-handlers' proper might be
more performant.

Fixes: debbugs:18751
9 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec.
Glenn Morris [Tue, 4 Nov 2014 07:11:37 +0000 (23:11 -0800)]
* lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec.

9 years ago* lisp/mail/emacsbug.el (report-emacs-bug): No longer include recent-keys
Glenn Morris [Tue, 4 Nov 2014 07:07:04 +0000 (23:07 -0800)]
* lisp/mail/emacsbug.el (report-emacs-bug): No longer include recent-keys

Fixes: debbugs:18900
9 years agoNEWS and comment trivia re crisp.el
Glenn Morris [Mon, 3 Nov 2014 21:47:16 +0000 (16:47 -0500)]
NEWS and comment trivia re crisp.el

9 years agosrc/window.c (window_scroll_pixel_based): Fix a typo in a comment.
Eli Zaretskii [Mon, 3 Nov 2014 18:22:07 +0000 (20:22 +0200)]
src/window.c (window_scroll_pixel_based): Fix a typo in a comment.

9 years agoFix minor issues with functions that dump glyph matrices.
Eli Zaretskii [Mon, 3 Nov 2014 17:14:50 +0000 (19:14 +0200)]
Fix minor issues with functions that dump glyph matrices.

 src/xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix.
 (Fdump_frame_glyph_matrix): Don't segfault if invoked on a GUI
 frame; instead, print an error message.

9 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
Michael Albinus [Mon, 3 Nov 2014 14:29:51 +0000 (15:29 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
local copy of FILENAME, when it is remote.

Fixes: debbugs:18751