1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00
Commit Graph

124152 Commits

Author SHA1 Message Date
Paul Eggert
221240c925 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.
2016-01-05 09:02:31 -08:00
Eli Zaretskii
977d3eabe3 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)
2016-01-05 17:49:50 +02:00
Alan Mackenzie
229c3fa541 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'.
2016-01-05 10:30:55 +00:00
Michael Albinus
f5c762c878 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.
2016-01-05 09:47:41 +01:00
Xue Fuqiao
1729cf3eb5 ; * admin/MAINTAINERS: Remove myself.
; Lack of time.
2016-01-05 10:28:25 +08:00
Alan Mackenzie
33219d385b 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.
2016-01-04 22:35:13 +00:00
Michael Albinus
31a97acf43 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25 2016-01-04 23:28:23 +01:00
Michael Albinus
4e62197a64 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.
2016-01-04 23:28:07 +01:00
Lars Magne Ingebrigtsen
9fb185aff7 shr-tag-video bug fix
* shr.el (shr-tag-video): Protect against the `poster' being
empty.
2016-01-04 23:03:30 +01:00
Michael Albinus
6300655ec9 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.
2016-01-04 19:25:39 +01:00
Eli Zaretskii
50575b1bdd Ensure redisplay when 'truncate-lines' is set
* lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
(Bug#22303)
2016-01-04 19:08:37 +02:00
Eli Zaretskii
0d9e80d79d 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.
2016-01-04 18:58:20 +02:00
Eli Zaretskii
0000ae5082 MS-Windows followup to latest gnulib update
* nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
2016-01-04 18:25:21 +02:00
Paul Eggert
4bc5e0222b Spelling fix 2016-01-03 23:52:01 -08:00
Jens Lechtenboerger
f1093f7a7c Do secure signed Bcc handling
* lisp/gnus/message.el (message-send): Do secure signed Bcc handling
(bug#18718).
2016-01-04 01:57:04 +01:00
Paul Eggert
e79b06e6de 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.
2016-01-03 15:04:07 -08:00
Paul Eggert
861022ff5f * doc/misc/texinfo.tex: Revert unwanted copyright change. 2016-01-03 15:04:07 -08:00
Glenn Morris
46e47a5c57 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright. 2016-01-03 11:32:57 -08:00
Artur Malabarba
71ea138bad * lisp/align.el (align): Simplify a lambda 2016-01-03 16:58:35 +00:00
Artur Malabarba
5618a507ad * lisp/align.el (align): Fix arg order in call to `align-region' 2016-01-03 16:57:12 +00:00
Eli Zaretskii
1f680dbc86 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)
2016-01-03 17:22:06 +02:00
Lars Magne Ingebrigtsen
d20a9488dd * nsm.el (nsm-check-protocol): Fix typo in the message. 2016-01-03 12:19:13 +01:00
Lars Magne Ingebrigtsen
1da116f8ec 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.
2016-01-03 10:41:51 +01:00
Xue Fuqiao
e48bacd9d1 ; * etc/NEWS: Typo fix. 2016-01-03 09:15:08 +08:00
Jens Lechtenboerger
5213ded9aa 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.
2016-01-03 01:10:34 +00:00
Dmitry Gutov
43662a240b ; Clarify that xref is still experimental 2016-01-03 02:04:09 +02:00
Glenn Morris
0a6e6caf65 ; * admin/release-process: Remove some obsolete records. 2016-01-02 10:33:17 -08:00
Glenn Morris
c2e9e3dd33 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
Explicitly ignore case.  (Bug#22262)
2016-01-02 10:16:03 -08:00
Stefan Monnier
8637f3d0fa (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.
2016-01-02 13:03:42 -05:00
Eli Zaretskii
0a7ad071ef ; Re-arrange xref-related entries in NEWS. 2016-01-02 18:05:44 +02:00
Eli Zaretskii
fe903ef7cf 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)
2016-01-02 17:24:48 +02:00
Anders Lindgren
55a28d8a1b ; 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.
2016-01-02 15:54:01 +01:00
Eli Zaretskii
d064034c1c 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.
2016-01-02 14:48:38 +02:00
Eli Zaretskii
964bea7da5 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.
2016-01-02 14:06:02 +02:00
Eli Zaretskii
cd68f47e4f Improve documentation of new Hide-IfDef features
* etc/NEWS: Expand and reword Hide-IfDef section.
2016-01-02 12:36:28 +02:00
Leo Liu
723b8bf19d 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.
2016-01-02 15:48:44 +08:00
Glenn Morris
372d00a981 ; Auto-commit of loaddefs files. 2016-01-01 07:23:33 -05:00
Paul Eggert
ef33bc7fcf Spelling and grammar fixes 2016-01-01 01:59:19 -08:00
Paul Eggert
9c3dbabee3 Fix copyright years by hand
These are dates that admin/update-copyright did not update, or
updated incorrectly.
2016-01-01 01:38:07 -08:00
Paul Eggert
0e963201d0 Update copyright year to 2016
Run admin/update-copyright.
2016-01-01 01:34:24 -08:00
Paul Eggert
982530518f Merge from gnulib
This mostly just updates copyright dates of gnulib files.
It also updates to the latest version of texinfo.tex.
2016-01-01 01:13:18 -08:00
Mark Oteiza
9ee6ecb840 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler. 2015-12-31 13:33:35 -05:00
Mark Oteiza
526d80ce6f 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.
2015-12-31 13:31:04 -05:00
Brian Burns
410bb697ad Add nt/INSTALL.W64 build instructions
* nt/INSTALL.W64: New file.
* nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
2015-12-31 19:00:16 +02:00
Joakim Jalap
8f5b524d04 Add new input method 'programmer-dvorak'
* lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
input method.

* etc/NEWS: Mention it.
2015-12-31 18:01:45 +02:00
Eli Zaretskii
6d11f6ed9a 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)
2015-12-31 17:44:07 +02:00
Eli Zaretskii
bb83bb11f9 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)
2015-12-31 17:18:25 +02:00
Vincent Belaïche
b1a8509030 fix bug#21054
* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
2015-12-31 09:21:46 +01:00
YAMAMOTO Mitsuharu
ce5ad125ef Clean up cairo printing code
* src/gtkutil.c (xg_get_page_setup): Use listn.
* src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix.  Use
decode_window_system_frame and FRAME_VISIBLE_P.
(Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
of Fdisplay.
* src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
instead of Fdisplay.  Temporarily unblock_input around QUIT.
2015-12-31 14:18:09 +09:00
YAMAMOTO Mitsuharu
30f4a892ec Move variables to inner loop, preparing for Mac port merge
* src/keyboard.c (command_loop_1): Move variables `cmd',
`keybuf', and `i' to inner loop.
2015-12-31 11:28:16 +09:00