1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

132194 Commits

Author SHA1 Message Date
Andreas Schwab
71a2d509f9 Fix minibuffer-help-form for lexical binding
* lisp/simple.el (set-variable): Substitute var into
minibuffer-help-form.
* lisp/cus-edit.el (custom-prompt-variable): Likewise.
2018-10-25 11:04:34 +02:00
Alan Third
7e8eee60a9 Fix some NS drawing issues (bug#32932)
* src/nsterm.m (ns_clip_to_rect):
(ns_reset_clipping): Remove gsaved variable and associated code.
(ns_flush_display): Remove function.
(ns_copy_bits): use translateRectsNeedingDisplayInRect:by: to copy any
pending drawing actions along with the image.
([EmacsView windowWillResize:toSize:]): Remove unneeded call.
([EmacsView drawRect:]): Remove redundant call to ns_clear_frame_area,
and optimize the exposed rectangles.
(ns_draw_window_cursor): Remove unneeded disabling of screen updates.
2018-10-24 11:32:23 +01:00
Katsumi Yamaoka
d72975a654 * lisp/gnus/mm-util.el (mm-decompress-buffer): Fix split-string args. 2018-10-24 10:09:51 +00:00
Noam Postavsky
c97a5f1f44 * doc/misc/calc.texi (Summary): The +/- key is 'p', not 'P'. 2018-10-23 21:48:36 -04:00
Robert Pluim
2efd40076c Correct typo in GNU ELPA url
* doc/misc/efaq.texi (Packages that do not come with Emacs):
Correct typo in GNU ELPA url (Bug#33072).  Change other url
references to use https scheme.
2018-10-23 12:20:13 +02:00
Eli Zaretskii
6239016ca6 * doc/misc/dired-x.texi (Omitting Variables): Fix wording. (Bug#33112) 2018-10-22 08:47:18 +03:00
Michael Heerdegen
1531bca523 Fix help-form binding in dired-create-files
This fixes Bug#32630: since "dired-aux" moved to lexical binding mode,
the free variable TO in the constructed HELP-FORM got out of scope of
the surrounding 'let'.

* lisp/dired-aux.el (dired-create-files): Make the binding of
HELP-FORM a string.
2018-10-20 18:51:38 +02:00
Eli Zaretskii
cf7932712a Fix a pasto in a Gnus doc string
* lisp/gnus/gnus-art.el (gnus-article-treat-fold-newsgroups):
Doc string fix.  (Bug#33081)
2018-10-20 11:26:33 +03:00
Eli Zaretskii
a4e40f6cb0 ; * doc/emacs/files.texi (Reverting): Improve wording in last change. 2018-10-19 11:58:53 +03:00
Mauro Aranda
f632ecbb99 Update revert-buffer documentation
* doc/emacs/files.texi (Reverting): Document that revert-buffer
does keep undo history.  (Bug#33084)

Copyright-paperwork-exempt: yes
2018-10-19 11:56:34 +03:00
Juri Linkov
eb6768977e * lisp/mail/smtpmail.el (smtpmail-send-queued-mail): Load file with .el suffix.
For the case when load-prefer-newer is t, ensure loading the right file
by explicitly adding the .el suffix.  Use the same variable names
as in the function smtpmail-send-it.  (Bug#33055)
2018-10-18 01:24:43 +03:00
Eli Zaretskii
433e364add ; * etc/NEWS: Announce that emacs-module.h is now installed. 2018-10-16 18:48:21 +03:00
Glenn Morris
e456ddaa30 Tweak Makefile emacs-module.h handling
* Makefile.in (install-arch-indep, uninstall): Respect DESTDIR.
Handle whitespace.  Remove non-portable mkdir argument.

(cherry picked from commit c1d0dbd6ca)
2018-10-16 18:43:45 +03:00
Philipp Stephani
1dce1b2ffb Install emacs-module.h (Bug#31929)
* Makefile.in (includedir): New variable.
(install-arch-indep): Install emacs-module.h.
(uninstall): Uninstall emacs-module.h.

(cherry picked from commit 00ea749f2a)
2018-10-16 18:43:18 +03:00
Alan Mackenzie
73babba26a Clarify documentation of fractional vertical scrolling and some doc strings
* doc/lispref/windows.texi (vertical scrolling): Clarify the meaning of
vertical scrolling by referring to tall screen lines, images, and the display
action.  Clarify an ambiguous English tense.

* src/window.c (window-vscroll, set-window-vscroll): Amend doc strings to
refer to display.
2018-10-15 19:04:05 +00:00
Charles A. Roelli
b20c51d62f * lisp/isearch.el (isearch-cmds): Recall absent isearch--state slot. 2018-10-15 19:51:47 +02:00
Alan Mackenzie
700acbd991 doc/lispref/edebug.texi (Specification List) Remove obstrusive blank line 2018-10-14 18:22:23 +00:00
Eli Zaretskii
190245035f Fix wording in module API documentation
* doc/lispref/internals.texi (Module Functions): Fix confusing
wording.  Reported by Basil L. Contovounesios <contovob@tcd.ie>.
2018-10-14 19:12:49 +03:00
Eli Zaretskii
e724a8f669 Fix redisplay of glyphless characters
* src/conf_post.h (bool_bf): Use 'unsigned int' in the MinGW
builds.  Suggested by Tom Tromey <tom@tromey.com>.  (Bug#33017)
* src/dispnew.c (scrolling_window): Update commentary
regarding xwidget builds.
2018-10-13 19:47:01 +03:00
Robert Pluim
8fc892df37 Update --without-toolkit-scroll-bars doc
* configure.ac (--without-toolkit-scroll-bars): Update list of
affected toolkits.
2018-10-13 10:53:30 +02:00
Robert Pluim
80e0bfa96d Call GTK functions only on GTK scrollbars
* src/gtkutil.c (xg_set_background_color) [USE_TOOLKIT_SCROLL_BARS]:
Don't call GTK functions on non-GTK scrollbars (Bug#32975).
2018-10-13 10:44:37 +02:00
Eli Zaretskii
91c4c46fd5 Update the description of startup in ELisp manual
* doc/lispref/os.texi (Startup Summary): Remove stale
reference to window-system-initialization-alist.  Reported by
Zhang Haijun <ccsmile2008@outlook.com>.
2018-10-13 11:36:04 +03:00
Eli Zaretskii
18b42c6b4b Use the 'line-number' face for line-number fields past EOB
* src/xdisp.c (get_phys_cursor_geometry): Treat rows at and
beyond ZV specially.  Don't let the cursor exceed the
vertical dimensions of the row.
(maybe_produce_line_number): Use the 'line-number' face
instead of 'default' for blank fields beyond ZV.  Don't update
the IT metrics when displaying blank line-number fields beyond
ZV.  (Bug#32337)
2018-10-13 09:44:09 +03:00
Alan Third
a6ab8db3a3 Ensure NS frame is redrawn correctly after scroll
* src/nsterm.m (ns_copy_bits): Set needsDisplay so the previous cursor
position is redrawn.
2018-10-12 21:46:53 +01:00
Alex Branham
643df633ea Avoid byte-compiler warning in em-rebind.el
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Use
'delete-char' instead of delete-backward-char.  (Bug#32945)
2018-10-12 11:39:02 +03:00
Eli Zaretskii
d0eca49e3c ; * doc/emacs/mark.texi (Disabled Transient Mark): Fix last change. 2018-10-12 11:33:31 +03:00
Eli Zaretskii
af80b10612 Improve indexing of 'C-SPC C-SPC'
* doc/emacs/mark.texi (Disabled Transient Mark): Fix
indexing.  (Bug#32959)
2018-10-12 11:31:09 +03:00
Eli Zaretskii
89a73016f7 ; * doc/lispref/internals.texi (Writing Dynamic Modules): Fix a typo. 2018-10-11 21:48:10 +03:00
Eric Abrahamsen
a108eaa13c Fix bug with precious entries in Gnus registry
* lisp/registry.el (registry-collect-prune-candidates): This `cdr' was
  an error: it meant that the last key in the precious list, would be
  considered a nil. Since the precious list only contains the symbol
  'mark by default, marks were never considered precious.
* doc/misc/gnus.texi (Store arbitrary data): Fix typo: "marks" should
  be "mark".
2018-10-11 11:20:29 -07:00
Eli Zaretskii
ce8b4584a3 Document in the ELisp manual how to write loadable modules
* doc/lispref/internals.texi (Writing Dynamic Modules)
(Module Initialization, Module Functions, Module Values)
(Module Misc, Module Nonlocal): New nodes.
* doc/lispref/loading.texi (Dynamic Modules): Add
cross-reference to the new node.
* doc/lispref/internals.texi (GNU Emacs Internals):
* doc/lispref/elisp.texi (Top): Update menus for the new nodes.
2018-10-11 20:53:05 +03:00
Tino Calancha
a7ebc6bf63 dired-do-shell-command: Notify users after abort the command
* lisp/dired-aux.el (dired-do-shell-command):  Notify users that
the command have aborted when they answer 'n' to the prompt (Bug#32969).
2018-10-11 17:23:30 +09:00
Michael Albinus
0d2bf76d3d Adapt Tramp version. Do not merge with master
* lisp/net/trampver.el: Change version to "2.3.5.26.2".
(customize-package-emacs-version-alist): Add Tramp version
integrated in Emacs 26.2.
2018-10-11 09:39:12 +02:00
Alan Third
6e54762c37 Fix Apple Script permissions error
* nextstep/templates/Info.plist.in: Add NSAppleEventsUsageDescription
message to enable AppleEvents usage.
2018-10-10 21:50:53 +01:00
Mauro Aranda
19f705c438 Fix typo in 'timerp' documentation
* doc/lispref/os.texi (Timers): Fix typo in 'timerp' documentation.
(Bug#32999)

Copyright-paperwork-exempt: yes
2018-10-10 06:27:03 +03:00
Eli Zaretskii
4cf1eb8062 ; * src/data.c (Fkeywordp): Remove inaccurate commentary. (Bug#32979) 2018-10-08 23:14:59 +03:00
Charles A. Roelli
3f1470d96f * doc/emacs/mark.texi (Mark): Index "(de)activating the mark".
(Bug#32956)
2018-10-08 19:22:23 +02:00
Scott Corley
940ae15604 Fix overflow lockup with frames > 255 lines
Backport from master.
* src/scroll.c (struct matrix_elt): Change unsigned char fields to
int to handle frames with more than 255 lines (Bug#32951).
Copyright-paperwork-exempt: yes
2018-10-07 23:22:50 -07:00
Eli Zaretskii
14c032d5f8 Avoid assertion violations in nonsensical calls to 'signal'
* src/eval.c (Fsignal): If both arguments are nil, replace the
first one with 'error', to avoid assertion violations further
down the line.  (Bug#32961)
2018-10-07 17:45:12 +03:00
Charles A. Roelli
b99192fe24 * lisp/simple.el (transient-mark-mode): Correct documentation. (Bug#32956) 2018-10-06 21:24:32 +02:00
Eli Zaretskii
7e4229411b Update the locale and language database
* lisp/international/mule-cmds.el (locale-language-names):
Update the list of supported locales.  Use existing language
names where available.
2018-10-06 12:38:36 +03:00
Eli Zaretskii
8c53d9fede Fix a typo in a doc string.
* lisp/window.el (display-buffer-alist): Fix a typo in a doc string.
Reported by Michael Heerdegen <michael_heerdegen@web.de>.
2018-10-05 16:51:17 +03:00
Katsumi Yamaoka
79bda3bc47 Make nneething allow CRLF-encoded files (bug#32940)
* lisp/gnus/nneething.el (nneething-request-article):
Bind coding system to raw-text instead of binary when reading a file,
that may be CRLF-encoded (bug#32940).
2018-10-05 00:22:20 +00:00
Eric Abrahamsen
2cae1cf6f8 Further fix to eieio-persistent
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  Make handling of hash tables and vectors recursive. This is
  necessary because the write process, in `eieio-override-prin1' is
  also recursive. With any luck, this will be the last fix of its
  kind. If that's true, cherry-pick to Emacs 26.2 later on.
2018-10-04 12:10:58 -07:00
Eli Zaretskii
86d2169ac3 Avoid ridiculously high stack limit requests on macOS
* src/emacs.c (main): Avoid wraparound in subtraction of
rlim_t values, in case rlim_t is an unsigned type.  (Bug#32338)
2018-10-04 19:13:17 +03:00
Charles A. Roelli
ac3622c81a Improve documentation of 'read-hide-char'
* src/minibuf.c (syms_of_minibuf) <Vread_hide_char>: Clarify
documentation and mention where else the variable is used.
* doc/lispref/minibuf.texi (Reading a Password): Add an index
entry for 'read-hide-char'.
2018-10-03 20:00:13 +02:00
Alan Mackenzie
99f45ee42c In follow mode, prevent the cursor resting on a partially displayed line
Don't merge to master.  This fixes bug #32848

* lisp/follow.el (follow-adjust-window): If point ends up in a partially
displayed line in a left hand or middle window, move it one line
forward, to
prevent unwanted scrolling should make-cursor-line-fully-visible be
non-nil.
2018-10-03 15:57:15 +00:00
Alan Mackenzie
ea77c6594e Revert "Temporary workaround for bug #32848 for branch emacs-26"
This reverts commit 6650751ce7.
2018-10-03 15:20:34 +00:00
Alan Mackenzie
2c8ea4654d Revert "* etc/NEWS: Note setting make-cursor-line-fully-visible to nil in follow-mode"
This reverts commit f3c8f4bde2de2b9d42c44f5e44f34c427bebdc58.
2018-10-03 15:20:34 +00:00
Alan Mackenzie
f8df6f2307 * etc/NEWS: Note setting make-cursor-line-fully-visible to nil in follow-mode
Also re-insert the "temporary note" explaining --- and +++.
2018-10-03 15:20:34 +00:00
Noam Postavsky
cdca208932 Fix note about interactive advice (Bug#32905)
* doc/lispref/functions.texi (Core Advising Primitives): Add missing
':', and finish the sentence fragment.
2018-10-02 20:07:40 -04:00