1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 00:01:05 -08:00
Commit graph

131164 commits

Author SHA1 Message Date
Martin Rudalics
a829cb8c8b Remove sentence from child frames section in Elisp manual
* doc/lispref/frames.texi (Child Frames): Remove one sentence.
Suggested by Bob Weiner <rsw@gnu.org>.
2017-12-10 10:38:08 +01:00
Eli Zaretskii
ad491c80e4 Avoid crashes in 'font-at' after 'set-fontset-font'
* src/fontset.c (free_realized_fontsets): Call
recompute_basic_faces, so that the basic faces are available to
any Lisp that calls this function, e.g. via set-fontset-font.
(Bug#29632)
2017-12-10 10:42:34 +02:00
Ted Zlatanov
c73d2cdfd7
* lisp/files-x.el (connection-local-set-profile-variables): Fix docstring. 2017-12-09 22:53:10 -05:00
Ted Zlatanov
cefca2b8ac
Add /etc/ssl/cert.pem to gnutls-trustfiles for macOS
Problem reported by Mark Ferlatte (Bug#28603).
* lisp/net/gnutls.el (gnutls-trustfiles): Add /etc/ssl/cert.pem for macOS.
2017-12-09 17:55:17 -05:00
Eli Zaretskii
122e7264b8 Fix tool-tip display when display margins are non-zero by default
* src/buffer.h (bset_left_margin_cols, bset_right_margin_cols):
New inline functions.
* src/xfns.c (Fx_show_tip):
* src/w32fns.c (Fx_show_tip): Force display margins of the tip
buffer to zero, as it will be displayed in a pseudo-window, which
doesn't support display margins.  (Bug#29627)
2017-12-09 22:06:19 +02:00
Eric Abrahamsen
e1cc2037a9 Handle hash tables and vectors when reading/writing EIEIO objects
* lisp/emacs-lisp/eieio.el (eieio-override-prin1): EIEIO objects
  printed with `prin1' can no longer be read with `read'. Make sure
  they are printed with object-write instead, even when they're inside
  hash tables and vectors.
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  Check for written representations of objects inside hash tables and
  vectors, and reconstruct them.
2017-12-09 08:55:58 -08:00
Eli Zaretskii
cda219c3df Improve interactive debugging commands in xdisp.c
* src/xdisp.c (Fdump_glyph_row, Fdump_tool_bar_row): Allow to
specify ROW via prefix argument.  Fix the doc strings.
2017-12-09 15:21:21 +02:00
Eli Zaretskii
1056b3cbcd Fix calculation of continuation_pixel_width in display engine
* src/xdisp.c (display_line): Remove incorrect increment of
it->continuation_pixel_width when word-wrap is used.  (Bug#29594)
2017-12-09 14:45:31 +02:00
Eli Zaretskii
90e20804f5 Improve documentation of 'save-abbrevs'.
* doc/emacs/abbrevs.texi (Saving Abbrevs): Document the 'silently'
value of 'save-abbrevs'.  Suggested by Alex Branham
<alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
2017-12-09 13:43:29 +02:00
Eli Zaretskii
14f0230a48 Improve documentation of Dired
* doc/emacs/dired.texi (Dired): Mention that the Dired buffer can
be made modifiable in Wdired.  Suggested by Alex Branham
<alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
2017-12-09 13:29:11 +02:00
Eli Zaretskii
161b0e5493 * lisp/bookmark.el (bookmark-alist): Doc fix. (Bug#29551) 2017-12-09 11:18:06 +02:00
Michael Albinus
7eea3144d4 Minor Tramp fixes
* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
Fix a bug when renaming.

* test/lisp/net/tramp-tests.el (tramp-test21-file-links): Extend test.
(tramp-test42-delay-load, tramp-test42-remote-load-path):
Skip unless Emacs >= 26.
2017-12-08 16:37:53 +01:00
Glenn Morris
c0a670a8b5 * lisp/help-mode.el (help-function-def):
Allow help-make-xrefs to call with one argument.  (Bug#29611)
2017-12-07 20:30:39 -05:00
Martin Rudalics
05720162c1 Fix doc-string of 'display-buffer-in-side-window'
* lisp/window.el (display-buffer-in-side-window): In doc-string
clarify why the window returned gets dedicated to its buffer.
2017-12-07 09:55:21 +01:00
Michael Albinus
a1bbc49015 Fix Bug#29579
* lisp/files.el (file-name-non-special):
Inhibit `file-name-handler-alist' only for some operations.
Add missing operations.  (Bug#29579)

* lisp/net/tramp-compat.el (tramp-compat-file-name-quote):
Do not quote if it is quoted already.

* lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
Use `copy-tree' but `copy-sequence'.

* lisp/net/tramp.el (tramp-handle-file-truename): Handle several
trailing slashes correctly.

* test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
(tramp-test12-rename-file, tramp-test24-file-acl)
(tramp-test25-file-selinux, tramp--test-check-files):
Handle also quoted file names.
(tramp-test21-file-links): Fix file name quoting test.
(tramp-test24-file-acl): Be more robust for "smb" method.
(tramp-test35-make-auto-save-file-name): Enable hidden test cases.
2017-12-06 20:49:30 +01:00
Rasmus
cb3d979b74 ; NEWS: Update Org version number 2017-12-06 15:37:41 +01:00
Rasmus
445eefd238 Backport: Update Org to v9.1.4
Please note this is a bugfix release. See etc/ORG-NEWS for details.

(cherry picked from commit 567b5efe1f)
2017-12-06 15:37:41 +01:00
Martin Rudalics
5381c70b7a In windows.texi mention special splitting behavior of side and atomic windows
* doc/lispref/windows.texi (Splitting Windows): Add note about
and links to side and atomic windows.
2017-12-06 09:53:30 +01:00
Katsumi Yamaoka
46d62b9f36 * lisp/gnus/gnus-group.el (gnus-group-mode-map):
Bind [follow-link] to mouse-face, not 'mouse-face (bug#29538).
2017-12-05 08:22:20 +00:00
Eli Zaretskii
1ef1dbdbc5 Avoid compilation warning in xterm.c
* src/xterm.c (x_draw_underwave): Move the declaration of
'thickness' to the non-USE_CAIRO branch, to avoid compiler
warning.  (Bug#29567)
2017-12-04 21:59:28 +02:00
Eli Zaretskii
5cf3c26f2d * README: Document all the top-level directories. (Bug#29558) 2017-12-04 18:38:15 +02:00
Glenn Morris
e9ea2065a8 Don't enable erc modules on simply loading erc.el
* lisp/erc/erc.el (erc-modules): Use default :initialize.  (Bug#29417)
2017-12-03 18:54:08 -08:00
Lars Ingebrigtsen
4b06af0643 Allow shr to use data: URLs without encoding
* lisp/net/shr.el (shr-image-from-data): Don't bug out on
image data: URLs that have no base64 encoding like
(shr-image-from-data
"text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E").
2017-12-03 23:49:56 +01:00
E. Choroba
1fdac2d65c Don't add newlines in minibuffer history
* lisp/simple.el (next-line-or-history-element): Bind
next-line-add-newlines to nil.  (Bug#29529)

Copyright-paperwork-exempt: yes
2017-12-03 17:59:03 +02:00
Syohei YOSHIDA
de68f337e3 modhelp.py: Support Python 3 (Bug#24954)
* modules/modhelp.py: 'print' statement was removed in Python
3.  'print' function should be used instead of 'print' statement.
2017-12-03 10:04:18 -05:00
Noam Postavsky
afb04f7f3c Use forward slashes for python w32 config example (Bug#21656)
* lisp/progmodes/python.el: Use forward slashes for Windows path
example, it doesn't require doubling of slashes which reduces chances
of confusion.
2017-12-03 10:01:12 -05:00
Paul Eggert
04e5b28ff1 Fix bug in i18n/l10n optimization
This fixes a off-by-one buffer overrun bug introduced in
2017-06-04T15:39:37Z!eggert@cs.ucla.edu.  Problem uncovered by an
experimental version of Emacs built with -fcheck-pointer-bounds
and running on Intel MPX hardware.
* src/editfns.c (styled_format): Avoid overrunning internal buffers.
2017-12-02 21:32:26 -08:00
Noam Postavsky
8227087194 Let autoload-compute-prefix be set file-locally (Bug#29471)
* lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): Mark
boolean values as safe.
2017-12-02 09:35:44 -05:00
Noam Postavsky
98ca7d5f26 Improve edit-kbd-macro prompting in case of remapped keys (Bug#29399)
* lisp/edmacro.el (edit-kbd-macro): Use substitute-command-keys to
present the current bindings in the prompt.  Check the the
non-remapped binding of the entered key sequence as well.
2017-12-02 09:35:44 -05:00
Lele Gaifax
c02c1f6be7 Add tests on electric-indentation and Python multiline strings (Bug#29305)
* test/lisp/progmodes/python-tests.el
(python-indent-electric-comma-inside-multiline-string,
python-indent-electric-comma-after-multiline-string): New tests.
2017-12-02 09:35:44 -05:00
Noam Postavsky
946bb6d225 Disable electric indent for python strings (Bug#29305)
* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Do nothing when point or beginning of line is in string.
2017-12-02 09:35:40 -05:00
Noam Postavsky
35f1ed10e4 ; ChangeLog.2: Fix bug reference. 2017-12-02 09:21:50 -05:00
Yuuki Harano
ac316634e4 Fix buffer overflow in fontname conversion (Bug#29523)
* src/nsterm.m (ns_xlfd_to_fontname): Fix sscanf format.

Copyright-paperwork-exempt: yes
2017-12-02 13:45:51 +00:00
Eli Zaretskii
bf9b972843 Fix byte compilation of files with leading directories
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Pass basename
of target-file to make-temp-file, in case target-file includes a
leading directory that might not exist under TMPDIR.  See
http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00680.html
for the details.
2017-12-02 13:29:39 +02:00
Michael Albinus
ac144dc835 * lisp/files.el (make-backup-file-name-1): Fix scoping error. 2017-12-02 12:27:27 +01:00
Michael Albinus
1b351c8a47 Revert Tramp commit from 2017-11-20
* lisp/net/tramp.el (tramp-drop-volume-letter)
(tramp-handle-find-backup-file-name): Revert change from
2017-11-20.  Emacs' `make-backup-file-name-1' handles this
case now.
2017-12-02 12:09:57 +01:00
Eli Zaretskii
77cf972592 Improve documentation of buffer-list commands and features
* doc/emacs/buffers.texi (List Buffers): Add a cross-reference to
"Several Buffers", to establish a relation between the two
sections.
(Buffer Menus): Expand on customizability of alternative buffer
menu offered by bs.el.  Mention IBuffer.
Suggested by Alex Branham <alex.branham@gmail.com> in
emacs-manual-bugs@gnu.org.
2017-12-02 12:56:45 +02:00
Eli Zaretskii
66ec92af00 Fix backing up remote files in local directories on MS-Windows
* lisp/files.el (make-backup-file-name-1): Support remote file
names correctly when they are backed up into a local directory on
MS-Windows and MS-DOS.  (Bug#29440)
2017-12-02 10:57:15 +02:00
Glenn Morris
7e61e74da7 * doc/emacs/mule.texi (Output Coding): Clarify sendmail coding. 2017-12-01 19:59:11 -05:00
John Wiegley
1e25cd79ff Revert "Fix backing up remote files in local directories on MS-Windows"
This reverts commit 8c8b673288.
2017-12-01 12:42:58 -08:00
Eli Zaretskii
f52d79500b Fix a typo in ELisp manual
* doc/lispref/sequences.texi (Sequence Functions): Fix the example
of using 'seq-uniq'.  (Bug#29524)
2017-12-01 21:56:31 +02:00
Eli Zaretskii
bf26fc3656 * lisp/composite.el (find-composition): Fix a typo in the doc string. 2017-12-01 18:59:13 +02:00
Glenn Morris
34a21c3bf6 ; Auto-commit of loaddefs files. 2017-12-01 06:27:29 -05:00
Eli Zaretskii
8c8b673288 Fix backing up remote files in local directories on MS-Windows
* lisp/files.el (make-backup-file-name-1): Support remote file
names correctly when they are backed up into a local directory on
MS-Windows and MS-DOS.  (Bug#29440)
2017-12-01 12:40:26 +02:00
Tak Kunihiro
8eb6870be6 Fix vertical cursor motion in pixel-scroll.el
* lisp/pixel-scroll.el (pixel-scroll-up): Move cursor down
regardless of whether EOB is shown at the top.
(pixel-scroll-down) Move cursor up regardless of whether BOB
is shown at the top.  (Bug#29374)
2017-12-01 10:54:37 +02:00
Basil L. Contovounesios
625e84f156 Fix typos in doc strings of message.el
* lisp/gnus/message.el (message-header-to)
(message-header-subject, message-header-newsgroups)
(message-header-other): Fix typos in doc strings.  (Bug#29405)
2017-12-01 10:49:57 +02:00
Eli Zaretskii
9292276a44 Fix a typo in the Emacs manual
* doc/emacs/abbrevs.texi (Abbrev Concepts): Fix a typo.  Reported
by clemens.radermacher@posteo.de in emacs-manual-bugs@gnu.org.
2017-12-01 10:26:58 +02:00
Eli Zaretskii
42509c0649 Improve the documentation of 'table-insert-sequence'
* doc/emacs/text.texi (Table Misc): Fix the description of
'table-insert-sequence'.  Reported by jack <jackh@gmx.co.uk> in
emacs-manual-bugs@gnu.org.
2017-12-01 10:20:47 +02:00
Paul Eggert
93dc7ae4a4 Port better to QNX
Problem reported by Elad Lahav on emacs-devel.
* configure.ac: On QNX, default CC to qcc (a GCC wrapper),
and default LDFLAGS to -N2MB so that the initial stack size
is not too small.  Also, fix misspelling of ‘qnxnto’.
2017-11-30 15:32:37 -08:00
Michael Albinus
ad99550610 Make tramp-test42-auto-load more robust
* test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
Make it more robust.  Don't skip.
2017-11-30 20:31:33 +01:00