1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00
Commit Graph

132328 Commits

Author SHA1 Message Date
Rob Browning
ab8ed41859 Avoid test failures if directory name looks like a regexp
Taken from <https://sources.debian.org/patches/emacs/1:26.1+1-1>
* test/lisp/ibuffer-tests.el (ibuffer-filter-inclusion-3):
* test/lisp/net/tramp-tests.el (tramp-test42-remote-load-path):
Regexp-quote file names to avoid failures with directory names
of the form "build/emacs-i87jK3/emacs-26.1+1/...".
2018-12-18 15:34:01 -05:00
Michael Albinus
80e98568aa Fix Bug#33524
* lisp/progmodes/flymake-proc.el
(flymake-proc-create-temp-with-folder-structure):
Unquote file-name.  (Bug#33524)
2018-12-18 17:44:13 +01:00
Glenn Morris
582527976b * doc/lispintro/emacs-lisp-intro.texi (Finding More): Fix xref. 2018-12-17 17:46:48 -05:00
Paul Eggert
e8bb0420a0 More porting to GCC 8 of --enable-gcc-warnings
Backport from master.
I ran into this when building Emacs 26 with GCC 8 on Fedora 29 x86.
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
No longer const.
* src/emacs-module.c: Ignore -Wcast-function-type.
2018-12-17 08:16:17 -08:00
Glenn Morris
fa953b58af Fix an epg test for recent GnuPG versions (bug#33439)
* test/lisp/epg-tests.el (epg-decrypt-1):
Tell recent GnuPG (e.g. 2.2.11) not to worry about missing MDC.
2018-12-14 20:09:02 -05:00
Robert Pluim
3015636471 Document font structure layout constraints
This has to be the same as in src/ftcrfont.c and src/ftfont.c

* src/xftfont.c (struct xftfont_info): Document layout constraints.
2018-12-14 16:07:47 +01:00
Robert Pluim
f14d5742db Document font structure layout constraints
The layout of the initial members of ftcrfont_info must match
ftfont_info

* src/ftcrfont.c (struct ftcrfont_info): Likewise.

* src/ftfont.c (struct ftfont_info): Document layout constraints.
2018-12-14 15:05:20 +01:00
Eli Zaretskii
f519aa10b4 Fix display of line numbers in empty lines beyond EOB
* src/xdisp.c (maybe_produce_line_number): When the current
line is at EOB, use the 'line-number-current-line' face only
on that single line, but not on the rest of empty lines beyond
EOB.  (Bug#33732)
2018-12-14 10:43:37 +02:00
Eli Zaretskii
24b5026fb6 Fix redisplay when a window's scroll bar or fringes are changed
* src/window.c (set_window_fringes, set_window_scroll_bars):
Set windows_or_buffers_changed flag to cause immediate
thorough redisplay of a window when scroll bars or fringes are
changed.  (Bug#33694)
2018-12-11 12:32:11 +02:00
Martin Rudalics
5d1b158feb Tiny markup fix in Elisp manual
* doc/lispref/lists.texi (Building Lists): Use '@var' instead
of '@code' for argument.
2018-12-11 09:16:21 +01:00
Alan Mackenzie
2075864c77 CC Mode: stop extra parens on expression causing false fontification as type
* lisp/progmodes/cc-fonts.el (c-get-fontification-context): recognize
arithmetic operator followed by several open parentheses, not just one, as not
being an argument list.
2018-12-10 14:30:40 +00:00
Ari Roponen
0220391c00 Fix cairo scrolling for side-by-side windows
Backport: Fixes Bug#33442.

* src/xterm.c (x_scroll_run) [USE_CAIRO]: Fix scrolling for
side-by-side split windows.  (Bug#31288)

(cherry picked from commit 6e362a32bc)
2018-12-10 14:21:54 +01:00
Alan Mackenzie
5a7451c383 CC Mode: stop wrongly recognizing "func(a * 9)" as "pointer to type a"
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): When testing for an
identifier after "a *", on failure additionally check for a digit, setting a
new flag variable got-number if one is found.  In the test for CASE 18, check
this flag.
2018-12-10 12:12:02 +00:00
Stefan Monnier
b0ed9d1433 * lisp/emacs-lisp/cursor-sensor.el: Add motivation 2018-12-09 20:56:35 -05:00
Raimon Grau
ee1ebe8246 Guard occur against an undefined orig-line
; Not to be merged to master
* lisp/replace.el (occur-engine): Avoid inserting the current line if
orig-line is nil.  This happens, for example, when reverting an occur
buffer with `list-matching-lines-jump-to-current-line' set to t.
(Bug#33476)
2018-12-10 01:42:41 +02:00
Eli Zaretskii
908af9dfc4 Indexing followup to recent changes
* doc/lispref/text.texi (Special Properties): Index
'cursor-sensor-inhibit'.  (Bug#33664)
2018-12-09 17:14:55 +02:00
Stefan Monnier
505ac9a0b1 Improve documentation of cursor-sensor.el (bug#33664)
* doc/lispref/text.texi (Special Properties): Mention cursor-sensor-inhibit.
* lisp/emacs-lisp/cursor-sensor.el (Commentary): Add cursor-sensor-mode.
(cursor-sensor-inhibit): Add docstring.
2018-12-09 08:59:20 -05:00
Stefan Monnier
d817d2cfb9 * doc/lispref/commands.texi (Adjusting Point): Bug#33662
Tweak text to clarify intangibility.
2018-12-09 08:34:35 -05:00
Michael Albinus
18442da60f Tramp multi-hop methods must be inline
* doc/misc/tramp.texi (Ad-hoc multi-hops): Involved methods must
be inline methods.
2018-12-09 09:55:29 +01:00
Eli Zaretskii
1e3e24d957 ; * src/xterm.c (x_update_begin): Fix whitespace. 2018-12-08 11:50:58 +02:00
Ari Roponen
1d743d2461 Fix scaling problem in Cairo builds
* src/xterm.c (x_begin_cr_clip) [USE_GTK]:
(x_update_begin) [USE_CAIRO && USE_GTK]: Support scaling.
(Bug#33442)
2018-12-08 11:50:00 +02:00
Eli Zaretskii
2b9e9937b4 ; * doc/lispref/text.texi (Special Properties): Fix wording. (Bug#33663) 2018-12-07 17:14:32 +02:00
Juri Linkov
e5682025e6 * lisp/simple.el (next-line-or-history-element): Use current-column
in all position calculations.
(previous-line-or-history-element): Idem.  (Bug#33640)
2018-12-07 00:30:51 +02:00
Martin Rudalics
c7897c2786 A few further fixes of window internals description
* doc/lispref/internals.texi (Window Internals): Add a few
more items and clarify description of some others.
2018-12-03 09:35:33 +01:00
Eli Zaretskii
745c9c0258 Revert "Revert "Fix infloop in GC mark_kboards""
This reverts commit c418c85617.
This reinstates the original fix, as it had nothing to do
with the behavior reported in bug#33571, which seems to be
the expected behavior.
2018-12-02 20:04:05 +02:00
Eli Zaretskii
c418c85617 Revert "Fix infloop in GC mark_kboards"
This reverts commit af914fc26d,
since it caused unintended adverse effects on echoing of keys.
(Bug#33571)
2018-12-02 09:39:04 +02:00
Glenn Morris
8fa0d9679d * lisp/emacs-lisp/subr-x.el (if-let, when-let): Doc fix: active voice. 2018-12-01 17:21:29 -08:00
Paul Eggert
af914fc26d Fix infloop in GC mark_kboards
Do not merge to master, as I have a more systematic fix there.
* src/keyboard.c (mark_kboards): Fix infloop (Bug#33547).
2018-12-01 13:42:57 -08:00
Alan Third
317b354782 ; Add notes about cross-compiling macOS versions 2018-12-01 17:14:27 +00:00
Alan Third
4b176eb863 Fix macOS run-time feature check
* src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time
feature check.
2018-12-01 16:41:03 +00:00
Stefan Monnier
c03574b477 * etc/NEWS-*: Fix capitalization of "Emacs" 2018-12-01 09:32:57 -05:00
Glenn Morris
42320cc8ca ; Auto-commit of loaddefs files. 2018-12-01 06:23:51 -05:00
Eli Zaretskii
e06562ce7c Fix "M-x man" when there's no 'man' program on PATH
* lisp/man.el (Man-bgproc-sentinel): Make sure the process
buffer is not read-only when inserting a message into it.
(Bug#33510)
2018-12-01 11:30:41 +02:00
Paul Eggert
7ecf49b5a5 Fix core dump in dbus-message-internal
Backport from master.
* src/dbusbind.c (Fdbus_message_internal):
Don’t go past array end (Bug#33530).
2018-11-30 09:56:10 -08:00
Eli Zaretskii
cc3ad9a3d1 ; * CONTRIBUTE: Clarify rules for committing to release branches. 2018-11-30 13:07:40 +02:00
Michael Albinus
a89dbe2af8 * doc/misc/dbus.texi (Type Conversion): Fix typo. (Bug#33551) 2018-11-30 11:31:16 +01:00
Michael Albinus
03ee726f98 ; Add comment to `customize-package-emacs-version-alist' 2018-11-30 11:14:54 +01:00
Eli Zaretskii
bce1d1afab Improve documentation of gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-show-changed-values)
(gdb-max-children): Doc fixes.

* doc/emacs/building.texi (Source Buffers, Stack Buffer)
(GDB User Interface Layout): Mention some additional
customizable variables.  (Bug#33548)
2018-11-30 10:45:28 +02:00
Thomas Fitzsimmons
809989f79e LDAP: Set process-connection-type to t on Darwin
* lisp/net/ldap.el (ldap-search-internal): Set
process-connection-type to t on Darwin.  Do not merge to
master.  (Bug#33050)
2018-11-29 12:39:34 +02:00
Eli Zaretskii
74a3a795af Fix a typo in a doc string
* lisp/emacs-lisp/map-ynp.el (read-answer-short): Fix typo.
(Bug#33528)
2018-11-28 09:28:36 +02:00
Eli Zaretskii
911766d419 Minor markup fix in frames.texi
* doc/lispref/frames.texi (Frame Layout): Fix markup of @table
entries.  (Bug#33531)
2018-11-28 09:22:00 +02:00
Glenn Morris
19ed1e9a5f * lisp/net/trampver.el (customize-package-emacs-version-alist):
Add 2.3.3.
2018-11-27 20:24:05 -08:00
Glenn Morris
d7132ad870 * lisp/mh-e/mh-e.el (customize-package-emacs-version-alist): Additions. 2018-11-27 20:19:59 -08:00
Glenn Morris
5f3926053e * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Pass format to message. 2018-11-27 08:24:33 -08:00
Robert Pluim
a291f62428 Don't call xwidget functions until GTK has been initialized
Follow up fix to Bug#33294.

* src/gtkutil.c: Define xg_gtk_initialized.
(xg_initialize): Set it when GTK has finished initializing.

* src/gtkutil.h: Declare xg_gtk_initialized.

* src/xwidget.c (Fmake_xwidget): Error out if GTK has not been
initialized.
(xwidget_init_view): Likewise.
2018-11-27 09:41:59 +01:00
Eli Zaretskii
f0531b8e64 Improve documentation of Ediff wordwise commands
* lisp/vc/ediff.el (ediff-windows-wordwise)
(ediff-windows-linewise, ediff-regions-wordwise): Update and
clarify the doc strings.

* doc/misc/ediff.texi (Major Entry Points): Update and clarify
the documentation of 'ediff-windows-wordwise' and
'ediff-regions-wordwise'.  See the discussion starting at
https://lists.gnu.org/archive/html/help-gnu-emacs/2018-11/msg00197.html
for the details.
2018-11-27 10:09:55 +02:00
Eli Zaretskii
2925ce5a7e Support Hunspell 1.7.0 in ispell.el
* lisp/textmodes/ispell.el
(ispell-find-hunspell-dictionaries): Invoke Hunspell with an
additional command-line argument, to work around a misfeature
in Hunspell 1.7.0 that prevents it from reporting the loaded
dictionary.  (Bug#33493)
2018-11-26 19:31:24 +02:00
Eli Zaretskii
03bb7a8da9 Avoid clearing echo-area message by auto-save-visited-file-name
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Record the
previous echo-area message, if any, and restore it before
exiting.  (Bug#33490)
2018-11-26 19:27:45 +02:00
Alan Third
ea624626cc Set tooltip text color (bug#33452)
; Do not merge into master

* src/nsmenu.m: ([EmacsTooltip init]): Set text color to black.
2018-11-25 11:25:33 +00:00
Alan Third
094fcf62d2 Fix more drawing bugs in NS port (bug#32932)
* src/nsterm.m (ns_row_rect): New function.
(ns_clip_to_row): Remove function.
(ns_copy_bits): Fix mistake.
(ns_shift_glyphs_for_insert): Mark the frame as dirty instead of
directly copying.
(ns_draw_fringe_bitmap): Stop using ns_clip_to_row.
(ns_draw_window_cursor): Stop using ns_clip_to_row and perform a
display when not in redisplay.
(ns_update_window_begin): Remove redundant code that never executes.
([EmacsView drawRect:]): Show the rectangle being exposed in NSTRACE.
* src/xdisp.c (expose_window_tree) [HAVE_NS]:
(expose_frame) [HAVE_NS]: Redraw even if the frame is garbaged.
2018-11-25 11:25:33 +00:00