]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 years agoUpdate documentation for obsoleting 'syntax-begin-function'
Eli Zaretskii [Sun, 10 Jan 2016 18:05:46 +0000 (20:05 +0200)]
Update documentation for obsoleting 'syntax-begin-function'

* doc/lispref/syntax.texi (Position Parse): Undocument
'syntax-begin-function' that is now obsolete.

8 years ago; * etc/NEWS: Mark documented and not-to-be-documented entries.
Eli Zaretskii [Sun, 10 Jan 2016 17:59:17 +0000 (19:59 +0200)]
; * etc/NEWS: Mark documented and not-to-be-documented entries.

8 years agoDocument new features if Eshell
Eli Zaretskii [Sun, 10 Jan 2016 17:24:54 +0000 (19:24 +0200)]
Document new features if Eshell

* doc/misc/eshell.texi (Input/Output): Document the new
'#<bufname>' syntax.
(Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
Disable "Key Index" generation, as there are no @kindex entries in
this manual.

8 years ago; * etc/NEWS: Update EUDC entries.
Eli Zaretskii [Sun, 10 Jan 2016 16:30:10 +0000 (18:30 +0200)]
; * etc/NEWS: Update EUDC entries.

8 years agoHandle too long commands in Tramp
Michael Albinus [Sun, 10 Jan 2016 12:07:21 +0000 (13:07 +0100)]
Handle too long commands in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
(tramp-do-file-attributes-with-ls): Send sequence of commands, in
order to not exceed shell command line limit.

* test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
(tramp--test-utf8): Include Arabic file name, again.

8 years ago* .gitattributes: *.cur and *.pif are binary files too.
Paul Eggert [Sun, 10 Jan 2016 08:51:10 +0000 (00:51 -0800)]
* .gitattributes: *.cur and *.pif are binary files too.

8 years ago* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
Stefan Monnier [Sun, 10 Jan 2016 05:32:13 +0000 (00:32 -0500)]
* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined

8 years ago* sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
Stefan Monnier [Sun, 10 Jan 2016 05:31:29 +0000 (00:31 -0500)]
* sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)

* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
within $(...).
* test/indent/shell.sh: Add corresponding test.

8 years ago* src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
Stefan Monnier [Sun, 10 Jan 2016 02:15:12 +0000 (21:15 -0500)]
* src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value

(mark_memory): Simplify loop.  Don't assume a pointer-sized word can be
cast to Lisp_Object.

8 years ago; Account for spaces before the filename
Dmitry Gutov [Sun, 10 Jan 2016 01:38:34 +0000 (04:38 +0300)]
; Account for spaces before the filename

8 years agoUse short date for 'hg annotate', and output the author
Dmitry Gutov [Sun, 10 Jan 2016 01:09:42 +0000 (04:09 +0300)]
Use short date for 'hg annotate', and output the author

* lisp/vc/vc-hg.el (vc-hg-annotate-command):
Change '-d' to '-dq'.  (Bug#21805)
(vc-hg-annotate-switches): Default to "-u" "--follow".
(vc-hg-annotate-re): Update to recognize the short date format
and the optional username.
(vc-hg-annotate-time)
(vc-hg-annotate-extract-revision-at-line): Update accordingly.

* test/automated/vc-hg.el: New file.

8 years agoSpelling fix
Paul Eggert [Sun, 10 Jan 2016 00:15:01 +0000 (16:15 -0800)]
Spelling fix

8 years ago; * etc/NEWS: Fix the Xref entries that got separated.
Eli Zaretskii [Sat, 9 Jan 2016 20:05:41 +0000 (22:05 +0200)]
; * etc/NEWS: Fix the Xref entries that got separated.

8 years agoDocument user-level functions in project.el
Eli Zaretskii [Sat, 9 Jan 2016 19:45:33 +0000 (21:45 +0200)]
Document user-level functions in project.el

* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): Add doc strings.

8 years agoDocument the user-level features of the Xref package
Eli Zaretskii [Sat, 9 Jan 2016 19:12:46 +0000 (21:12 +0200)]
Document the user-level features of the Xref package

* doc/emacs/maintaining.texi (Maintaining): Add a list of
described features.
(Xref): New section, made out of thoroughly rewritten "Tags"
section.
(Find Identifiers, Looking Up Identifiers, Xref Commands)
(Identifier Search, List Identifiers): New subsections,
incorporating the old tags commands and the new xref commands.
(Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
Section and subsections demoted to a lower level.
* doc/emacs/search.texi (Search):
* doc/emacs/windows.texi (Pop Up Window):
* doc/emacs/frames.texi (Creating Frames):
* doc/emacs/programs.texi (Imenu, Symbol Completion):
* doc/emacs/building.texi (Grep Searching):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/glossary.texi (Glossary): All references to tags changed.

8 years ago* loading.texi: Add `define-type' entry for load-history
Stefan Monnier [Sat, 9 Jan 2016 17:50:10 +0000 (12:50 -0500)]
* loading.texi: Add `define-type' entry for load-history

* doc/lispref/loading.texi (Where Defined): Remove incorrect
cl-defmethod description, and add missing define-type entry.

8 years agoImprove doc strings and prompts in xref.el
Eli Zaretskii [Sat, 9 Jan 2016 17:06:52 +0000 (19:06 +0200)]
Improve doc strings and prompts in xref.el

* lisp/progmodes/xref.el (xref-backend-functions)
(xref-find-definitions): Doc fixes.
(xref-query-replace): Doc fix.  Improve prompts for arguments.

8 years agoAllow the use of `font-lock-extend-region-multiline' in CC Mode.
Alan Mackenzie [Sat, 9 Jan 2016 15:18:29 +0000 (15:18 +0000)]
Allow the use of `font-lock-extend-region-multiline' in CC Mode.

* lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
`font-lock-extend-regions-wholelines' from
`font-lock-extend-region-functions' rather than setting the latter to
nil.

8 years agoFix coding system for Tramp on OS X.
Michael Albinus [Sat, 9 Jan 2016 12:55:02 +0000 (13:55 +0100)]
Fix coding system for Tramp on OS X.

* lisp/net/tramp-compat.el: Require ucs-normalize.

* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Set coding system to `utf-8-hfs' for Mac OS X.

* test/automated/tramp-tests.el (tramp-test29-vc-registered):
Flush directory properties when needed.
(tramp--test-utf8): Include Chinese file name, again.

8 years ago; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
Eli Zaretskii [Sat, 9 Jan 2016 10:09:13 +0000 (12:09 +0200)]
; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.

8 years agoUpdate 'load-history' docs
Eli Zaretskii [Sat, 9 Jan 2016 08:55:35 +0000 (10:55 +0200)]
Update 'load-history' docs

* doc/lispref/loading.texi (Where Defined): Update the list of
forms in 'load-history' by adding the forms created for the
'cl-generic' generics.  (Bug#21422)

8 years agoFix (error ...) error
Paul Eggert [Fri, 8 Jan 2016 22:53:10 +0000 (14:53 -0800)]
Fix (error ...) error

Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
* lisp/vc/add-log.el (change-log-goto-source): Fix typos
introduced in my Aug 28 change, where I got confused by the
two meanings of (error ...).

8 years agoCorrectly analyze brace arguments in templated C++ function declarations.
Alan Mackenzie [Fri, 8 Jan 2016 22:42:47 +0000 (22:42 +0000)]
Correctly analyze brace arguments in templated C++ function declarations.

* lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
POS and LIMIT parameters, like the other c-go-list-* functions have.

* lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
for a ?\( rather than a ?<.  (c-looking-at-inexpr-block): Handle names
followed by template specifiers.

8 years ago* lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
Glenn Morris [Fri, 8 Jan 2016 21:31:56 +0000 (16:31 -0500)]
* lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.

8 years ago* lisp/ffap.el (ffap-latex-mode): Avoid free variable.
Glenn Morris [Fri, 8 Jan 2016 21:28:09 +0000 (16:28 -0500)]
* lisp/ffap.el (ffap-latex-mode): Avoid free variable.

8 years ago* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
Mark Oteiza [Fri, 8 Jan 2016 17:19:09 +0000 (12:19 -0500)]
* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.

8 years agoRespect fontification region calculated by major mode. Fixes bug #22316.
Alan Mackenzie [Fri, 8 Jan 2016 14:41:58 +0000 (14:41 +0000)]
Respect fontification region calculated by major mode.  Fixes bug #22316.

* lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
fontification region has been calculated by a function on
font-lock-extend-after-change-region-function use this region rather than
changing the end position to somewhere else.

8 years agoImprove documentation of Delete Selection mode
Eli Zaretskii [Fri, 8 Jan 2016 12:06:13 +0000 (14:06 +0200)]
Improve documentation of Delete Selection mode

* lisp/delsel.el (delete-selection-mode)
(delete-selection-helper): Update and expand the doc strings.
(Bug#22296)

* doc/emacs/mark.texi (Using Region): Document the behavior of
delete commands in Delete Selection mode.  (Bug#22296)

* doc/lispref/markers.texi (The Mark): Document how to add the
support for Delete Selection mode to Lisp programs. (Bug#22296)

8 years agoFix two project-find-file issues
Dmitry Gutov [Fri, 8 Jan 2016 11:32:27 +0000 (14:32 +0300)]
Fix two project-find-file issues

* lisp/progmodes/project.el (project--value-in-dir):
Temporarily set enable-local-variables to :all.
(project-find-file, project-or-external-find-file):
All autoloads.
(project--find-file-in): Require xref.

8 years agoClarify doc string of 'dired-current-directory'
Eli Zaretskii [Fri, 8 Jan 2016 10:40:14 +0000 (12:40 +0200)]
Clarify doc string of 'dired-current-directory'

* lisp/dired.el (dired-current-directory): Doc fix: clarify that
the return value might not end in a slash when called with the
optional argument non-nil.  (Bug#6273)

8 years agoUse the face of preceding text for displaying the ellipsis
Eli Zaretskii [Fri, 8 Jan 2016 10:12:53 +0000 (12:12 +0200)]
Use the face of preceding text for displaying the ellipsis

* src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
text in it->saved_face_id for displaying the ellipsis, and ignore
the face, if any, of the invisible text.  (Bug#22320)

8 years agoSuppress Chinese file name test for OSX in tramp-tests.el
Michael Albinus [Fri, 8 Jan 2016 09:09:37 +0000 (10:09 +0100)]
Suppress Chinese file name test for OSX in tramp-tests.el

* test/automated/tramp-tests.el (tramp--test-utf8):
Remove instrumentation.  Suppress Chinese file name test for OSX.

8 years ago; * lisp/startup.el: Sentences end with two spaces.
Glenn Morris [Fri, 8 Jan 2016 01:37:17 +0000 (20:37 -0500)]
; * lisp/startup.el: Sentences end with two spaces.

8 years ago* admin/admin.el (set-version): Also handle the NEWS file.
Glenn Morris [Fri, 8 Jan 2016 01:16:31 +0000 (20:16 -0500)]
* admin/admin.el (set-version): Also handle the NEWS file.

8 years ago; Add NEWS entry for project.el
Dmitry Gutov [Thu, 7 Jan 2016 23:54:50 +0000 (02:54 +0300)]
; Add NEWS entry for project.el

8 years agoapropos-library: Skip obvious duplicates; don't error on generics
Dmitry Gutov [Thu, 7 Jan 2016 23:26:55 +0000 (02:26 +0300)]
apropos-library: Skip obvious duplicates; don't error on generics

* lisp/apropos.el (apropos-library): Skip "was an autoload"
entries, to avoid obvious duplicates.  For each cl-defmethod
entry, take just its function symbol (bug#21422).

8 years ago; Grammar fix
Dmitry Gutov [Thu, 7 Jan 2016 21:19:32 +0000 (00:19 +0300)]
; Grammar fix

8 years agoAdd project-find-file and project-or-external-find-file
Dmitry Gutov [Thu, 7 Jan 2016 17:14:40 +0000 (20:14 +0300)]
Add project-find-file and project-or-external-find-file

* lisp/minibuffer.el (completion-category-defaults):
Add `project-file' category.

* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): New commands.
(project--find-file-in): New private function.

* lisp/progmodes/xref.el (xref-collect-matches): Use
`expand-file-name' on DIR, to expand the tildes.
(xref--find-ignores-arguments): Extract from
`xref--rgrep-command'.

8 years ago; Improve commentary in 'setup_for_ellipsis'
Eli Zaretskii [Thu, 7 Jan 2016 16:45:42 +0000 (18:45 +0200)]
; Improve commentary in 'setup_for_ellipsis'

* src/xdisp.c (setup_for_ellipsis): Improve commentary for when we
reset the ellipsis face to the default face.

8 years ago; Improve docstring for `inhibit-startup-echo-area-message'
Phillip Lord [Thu, 7 Jan 2016 11:39:03 +0000 (11:39 +0000)]
; Improve docstring for `inhibit-startup-echo-area-message'

Both the docstring and comments now indicate why this variable has
specialised treatment.

8 years ago; * etc/NEWS: Backport edit made on wrong branch.
Glenn Morris [Thu, 7 Jan 2016 07:22:04 +0000 (23:22 -0800)]
; * etc/NEWS: Backport edit made on wrong branch.

8 years agoAdd defvar-local to lisp-imenu-generic-expression
Leo Liu [Thu, 7 Jan 2016 03:00:52 +0000 (11:00 +0800)]
Add defvar-local to lisp-imenu-generic-expression

* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
  defvar-local.

8 years agoRevert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
Leo Liu [Thu, 7 Jan 2016 01:48:00 +0000 (09:48 +0800)]
Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
  Don't declare (indent 1).

8 years ago* lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
Glenn Morris [Thu, 7 Jan 2016 01:36:46 +0000 (20:36 -0500)]
* lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.

8 years ago* lisp/emacs-lisp/autoload.el (autoload-find-destination):
Glenn Morris [Thu, 7 Jan 2016 00:56:47 +0000 (19:56 -0500)]
* lisp/emacs-lisp/autoload.el (autoload-find-destination):

Avoid specifying the length of a time object (it has not been "2"
for some time).

8 years agoProperly encode/decode base64Binary data in SOAP
Andreas Schwab [Wed, 6 Jan 2016 19:50:02 +0000 (20:50 +0100)]
Properly encode/decode base64Binary data in SOAP

* lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
base64Binary value as utf-8.
(soap-decode-xs-basic-type): Decode base64Binary value as utf-8.

8 years agoObey coding-system-for-write when writing stdout/stderr in batch
Eli Zaretskii [Wed, 6 Jan 2016 18:25:45 +0000 (20:25 +0200)]
Obey coding-system-for-write when writing stdout/stderr in batch

* src/print.c (printchar_to_stream):
* src/xdisp.c (message_to_stderr): If coding-system-for-write has
a non-nil value, use it to encode output in preference to
locale-coding-system.  See the discussions in
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
for the details.

* doc/lispref/os.texi (Terminal Output): Document how to send
non-ASCII text via 'send-string-to-terminal'.
(Batch Mode): Document how text written to standard streams is
encoded.  Fix inaccuracy regarding which output streams are used
by output functions in batch mode.

8 years ago* doc/misc/efaq.texi (Packages that do not come with Emacs):
Xue Fuqiao [Wed, 6 Jan 2016 09:17:24 +0000 (17:17 +0800)]
* doc/misc/efaq.texi (Packages that do not come with Emacs):
Update the URI of MELPA and marmalade-repo.  Reported by CHENG Gao
<chenggao@royau.me> in
https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.

8 years ago* lisp/progmodes/opascal.el (opascal-mode-syntax-table):
Maksim Golubev [Wed, 6 Jan 2016 00:17:55 +0000 (19:17 -0500)]
* lisp/progmodes/opascal.el (opascal-mode-syntax-table):

Fix backslash.  (Bug#22224)

Copyright-paperwork-exempt: yes

8 years ago* lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
Federico Beffa [Tue, 5 Jan 2016 23:59:19 +0000 (18:59 -0500)]
* lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):

Make it actually work.  (Bug#22265)

Copyright-paperwork-exempt: yes

8 years agoRemove function wrongly on AWK Mode value of context fontification hook.
Alan Mackenzie [Tue, 5 Jan 2016 21:16:37 +0000 (21:16 +0000)]
Remove function wrongly on AWK Mode value of context fontification hook.

* lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
swap order of entries so that awk's entry isn't superseded by the default.

* lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
to handle nil value of c-before-context-fontification-functions.

8 years ago* src/buffer.c: Stick with ASCII in doc string.
Paul Eggert [Tue, 5 Jan 2016 17:17:58 +0000 (09:17 -0800)]
* src/buffer.c: Stick with ASCII in doc string.

8 years agoReword transient-mark-mode doc string
Paul Eggert [Tue, 5 Jan 2016 17:01:21 +0000 (09:01 -0800)]
Reword transient-mark-mode doc string

* src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
The value 'lambda (literally) can be interpreted as (quote lambda),
which is not intended here; we want just the lambda symbol.

8 years agoUpdate doc string of 'selective-display'
Eli Zaretskii [Tue, 5 Jan 2016 15:49:50 +0000 (17:49 +0200)]
Update doc string of 'selective-display'

* src/buffer.c (syms_of_buffer) <selective-display>: Say that
using it with the value of 't' is obsolete.  (Bug#1092)

8 years agoMake C++ buffers writeable when writing their initial text properties.
Alan Mackenzie [Tue, 5 Jan 2016 10:30:55 +0000 (10:30 +0000)]
Make C++ buffers writeable when writing their initial text properties.

This is a correction to yesterday's CC Mode patch.

* lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
c-save-buffer-state around the function rather than a mere `let'.

8 years agoAdditional changes for "make check-expensive"
Michael Albinus [Tue, 5 Jan 2016 08:47:41 +0000 (09:47 +0100)]
Additional changes for "make check-expensive"

* CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
Explain make target `check-expensive'.

* etc/NEWS: Mention new make target `check-expensive'.

* test/automated/Makefile.in (check-doit): New target.
(check, check-expensive): Use it.

8 years ago; * admin/MAINTAINERS: Remove myself.
Xue Fuqiao [Tue, 5 Jan 2016 02:28:25 +0000 (10:28 +0800)]
; * admin/MAINTAINERS: Remove myself.

; Lack of time.

8 years agoApply text properties for <, > in new after-change function (C++ Java Modes).
Alan Mackenzie [Mon, 4 Jan 2016 22:29:33 +0000 (22:29 +0000)]
Apply text properties for <, > in new after-change function (C++ Java Modes).

These are category/syntax-table properties to give < and > paren syntax.
Also apply certain `c-type' text properties to the insides of <..> constructs
to ensure that identifiers contained by them get fontified.  This patch fixes
bug #681.

* lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
after-change action.

* lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
change region to include <s and >s which might not be already marked as
parens, rather than just when paren text properties are removed.
(c-restore-<>-properties): New after-change function, which applies text
properties marking < and > with paren syntax.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
properties are applied to the interiors of <...> constructs, to ensure
fontification of identifiers there.

* lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
c-restore-<>-properties to this list for C++ and Java.

* lisp/progmodes/cc-mode.el (c-common-init): When invoking
c-before-font-lock-functions, exclude c-restore-<>-properties from the
functions invoked.
(c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
to allow modification by before-change functions.
(c-after-change): Amend c-new-END here, rather than initializing it and
c-new-BEG.

8 years agoMerge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
Michael Albinus [Mon, 4 Jan 2016 22:28:23 +0000 (23:28 +0100)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

8 years agoIntroduce check-expensive tests.
Michael Albinus [Mon, 4 Jan 2016 22:28:07 +0000 (23:28 +0100)]
Introduce check-expensive tests.

* Makefile.in (check-expensive):
* test/automated/Makefile.in (check-expensive): New target.

* test/automated/auto-revert-tests.el
(auto-revert-test01-auto-revert-several-files):
* test/automated/file-notify-tests.el (file-notify--deftest-remote):
* test/automated/tramp-tests.el (tramp-test26-process-file)
(tramp-test27-start-file-process, tramp-test28-shell-command)
(tramp-test29-vc-registered)
(tramp-test31-special-characters-with-stat)
(tramp-test31-special-characters-with-perl)
(tramp-test31-special-characters-with-ls)
(tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
(tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
(tramp-test35-unload): Tag the tests as :expensive-test.

8 years agoshr-tag-video bug fix
Lars Magne Ingebrigtsen [Mon, 4 Jan 2016 22:03:16 +0000 (23:03 +0100)]
shr-tag-video bug fix

* shr.el (shr-tag-video): Protect against the `poster' being
empty.

8 years agoMinor fixes in tramp-tests.el
Michael Albinus [Mon, 4 Jan 2016 18:25:39 +0000 (19:25 +0100)]
Minor fixes in tramp-tests.el

* test/automated/tramp-tests.el (tramp-test26-process-file):
Move point properly.
(tramp-test29-vc-registered): Work with relative file names.

8 years agoEnsure redisplay when 'truncate-lines' is set
Eli Zaretskii [Mon, 4 Jan 2016 17:08:37 +0000 (19:08 +0200)]
Ensure redisplay when 'truncate-lines' is set

* lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
(Bug#22303)

8 years agoFix a doc string of 'transient-mark-mode'
Eli Zaretskii [Mon, 4 Jan 2016 16:58:20 +0000 (18:58 +0200)]
Fix a doc string of 'transient-mark-mode'

* src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
"lambda" in doc string from becoming a link to lambda expressions.

8 years agoMS-Windows followup to latest gnulib update
Eli Zaretskii [Mon, 4 Jan 2016 16:25:21 +0000 (18:25 +0200)]
MS-Windows followup to latest gnulib update

* nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.

8 years agoSpelling fix
Paul Eggert [Mon, 4 Jan 2016 07:51:44 +0000 (23:51 -0800)]
Spelling fix

8 years agoDo secure signed Bcc handling
Jens Lechtenboerger [Mon, 4 Jan 2016 00:56:11 +0000 (01:56 +0100)]
Do secure signed Bcc handling

* lisp/gnus/message.el (message-send): Do secure signed Bcc handling
(bug#18718).

8 years agoAvoid stdio in SIGINT handler
Paul Eggert [Sun, 3 Jan 2016 23:00:49 +0000 (15:00 -0800)]
Avoid stdio in SIGINT handler

* admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/ignore-value.h: New file, from gnulib.
* src/keyboard.c: Include it.
(write_stdout, read_stdin): New functions.
(handle_interrupt): Use them instead of printf and getchar,
and avoid fflush when handling signals.

8 years ago* doc/misc/texinfo.tex: Revert unwanted copyright change.
Paul Eggert [Sun, 3 Jan 2016 22:47:05 +0000 (14:47 -0800)]
* doc/misc/texinfo.tex: Revert unwanted copyright change.

8 years ago; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
Glenn Morris [Sun, 3 Jan 2016 19:32:57 +0000 (11:32 -0800)]
; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.

8 years ago* lisp/align.el (align): Simplify a lambda
Artur Malabarba [Sun, 3 Jan 2016 16:58:35 +0000 (16:58 +0000)]
* lisp/align.el (align): Simplify a lambda

8 years ago* lisp/align.el (align): Fix arg order in call to `align-region'
Artur Malabarba [Sun, 3 Jan 2016 16:57:12 +0000 (16:57 +0000)]
* lisp/align.el (align): Fix arg order in call to `align-region'

8 years agoFix compilation next-error in buffers with selective-display
Eli Zaretskii [Sun, 3 Jan 2016 15:22:06 +0000 (17:22 +0200)]
Fix compilation next-error in buffers with selective-display

* lisp/progmodes/compile.el (compilation-beginning-of-line): New
function.
(compilation-internal-error-properties)
(compilation-next-error-function, compilation-set-window): Use
it.  (Bug#1092)

8 years ago* nsm.el (nsm-check-protocol): Fix typo in the message.
Lars Magne Ingebrigtsen [Sun, 3 Jan 2016 11:19:13 +0000 (12:19 +0100)]
* nsm.el (nsm-check-protocol): Fix typo in the message.

8 years agoAdd SHA1 warnings for high network security settings
Lars Magne Ingebrigtsen [Sun, 3 Jan 2016 09:41:51 +0000 (10:41 +0100)]
Add SHA1 warnings for high network security settings

* nsm.el (nsm-check-protocol): When using high security, warn
about SHA1 certificates, which are now believed to be open to
spoofing.

8 years ago; * etc/NEWS: Typo fix.
Xue Fuqiao [Sun, 3 Jan 2016 01:12:56 +0000 (09:12 +0800)]
; * etc/NEWS: Typo fix.

8 years agoRefactor mml-smime.el, mml1991.el, mml2015.el
Jens Lechtenboerger [Sun, 3 Jan 2016 01:10:34 +0000 (01:10 +0000)]
Refactor mml-smime.el, mml1991.el, mml2015.el

(Maybe this is the last merge from Gnus git to Emacs git)

Cf. discussion on ding mailing list, messages in
<http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
Common code from the three files mml-smime.el, mml1991.el, and
mml2015.el is moved to mml-sec.el.  Auxiliary functions are added
to gnus-util.el.

The code is supported by test cases with necessary test keys.

Documentation in message.texi is updated.

* doc/misc/message.texi (Security, Using S/MIME):
Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
(Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
(Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.

* lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
New functions.

* lisp/gnus/mml-sec.el: Require gnus-util and epg.
(epa--select-keys): Autoload.
(mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
(mml-secure-openpgp-signers): New user option;
make mml1991-signers and mml2015-signers obsolete aliases to it.
(mml-secure-smime-signers): New user option;
make mml-smime-signers an obsolete alias to it.
(mml-secure-openpgp-encrypt-to-self): New user option;
make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
aliases to it.
(mml-secure-smime-encrypt-to-self): New user option;
make mml-smime-encrypt-to-self an obsolete alias to it.
(mml-secure-openpgp-sign-with-sender): New user option;
make mml2015-sign-with-sender an obsolete alias to it.
(mml-secure-smime-sign-with-sender): New user option;
make mml-smime-sign-with-sender an obsolete alias to it.
(mml-secure-openpgp-always-trust): New user option;
make mml2015-always-trust an obsolete alias to it.
(mml-secure-fail-when-key-problem, mml-secure-key-preferences):
New user options.
(mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
(mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
(mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
(mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
(mml-secure-passphrase-callback, mml-secure-check-user-id)
(mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
(mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
(mml-secure-fingerprint, mml-secure-filter-keys)
(mml-secure-normalize-cust-name, mml-secure-select-keys)
(mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
(mml-secure-self-recipients, mml-secure-recipients)
(mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.

* lisp/gnus/mml-smime.el: Require epg;
refactor declaration and autoloading of epg functions.
(mml-smime-use): Doc fix.
(mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
Obsolete.
(mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
Use format instead of gnus-format-message.
(mml-smime-epg-secret-key-id-list): Remove variable.
(mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
(mml-smime-epg-find-usable-secret-key): Remove functions.
(mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.

* lisp/gnus/mml1991.el (mml1991-cache-passphrase)
(mml1991-passphrase-cache-expiry): Obsolete.
(mml1991-epg-secret-key-id-list): Remove variable.
(mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
(mml1991-epg-find-usable-secret-key): Remove functions.
(mml1991-epg-sign, mml1991-epg-encrypt): Refactor.

* lisp/gnus/mml2015.el (mml2015-cache-passphrase)
(mml2015-passphrase-cache-expiry): Obsolete.
(mml2015-epg-secret-key-id-list): Remove variable.
(mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
(mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
(mml2015-epg-find-usable-secret-key): Remove functions.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
(mml2015-epg-encrypt): Refactor.

8 years ago; Clarify that xref is still experimental
Dmitry Gutov [Sun, 3 Jan 2016 00:03:29 +0000 (02:03 +0200)]
; Clarify that xref is still experimental

8 years ago; * admin/release-process: Remove some obsolete records.
Glenn Morris [Sat, 2 Jan 2016 18:33:17 +0000 (10:33 -0800)]
; * admin/release-process: Remove some obsolete records.

8 years ago* lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
Glenn Morris [Sat, 2 Jan 2016 18:16:03 +0000 (10:16 -0800)]
* lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):

Explicitly ignore case.  (Bug#22262)

8 years ago(semantic-symref-derive-find-filepatterns): Return a list
Stefan Monnier [Sat, 2 Jan 2016 18:03:42 +0000 (13:03 -0500)]
(semantic-symref-derive-find-filepatterns): Return a list

* lisp/cedet/semantic/symref/grep.el
(semantic-symref-derive-find-filepatterns): Return a list.
(semantic-symref-perform-search): Quote the result here once and for all.

8 years ago; Re-arrange xref-related entries in NEWS.
Eli Zaretskii [Sat, 2 Jan 2016 16:05:44 +0000 (18:05 +0200)]
; Re-arrange xref-related entries in NEWS.

8 years agoFix xref-find-references on MS-Windows
Eli Zaretskii [Sat, 2 Jan 2016 15:24:48 +0000 (17:24 +0200)]
Fix xref-find-references on MS-Windows

* lisp/cedet/semantic/symref/grep.el
(semantic-symref-derive-find-filepatterns): Use
'shell-quote-argument' instead of manually quoting in a way that
only works with Posix shells.  (Bug#22289)

8 years ago; Fixed visual bell artifact problem on NextStep.
Anders Lindgren [Sat, 2 Jan 2016 14:54:01 +0000 (15:54 +0100)]
; Fixed visual bell artifact problem on NextStep.

* src/nsterm.m (EmacsBell): Add feature to remove visual bell
  unconditionally.
  (hide_bell): New function.
  (ns_copy_bits): Hide visible bell before scrolling the frame content.

8 years agoDocument new features of tildify-mode
Eli Zaretskii [Sat, 2 Jan 2016 12:48:38 +0000 (14:48 +0200)]
Document new features of tildify-mode

* lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
(tildify-mode): Spelling fixes in doc strings.

* etc/NEWS: Reformat the tildify-mode entry.

8 years agoDocument new features of Whitespace mode
Eli Zaretskii [Sat, 2 Jan 2016 12:06:02 +0000 (14:06 +0200)]
Document new features of Whitespace mode

* doc/emacs/display.texi (Useless Whitespace): Document
'whitespace-toggle-options' and the new 'big-indent' style.
Document 'whitespace-big-indent-regexp'.  Document the Global
Whitespace mode.

8 years agoImprove documentation of new Hide-IfDef features
Eli Zaretskii [Sat, 2 Jan 2016 10:36:28 +0000 (12:36 +0200)]
Improve documentation of new Hide-IfDef features

* etc/NEWS: Expand and reword Hide-IfDef section.

8 years agoFix regression in font-locking cl-assert and cl-check-type
Leo Liu [Sat, 2 Jan 2016 07:48:44 +0000 (15:48 +0800)]
Fix regression in font-locking cl-assert and cl-check-type

* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
  el-errs-re.

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 Jan 2016 12:23:33 +0000 (07:23 -0500)]
; Auto-commit of loaddefs files.

8 years agoSpelling and grammar fixes
Paul Eggert [Fri, 1 Jan 2016 09:58:41 +0000 (01:58 -0800)]
Spelling and grammar fixes

8 years agoFix copyright years by hand
Paul Eggert [Fri, 1 Jan 2016 09:38:07 +0000 (01:38 -0800)]
Fix copyright years by hand

These are dates that admin/update-copyright did not update, or
updated incorrectly.

8 years agoUpdate copyright year to 2016
Paul Eggert [Fri, 1 Jan 2016 09:16:19 +0000 (01:16 -0800)]
Update copyright year to 2016

Run admin/update-copyright.

8 years agoMerge from gnulib
Paul Eggert [Fri, 1 Jan 2016 09:12:52 +0000 (01:12 -0800)]
Merge from gnulib

This mostly just updates copyright dates of gnulib files.
It also updates to the latest version of texinfo.tex.

8 years agolisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
Mark Oteiza [Thu, 31 Dec 2015 18:33:35 +0000 (13:33 -0500)]
lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.

8 years agoPort chart.el methods to cl-generic.
Mark Oteiza [Thu, 31 Dec 2015 18:26:43 +0000 (13:26 -0500)]
Port chart.el methods to cl-generic.

cl-call-next-method cannot be used inside EIEIO's defmethod.
* lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
* lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
(chart-draw-title, chart-size-in-dir, chart-draw-axis):
(chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
(chart-translate-namezone, chart-draw-data, chart-add-sequence):
(chart-trim, chart-sort): Use cl-defmethod instead of defmethod.

8 years agoAdd nt/INSTALL.W64 build instructions
Brian Burns [Thu, 31 Dec 2015 17:00:16 +0000 (19:00 +0200)]
Add nt/INSTALL.W64 build instructions

* nt/INSTALL.W64: New file.
* nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.

8 years agoAdd new input method 'programmer-dvorak'
Joakim Jalap [Thu, 31 Dec 2015 16:01:45 +0000 (18:01 +0200)]
Add new input method 'programmer-dvorak'

* lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
input method.

* etc/NEWS: Mention it.

8 years agoAllow to invoke original M-TAB binding in 'flyspell-prog-mode'
Eli Zaretskii [Thu, 31 Dec 2015 15:44:07 +0000 (17:44 +0200)]
Allow to invoke original M-TAB binding in 'flyspell-prog-mode'

* lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
original M-TAB binding in a buffer-local variable.
(flyspell-auto-correct-word): Invoke the original binding of M-TAB
if that is recorded, when point is in a place where flyspell
should not be active (e.g., because the user turned on
'flyspell-prog-mode').  (Bug#18533)

8 years agoFix EWW rendering of long RTL lines
Eli Zaretskii [Thu, 31 Dec 2015 15:18:25 +0000 (17:18 +0200)]
Fix EWW rendering of long RTL lines

* lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
of the selected window before filling its lines.  (Bug#22250)

8 years agofix bug#21054
Vincent Belaïche [Thu, 31 Dec 2015 08:21:46 +0000 (09:21 +0100)]
fix  bug#21054

* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally