]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years ago* lisp/cedet/semantic: Remove some dead code
Stefan Monnier [Fri, 10 Apr 2015 04:17:19 +0000 (00:17 -0400)]
* lisp/cedet/semantic: Remove some dead code

* lisp/cedet/semantic/util-modes.el
(semantic-stickyfunc-header-line-format): Emacs<22 is not supported
any more.
* lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
not supported any more.
(semantic-safe): Use `declare'.
* lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
(semantic-tag-intangible-p): Remove unused functions.
* lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
Remove unused function.

9 years ago* lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
Stefan Monnier [Fri, 10 Apr 2015 04:11:04 +0000 (00:11 -0400)]
* lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.

(gnus-article-hide-text, gnus-article-unhide-text)
(gnus-article-unhide-text-type): Remove special handling of
`intangible' since that property is not used any more.
(gnus-article-treat-body-boundary): Use gnus-hidden-properties.

9 years ago; Add asterisks and periods
Dmitry Gutov [Fri, 10 Apr 2015 01:10:56 +0000 (04:10 +0300)]
; Add asterisks and periods

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Jay Belanger [Fri, 10 Apr 2015 00:07:15 +0000 (19:07 -0500)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agoUse the VC root in `log-edit-listfun'
Dmitry Gutov [Fri, 10 Apr 2015 00:54:55 +0000 (03:54 +0300)]
Use the VC root in `log-edit-listfun'

* lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
`log-edit-listfun'.

9 years agoFix description of Unix time, mention new function.
Jay Belanger [Fri, 10 Apr 2015 00:03:19 +0000 (19:03 -0500)]
Fix description of Unix time, mention new function.

* lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
Unix time.
* doc/misc/calc.texi (Date Forms): Fix description of Unix time.
(Basic Operations on Units): Mention `calc-convert-exact-units'.

9 years ago* lisp/emacs-lisp/package.el: Use mode-line-process for notification
Artur Malabarba [Wed, 8 Apr 2015 21:59:55 +0000 (22:59 +0100)]
* lisp/emacs-lisp/package.el: Use mode-line-process for notification

9 years ago(log-edit-insert-changelog-entries): Don't add newline after the last entry
Dmitry Gutov [Thu, 9 Apr 2015 23:26:58 +0000 (02:26 +0300)]
(log-edit-insert-changelog-entries): Don't add newline after the last entry

* lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
Don't add newline after the last entry.

9 years agocss-mode.el: Add "not" pseudo-class
Simen Heggestøyl [Thu, 9 Apr 2015 18:58:53 +0000 (20:58 +0200)]
css-mode.el: Add "not" pseudo-class

Fixes: debbugs:20267
* textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to list
of CSS pseudo-classes.

9 years agoetc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
Stefan Monnier [Thu, 9 Apr 2015 18:45:42 +0000 (14:45 -0400)]
etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"

9 years agoStop messing with the EMACS env var
Michael Albinus [Thu, 9 Apr 2015 18:07:20 +0000 (20:07 +0200)]
Stop messing with the EMACS env var

* misc.texi (Interactive Shell): Remove description of EMACS env var.

9 years ago; Add missing (tiny change) and minor cleanup
Paul Eggert [Thu, 9 Apr 2015 17:21:07 +0000 (10:21 -0700)]
; Add missing (tiny change) and minor cleanup

9 years ago; make change-history-commit
Paul Eggert [Thu, 9 Apr 2015 17:16:26 +0000 (10:16 -0700)]
; make change-history-commit

9 years agoAdapt 'make change-history' to coding cookie
Paul Eggert [Thu, 9 Apr 2015 17:16:08 +0000 (10:16 -0700)]
Adapt 'make change-history' to coding cookie

* Makefile.in (change-history): Adjust to change of format of
ChangeLog file, which now has a coding cookie before an indented
copyright notice.

9 years agogitlog-to-changelog coding cookie and mv -i
Paul Eggert [Thu, 9 Apr 2015 16:50:48 +0000 (09:50 -0700)]
gitlog-to-changelog coding cookie and mv -i

* build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
for copyright notice prototype, so that we get a proper "coding:"
cookie.  Use 'mv -i' to avoid unconditionally overwriting an
existing ChangeLog.  Problems reported by Eli Zaretskii in:
http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html

9 years agoMerge from gnulib
Paul Eggert [Thu, 9 Apr 2015 16:31:31 +0000 (09:31 -0700)]
Merge from gnulib

* build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
2015-04-09 gitlog-to-changelog: port to MS-Windows

9 years ago* lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
Boruch Baum [Thu, 9 Apr 2015 15:07:15 +0000 (11:07 -0400)]
* lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.

Fixes: debbugs:20212
9 years agoStop messing with the EMACS env var
Stefan Monnier [Thu, 9 Apr 2015 15:01:04 +0000 (11:01 -0400)]
Stop messing with the EMACS env var

Fixes: debbugs:20202
* lisp/net/tramp-sh.el (tramp-remote-process-environment):
* lisp/comint.el (comint-exec-1):
* lisp/term.el (term-exec-1): Don't set EMACS envvar.
* lisp/progmodes/compile.el (compilation-start): Same and bring
INSIDE_EMACS's format in line with other users.

9 years agocss-mode.el (css-smie-rules): Fix indentation after complex selectors
Stefan Monnier [Thu, 9 Apr 2015 14:51:23 +0000 (10:51 -0400)]
css-mode.el (css-smie-rules): Fix indentation after complex selectors

Fixes: debbugs:20282
* lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
inner structure of selectors.

9 years agopython.el: Indent docstring lines to base-indent
Fabián Ezequiel Gallina [Thu, 9 Apr 2015 04:41:55 +0000 (01:41 -0300)]
python.el: Indent docstring lines to base-indent

Fixes: debbugs:19595
Thanks to immerrr <immerrr@gmail.com> for reporting and providing
an initial patch.

* lisp/progmodes/python.el
(python-indent-context): Add :inside-docstring context.
(python-indent--calculate-indentation): Handle :inside-docstring.
(python-indent-region): Re-indent docstrings.

* test/automated/python-tests.el (python-indent-region-5)
(python-indent-inside-string-2): Fix tests.

9 years agopython.el: Increase native completion robustness
Fabián Ezequiel Gallina [Thu, 9 Apr 2015 03:53:18 +0000 (00:53 -0300)]
python.el: Increase native completion robustness

Fixes: debbugs:19755
Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
this and providing useful ideas.

* lisp/progmodes/python.el
(python-shell-completion-native-output-timeout): Increase value.
(python-shell-completion-native-try-output-timeout): New var.
(python-shell-completion-native-try): Use it.
(python-shell-completion-native-setup): New readline setup avoids
polluting current context, ensures output when no-completions are
available and includes output end marker.
(python-shell-completion-native-get-completions): Trigger with one
tab only.  Call accept-process-output until output end is found or
python-shell-completion-native-output-timeout is exceeded.

9 years ago* lisp/eshell: Make backslash a no-op in front of normal chars
Samer Masterson [Thu, 9 Apr 2015 02:31:51 +0000 (22:31 -0400)]
* lisp/eshell: Make backslash a no-op in front of normal chars

Fixes: debbugs:8531
* lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
(eshell-parse-backslash): Return escaped character after backslash
if it is special.  Otherwise, if the backslash is not in a quoted
string, ignore the backslash and return the character after; if
the backslash is in a quoted string, return the backslash and the
character after.

* test/automated/eshell.el (eshell-test/escape-nonspecial)
(eshell-test/escape-nonspecial-unicode)
(eshell-test/escape-nonspecial-quoted)
(eshell-test/escape-special-quoted): Add tests for new
`eshell-parse-backslash' behavior.

9 years ago(diff-hunk-file-names): Don't require a TAB after the file name
Gustav Hållberg [Thu, 9 Apr 2015 01:47:50 +0000 (21:47 -0400)]
(diff-hunk-file-names): Don't require a TAB after the file name

Fixes: debbugs:20276
9 years ago(diff-hunk-file-names): Don't require a TAB after the file name
Gustav Hållberg [Thu, 9 Apr 2015 01:46:28 +0000 (21:46 -0400)]
(diff-hunk-file-names): Don't require a TAB  after the file name

* lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
after the file name (bug#20276).

9 years agoMinor quoting etc. fixes to Emacs manual
Paul Eggert [Thu, 9 Apr 2015 01:03:06 +0000 (18:03 -0700)]
Minor quoting etc. fixes to Emacs manual

* doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
* doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
* doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
* doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
* doc/emacs/indent.texi, doc/emacs/macos.texi:
* doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
* doc/emacs/programs.texi, doc/emacs/rmail.texi:
* doc/emacs/search.texi, doc/emacs/trouble.texi:
* doc/emacs/vc1-xtra.texi:
Use American-style double quoting in ordinary text,
and quote 'like this' when single-quoting in ASCII text.
Also, fix some minor spacing issues.

9 years agoMinor quoting etc. fixes to elisp intro
Paul Eggert [Thu, 9 Apr 2015 00:40:14 +0000 (17:40 -0700)]
Minor quoting etc. fixes to elisp intro

* doc/lispintro/emacs-lisp-intro.texi: Consistently use
American-style double quoting in ordinary text.  In ASCII text,
consistently quote 'like this' instead of `like this', unless
Emacs requires the latter.

9 years agoCONTRIBUTE: Mention log-edit-insert-changelog
Dmitry Gutov [Thu, 9 Apr 2015 00:36:30 +0000 (03:36 +0300)]
CONTRIBUTE: Mention log-edit-insert-changelog

9 years agoCONTRIBUTE: Emphasize creating the top-level ChangeLog file manually
Dmitry Gutov [Thu, 9 Apr 2015 00:30:42 +0000 (03:30 +0300)]
CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually

9 years ago* doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
Paul Eggert [Thu, 9 Apr 2015 00:19:15 +0000 (17:19 -0700)]
* doc/misc/calc.texi (Summary): Avoid '@:' when usurped.

9 years ago(eieio-copy-parents-into-subclass): Fix inheritance of initargs
Stefan Monnier [Wed, 8 Apr 2015 21:23:50 +0000 (17:23 -0400)]
(eieio-copy-parents-into-subclass): Fix inheritance of initargs

Fixes: debbugs:20270
* lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
Fix inheritance of initargs.

9 years ago* lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
Artur Malabarba [Wed, 8 Apr 2015 18:27:45 +0000 (19:27 +0100)]
* lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification

while dowloading information.

9 years ago* lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
Artur Malabarba [Tue, 7 Apr 2015 17:59:40 +0000 (18:59 +0100)]
* lisp/emacs-lisp/package.el: More conservative `ensure-init-file'

(package--ensure-init-file): Check file contents before visiting.
(package-initialize): Call it.
(package-install-from-buffer, package-install): Don't call it.

9 years ago* src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
Eli Zaretskii [Wed, 8 Apr 2015 15:24:04 +0000 (18:24 +0300)]
* src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800

Fixes: bug#17517
9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Wed, 8 Apr 2015 09:52:12 +0000 (11:52 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agoFix nasty scoping bug in tramp-cache.el
Michael Albinus [Wed, 8 Apr 2015 09:51:22 +0000 (11:51 +0200)]
Fix nasty scoping bug in tramp-cache.el

* lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.

9 years agoAdd notice to visual commands section
Tassilo Horn [Wed, 8 Apr 2015 07:57:58 +0000 (09:57 +0200)]
Add notice to visual commands section

* doc/misc/eshell.texi (Input/Output): Add notice that some tools
such as git call less with its -F option which omits pagination if
the contents is less than one page long.  This interferes with
eshell's visual (sub-)commands.

9 years agoffap: Support environment variable expansion in file names
Dmitry Gutov [Wed, 8 Apr 2015 00:18:38 +0000 (03:18 +0300)]
ffap: Support environment variable expansion in file names

Fixes: debbugs:19839
* lisp/ffap.el (ffap-string-at-point-mode-alist): Support
environment variable expansion in file names.

9 years agoPrefer double-quote to accent-grave in man pages
Paul Eggert [Tue, 7 Apr 2015 18:58:47 +0000 (11:58 -0700)]
Prefer double-quote to accent-grave in man pages

9 years agoFixes: debbugs:20257
Stefan Monnier [Tue, 7 Apr 2015 18:56:54 +0000 (14:56 -0400)]
Fixes: debbugs:20257
* lisp/files.el (set-visited-file-name): Clear auto-save if nil.

9 years agoUpdate etc/PROBLEMS.
Ivan Shmakov [Tue, 7 Apr 2015 17:42:28 +0000 (17:42 +0000)]
Update etc/PROBLEMS.

* etc/PROBLEMS: Mention visible-cursor; a few more mentions of
~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
respectively); other minor updates and tweaks.  (Bug#20011)

9 years agoAdd doc strings for some Isearch state vars
Paul Eggert [Tue, 7 Apr 2015 17:13:06 +0000 (10:13 -0700)]
Add doc strings for some Isearch state vars

* lisp/misearch.el (multi-isearch-buffer-list)
(multi-isearch-file-list): Add doc strings.
Fixes: bug#20232
9 years agoAlways mark "<" and ">" in #include directives with text properties.
Alan Mackenzie [Tue, 7 Apr 2015 11:01:43 +0000 (11:01 +0000)]
Always mark "<" and ">" in #include directives with text properties.

* lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
matcher" with an invocation of c-make-font-lock-search-function to allow
fontification when there's no trailing space on an "#include <..>" line.

9 years agoGenerate a ChangeLog file from commit logs
Paul Eggert [Tue, 7 Apr 2015 07:00:55 +0000 (00:00 -0700)]
Generate a ChangeLog file from commit logs

* .gitignore: Add 'ChangeLog'.
* build-aux/gitlog-to-changelog: New file, from Gnulib.
* build-aux/gitlog-to-emacslog: New file.
* CONTRIBUTE: Document the revised workflow.
* Makefile.in (clean): Remove *.tmp and etc/*.tmp*
instead of just special cases.
(CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
(ChangeLog, unchanged-history-files, change-history)
(change-history-commit): New rules.
* admin/admin.el (make-manuals-dist--1):
Don't worry about doc/ChangeLog.
* admin/authors.el: Add a FIXME.
* admin/make-tarball.txt:
* lisp/calendar/icalendar.el:
* lisp/gnus/deuglify.el:
* lisp/obsolete/gulp.el:
* lwlib/README:
Adjust to renamed ChangeLog history files.
* admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
* admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
Remove obsolete discussion of merging ChangeLog files.
New section "Maintaining ChangeLog history".
* build-aux/git-hooks/pre-commit:
Reject attempts to commit files named 'ChangeLog'.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* make-dist: Make and distribute top-level ChangeLog if there's a
.git directory.  Distribute the new ChangeLog history files
instead of scattered ChangeLog files.  Distribute the new files
gitlog-to-changelog and gitlog-to-emacslog.
Fixes: bug#19113
9 years agoRename ChangeLogs for gitlog-to-changelog
Paul Eggert [Tue, 7 Apr 2015 07:00:06 +0000 (00:00 -0700)]
Rename ChangeLogs for gitlog-to-changelog

This patch was implemented via the following shell commands:
find * -name ChangeLog |
sed 's,.*,git mv & &.1,
s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
s, src/ChangeLog\.1$, src/ChangeLog.13,' |
sh
git commit -am"[this commit message]"

9 years agoMerge from gnulib
Paul Eggert [Tue, 7 Apr 2015 04:47:08 +0000 (21:47 -0700)]
Merge from gnulib

* lib/stddef.in.h: Update from gnulib, incorporating:
2015-04-02 stddef: port to pre-C11 GCC on x86

9 years agoFix miscellaneous glitches in cc-mode.el. Fixes debbugs#20245.
Alan Mackenzie [Mon, 6 Apr 2015 22:20:16 +0000 (22:20 +0000)]
Fix miscellaneous glitches in cc-mode.el.  Fixes debbugs#20245.

* progmodes/cc-mode.el (c-common-init): bind
\(before\|after\)-change-functions to nil around invocations of
c-get-state-before-change-functions and
c-before-font-lock-functions to prevent recursive invocations.
(c-neutralize-syntax-in-and-mark-CPP): On c-beginning-of-macro,
check that point has actually moved back.
(c-fl-decl-start): Check whether c-beginning-of-decl-1 has
actually found a boundary (as contrasted with hitting a search
limit).

9 years agoCC Mode: Stop Font Lock forcing fontification from BOL. Fixes debbugs#19669.
Alan Mackenzie [Sun, 1 Feb 2015 21:20:35 +0000 (21:20 +0000)]
CC Mode: Stop Font Lock forcing fontification from BOL.  Fixes debbugs#19669.

cc-mode.el (c-font-lock-init): Setq font-lock-extend-region-functions to
nil.

9 years agopython.el: Do not break IPython magic completions.
Fabián Ezequiel Gallina [Mon, 6 Apr 2015 22:18:46 +0000 (19:18 -0300)]
python.el: Do not break IPython magic completions.

Fixes: debbugs:19736
* lisp/progmodes/python.el (python-shell-completion-setup-code):
Cleaner setup; import rlcompleter as last resource.

9 years ago* emacs-lisp/package.el: Make the execute prompt less verbose.
Artur Malabarba [Mon, 6 Apr 2015 16:05:53 +0000 (17:05 +0100)]
* emacs-lisp/package.el: Make the execute prompt less verbose.

(package-menu--list-to-prompt): New function.
(package-menu--prompt-transaction-p): Use "Upgrade" to make the
package-menu-execute prompt less verbose.

9 years ago* emacs-lisp/package.el: Fix lack of "new" packages.
Artur Malabarba [Mon, 6 Apr 2015 15:22:07 +0000 (16:22 +0100)]
* emacs-lisp/package.el: Fix lack of "new" packages.

(package-menu--new-package-list)
(package-menu--old-archive-contents): No longer local.

9 years agosrc/w32proc.c: Fix typos in description of subprocess support.
Eli Zaretskii [Mon, 6 Apr 2015 11:52:57 +0000 (14:52 +0300)]
src/w32proc.c: Fix typos in description of subprocess support.

9 years agoMerge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Eli Zaretskii [Mon, 6 Apr 2015 10:28:33 +0000 (13:28 +0300)]
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs

9 years agoAvoid segfaults on MS-Windows when invoking subprocesses (Bug#20264)
Koichi Arakawa [Mon, 6 Apr 2015 10:26:54 +0000 (13:26 +0300)]
Avoid segfaults on MS-Windows when invoking subprocesses  (Bug#20264)

 src/w32proc.c (w32_executable_type): Look for the DLL name in the
 correct section.  This avoids segfaults with some executables.

9 years ago* NEWS: Document async package-menu.
Artur Malabarba [Mon, 6 Apr 2015 10:25:01 +0000 (11:25 +0100)]
* NEWS: Document async package-menu.

9 years agoemacs-lisp/package.el (package-menu-execute): Add async support
Artur Malabarba [Sun, 5 Apr 2015 22:39:43 +0000 (23:39 +0100)]
emacs-lisp/package.el (package-menu-execute): Add async support

Most install/delete logic is now in
`package-menu--perform-transaction', and this function is called
asynchronously if `package-menu-async' is non-nil.

9 years agoemacs-lisp/package.el (package-install): Add ASYNC and CALLBACK
Artur Malabarba [Sun, 5 Apr 2015 22:21:26 +0000 (23:21 +0100)]
emacs-lisp/package.el (package-install): Add ASYNC and CALLBACK

9 years agoemacs-lisp/package.el: Refactor pre-execute prompt
Artur Malabarba [Sun, 5 Apr 2015 21:44:17 +0000 (22:44 +0100)]
emacs-lisp/package.el: Refactor pre-execute prompt

9 years agoemacs-lisp/package.el: Async support in download-transaction
Artur Malabarba [Sun, 5 Apr 2015 14:43:59 +0000 (15:43 +0100)]
emacs-lisp/package.el: Async support in download-transaction

9 years agoSpelling fix for 'hfy-optimizations'
Paul Eggert [Mon, 6 Apr 2015 06:40:54 +0000 (23:40 -0700)]
Spelling fix for 'hfy-optimizations'

* htmlfontify.el (hfy-optimizations): Rename from hfy-optimisations,
with an obsolete alias.  All uses changed.

9 years agoFix typo in previous rtree change
Paul Eggert [Mon, 6 Apr 2015 06:32:40 +0000 (23:32 -0700)]
Fix typo in previous rtree change

9 years agoUse American spelling for 'normalize'
Paul Eggert [Mon, 6 Apr 2015 04:57:10 +0000 (21:57 -0700)]
Use American spelling for 'normalize'

* rtree.el (rtree-normalize-range): Rename from rtree-normalise-range.
All uses changed.  Add an alias for obsolete usages.

9 years agoFix previous commit to prevent infloop
Fabián Ezequiel Gallina [Mon, 6 Apr 2015 04:22:19 +0000 (01:22 -0300)]
Fix previous commit to prevent infloop

9 years agopython.el: Enhance docstring detection following PEP-257.
Fabián Ezequiel Gallina [Mon, 6 Apr 2015 02:58:13 +0000 (23:58 -0300)]
python.el: Enhance docstring detection following PEP-257.

* lisp/progmodes/python.el (python-docstring-at-p): Remove function.
(python-info-assignment-statement-p): New function.
(python-info-assignment-continuation-line-p): Use it.
(python-info-docstring-p): New function.
(python-font-lock-syntactic-face-function)
(python-fill-string): Use it.

* test/automated/python-tests.el (python-info-assignment-statement-p-1)
(python-info-assignment-statement-p-2)
(python-info-assignment-statement-p-3, python-info-docstring-p-1)
(python-info-docstring-p-2, python-info-docstring-p-3)
(python-info-docstring-p-4, python-info-docstring-p-5)
(python-info-docstring-p-6): New tests.

9 years ago; Minor ChangeLog fix
Paul Eggert [Sun, 5 Apr 2015 19:47:20 +0000 (12:47 -0700)]
; Minor ChangeLog fix

9 years agoFix byte-compilation warning in lisp/ses.el
Eli Zaretskii [Sun, 5 Apr 2015 17:18:19 +0000 (20:18 +0300)]
Fix byte-compilation warning in lisp/ses.el

 lisp/ses.el (ses-sym-rowcol): Move up, before the first use, to avoid
 byte-compiler warnings.

9 years agoTidy up fix to debbugs#20240.
Alan Mackenzie [Sun, 5 Apr 2015 14:40:57 +0000 (14:40 +0000)]
Tidy up fix to debbugs#20240.

* jit-lock.el (jit-lock-after-change): Widen the buffer only
whilst putting the 'fontified text properties.

9 years agoFix lisp/ChangeLog formatting.
Eli Zaretskii [Sun, 5 Apr 2015 13:05:31 +0000 (16:05 +0300)]
Fix lisp/ChangeLog formatting.

9 years agoRationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r.
Alan Mackenzie [Sun, 5 Apr 2015 12:41:45 +0000 (12:41 +0000)]
Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r.

Also expunge eudc-c[ad]+r.

* subr.el (internal--compiler-macro-cXXr): "New" function, copied
from cl--compiler-macro-cXXr.
(caar, cadr, cdar, cddr): Change from defsubsts to defuns with
the above compiler-macro.

* net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove.

* emacs-lisp/cl.el (Top level dolist doing defaliases): Remove
caaar, etc., from list of new alias functions.

* emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc.
(gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro
which generate obsolete cl- aliases for caaar, etc.  Invoke them.

* desktop.el:
* edmacro.el:
* emacs-lisp/cl-macs.el:
* frameset.el:
* ibuffer.el:
* mail/footnote.el:
* net/dbus.el:
* net/eudc-export.el:
* net/eudc.el:
* net/eudcb-ph.el:
* net/rcirc.el:
* net/secrets.el:
* play/5x5.el:
* play/decipher.el:
* play/hanoi.el:
* progmodes/hideif.el:
* ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr, etc.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Richard Stallman [Sun, 5 Apr 2015 12:44:01 +0000 (08:44 -0400)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

Conflicts:
lisp/ChangeLog

9 years ago * mail/rmail.el (rmail-show-message-1): When displaying a mime message,
Richard Stallman [Sun, 5 Apr 2015 12:36:56 +0000 (08:36 -0400)]
   * mail/rmail.el (rmail-show-message-1): When displaying a mime message,
       indicate start and finish in the echo area.

       * mail/rmail.el (rmail-epa-decrypt): Disregard <pre> before armor.
       Ignore more kinds of whitespace in mime headers.
       Modify the decrypted mime part's mime type so it will be displayed
       by default when visiting this message again.

       * net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc.
       (browse-url-firefox-arguments)
       (browse-url-firefox-startup-arguments): Doc fix.

9 years agoemacs-lisp/package.el: Add package-initialize to user-init-file.
Artur Malabarba [Sun, 5 Apr 2015 10:01:09 +0000 (11:01 +0100)]
emacs-lisp/package.el: Add package-initialize to user-init-file.

9 years agoemacs-lisp/package.el: Prevent outdated downloads-in-progress.
Artur Malabarba [Sat, 4 Apr 2015 20:00:38 +0000 (21:00 +0100)]
emacs-lisp/package.el: Prevent outdated downloads-in-progress.

9 years agoRemove entry from last sync with emacs-24, it wasn't applicable
Michael Albinus [Sun, 5 Apr 2015 07:30:03 +0000 (09:30 +0200)]
Remove entry from last sync with emacs-24, it wasn't applicable

9 years agoFix .emacs and .emacs.d/init file recursion problem for NaCl
Pete Williamson [Sun, 5 Apr 2015 03:18:45 +0000 (20:18 -0700)]
Fix .emacs and .emacs.d/init file recursion problem for NaCl

* files.el (file-truename): Add NaCl to the exception list ms-dos uses.

9 years agoMerge from origin/emacs-24
Paul Eggert [Sat, 4 Apr 2015 22:02:09 +0000 (15:02 -0700)]
Merge from origin/emacs-24

21d4bf6 * admin/make-tarball.txt: Copyedits.
f3b70a7 ; ChangeLog fix
07432a8 Revert "CC Mode: Stop Font Lock forcing fontification from BOL."

Conflicts:
lisp/ChangeLog

9 years agoMerge from origin/emacs-24
Paul Eggert [Sat, 4 Apr 2015 21:59:06 +0000 (14:59 -0700)]
Merge from origin/emacs-24

The following commit was skipped:

0ad5fe0 * etc/AUTHORS: Update the AUTHORS file

9 years agoMerge from origin/emacs-24
Paul Eggert [Sat, 4 Apr 2015 21:58:35 +0000 (14:58 -0700)]
Merge from origin/emacs-24

dd3f567 Fix tramp-tests.el

Conflicts:
test/ChangeLog

9 years agoMerge from origin/emacs-24
Paul Eggert [Sat, 4 Apr 2015 21:58:01 +0000 (14:58 -0700)]
Merge from origin/emacs-24

The following commit was skipped:

1b70aa6 Fix bug#20233, do not merge with master

9 years ago(package--with-work-buffer-async): Protect macro arguments.
Artur Malabarba [Sat, 4 Apr 2015 19:44:59 +0000 (20:44 +0100)]
(package--with-work-buffer-async): Protect macro arguments.

9 years agoemacs-lisp/package.el: Don't overwrite downloads-in-progress.
Artur Malabarba [Sat, 4 Apr 2015 19:20:21 +0000 (20:20 +0100)]
emacs-lisp/package.el: Don't overwrite downloads-in-progress.

9 years agoQuote directory name in tramp-flush-directory-property
Michael Albinus [Sat, 4 Apr 2015 18:34:47 +0000 (20:34 +0200)]
Quote directory name in tramp-flush-directory-property

* net/tramp-cache.el (tramp-flush-directory-property): Quote directory
name when used in regexp.

9 years agoClose a timing hole in selections.
Jan D [Sat, 4 Apr 2015 14:10:06 +0000 (16:10 +0200)]
Close a timing hole in selections.

Fixes: debbugs:16737
* src/xselect.c (x_reply_selection_request)
(receive_incremental_selection): Call set_property_change_object
inside block_input.
(wait_for_property_change): Move set property_change_reply(_object)
outside of this function.
(set_property_change_object): New function.

9 years agoFix debbugs#20240 part two (jit-lock error during `comment-dwim').
Alan Mackenzie [Sat, 4 Apr 2015 10:26:31 +0000 (10:26 +0000)]
Fix debbugs#20240 part two (jit-lock error during `comment-dwim').

jit-lock.el (jit-lock-after-change): Widen the buffer before
putting 'fontified text properties.

9 years agoconfigure.ac: Update comment.
Ulrich Müller [Sat, 4 Apr 2015 08:10:11 +0000 (10:10 +0200)]
configure.ac: Update comment.

9 years agoPort 'configure' to clang 3.5
Paul Eggert [Fri, 3 Apr 2015 20:05:23 +0000 (13:05 -0700)]
Port 'configure' to clang 3.5

* configure.ac: Add -Wno-unknown-attributes if clang; otherwise
clang 3.5.0 (Fedora 21 x86-64) complains
"/usr/include/glib-2.0/glib/gmem.h: ... warning: unknown attribute
'__alloc_size__' ignored".  Use -Werror when checking for -nopie;
otherwise clang warns about -nopie instead of failing, and then
later it warns everytime the build uses -nopie.

9 years agoFix Bug#20249
Michael Albinus [Fri, 3 Apr 2015 16:52:27 +0000 (18:52 +0200)]
Fix Bug#20249

Fixes: debbugs:20249
* net/tramp-cache.el (tramp-flush-file-property)
(tramp-flush-directory-property): Use `directory-file-name' of the
truename.

9 years ago* admin/make-tarball.txt: Copyedits.
Glenn Morris [Fri, 3 Apr 2015 15:16:23 +0000 (11:16 -0400)]
* admin/make-tarball.txt: Copyedits.

9 years ago; ChangeLog fix
Glenn Morris [Fri, 3 Apr 2015 15:11:15 +0000 (11:11 -0400)]
; ChangeLog fix

9 years agoRevert "CC Mode: Stop Font Lock forcing fontification from BOL. Bug#19669."
Alan Mackenzie [Fri, 3 Apr 2015 12:22:45 +0000 (12:22 +0000)]
Revert "CC Mode: Stop Font Lock forcing fontification from BOL.  Bug#19669."

This reverts commit d69e9f1c24f37f36af33b0468c5a4e100dbb09b6.

9 years agoDon't optimized away tool tip redraw, may lead to corrupted text.
Jan D [Fri, 3 Apr 2015 11:59:05 +0000 (13:59 +0200)]
Don't optimized away tool tip redraw, may lead to corrupted text.

* src/xterm.c (handle_one_xevent): Always redraw tool tips on
MapNotify.  Update tool tip frame sizes on ConfigureNotify.

9 years agopcmpl-ssh-known-hosts: Use `char-before' instead of `looking-back'.
Nicolas Richard [Fri, 3 Apr 2015 10:28:40 +0000 (12:28 +0200)]
pcmpl-ssh-known-hosts: Use `char-before' instead of `looking-back'.

Fixes: debbugs:17284
* lisp/pcmpl-unix.el (pcmpl-ssh-known-hosts): Use `char-before' instead
of `looking-back'.

9 years agoconfigure.ac: Add -nopie to LD_SWITCH_SYSTEM_TEMACS.
Ulrich Müller [Mon, 16 Mar 2015 16:09:54 +0000 (17:09 +0100)]
configure.ac: Add -nopie to LD_SWITCH_SYSTEM_TEMACS.

* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option if it
is supported, in order to avoid segfaults in temacs.  (Bug#18784)

9 years ago; Tweak the previous change
Dmitry Gutov [Fri, 3 Apr 2015 04:13:14 +0000 (07:13 +0300)]
; Tweak the previous change

9 years agojs-mode: Don't indent inside a multiline string literal
Dmitry Gutov [Fri, 3 Apr 2015 03:37:12 +0000 (06:37 +0300)]
js-mode: Don't indent inside a multiline string literal

* lisp/progmodes/js.el (js-indent-line): Do nothing when bol is inside
a string (https://github.com/mooz/js2-mode/issues/227).

9 years agolisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Make external links absolute...
Katsumi Yamaoka [Fri, 3 Apr 2015 03:18:52 +0000 (03:18 +0000)]
lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Make external links absolute and cid file names relative

9 years ago* lisp/abbrev.el (define-abbrev-table): Treat a non-string "docstring" as
Stefan Monnier [Thu, 2 Apr 2015 14:00:48 +0000 (10:00 -0400)]
* lisp/abbrev.el (define-abbrev-table): Treat a non-string "docstring" as

part of the "props" arguments rather than silently ignoring it.

9 years ago* lisp/emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.
Stefan Monnier [Thu, 2 Apr 2015 13:59:47 +0000 (09:59 -0400)]
* lisp/emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.

9 years ago* etc/AUTHORS: Update the AUTHORS file emacs-24.5-rc2
Nicolas Petton [Wed, 1 Apr 2015 20:27:47 +0000 (22:27 +0200)]
* etc/AUTHORS: Update the AUTHORS file

9 years agoFix the CC Mode fixes from 2015-03-30. Fixes debbugs#20240.
Alan Mackenzie [Wed, 1 Apr 2015 19:12:07 +0000 (19:12 +0000)]
Fix the CC Mode fixes from 2015-03-30.  Fixes debbugs#20240.

* progmodes/cc-mode.el (c-extend-after-change-region): Widen before
applying text properties.
* progmodes/cc-langs.el (c-before-font-lock-functions): Update an entry
to a new function name.

9 years ago* emacs-lisp/package.el: Spelling fixes and use active voice.
Paul Eggert [Wed, 1 Apr 2015 17:21:47 +0000 (10:21 -0700)]
* emacs-lisp/package.el: Spelling fixes and use active voice.