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

122822 commits

Author SHA1 Message Date
Eli Zaretskii
85cd80bb16 ; Fix last commit 2015-09-28 16:00:13 +03:00
Eli Zaretskii
a11ae01df9 Another attempt to fix crashes due to prematurely freed faces
* src/xdisp.c (redisplay_internal): Inhibit freeing of realized
faces for as long as we might have desired matrices that reference
those faces.  (Bug#21428)
2015-09-28 15:50:29 +03:00
Tassilo Horn
28ddc85047 Add auctex development list email address 2015-09-28 10:59:21 +02:00
Tassilo Horn
4df75ab9e9 Add admin/MAINTAINERS entries
* admin/MAINTAINERS: Add entries for AUCTeX team and myself.
2015-09-28 09:37:33 +02:00
(tiny change) Arash Esbati
d944f728b7 Improve wrapfig package support and caption parsing
* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Correct
description string and add wraptable environment.
(reftex-default-context-regexps): Improve caption regexp.

Copyright-paperwork-exempt: yes
2015-09-28 08:31:57 +02:00
Anders Lindgren
e55460e53c Respect value of frame_resize_pixelwise when handling fullscreen state.
* src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
setting size increments.
2015-09-28 08:11:14 +02:00
Michael Albinus
73b0901ce0 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable. 2015-09-27 20:16:06 +02:00
Glenn Morris
eb2a40e1f0 ; Auto-commit of ChangeLog files. 2015-09-27 06:24:03 -04:00
Eli Zaretskii
f49e3a2603 ; Mention non-ASCII encoding issues in CONTRIBUTE
* CONTRIBUTE: Document recommendations for encoding non-ASCII
characters in Emacs sources.
2015-09-27 11:30:35 +03:00
Simen Heggestøyl
1ac5a9c20c Add prettify-symbols-alist for js-mode
* lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
(js-mode): Use it.
2015-09-27 10:04:09 +02:00
Eli Zaretskii
3fb5fcb186 ; * CONTRIBUTE: Mention admin/MAINTAINERS. 2015-09-27 10:56:30 +03:00
Eli Zaretskii
944952a741 * nt/subdirs.el: File deleted (no longer used). 2015-09-27 10:50:46 +03:00
Eli Zaretskii
2fbaf30427 ; * admin/MAINTAINERS: Minor copyedits 2015-09-27 10:48:44 +03:00
Xue Fuqiao
d514ddd638 ; * admin/MAINTAINERS: Add an entry for Xue Fuqiao. 2015-09-27 09:25:52 +08:00
Nicolas Petton
984c40a90f ; * admin/MAINTAINERS: Add entries for Nicolas Petton 2015-09-27 01:58:38 +02:00
Alan Mackenzie
3d16ffb304 Fix follow-scroll-up/down, making them replacements for scroll-up/down.
1. Allow point to move between follow windows in scroll operations.
2. Fix bug where `right-char' just before EOB caused spurious scrolling,
when EOB was isolated in the last follow window.

lisp/follow.el (follow-fixed-window): New variable.
(follow-get-scrolled-point): New function.
(follow-scrol-up, follow-scroll-down): Add autoload cookies.
Reformulate
the code.  Put `scroll-command' properties on the functions.  Correct
minor errors in ...-down's doc string and code.
(follow-calc-win-end): Amend incomplete doc string.  Use
`pos-visible-in-window-p' to check whether EOB is in the window.
(follow-estimate-first-window-start): Correct an off-by-1 error.
(follow-adjust-window): Add handling for explicit scrolling operations.
2015-09-26 19:07:24 +00:00
Simen Heggestøyl
2e775b43e0 ; * admin/MAINTAINERS: Add entry for Simen Heggestøyl 2015-09-26 20:58:49 +02:00
Michael Albinus
b7001598a5 ; * admin/MAINTAINERS: Add entries for Michael Albinus 2015-09-26 20:46:53 +02:00
Paul Eggert
1d94461a15 * admin/MAINTAINERS: Add self, plus list some more files sans maintaners. 2015-09-26 10:04:02 -07:00
Artur Malabarba
139e55a584 ; * admin/MAINTAINERS: Add entries for Artur Malabarba 2015-09-26 17:40:57 +01:00
Eli Zaretskii
88ab6655a8 ; * admin/MAINTAINERS: Update Eli Zaretskii's interests 2015-09-26 12:48:44 +03:00
Zachary Kanfer
80cc5d13d4 New DWIM commands for changing letter-case
* lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
New functions.  (Bug#21501)

Copyright-paperwork-exempt: yes
2015-09-26 11:09:19 +03:00
Eli Zaretskii
7b532d3e26 * etc/PROBLEMS: Document problems with pasting on MS-Windows 2015-09-26 10:25:58 +03:00
Eli Zaretskii
e573d08ef1 Make face realization be more frame-specific
* src/frame.h (struct f): New flag face_change.
* src/xfaces.c (Finternal_make_lisp_face)
(Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
(update_face_from_frame_parameter): Set the face_change flag only
for the frame whose faces are affected.
* src/xdisp.c (init_iterator): If a frame's face_change flag is
set, free faces only on that frame.
(redisplay_internal): Disable "display optimization 1" if the
frame's face_change flag is set.
(redisplay_window): Don't allow skipping a window's redisplay if
its frame's face_change flag is set.
* src/frame.c (x_set_screen_gamma): Instead of calling
Fclear_face_cache, call clear_face_cache and set
windows_or_buffers_changed to a non-zero value.  This avoids
setting the global face_change flag that triggers face realization
on all frames and thorough redisplay of all of them.

* lisp/term/tty-colors.el (tty-register-default-colors): Don't
clear face cache if the selected frame is a GUI frame.
2015-09-26 09:50:58 +03:00
Tassilo Horn
3fbc53b09c Remove font-latex specific check
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Use
syntax-ppss data to identify verbatim contents.
2015-09-26 07:37:58 +02:00
Tassilo Horn
188f657a82 Fix false negatives in tex--prettify-symbols-compose-p.
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Fix some
false negatives.
2015-09-25 23:04:39 +02:00
Eli Zaretskii
b1dfa84abe Reorder Windows version in Emacs manifests
* nt/emacs-x64.manifest:
* nt/emacs-x86.manifest: Reorder Windows version from lowest to
highest.
2015-09-25 22:22:31 +03:00
Eli Zaretskii
a0b9ebfd25 Update Emacs manifest files for Windows 10
* nt/emacs-x86.manifest:
* nt/emacs-x64.manifest: Declare compatibility with Windows 10.
2015-09-25 22:01:54 +03:00
Eli Zaretskii
00908ee96e Avoid non-ASCII decoding errors in C src files
* src/nsterm.m:
* src/lisp.h:
* src/editfns.c:
* src/doprnt.c: Add 'coding' cookies -- these files include
Unicode characters and should be decoded as UTF-8.
2015-09-25 20:29:27 +03:00
Alan Mackenzie
feddb99afd Resurrect edebug-set-initial-mode, repurposing it to set the global mode.
lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
amend to match current modes and functions.
(edebug-set-initial-mode): Uncomment and change from setting a defun's
`edebug-initial-mode''s property to setting the variable
`edebug-initial-mode'.
(top level): Create new binding C-x C-a C-m for
`edebug-set-initial-mode'.

doc/lispref/edebug.texi (Edebug Execution Modes): document
`edebug-set-initial-mode' and its new key binding.
(Edebug Options): Mention the new command in the pertinent place.

etc/NEWS: Write entry for this change.
2015-09-25 11:31:50 +00:00
Eli Zaretskii
0d31eeb796 Avoid non-ASCII decoding errors in Texinfo files
* doc/misc/tramp.texi:
* doc/lispref/strings.texi:
* doc/lispref/positions.texi:
* doc/lispref/help.texi:
* doc/lispref/functions.texi:
* doc/lispintro/emacs-lisp-intro.texi:
* doc/emacs/text.texi:
* doc/emacs/modes.texi:
* doc/emacs/mini.texi:
* doc/emacs/display.texi:
* doc/emacs/custom.texi:
* doc/emacs/basic.texi: Add 'coding' cookies -- these files use
Unicode characters and should be decoded as UTF-8.
* doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
apostrophe unnecessarily.
2015-09-25 12:32:13 +03:00
Paul Eggert
1657ba799a Merge from gnulib
This incorporates:
2015-09-25 c-ctype: rewrite to use inline functions
2015-09-24 maint: add coding cookies to non-ASCII sources
2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
* build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
* lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
* lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
* lib/set-permissions.c:
Copy from gnulib.
2015-09-25 00:23:18 -07:00
Paul Eggert
da38b6a7cd Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/effective_tld_names.dat
dated 2015-09-24 17:29:21 UTC.
2015-09-24 11:13:09 -07:00
Eli Zaretskii
58ecdad0b0 Prevent timers from messing up TTY menus
* src/term.c (tty_menu_activate): Inhibit redisplay for as long as
the TTY menu is open.  (Bug#21530)
2015-09-24 21:04:42 +03:00
Paul Eggert
9fa9bc6a32 No need to mention K&R C in c-mode intro 2015-09-24 09:13:59 -07:00
Stefan Monnier
8f88db1494 Fix recent bootstrap problems
* src/syntax.c (parse_sexp_propertize): Fix last fix.
* lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
* lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
2015-09-24 08:54:39 -04:00
Michael Albinus
8c909d7512 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate. 2015-09-24 09:36:12 +02:00
Ivan Andrus
f247147d16 ; Implement Stefan's feedback on last two commits 2015-09-23 17:49:50 -06:00
Ivan Andrus
ec0ddb5c7a Properly quote nested xml comments (Bug#6267) (Bug#20001)
* nxml-mode.el (nxml-comment-quote-nested): New function
(nxml-mode): Set comment-quote-nested-function
2015-09-23 17:48:42 -06:00
Ivan Andrus
04ef947705 Allow major-modes full control over quoting nested comments
* newcomment.el (comment-quote-nested-function): New variable.
(comment-quote-nested-default): New function.
(comment-quote-nested): Use `comment-quote-nested-function'.
2015-09-23 17:48:41 -06:00
Paul Eggert
791355fd40 Prefer CALLN in a few more places
* src/macfont.m (macfont_set_family_cache):
* src/nsterm.m (append2):
* src/xterm.c (x_cr_export_frames):
Prefer CALLN to allocating the arg arrays by hand.
2015-09-23 14:44:35 -07:00
Michael Albinus
20ff1b5cd9 Adapt file-notify-test02-events test case
* test/automated/file-notify-tests.el (file-notify-test02-events):
Create a new watch for every test.
2015-09-23 22:25:02 +02:00
Michael Albinus
8c3c506aa5 ; Fix thinko in last commit of filenotify.el 2015-09-23 21:21:49 +02:00
Michael Albinus
cad8aef324 Continue gfilenotify.c implementation of missing parts
* lisp/filenotify.el (file-notify-add-watch): Append `flags' to
`gfile-add-watch' call.
(file-notify-rm-watch): Modify `file-notify-descriptors' only
after calling the low level functions.

* src/gfilenotify.c (dir_monitor_callback): Check, whether
event_type is expected.
(Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
(Fgfile_rm_watch): Fix typo.
(syms_of_gfilenotify): Declare Qchange and Qattribute_change.
2015-09-23 20:34:22 +02:00
Stefan Monnier
4c0fed13e5 * src/syntax.c: Handle spurious e_property_truncated flag
* src/syntax.c (parse_sexp_propertize): Handle spurious
e_property_truncated flag.
(update_syntax_table_forward): Remove invalid assertion.
2015-09-23 12:33:48 -04:00
Eli Zaretskii
aab67529d2 Support ':relative-width' space display spec on text-mode terminals
* src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
space display spec on text-mode terminals, by calling
PRODUCE_GLYPHS instead of x_produce_glyphs.  Remove the HAVE_WINDOW_SYSTEM
guards from the supporting code, as well as the test for a GUI frame.
2015-09-23 16:20:10 +03:00
Oleh Krehel
0a133c70f1 Move let-when-compile to lisp-mode.el
This fixes the bootstrapping problem of `let-when-compile' using
`cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
2015-09-23 13:50:15 +02:00
Thomas Fitzsimmons
325200ac1d Do not include authorization header in an HTTP redirect
* lisp/url/url-http.el (url-http-parse-headers): Do not
automatically include Authorization header in redirect.
(Bug#21350)
2015-09-23 01:58:13 -04:00
Eli Zaretskii
a4d5717e7b Clarify documentation of ':relative-width'
* doc/lispref/display.texi (Specified Space): Document that
':relative-width' is only supported on GUI frames.
2015-09-22 19:51:47 +03:00
Eli Zaretskii
62831e7c3f Fix 'current-column' in presence of :relative-width
* src/indent.c (check_display_width): Support ':relative-width'
in a display spec that specifies a stretch glyph.  (Bug#21533)
2015-09-22 19:33:47 +03:00