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

131383 commits

Author SHA1 Message Date
Glenn Morris
6cd4e8dcc5 * doc/misc/cl.texi (Efficiency Concerns): Fix 2012-10-27 typo. 2018-01-24 17:20:41 -05:00
Robert Pluim
1412cf3edd Fix a few issues with latest GTK scaling changes
* src/xfns.c (Fx_display_monitor_attributes_list): Call
gdk_screen_get_monitor_scale_factor only for GTK versions
3.10..3.21.
* src/xterm.c (x_set_offset): Call xg_get_scale for GTK only.
2018-01-24 20:08:35 +01:00
Robert Pluim
59db8dca03 Use scaled coordinates when calling into GTK
This is part two of a two part fix for the GTK scaling
problems.  See the thread starting at
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html
for an explanation of why it has been added to Emacs 26.

* src/gtkutil.c (xg_set_geometry): Scale down the coordinates that we
pass to gtk_window_move and to gtk_window_parse_geometry.
* src/xterm.c (x_set_offset): Likewise.
2018-01-24 08:55:34 +01:00
Robert Pluim
2892f05792 Scale monitor dimensions obtained from GTK
This is part one of a two part fix for the GTK scaling
problems.  See the thread starting at
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html
for an explanation of why it has been added to Emacs 26.

* src/xfns.c (Fx_display_monitor_attributes_list): Take scaling factor
into account when using GTK to query the monitor dimensions, which
allows frameset-restore to position frames correctly.
2018-01-24 08:53:59 +01:00
Paul Eggert
1fc98ed073 ; Spelling fix 2018-01-22 08:42:29 -08:00
Rasmus
bb396a369c Update Org to v9.1.6
Please note this is a bugfix release. See etc/ORG-NEWS for details.
2018-01-22 16:02:55 +01:00
Aaron Jensen
fa582153f7 Use text-pixels values only when saving framesets (Bug#30141)
* lisp/frameset.el (frameset-persistent-filter-alist): Specify
that text-pixels values are by default only saved by framesets
so the parameter is not set when restoring (Bug#30141).
2018-01-22 10:52:32 +01:00
Eli Zaretskii
6b01b9475d Minor improvement in section "Pages" of the usere manual
* doc/emacs/text.texi (Pages): Improve wording.  Suggested by Will
Korteland <emacs-devel@korte.land> in emacs-manual-bugs@gnu.org.
2018-01-21 19:55:46 +02:00
Eli Zaretskii
e8c8bd3de2 Minor improvements in user manual
* doc/emacs/trouble.texi (Emergency Escape, Contributing): Clarify
text.  Suggested by Jonathan Kyle Mitchell <kyle@jonathanmitchell.org>
in emacs-manual-bugs@gnu.org
2018-01-21 19:45:14 +02:00
Eli Zaretskii
26b8b92e63 Improve the "Mark" chapter of the user manual
* doc/emacs/mark.texi (Setting Mark, Marking Objects): Improve and
clarify wording.  Suggested by John Cummings <john@rootabega.net>
in emacs-manual-bugs@gnu.org.
2018-01-21 19:36:57 +02:00
Eli Zaretskii
759569fe40 Improve the "Buffers" chapter of the user manual
* doc/emacs/buffers.texi (Several Buffers): Correct description of
prefix arguments.  Clarify "bury".
(Buffer Menus): Clarify wording.  Reported by John Cummings
<john@rootabega.net> in emacs-manual-bugs@gnu.org.
2018-01-21 19:27:37 +02:00
tino calancha
c2e6d121ff * lisp/term.el (term-send-input): Fix text duplication in docstring 2018-01-21 13:34:55 +09:00
Eli Zaretskii
854a1c0a61 Improve "Buffers" in the user manual
Suggested by John Cummings <john@rootabega.net> in
emacs-manual-bugs@gnu.org:
* doc/emacs/buffers.texi (Select Buffer): Add cross-references to
"Windows" and "Frames".
(Misc Buffer, Kill Buffer): Use BUFFER consistently in commands
that accept buffer names.
(Select Buffer): Improve description of "M-g M-g".  Improve
wording.
(Misc Buffer, Kill Buffer): Improve wording.
(Kill Buffer): Fix the response required by kill-some-buffers.
Mention customizable options that control what clean-buffer-list
does.
(Several Buffers): More detail about
'Buffer-menu-unmark-all-buffers'.
2018-01-20 21:37:30 +02:00
Eli Zaretskii
cfc94fd245 Don't mention 'vc-stay-local' in the user manual
* doc/emacs/vc1-xtra.texi (CVS Options):
* doc/emacs/maintaining.texi (VC Directory Buffer): Remove
references to 'vc-stay-local', which no longer exists.
(Bug#30138)
2018-01-20 14:44:01 +02:00
Eli Zaretskii
8ce430bb50 Fix a typo in calendar.texi
* doc/emacs/calendar.texi (Writing Calendar Files): Capitalize
"Filofax".  Reported by Will Korteland <emacs-devel@korte.land>
in emacs-manual-bugs@gnu.org.
2018-01-20 10:56:15 +02:00
Eli Zaretskii
bb748b3640 Minor improvement in wording of the Emacs manual
* doc/emacs/killing.texi (CUA Bindings): Improve wording.
Suggested by Will Korteland <emacs-devel@korte.land> in
emacs-manual-bugs@gnu.org.
2018-01-20 10:52:06 +02:00
Eli Zaretskii
b603affa1f Revert "Fix tempfile creation when byte compiling"
This reverts commit 4fd446e9f6:
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Put tempfile next to the target file, as was the original intent.
2018-01-20 09:48:22 +02:00
Paul Eggert
4fd446e9f6 Fix tempfile creation when byte compiling
This improves on the recent fix for master failing to build
on FreeBSD.  Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2018-01/msg00600.html
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Put tempfile next to the target file, as was the original intent.
2018-01-19 14:40:56 -08:00
Eli Zaretskii
7f48a11216 Improve the Emacs manual as suggested in emacs-manual-bugs
* doc/emacs/killing.texi (Deletion and Killing): Add
cross-reference to "Kill Ring".
* doc/emacs/help.texi (Help Mode, Package Keywords): Improve
wording.  Suggested by Will Korteland <emacs-devel@korte.land> in
emacs-manual-bugs@gnu.org.
2018-01-19 21:18:03 +02:00
Stefan Monnier
728ded05f6 * lisp/emacs-lisp/bytecomp.el: Tweak last change
(byte-compile-file): Move comment closer to the code it describes.
2018-01-19 11:29:13 -05:00
Eli Zaretskii
c6c05e2aa9 Unbreak building Emacs on FreeBSD
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't create
the temporary file under temporary-file-directory if the file
being compiled is specified by an absolute file name.  This avoids
problems with ACL copying from temporary-file-directory on
FreeBSD.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00513.html.
2018-01-19 17:31:54 +02:00
Eli Zaretskii
a41ad3df9f Don't unnecessarily use non-ASCII characters in C sources
* src/xwidget.c (webkit_javascript_finished_cb):
* src/gtkutil.c (xg_check_special_colors):
* src/emacs-module.c (module_make_string):
* src/alloc.c (SET_STACK_TOP_ADDRESS): Don't use non-ASCII quote
characters.
2018-01-19 11:54:44 +02:00
Eli Zaretskii
c28d4b6d8e Portability fixes in emacs-module-tests
* test/Makefile.in (abs_top_srcdir): Add variable, needed by
CPPFLAGS.
* test/data/emacs-module/mod-test.c: Include <limits.h>.
(pT, pZ, T_TYPE, Z_TYPE): Compatibility macros, for systems that
don't support %td and %zu format specs.
(emacs_module_init): Use compatibility macros to make the error
messages print meaningful values (and avoid compiler warnings).
2018-01-19 11:20:12 +02:00
Noam Postavsky
1d50c185f0 Add tests for term.el
* lisp/term.el (term-mode): Add `name' attribute to
window-adjust-process-window-size-function value, so that it can be
removed easily by tests.
* test/lisp/term-tests.el: New tests.
2018-01-18 22:17:40 -05:00
Callum Cameron
5472568a3c Handle split AnSiT messages for term.el (Bug#17231)
Check to see if there is an incomplete command at the end of
term-emulate-terminal's input string, and, if so, save it so the whole
command can be processed when the next string arrives.
* lisp/term.el (term-partial-ansi-terminal-message): New variable.
(term-mode): Make it buffer local.
(term-handle-ansi-terminal-messages): Prepend it to the received
message, and set it if a partial message was received.

Copyright-paperwork-exempt: yes

Do not merge to master, it will be solved differently there, see
"Switch term.el to lexical binding, and clean up code a bit".
2018-01-18 22:17:07 -05:00
Glenn Morris
297dc41e2c * configure.ac (emacs_config_features): Add threads. 2018-01-18 18:09:15 -05:00
Noam Postavsky
76040d1eae Handle case-insensitive filenames for load-path shadows (Bug#5845)
* lisp/emacs-lisp/shadow.el (load-path-shadows-find): Check for
shadowing with case-insensitive matching for files of case-insensitive
directories (as determined by `file-name-case-insensitive-p').
* test/lisp/emacs-lisp/shadow-tests.el: New test.
* test/lisp/emacs-lisp/shadow-resources/p1/foo.el:
* test/lisp/emacs-lisp/shadow-resources/p2/FOO.el: New test files.
2018-01-18 16:26:52 -05:00
Noam Postavsky
0c9b05003f ; * test/file-organization.org: Fix typo. 2018-01-18 16:26:50 -05:00
Alan Mackenzie
36edb6cb97 CC Mode: stop distinguishing brace blocks from defun blocks by content.
Don't merge to master; this is a quick fix for the emacs-26 branch.  This is
essentially a reversion of the patch from 2017-11-10 which attempted to handle
C99's compound literals.

The bug here was triggered when a defun block contained a declaration ending
in a comma, yet without a semicolon.

* lisp/progmodes/cc-engine.el (c-guess-basic-syntax): At the CASE 9 test,
remove from the `or' form the test of a block's contents.
2018-01-18 17:54:02 +00:00
Philipp Stephani
779b2ac484 Use recommended long options syntax in man page
* doc/man/emacs.1.in: Specify equals sign for long options, as
recommended in the manual.
2018-01-17 23:31:34 +01:00
Glenn Morris
c433e873cf An overdue update of GNUstep emacs.tiff
* nextstep/GNUstep/Emacs.base/Resources/emacs.tiff:
Update to the Emacs 25 icon.
Converted from hicolor/scalable/apps/emacs.svg using Gimp.
* nextstep/GNUstep/Emacs.base/Resources/README: Update.
2018-01-17 15:13:40 -05:00
Glenn Morris
188a9d99b8 Add some test skip conditions
* test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-bug9726)
(vc-bzr-test-bug9781): Skip if bzr is faulty.
* test/src/thread-tests.el: Skip if not compiled with threads.
2018-01-17 13:41:07 -05:00
Lars Ingebrigtsen
064395251f Add documentation to ecomplete.el
* lisp/ecomplete.el: Add doc strings and document the format.
2018-01-17 11:55:58 +01:00
Glenn Morris
7efb366b20 ; * etc/AUTHORS: Regenerate. 2018-01-16 21:34:23 -05:00
Glenn Morris
3dc7f684c6 * admin/authors.el (authors-aliases): Tighten more entries. 2018-01-16 21:32:13 -05:00
Glenn Morris
74280624b9 ; * lisp/vc/vc.el: Comment fixes. 2018-01-16 20:56:28 -05:00
Glenn Morris
f4e6b6e077 Small startup fix for current-load-list
* lisp/startup.el (command-line):
Avoid current-load-list being non-nil after startup ends.
2018-01-16 20:55:20 -05:00
Glenn Morris
5b776bfd64 ; * etc/AUTHORS: Regenerate. 2018-01-16 20:53:36 -05:00
Glenn Morris
d80295c960 authors-aliases is based on regexps, not literals
* admin/authors.el (authors-aliases): Replace overly-broad entries.
2018-01-16 20:52:55 -05:00
Charles A. Roelli
98e5fb9bf3 Remove incorrect documentation in comint.el
* lisp/comint.el (comint-interrupt-subjob, comint-kill-subjob)
(comint-quit-subjob, comint-stop-subjob): Remove incorrect
documentation.  (Bug#30079)
2018-01-15 21:14:05 +01:00
Glenn Morris
8ba5b85161 An overdue update of src/emacs-icon.h
* src/emacs-icon.h: Update to the Emacs 25 icon.  (Bug#30047)
Converted from hicolor/scalable/apps/emacs.svg using Gimp.
2018-01-14 17:27:19 -08:00
Eli Zaretskii
155b211133 Minor copyedit in ELisp manual
* doc/lispref/variables.texi (File Local Variables): Improve
wording of last change.
2018-01-14 18:48:05 +02:00
Shuguang Sun
7a81586bd7 Fix Bug#29149 in dired-aux.el
* lisp/dired-aux.el (dired-shell-stuff-it): Handle remote
commands on w32 properly.  (Bug#29149)
2018-01-14 10:00:24 +01:00
Michael Albinus
9b2c3c190a Fix Bug#29149 in shell.el
* lisp/shell.el (shell): Change order of `file-local-name' and
`expand-file-name' calls.  Otherwise, the local file name
would be extended by a drive letter, even when it is a remote
file, seen from w32.  (Bug#29149)
2018-01-14 10:00:11 +01:00
Stefan Monnier
c9c1add6a4 * doc/lispref/variables.texi (File Local Variables): Fix last change 2018-01-13 17:02:50 -05:00
Nicolas Petton
752fba992b
; * Update ldefs-boot.el 2018-01-13 22:07:12 +01:00
Nicolas Petton
4f46a5098d
* ChangeLog.3: Update 2018-01-13 21:49:52 +01:00
Nicolas Petton
8f705ba44d
Update etc/AUTHORS 2018-01-13 21:49:13 +01:00
Nicolas Petton
6c63204b8c
Fix an entry in authors-aliases
* admin/authors.el (authors-aliases): Replace regexp from "Max", which
is too broad, to an email address ("mu@magi.net.ru").
2018-01-13 21:47:01 +01:00
Eli Zaretskii
5dd0e5c54d Mention trace.el facilities in the ELisp manual
* doc/lispref/debugging.texi (Debugging): Mention the trace.el
library.
2018-01-13 13:53:47 +02:00