1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
Commit Graph

138765 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
8e46cf4ba8 Fix recent gnus-rescale-image change
* lisp/gnus/gnus-util.el (gnus-rescale-image): Don't bug out on
non-graphical Emacs versions.
2019-09-26 15:47:15 +02:00
Mattias Engdegård
74abba27fd ; Fix typo and improve phrasing of last commit 2019-09-26 14:40:48 +02:00
Mattias Engdegård
e98e8549b0 * etc/NEWS: Note removal of internal rx symbols (bug#37517) 2019-09-26 14:29:56 +02:00
Juanma Barranquero
13a15a3a5a * lisp/desktop.el (desktop-read): With argument, ask the user for DIRNAME.
* etc/NEWS: Document it.
2019-09-26 12:17:20 +02:00
Michael Albinus
1667bc2fa7 Avoid errors in tramp-tests with a remote ksh shell
* test/lisp/net/tramp-tests.el (tramp--test-ksh-p): New defun.
(tramp-test41-utf8, tramp-test41-utf8-with-stat)
(tramp-test41-utf8-with-perl, tramp-test41-utf8-with-ls):
Skip, when remote shell is ksh.
2019-09-26 09:33:47 +02:00
Mattias Engdegård
07367e5b95 Add rx extension mechanism
Add a built-in set of extension macros: `rx-define', `rx-let' and
`rx-let-eval'.

* lisp/emacs-lisp/rx.el (rx-constituents, rx-to-string): Doc updates.
(rx--builtin-symbols, rx--builtin-names, rx--local-definitions)
(rx--lookup-def, rx--substitute, rx--expand-template)
(rx--make-binding, rx--make-named-binding, rx--extend-local-defs)
(rx-let-eval, rx-let, rx-define): New.
(rx--translate-symbol, rx--translate-form): Use extensions if any.
(rx): Use local definitions.
* test/lisp/emacs-lisp/rx-tests.el (rx-let, rx-define)
(rx-to-string-define, rx-let-define, rx-let-eval): New.
* etc/NEWS (Changes in Specialized Modes and Packages):
* doc/lispref/searching.texi (Rx Notation, Rx Functions, Extending Rx):
Add node about rx extensions.
2019-09-25 14:29:50 -07:00
Mattias Engdegård
2ed71227c6 New rx implementation
* lisp/emacs-lisp/rx.el:
* test/lisp/emacs-lisp/rx-tests.el:
* doc/lispref/searching.texi (Rx Constructs):
Rewrite rx for correctness, clarity, and performance.  The new
implementation retains full compatibility and has more comprehensive
tests.

* lisp/emacs-lisp/re-builder.el (reb-rx-font-lock-keywords):
Adapt to changes in internal variables in rx.el.
2019-09-25 14:29:50 -07:00
Juri Linkov
e47c389cfd Improve customization.
* lisp/tab-bar.el (tab-bar-new-tab-choice)
(tab-bar-close-button-show): New defcustoms.
(tab-bar-tab-name-function): New defvar.

* lisp/tab-line.el (tab-line-new-tab-choice)
(tab-line-close-button-show): New defcustoms.
2019-09-25 23:21:37 +03:00
Mattias Engdegård
a773a64748 Allow regexp-quote to return its argument
* src/search.c (Fregexp_quote): Only allocate a new string if needed.
* doc/lispref/searching.texi (Regexp Functions):
* etc/NEWS (Incompatible Lisp Changes): Document.
2019-09-25 18:09:42 +02:00
Mauro Aranda
84567150e7 Fix indentation of widgets (Bug#7851)
* lisp/wid-edit.el (widget--should-indent-p): New function, to decide
whether to indent or not.
(widget-checklist-value-add-item, widget-radio-add-item)
(widget-editable-list-format-handler)
(widget-editable-list-entry-create)
(widget-group-value-create): Use it (bug#7851).
2019-09-25 14:51:18 +02:00
Lars Ingebrigtsen
524a8eb730 Make gnus-rescale-image work on modern Emacs versions
* lisp/gnus/gnus-util.el (gnus-rescale-image): Make this work with
native image transforms.
2019-09-25 14:47:52 +02:00
Eli Zaretskii
165890a70a Improve documentation of 'text-property-search-forward'
* lisp/emacs-lisp/text-property-search.el (text-property-search-forward)
(text-property-search-backward): Improve doc strings.  (Bug#37488)
2019-09-25 11:42:35 +03:00
Eli Zaretskii
213bcaf1bf ; * lisp/emacs-lisp/debug.el (debugger-mode): Doc fix. (Bug#37352) 2019-09-25 11:09:09 +03:00
Juri Linkov
848e21b049 Small fixes. Bind [tab-line mouse-1] to mouse-select-window. 2019-09-25 00:54:36 +03:00
Juri Linkov
8f268bb9bf Revert an attempt to implement a non‐native tab bar on NS. 2019-09-25 00:50:58 +03:00
Lars Ingebrigtsen
13f244af40 Make ImageMagick multi-image size calculations work for .ico files
* src/image.c (imagemagick_load_image): Compute image sizes
correctly in multi-image .ico files and the like (bug#18333).
2019-09-24 19:47:20 +02:00
Lars Ingebrigtsen
7823dcf2fb Slight shr-put-image clean up
* lisp/net/shr.el (shr-put-image): Use image-multi-frame-p
directly, and remove outdated comments (image-multi-frame-p
returns the delay).
2019-09-24 19:38:21 +02:00
Alan Mackenzie
ef0fc0bed1 New edebug-spec, nested-backquote-form. This fixes bug #31090
* lisp/emacs-lisp/edebug.el: (nested-backquote-form): a new edebug-spec which
handles nested backquote structures without a , or ,@ "between" the outer and
inner backquotes.
(backquote-form): Use nested-backquote-form.
2019-09-24 17:06:20 +00:00
Lars Ingebrigtsen
9a82195cfc Make --with-imagemagick bug out if there's no support for it
* configure.ac (HAVE_IMAGEMAGICK): Stop configuration if the user
has said --with-imagemagick, but there's no support for it
(bug#24455).
2019-09-24 19:01:51 +02:00
Pip Cet
873cd63ff2 Allow a :stride argument so XBM boolvecs are in the right format.
* src/image.c (xbm_image_p): Explicitly specify the right stride if a
bool vector is used as argument.
* doc/lispref/display.texi (XBM Images): Describe bool vectors
accurately.
* etc/NEWS: Document the change (bug#36337).
2019-09-24 18:35:15 +02:00
Michael Albinus
38517651d0 * lisp/net/tramp-sh.el (tramp-get-remote-stat): Ban "stat" on Solaris. 2019-09-24 17:56:55 +02:00
Noah Swainland
88ca4dc45b (calc): Fix link in doc string
* lisp/calc/calc.el (calc): Fix link in doc string (bug#37500).

Copyright-paperwork-exempt: yes
2019-09-24 17:52:47 +02:00
Lars Ingebrigtsen
ea5c79f657 Allow controlling when to send cookies when retrieving images in shr
* lisp/net/shr.el (shr--use-cookies-p): New function.
(shr-tag-img): Use it.
(shr-cookie-policy): New variable.
(shr-save-contents): Use cookies.

* doc/misc/eww.texi (Advanced): Document it.
2019-09-24 17:48:41 +02:00
Robert Pluim
9dcdb1384d Document how to listen on all interfaces in the Elisp manual
* doc/lispref/processes.texi (Network Processes): Explain how to
listen on all interfaces.
2019-09-24 14:45:15 +02:00
Eli Zaretskii
bc5472a4ee ; Fix typo in recently fixed doc string
* src/process.c (Fmake_network_process): Fix capitalization in
doc string.
2019-09-24 11:49:12 +03:00
Lars Ingebrigtsen
f9f8dcae70 Allow url-insert-file-contents to work on 304 responses
* lisp/url/url-http.el (url-http--insert-file-helper): If the
server answers 304 Not modified, then that's not an error
(bug#26063).
2019-09-24 10:43:32 +02:00
Lars Ingebrigtsen
881f620930 Clean up url-parse-args slightly
* lisp/url/url-util.el (url-parse-args): Don't leave temporary
buffer behind.  Clean up slightly.
2019-09-24 10:43:32 +02:00
Robert Pluim
47e94f864f ; Fix previous make-network-process doc change
* src/process.c (Fmake_network_process): Correct typo.
2019-09-24 10:28:33 +02:00
Lars Ingebrigtsen
1f137133ed Fix old problem with HTTPS HTTP 0.9 sentinels
* lisp/url/url-http.el (url-http-end-of-document-sentinel): Pass
on the tls parameter if we have HTTPS (bug#14983).
2019-09-24 10:01:34 +02:00
Eli Zaretskii
d32d9373b5 Resurrect support for negative frame geometry parameters on MS-Windows
* src/w32fns.c (my_create_window): Avoid assertion violations
in XFIXNUM when the 'top' or 'left' frame parameters are
neither fixnums nor 'unbound', in which case
f->size_hint_flags are set by gui_figure_window_size.
(Bug#37415)
2019-09-24 10:28:44 +03:00
Lars Ingebrigtsen
61a2b3ca7d Allow scrolling the NSM window
* lisp/net/nsm.el (nsm-query-user): Allow moving
backwards/forwards in the NSM buffer if the window is too small to
show all the details (bug#28069).
2019-09-24 08:33:45 +02:00
Wilson Snyder
d3f8279422 Verilog-Mode collected updates.
* lisp/progmodes/verilog-mode.el (verilog-auto-inst-param): Add regexp
paramter to AUTOINSTPARAM to select which parameters to export.  Reported
by Vish S.
(verilog-build-defun-re): Fix `verilog-goto-defun' to find automatic
function/tasks, bug1492.  Reported by Enze Chi.
(verilog-preprocessor): Update default.
2019-09-23 18:49:25 -04:00
Lars Ingebrigtsen
fc64a0c0e2 Rename "dumbquotes" to "smartquotes" in Gnus
* doc/misc/gnus.texi (Article Washing): Adjust documentation.

* etc/refcards/gnus-refcard.tex (subsection*{Notes}): Ditto

* lisp/gnus/gnus-art.el (gnus-article-smartquotes-map): Rename
from gnus-article-dumbquotes-map and add obsolete alias.
(article-treat-smartquotes): Ditto.

* lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Adjust menus.
2019-09-24 00:42:47 +02:00
Jan Beich
ac1507a8b6 mml-smime-openssl-sign): Use all the keys
* lisp/gnus/mml-smime.el (mml-smime-openssl-sign): Use all the
keys in `smime-keys' for this identifier (bug#17780).
2019-09-23 22:11:33 +02:00
Lars Ingebrigtsen
0faf3496ab Adjust exif-tests.el to new interface 2019-09-23 22:02:58 +02:00
Lars Ingebrigtsen
131b91c7b9 Fix regression in mm-possibly-verify-or-decrypt by previous patch
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Remove debugging
2019-09-23 21:56:10 +02:00
Lars Ingebrigtsen
825fd4d341 Fix regression in mm-possibly-verify-or-decrypt by previous patch
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Be less
strict about what's considered a success.
2019-09-23 21:55:27 +02:00
Lars Ingebrigtsen
8b8942da0b Fix S/MIME continuation header when sending
* lisp/gnus/mml-smime.el (mml-smime-epg-sign): Fix continuation
header.
2019-09-23 21:51:28 +02:00
Lars Ingebrigtsen
8c1e0ed717 make-network-process doc clarification
* src/process.c (Fmake_network_process): Further doc clarification
for listening on "::".
2019-09-23 20:49:39 +02:00
Paul Eggert
d56f9c2b16 Bring back mention of NNTP gmane
Problem reported by Michael Albinus at:
https://lists.gnu.org/r/emacs-devel/2019-09/msg00519.html
* admin/notes/emba: Reintroduce mention of nttp+news.gmane.org,
since that still works.
2019-09-23 11:41:13 -07:00
Alan Third
64f9d6d453 Fix GNUstep build
* src/nsfont.m (nsfont_draw): Change type to match.

Co-authored-by: martin rudalics <rudalics@gmx.at>
2019-09-23 19:17:38 +01:00
Lars Ingebrigtsen
83864ac7af Fix cedet compilation warning
* lisp/cedet/semantic/db.el (semanticdb-dirty-p): Fix compilation
warning by moving to after definition.
2019-09-23 19:20:54 +02:00
Lars Ingebrigtsen
b234fb7630 Update example in the Mail Aliases node of lispintro
* doc/lispintro/emacs-lisp-intro.texi (Mail Aliases): Change
example to use Message mode, since that's the default for `C-x m'
now (bug#13855).
2019-09-23 18:37:31 +02:00
Lars Ingebrigtsen
4ce81556b7 Make mm-possibly-verify-or-decrypt pass decryption error
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): If
there's an error, report the error back in a new part (bug#25649).
2019-09-23 18:23:22 +02:00
Lars Ingebrigtsen
babc595909 * lisp/dired-aux.el (dired-copy-file-recursive): Make prompt clearer. 2019-09-23 17:35:03 +02:00
Lars Ingebrigtsen
3f45c14035 Don't bug out on invalid addresses in mml-secure-check-user-id
* lisp/gnus/mml-sec.el (mml-secure-check-user-id): Don't bug out
on invalid addresses (bug#33613).
2019-09-23 17:34:41 +02:00
Lars Ingebrigtsen
bdc222b268 Tweak how much <sup>/<sub> raises/lowers text in shr
* lisp/net/shr.el (shr-tag-sup, shr-tag-sub): Raising by 0.5 gives
very ugly displays.  0.2 seems sufficient for legibility.
2019-09-23 16:05:16 +02:00
Lars Ingebrigtsen
ce49efd4c6 Signal errors if EPA can't verify data
* lisp/epa.el (epa-verify-region): Signal an error if the region
couldn't be verified (bug#14720).
(epa-verify-file): Say that the file couldn't be verified instead
of just "...done".
2019-09-23 14:09:48 +02:00
Lars Ingebrigtsen
abdc82c08f Make "Show Hidden Headers" in Message buffers more obvious
* lisp/gnus/message.el (message-widen-and-recenter): New command
to ensure that we show most of the headers (bug#23252).
(message-mode-field-menu): Use it.
2019-09-23 13:24:44 +02:00
Lars Ingebrigtsen
a90c5684a3 Add a NEWS entry for message citation levels 2019-09-23 13:15:53 +02:00