]> code.delx.au - gnu-emacs/blob - ChangeLog.2
; * ChangeLog.2: Fix typos and bad formatting, remove unneeded entries
[gnu-emacs] / ChangeLog.2
1 2015-09-20 Eli Zaretskii <eliz@gnu.org>
2
3 Improve documentation of 'run-at-time'
4 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
5 In particular, don't refer to 'diary-entry-time', because it is
6 unavailable until diary-lib is loaded. Also, refer to
7 'timer-duration-words', not 'timer-duration', as the latter's doc
8 string says nothing about the accepted strings.
9
10 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
11
12 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
13
14 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
15
16 Repair pdbtrack so it follows transition from one remote file to another.
17 * python.el (python-pdbtrack-set-tracked-buffer).
18
19 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
20
21 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting
22
23 2015-09-19 Eli Zaretskii <eliz@gnu.org>
24
25 Adapt vc-src to the old-new vc-checkin API
26 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
27 additional optional parameter.
28
29 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
30
31 Add overflow module to CSS property list
32 * lisp/textmodes/css-mode.el (css-property-ids): Add properties from CSS
33 Overflow Module Level 3.
34
35 2015-09-19 Eli Zaretskii <eliz@gnu.org>
36
37 Fix documentation of "C-u C-x v v"
38 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
39 documentation of "C-u C-x v v" match what the code does.
40
41 Resurrect the ability to specify a revision in vc-next-action
42 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
43 * lisp/vc/vc-dav.el (vc-dav-checkin):
44 * lisp/vc/vc-git.el (vc-git-checkin):
45 * lisp/vc/vc-hg.el (vc-hg-checkin):
46 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
47 an additional optional argument, the revision to checkin.
48 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
49 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
50 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
51 a revision to checkin.
52 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
53 revision when checking in files.
54 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
55 for the details.
56
57 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
58
59 Fix checkdoc warnings.
60 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
61 (verilog-decls-princ, verilog-modport-princ)
62 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
63
64 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
65
66 Fix the routine for help on Calc's prefixes.
67 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
68 (calc-do-prefix-help): Use `read-char' to determine the next Calc
69 command.
70
71 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove
74 (font-lock-fontify-block): Don't let-bind it.
75 (font-lock-compile-keywords): Don't use it.
76 (font-lock-set-defaults): Don't set it. Allow the variable alist to
77 start one slot earlier, instead.
78 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
79 Don't declare.
80 (syntax-ppss): Don't use it either.
81 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
82 from docstring.
83 * doc/emacs/display.texi (Font Lock): Don't mention
84 font-lock-beginning-of-syntax-function.
85 * doc/lispref/modes.texi (Font Lock Basics): Update description of
86 font-lock-defaults.
87 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
88 * lisp/loadhist.el (unload-feature-special-hooks):
89 Remove font-lock-beginning-of-syntax-function.
90 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
91 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
92 font-lock-beginning-of-syntax-function.
93
94 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
95
96 Backslash cleanup in Elisp source files
97 This patch should not change behavior. It typically omits backslashes
98 where they are redundant (e.g., in the string literal "^\$").
99 In a few places, insert backslashes where they make regular
100 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
101 "^\\*", which has the same effect as a regular expression.
102 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
103 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
104 RCS IDs, as that makes it clearer that the backslash is intended.
105
106 Some more minor backslash fixes
107 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
108 * test/automated/info-xref.el (info-xref-test-write-file):
109 Double backslashes in strings.
110
111 Fix several backslash typos in Elisp strings
112 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
113 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
114 (todo-reset-done-string, todo-reset-comment-string)
115 (todo-reset-highlight-item):
116 * lisp/erc/erc-networks.el (erc-networks-alist):
117 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
118 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
119 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
120 (nntp-telnet-shell-prompt):
121 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
122 * lisp/image-dired.el (image-dired-rotate-original):
123 (image-dired-get-exif-file-name):
124 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
125 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
126 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
127 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
128 * lisp/net/shr-color.el (shr-color->hexadecimal):
129 * lisp/org/org-bibtex.el (org-bibtex-fields):
130 * lisp/org/org-docview.el (org-docview-export):
131 * lisp/org/org-entities.el (org-entities):
132 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
133 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
134 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
135 (ebnf-style-database):
136 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
137 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
138 * lisp/progmodes/sql.el (sql-product-alist):
139 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
140 (verilog-error-font-lock-keywords)
141 (verilog-assignment-operator-re):
142 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
143 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
144 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
145 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
146 For example, to get the regular expression ‘\.’ use the string
147 literal "\\.", not "\." (which is equivalent to ".").
148 * lisp/emulation/viper-util.el (viper-glob-unix-files):
149 Remove stray ‘\j’ from string.
150 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
151 (nntp-telnet-shell-prompt):
152 Treat > like $ when matching a shell prompt.
153 * lisp/progmodes/make-mode.el (makefile-browse):
154 Properly quote a diagnostic.
155
156 Fix minor quoting problems in diagnostics
157 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
158 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
159 Follow text-quoting-style in diagnostic, and quote a file name.
160
161 2015-09-17 Eli Zaretskii <eliz@gnu.org>
162
163 * doc/lispref/frames.texi (Cursor Parameters): Document 'x-stretch-cursor'.
164
165 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
166
167 Omit unnecessary \ before paren in C docstrings
168 Although \( is needed in docstrings in Elisp code, it is not needed in
169 docstrings in C code, since C function definitiions do not start with
170 a parenthesis. The backslashes made the docstrings a bit harder to
171 read and to format in columns. Also, some C docstrings had ( in
172 column 1 and this did not appear to be causing any problems. So,
173 simplify C docstrings by replacing \( with ( and \) with ).
174
175 A few more minor quoting fixes in a script and a text file
176
177 Minor quoting fixes in scripts and doc
178 Prefer straight quotes in random script files, as they are not converted.
179 Prefer grave quotes in a couple of places in the manual that were missed
180 earlier, as these quotes are converted.
181
182 Minor backslash fixes in manuals and scripts
183 * Makefile.in (install-arch-indep):
184 * admin/charsets/compact.awk:
185 * admin/charsets/gb180302.awk (gb_to_index):
186 * admin/charsets/gb180304.awk (gb_to_index):
187 Avoid undefined behavior in Awk regular expression backslashes.
188 * doc/misc/efaq.texi (Matching parentheses):
189 Omit unnecessary backslashes.
190 * doc/misc/gnus-faq.texi (FAQ 5-8):
191 Avoid undefined behavior in suggested sed backslash usage.
192
193 Add -Wswitch to --enable-gcc-warnings
194 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
195 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
196 * lib-src/etags.c (main, consider_token, C_entries):
197 * src/coding.c (encode_invocation_designation):
198 * src/data.c (Ftype_of):
199 * src/eval.c (Fdefvaralias, default_toplevel_binding)
200 (Fbacktrace__locals, mark_specpdl):
201 * src/lisp.h (record_xmalloc):
202 * src/syntax.c (scan_lists, scan_sexps_forward):
203 * src/window.c (window_relative_x_coord):
204 * src/xdisp.c (push_it, pop_it):
205 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
206 Error out or do nothing (as appropriate) if a switch statement
207 with an enum value does not cover all of the enum.
208 * src/dispextern.h (struct iterator_stack_entry.u.comp):
209 Remove unused member discovered by using -Wswitch.
210 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
211 * src/vm-limit.c (check_memory_limits):
212 Simplify warning-diagnostic computation by using a table.
213
214 etags ‘fatal’ function is now printf-like
215 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
216 Also, now static; not clear why it needed to be extern.
217 (verror): New function, with most of the old contents of ‘error’.
218 (fatal, error): Use it.
219
220 2015-09-16 Eli Zaretskii <eliz@gnu.org>
221
222 More adaptations in file-notify-tests.el
223 * test/automated/file-notify-tests.el
224 (file-notify-test05-dir-validity): Skip for w32notify in
225 batch-mode. (Bug#21432)
226
227 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
228
229 Adapt test in file-notify-tests.el
230 * test/automated/file-notify-tests.el
231 (file-notify-test04-file-validity): Skip for w32notify in
232 batch-mode. Add test lost last commit.
233
234 2015-09-16 Dima Kogan <dima@secretsauce.net>
235
236 winner no longer holds on to dead frames
237 * lisp/winner.el (winner-change-fun): Cull dead frames.
238 This prevents a potentially massive memory leak. See:
239 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
240
241 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
242
243 Use common report_file_notify_error function
244 * src/fileio.c (report_file_notify_error): New function.
245 * src/inotify.c (report_inotify_error): Remove function.
246 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
247 (Finotify_rm_watch): Use report_file_notify_error.
248 * src/lisp.h (report_file_notify_error): Declare external function.
249 * src/w32notify.c (report_w32notify_error): Remove function.
250 (Fw32notify_add_watch, Fw32notify_rm_watch):
251 Use report_file_notify_error.
252
253 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
254
255 Fix documentation.
256 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
257 the documentation of the root mean square.
258
259 2015-09-16 Martin Rudalics <rudalics@gmx.at>
260
261 Remove tool_bar_redisplayed_once and associated code.
262 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
263 * src/frame.c (make_frame, x_set_font): Remove initialization of
264 f->tool_bar_redisplayed_once.
265 * src/w32fns.c (x_change_tool_bar_height):
266 * src/xfns.c (x_change_tool_bar_height): Don't check for
267 f->tool_bar_redisplayed_once.
268 * src/xdisp.c (redisplay_internal): Remove handling of
269 f->tool_bar_redisplayed_once.
270
271 2015-09-16 Eli Zaretskii <eliz@gnu.org>
272
273 Restore some of the quoting in the manuals
274 * doc/lispref/windows.texi (Coordinates and Windows)
275 (Coordinates and Windows):
276 * doc/lispref/variables.texi (Lexical Binding)
277 (File Local Variables):
278 * doc/lispref/text.texi (Format Properties):
279 * doc/lispref/symbols.texi (Symbol Components):
280 * doc/lispref/strings.texi (Creating Strings):
281 * doc/lispref/sequences.texi (Sequence Functions):
282 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
283 (Search and Replace):
284 * doc/lispref/processes.texi (Bindat Spec):
285 * doc/lispref/os.texi (Idle Timers):
286 * doc/lispref/objects.texi (Basic Char Syntax):
287 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
288 * doc/lispref/nonascii.texi (Character Properties):
289 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
290 (Mode Line Variables):
291 * doc/lispref/minibuf.texi (Text from Minibuffer):
292 * doc/lispref/loading.texi (Autoload):
293 * doc/lispref/keymaps.texi (Controlling Active Maps):
294 * doc/lispref/frames.texi (Frame Layout, Size and Position)
295 (Size Parameters, Implied Frame Resizing):
296 * doc/lispref/files.texi (Changing Files, Magic File Names):
297 * doc/lispref/eval.texi (Self-Evaluating Forms):
298 * doc/lispref/display.texi (Progress, Abstract Display)
299 (Abstract Display Example, Bidirectional Display):
300 * doc/lispref/commands.texi (Event Mod):
301 * doc/emacs/windows.texi (Displaying Buffers):
302 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
303 * doc/emacs/text.texi (Enriched Text):
304 * doc/emacs/programs.texi (MixedCase Words):
305 * doc/emacs/picture-xtra.texi (Insert in Picture)
306 (Tabs in Picture):
307 * doc/emacs/misc.texi (Emacs Server, Printing):
308 * doc/emacs/mini.texi (Minibuffer History):
309 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
310 (Pulling / Pushing):
311 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
312 * doc/emacs/help.texi (Help, Help Echo):
313 * doc/emacs/glossary.texi (Glossary):
314 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
315 (Frame Commands):
316 * doc/emacs/files.texi (Reverting, Saving, Directories):
317 * doc/emacs/entering.texi (Exiting):
318 * doc/emacs/emacs.texi (Top):
319 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
320 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
321 appropriate or replace quoting with @dfn.
322 * doc/misc/ediff.texi (Window and Frame Configuration):
323 * doc/lispref/processes.texi (Network Feature Testing):
324 * doc/lispref/display.texi (Display Margins): Quote the phrase
325 after "a.k.a." where appropriate.
326
327 2015-09-16 Tassilo Horn <tsdh@gnu.org>
328
329 Clarify reftex-extra-bindings docs.
330 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
331 * doc/misc/reftex.texi (Key Bindings): Document that the variable
332 only has an effect at load-time.
333
334 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
335
336 Fix search argument in ‘lisp--el-match-keyword’ (Bug#21492) (Bug#21493)
337 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
338 search argument. (Bug#21492) (Bug#21493)
339
340 2015-09-16 Tassilo Horn <tsdh@gnu.org>
341
342 Add pretty symbols for \qquad and \varrho.
343 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add pretty
344 symbols for \qquad and \varrho.
345
346 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
347
348 Add new functions for the root mean square of a (Calc) vector
349 * lisp/calc/calc-stats.el (calcFunc-rms, calc-vector-rms):
350 New functions.
351 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
352 `calc-vector-rms', add autoloads for `calc-vector-rms' and
353 `calcFunc-rms'.
354 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
355 `calcFunc-rms'.
356 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
357 `calc-vector-rms'.
358 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
359 command.
360
361 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
362
363 Add monotone EDE generic project
364 * lisp/cedet/ede/generic.el (ede-enable-generic-projects): Add monotone
365 generic project.
366
367 Revert premature commit
368 * doc/lispref/files.texi: Revert premature commit of change to
369 file-name-all-completions.
370
371 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
372 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
373 with cl-generic defaults.
374 (elisp--xref-find-references): Add doc string.
375 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
376 tests to find bug.
377
378 Fix bugs in eieio-oref-default related to class symbols
379 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
380 (eieio-oref-default): Handle class properly.
381
382 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
383
384 Quote “fullboth” when defining it
385 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
386 and rewrite the containing paragraph, which was awkward. (Bug#21472).
387
388 2015-09-15 Eli Zaretskii <eliz@gnu.org>
389
390 Minor doc fix in emacs/ack.texi
391 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
392 first argument.
393
394 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
395
396 Adapt tests in auto-revert-tests.el
397 * test/automated/auto-revert-tests.el (auto-revert--timeout):
398 Make it a defconst.
399 (auto-revert--wait-for-revert): New defun.
400 (auto-revert-test00-auto-revert-mode)
401 (auto-revert-test01-auto-revert-tail-mode)
402 (auto-revert-test02-auto-revert-mode-dired): Use it.
403
404 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const
407 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
408 (cl-lib-fdefs): Add defgeneric.
409 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
410 (eieio-kw, cl-lib-kw, el-kw): Remove.
411
412 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
413
414 Quote less in manuals
415 The manuals often used quotes ``...'' when it is better to use @dfn or
416 @code or capitalized words or no quoting at all. For example, there is
417 no need for the `` and '' in “if a variable has one effect for
418 @code{nil} values and another effect for ``non-@code{nil}'' values”.
419 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
420 unnecessary quoting like this, and to use @dfn etc. instead when called
421 for (Bug#21472).
422
423 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
424
425 lisp/custom.el (load-theme): Only compute hash when needed.
426
427 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
428
429 Pacify --enable-gcc-warnings
430 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
431
432 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
433
434 Improve error reports in inotify.c
435 * src/inotify.c (report_inotify_error): New function. Clone of
436 report_w32notify_error.
437 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
438 (Finotify_rm_watch): Use it.
439
440 2015-09-15 Eli Zaretskii <eliz@gnu.org>
441
442 Fix the file-notify tests for watch validation on w32
443 * test/automated/file-notify-tests.el
444 (file-notify-test04-file-validity): Move the directory deletion
445 out of the file-notify--test-with-events macro.
446 (file-notify-test04-file-validity)
447 (file-notify-test05-dir-validity): Enlarge the timeout of
448 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
449
450 2015-09-15 Tassilo Horn <tsdh@gnu.org>
451
452 Use OPEN BOX instead of space for \quad.
453 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
454 character for \quad instead of a space.
455
456 2015-09-15 Eli Zaretskii <eliz@gnu.org>
457
458 Add missing *.pbm images
459 * etc/images/connect.pbm: New file.
460 * etc/images/custom/down-pushed.pbm: New file.
461 * etc/images/custom/down.pbm: New file.
462 * etc/images/custom/right-pushed.pbm: New file.
463 * etc/images/custom/right.pbm: New file.
464 * etc/images/describe.pbm: New file.
465 * etc/images/disconnect.pbm: New file.
466 * etc/images/ezimage/bits.pbm: New file.
467 * etc/images/ezimage/bitsbang.pbm: New file.
468 * etc/images/ezimage/box-minus.pbm: New file.
469 * etc/images/ezimage/box-plus.pbm: New file.
470 * etc/images/ezimage/box.pbm: New file.
471 * etc/images/ezimage/checkmark.pbm: New file.
472 * etc/images/ezimage/dir-minus.pbm: New file.
473 * etc/images/ezimage/dir-plus.pbm: New file.
474 * etc/images/ezimage/dir.pbm: New file.
475 * etc/images/ezimage/doc-minus.pbm: New file.
476 * etc/images/ezimage/doc-plus.pbm: New file.
477 * etc/images/ezimage/doc.pbm: New file.
478 * etc/images/ezimage/info.pbm: New file.
479 * etc/images/ezimage/key.pbm: New file.
480 * etc/images/ezimage/label.pbm: New file.
481 * etc/images/ezimage/lock.pbm: New file.
482 * etc/images/ezimage/mail.pbm: New file.
483 * etc/images/ezimage/page-minus.pbm: New file.
484 * etc/images/ezimage/page-plus.pbm: New file.
485 * etc/images/ezimage/page.pbm: New file.
486 * etc/images/ezimage/tag-gt.pbm: New file.
487 * etc/images/ezimage/tag-minus.pbm: New file.
488 * etc/images/ezimage/tag-plus.pbm: New file.
489 * etc/images/ezimage/tag-type.pbm: New file.
490 * etc/images/ezimage/tag-v.pbm: New file.
491 * etc/images/ezimage/tag.pbm: New file.
492 * etc/images/ezimage/unlock.pbm: New file.
493 * etc/images/gnus/important.pbm: New file.
494 * etc/images/gnus/mail-send.pbm: New file.
495 * etc/images/gnus/receipt.pbm: New file.
496 * etc/images/gnus/toggle-subscription.pbm: New file.
497 * etc/images/gnus/unimportant.pbm: New file.
498 * etc/images/gud/all.pbm: New file.
499 * etc/images/gud/rcont.pbm: New file.
500 * etc/images/gud/recstart.pbm: New file.
501 * etc/images/gud/recstop.pbm: New file.
502 * etc/images/gud/rfinish.pbm: New file.
503 * etc/images/gud/rnext.pbm: New file.
504 * etc/images/gud/rnexti.pbm: New file.
505 * etc/images/gud/rstep.pbm: New file.
506 * etc/images/gud/rstepi.pbm: New file.
507 * etc/images/gud/thread.pbm: New file.
508 * etc/images/lock-broken.pbm: New file.
509 * etc/images/lock-ok.pbm: New file.
510 * etc/images/lock.pbm: New file.
511 * etc/images/mail/copy.pbm: New file.
512 * etc/images/mail/forward.pbm: New file.
513 * etc/images/mail/not-spam.pbm: New file.
514 * etc/images/mail/outbox.pbm: New file.
515 * etc/images/mail/preview.pbm: New file.
516 * etc/images/mail/save-draft.pbm: New file.
517 * etc/images/mh-logo.pbm: New file.
518 * etc/images/mpc/add.pbm: New file.
519 * etc/images/mpc/ffwd.pbm: New file.
520 * etc/images/mpc/next.pbm: New file.
521 * etc/images/mpc/pause.pbm: New file.
522 * etc/images/mpc/play.pbm: New file.
523 * etc/images/mpc/prev.pbm: New file.
524 * etc/images/mpc/rewind.pbm: New file.
525 * etc/images/mpc/stop.pbm: New file.
526 * etc/images/redo.pbm: New file.
527 * etc/images/smilies/braindamaged.pbm: New file.
528 * etc/images/smilies/cry.pbm: New file.
529 * etc/images/smilies/dead.pbm: New file.
530 * etc/images/smilies/evil.pbm: New file.
531 * etc/images/smilies/forced.pbm: New file.
532 * etc/images/smilies/grin.pbm: New file.
533 * etc/images/smilies/indifferent.pbm: New file.
534 * etc/images/sort-ascending.pbm: New file.
535 * etc/images/sort-column-ascending.pbm: New file.
536 * etc/images/sort-criteria.pbm: New file.
537 * etc/images/sort-descending.pbm: New file.
538 * etc/images/sort-row-ascending.pbm: New file.
539 * etc/images/unchecked.pbm: New file.
540 * etc/images/zoom-in.pbm: New file.
541 * etc/images/README: Update instructions for PBM files.
542
543 Add separator.pbm tool-bar image
544 * etc/images/separator.pbm: New file. Having it avoids the side
545 effect of changing the tool-bar height when the default font's size
546 changes and XPM image support is not available, due to the SPC
547 characters that are left in the Lisp string used to display the tool
548 bar, because there are no images to display instead of those SPC
549 characters.
550
551 Make show-paren-match face visible on mono-color displays
552 * lisp/faces.el (show-paren-match): Use the underline face for
553 mono-color displays. (Bug#21481)
554
555 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
556
557 Don’t double-encode non-ASCII mail clipboard
558 * lisp/mail/mailclient.el (mailclient-send-it):
559 Also fix the case when mailclient-place-body-on-clipboard-flag
560 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
561
562 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
563
564 Adapt file-notify-tests.el test cases
565 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
566 * src/inotify.c (Finotify_valid_p): Adapt docstring.
567 * test/automated/file-notify-tests.el ()
568 (file-notify-test03-autorevert)
569 (file-notify-test04-file-validity)
570 (file-notify-test04-file-validity-remote)
571 (file-notify-test05-dir-validity)
572 (file-notify-test05-dir-validity-remote): Adapt docstring.
573 (file-notify-test04-file-validity): Let events arrive before
574 calling final `file-notify-valid-p'. Do not ignore errors.
575 (file-notify-test05-dir-validity): Do not manipulate
576 `temporary-file-directory', it isn't necessary. Let events arrive
577 before calling final `file-notify-valid-p'. Do not ignore errors.
578
579 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
580
581 Don’t double-encode non-ASCII for mail client
582 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
583 Use RFC 6068’s list of unreserved characters.
584 (mailclient-send-it): When encoding the body as a URL,
585 first decode it as per Content-Type: and Content-Transfer-Encoding:,
586 as URLs must use percent-encoded UTF-8 (Bug#21471).
587 * doc/misc/url.texi (mailto): Update RFC number.
588
589 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
592
593 2015-09-14 Alan Mackenzie <acm@muc.de>
594
595 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.
596 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
597 `cadr/car'.
598
599 2015-09-14 Eli Zaretskii <eliz@gnu.org>
600
601 Clarify documentation of char-table extra slots
602 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
603 slot numbers are zero-based. (Bug#21467)
604
605 2015-09-14 Alan Mackenzie <acm@muc.de>
606
607 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
608 Fixes debbugs#21449.
609 lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
610 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
611 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
612 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
613 Insert "\\|\\\\." into regexps which match symbols.
614
615 2015-09-14 Eli Zaretskii <eliz@gnu.org>
616
617 Improve the doc string of w32notify-valid-p
618 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
619 that removing a watch makes its object invalid.
620
621 2015-09-14 Tassilo Horn <tsdh@gnu.org>
622
623 Fix tests for file-notify-valid-p.
624 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
625 Use delete-directory to delete file-notify--test-tmpfile if it is
626 a directory. Likewise for file-notify--test-tmpfile1.
627 (file-notify-test04-file-validity)
628 (file-notify-test05-dir-validity): Delete the parent directory of
629 the test. Ignore errors when cleaning up after the test.
630
631 2015-09-14 Eli Zaretskii <eliz@gnu.org>
632
633 Report file-notify-error in w32notify.c
634 * src/w32notify.c (report_w32notify_error): New function.
635 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
636 errors, instead of calling report_file_error. (Bug#21432)
637
638 Implement w32notify-valid-p
639 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
640 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
641 'identity'.
642
643 2015-09-14 Tassilo Horn <tsdh@gnu.org>
644
645 Test file-notify-valid-p.
646 * test/automated/file-notify-tests.el
647 (file-notify-test04-file-validity, file-notify-test05-dir-validity): New
648 tests.
649
650 2015-09-13 Eli Zaretskii <eliz@gnu.org>
651
652 Fix markup in ELisp manual
653 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
654 of the 'alpha' parameter value. (Bug#21470)
655
656 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
657
658 Introduce `file-notify-valid-p'
659 * lisp/filenotify.el (file-notify-valid-p): New defun.
660 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
661 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
662 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
663 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
664 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
665 <file-notify-valid-p>: Add handler.
666 * lisp/net/tramp.el (tramp-file-name-for-operation):
667 Add `file-notify-valid-p'.
668 (tramp-handle-file-notify-valid-p): New defun.
669 * src/inotify.c (Finotify_valid_p): New defun.
670 (syms_of_inotify): Declare Sinotify_valid_p.
671
672 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
673
674 Port Unicode char detection to FreeBSD+svgalib
675 Problem reported by Ashish SHUKLA in:
676 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
677 * configure.ac: Check for struct unipair.unicode instead of for
678 <linux/kd.h>, since that’s more specific to what the code actually needs.
679 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
680
681 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
682
683 2015-09-13 Eli Zaretskii <eliz@gnu.org>
684
685 Fix vertical cursor motion across overlay strings with newlines
686 * src/indent.c (Fvertical_motion): Don't leave point in the middle
687 of an overlay string with newlines, as that will position the
688 cursor after the string at whatever column is there. (Bug#21468)
689
690 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
691
692 Fix tests in file-notify-tests.el
693 * test/automated/file-notify-tests.el: Remove Tramp declarations.
694 (file-notify-test00-availability): Print remote command w/o Tramp
695 internal functions.
696 (file-notify-test02-events, file-notify-test02-events-remote):
697 Adapt docstring.
698 (file-notify-test03-autorevert): Use `format-message' when
699 inspecting *Messages* buffer.
700
701 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 Bind inhibit-modification-hooks rather than a/b-c-f
704 * lisp/wid-edit.el (widget-editable-list-insert-before)
705 (widget-editable-list-delete-at):
706 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
707 (cperl-font-lock-unfontify-region-function):
708 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
709 * lisp/obsolete/longlines.el (longlines-mode):
710 * lisp/obsolete/fast-lock.el (save-buffer-state):
711 * lisp/mouse.el (mouse-save-then-kill-delete-region):
712 * lisp/gnus/message.el (message-hide-headers):
713 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
714 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
715 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
716 than after/before-change-functions to nil.
717
718 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
721 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
722 the buffers, even if the forced redisplay is interrupted.
723
724 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
725
726 Merge syntax-propertize--done and parse-sexp-propertize-done
727 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
728 (syntax-propertize): Set syntax-propertize--done even if
729 syntax-propertize-function is nil. Avoid recursive invocations.
730 (syntax-propertize-chunks): New var.
731 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
732 Simplify.
733 (parse-sexp-propertize-function): Don't set any more.
734 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
735 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
736 Call Qinternal__syntax_propertize instead of
737 Vparse_sexp_propertize_function. Truncate e_property if needed.
738 (update_syntax_table_forward): Streamline.
739 (syms_of_syntax): Define Qinternal__syntax_propertize.
740 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
741
742 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
743
744 Prefer straight quoting in some text files
745 Mostly this just changes ` to ' in static text. Some exceptions:
746 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
747 typically does that now.
748 * admin/quick-install-emacs (TRY, top level):
749 Use straight quoting in diagnostics.
750 * src/README: Fix working-directory confusion.
751
752 * CONTRIBUTE: Move send-email here from git-workflow.
753
754 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
755
756 Improve file notifications in Tramp
757 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
758 Set proper events to watch for.
759 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
760 watched events.
761
762 2015-09-11 Eli Zaretskii <eliz@gnu.org>
763
764 Fix NS build with --enable-checking='glyphs'
765 * src/nsfns.m (unwind_create_frame): Make the preprocessor
766 conditionals for referencing 'dpyinfo' consistent throughout the
767 function. (Bug#21426)
768
769 2015-09-10 Nicolas Petton <nicolas@petton.fr>
770
771 Add seq-find
772 This function is similar to `seq-some' but returns the found element.
773 In the cases where nil can be the found element, a sentinel optional
774 argument can be provided to avoid ambiguities.
775 * lisp/emacs-lisp/seq.el (seq-find): New function.
776 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
777 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
778 seq-find.
779
780 2015-09-10 Tassilo Horn <tsdh@gnu.org>
781
782 Document file-notify--test-with-events.
783 * test/automated/file-notify-tests.el (file-notify--test-with-events):
784 Add docstring.
785
786 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
787
788 Report used native library in file-notify-tests.el
789 * test/automated/file-notify-tests.el
790 (tramp-get-remote-gvfs-monitor-dir)
791 (tramp-get-remote-inotifywait): Declare them.
792 (file-notify-test00-availability): Print used native library.
793
794 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
795
796 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
797 (mpc-file-local-copy): Check for absolute path. Check more config
798 locations.
799
800 2015-09-10 Eli Zaretskii <eliz@gnu.org>
801
802 Improve documentation of categories
803 * doc/lispref/syntax.texi (Categories): Clarify the example of
804 using define-category and modify-category-entry. (Bug#21448)
805
806 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
807
808 Revert some stray curved quotes I missed earlier
809 Problem reported by David Kastrup in:
810 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
811 * lisp/international/mule-cmds.el (leim-list-header):
812 Use format-message with an ASCII-only format.
813
814 Prefer NUMBERP to spelling it out
815 * src/editfns.c (styled_format):
816 * src/frame.h (NUMVAL):
817 * src/image.c (parse_image_spec):
818 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
819 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
820 * src/process.c (Fsignal_process):
821 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
822 * src/xfaces.c (check_lface_attrs):
823 * src/xselect.c (x_fill_property_data, x_send_client_event):
824 Use NUMBERP rather than INTEGERP || FLOATP.
825
826 2015-09-10 Tassilo Horn <tsdh@gnu.org>
827
828 Improve file-notify-tests
829 * test/automated/file-notify-tests.el: Use lexical-binding
830 (file-notify--test-cleanup): New function.
831 (file-notify-test00-availability, file-notify-test01-add-watch)
832 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
833 (file-notify--test-with-events): New macro.
834 (file-notify-test02-events): Use it.
835
836 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
837
838 Add patch-sending instructions to git-workflow
839 From a suggestion by Mitchel Humpherys in:
840 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
841 * admin/notes/git-workflow (Sending patches): New section.
842
843 Port to GIFLIB 5.0.6 and later
844 Problem reported by Mitchel Humpherys in:
845 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
846 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
847 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
848 (gif_load) [HAVE_GIF]: Use it.
849
850 2015-09-10 Glenn Morris <rgm@gnu.org>
851
852 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
853
854 2015-09-09 Glenn Morris <rgm@gnu.org>
855
856 * test/automated/file-notify-tests.el (file-notify-test02-events):
857 Fix recent change.
858
859 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
860
861 Refix movemail GCC pacification
862 Problem reported by Ken Brown in:
863 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
864 * lib-src/movemail.c (main): Fix previous change.
865
866 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 (time-to-seconds, time-less-p): Mark unused vars with underscore
869 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
870 Mark unused vars with underscore.
871
872 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
873 (parse_sexp_propertize): ...from here.
874
875 * lisp/filenotify.el: Use lexical-binding
876 (file-notify-add-watch): Avoid add-to-list.
877
878 2015-09-09 Tassilo Horn <tsdh@gnu.org>
879
880 Start checking event types in file-notify tests
881 * test/automated/file-notify-tests.el (file-notify--test-events): New
882 variable.
883 (file-notify--test-event-handler): Append received event to
884 file-notify--test-events for later analysis.
885 (file-notify-test02-events): Assert that the expected notifications have
886 arrived in the expected order.
887
888 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
889
890 Merge from gnulib and texinfo
891 This incorporates:
892 2015-08-03 Improve port of stdalign to C++11
893 * lib/stdalign.in.h: Copy from gnulib.
894 * doc/misc/texinfo.tex: Copy from texinfo.
895
896 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 Make syntax.c call syntax-propertize on demand
899 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
900 (parse-sexp-propertize-function): Use it.
901 (syntax-propertize): Disable parse-sexp-propertize-function.
902 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
903 New functions.
904 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
905 `parse-sexp-propertize-function'.
906 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
907 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
908 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
909 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
910 Don't assume `point' is set.
911
912 2015-09-09 Eli Zaretskii <eliz@gnu.org>
913
914 Fix indentation of an @example in ELisp manual
915 * doc/lispref/syntax.texi (Categories): Untabify the example.
916 (Bug#21448)
917
918 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
919
920 Define internal-char-font even if --without-x
921 The function is used now even in non-graphical environments.
922 Problem reported by Glenn Morris in:
923 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
924 * src/font.c (Finternal_char_font): Move here ...
925 * src/fontset.c (Finternal_char_font): ... from here.
926
927 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove
930 warning.
931
932 2015-09-09 Eli Zaretskii <eliz@gnu.org>
933
934 Fix display of complex local data types in GDB-MI
935 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
936 variable has no value, display "<complex data type>" as a
937 placeholder, instead of a confusing "nil". (Bug#21438)
938
939 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
940
941 Remove redundant redefinition of seq-drop-while from seq.el
942 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
943
944 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
945
946 * lisp/emacs-lisp/package.el (package--ensure-init-file)
947 More robust check for `package-initialize' calls in init file.
948 This function accepts an optional argument, but calls passing
949 an argument would not have been detected.
950
951 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
952
953 Port movemail to RHEL 6 with --enable-gcc-warnings
954 * lib-src/movemail.c (main): Declare local only if needed.
955
956 Port recent Linux console changes to RHEL 6
957 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
958
959 Improvements for curved quotes on Linux consule
960 This should help Emacs work better out-of-the-box on Linux consoles,
961 which have only limited support for displaying Unicode characters.
962 Also, undo the recent change that caused text-quoting-style to
963 affect quote display on terminals, so that the two features are
964 independent. See Alan Mackenzie in:
965 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
966 Finally, add a style parameter to startup--setup-quote-display,
967 so that this function can also be invoked after startup, with
968 different styles depending on user preference at the time.
969 * configure.ac: Check for linux/kd.h header.
970 * doc/emacs/display.texi (Text Display): Document quote display.
971 * doc/lispref/display.texi (Active Display Table):
972 * etc/NEWS:
973 * lisp/startup.el (startup--setup-quote-display, command-line):
974 text-quoting-style no longer affects quote display.
975 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
976 * lisp/international/mule-util.el (char-displayable-p):
977 * lisp/startup.el (startup--setup-quote-display):
978 On a text terminal supporting glyph codes, use the reported
979 glyph codes instead of the terminal coding system, as this
980 is more accurate on the Linux console.
981 * lisp/startup.el (startup--setup-quote-display):
982 New optional arg STYLE.
983 * src/fontset.c (Finternal_char_font):
984 Report glyph codes for a text terminal, if they are available.
985 Currently this is supported only for the Linux console.
986 * src/termhooks.h (struct terminal): New member glyph-code-table.
987 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
988 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
989 (terminal_glyph_code): New function.
990
991 2015-09-08 Juri Linkov <juri@linkov.net>
992
993 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
994 underline. (Bug#21433)
995
996 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
999
1000 2015-09-08 Tassilo Horn <tsdh@gnu.org>
1001
1002 Fix double-reporting of rename events with inotify
1003 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
1004 of rename events with inotify (bug#21435).
1005
1006 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
1007
1008 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
1009 (tetris-mode-map): Use it.
1010
1011 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 Remove a few simple cases of global redisplay
1014 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
1015 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
1016 rather than returning a "resized_p" boolean.
1017 (redisplay_internal): Adjust call accordingly.
1018 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
1019 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
1020 tracking of this undesirable situation.
1021
1022 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
1023 * src/process.c (status_notify): Only set the update_mode_line on the
1024 relevant buffers rather than setting it globally.
1025
1026 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * lisp/electric.el (electric-quote-post-self-insert-function):
1029 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
1030 (electric-quote-mode): Activate everywhere in message-mode.
1031
1032 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
1033
1034 Go back to grave quoting in source-code docstrings etc.
1035 This reverts almost all my recent changes to use curved quotes
1036 in docstrings and/or strings used for error diagnostics.
1037 There are a few exceptions, e.g., Bahá’í proper names.
1038 * admin/unidata/unidata-gen.el (unidata-gen-table):
1039 * lisp/abbrev.el (expand-region-abbrevs):
1040 * lisp/align.el (align-region):
1041 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
1042 (outlineify-sticky):
1043 * lisp/apropos.el (apropos-library):
1044 * lisp/bookmark.el (bookmark-default-annotation-text):
1045 * lisp/button.el (button-category-symbol, button-put)
1046 (make-text-button):
1047 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
1048 * lisp/calc/calc-embed.el (calc-do-embedded):
1049 * lisp/calc/calc-ext.el (calc-user-function-list):
1050 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
1051 * lisp/calc/calc-help.el (calc-describe-key)
1052 (calc-describe-thing, calc-full-help):
1053 * lisp/calc/calc-lang.el (calc-c-language)
1054 (math-parse-fortran-vector-end, math-parse-tex-sum)
1055 (math-parse-eqn-matrix, math-parse-eqn-prime)
1056 (calc-yacas-language, calc-maxima-language, calc-giac-language)
1057 (math-read-giac-subscr, math-read-math-subscr)
1058 (math-read-big-rec, math-read-big-balance):
1059 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
1060 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
1061 (calc-auto-recompute):
1062 * lisp/calc/calc-prog.el (calc-fix-token-name)
1063 (calc-read-parse-table-part, calc-user-define-invocation)
1064 (math-do-arg-check):
1065 * lisp/calc/calc-store.el (calc-edit-variable):
1066 * lisp/calc/calc-units.el (math-build-units-table-buffer):
1067 * lisp/calc/calc-vec.el (math-read-brackets):
1068 * lisp/calc/calc-yank.el (calc-edit-mode):
1069 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
1070 * lisp/calendar/appt.el (appt-display-message):
1071 * lisp/calendar/diary-lib.el (diary-check-diary-file)
1072 (diary-mail-entries, diary-from-outlook):
1073 * lisp/calendar/icalendar.el (icalendar-export-region)
1074 (icalendar--convert-float-to-ical)
1075 (icalendar--convert-date-to-ical)
1076 (icalendar--convert-ical-to-diary)
1077 (icalendar--convert-recurring-to-diary)
1078 (icalendar--add-diary-entry):
1079 * lisp/calendar/time-date.el (format-seconds):
1080 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
1081 (timeclock-make-hours-explicit, timeclock-log-data):
1082 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
1083 (todo-item-mark, todo-check-format)
1084 (todo-insert-item--next-param, todo-edit-item--next-key)
1085 (todo-mode):
1086 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1087 * lisp/cedet/mode-local.el (describe-mode-local-overload)
1088 (mode-local-print-binding, mode-local-describe-bindings-2):
1089 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
1090 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
1091 * lisp/cus-start.el (standard):
1092 * lisp/cus-theme.el (describe-theme-1):
1093 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
1094 (custom--sort-vars-1, load-theme):
1095 * lisp/descr-text.el (describe-text-properties-1, describe-char):
1096 * lisp/dired-x.el (dired-do-run-mail):
1097 * lisp/dired.el (dired-log):
1098 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
1099 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
1100 (ad-disable-advice, ad-remove-advice, ad-set-argument)
1101 (ad-set-arguments, ad--defalias-fset, ad-activate)
1102 (ad-deactivate):
1103 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
1104 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
1105 (byte-optimize-while, byte-optimize-apply):
1106 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
1107 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
1108 (byte-compile-log-file, byte-compile-format-warn)
1109 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
1110 (byte-compile-cl-warn)
1111 (byte-compile-warn-about-unresolved-functions)
1112 (byte-compile-file, byte-compile--declare-var)
1113 (byte-compile-file-form-defmumble, byte-compile-form)
1114 (byte-compile-normal-call, byte-compile-check-variable)
1115 (byte-compile-variable-ref, byte-compile-variable-set)
1116 (byte-compile-subr-wrong-args, byte-compile-setq-default)
1117 (byte-compile-negation-optimizer)
1118 (byte-compile-condition-case--old)
1119 (byte-compile-condition-case--new, byte-compile-save-excursion)
1120 (byte-compile-defvar, byte-compile-autoload)
1121 (byte-compile-lambda-form)
1122 (byte-compile-make-variable-buffer-local, display-call-tree)
1123 (batch-byte-compile):
1124 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
1125 * lisp/emacs-lisp/chart.el (chart-space-usage):
1126 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
1127 (check-declare-warn, check-declare-file)
1128 (check-declare-directory):
1129 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
1130 (checkdoc-message-text-engine):
1131 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
1132 (cl--describe-class):
1133 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
1134 (cl--generic-describe, cl-generic-generalizers):
1135 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
1136 (cl-symbol-macrolet):
1137 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
1138 * lisp/emacs-lisp/copyright.el (copyright)
1139 (copyright-update-directory):
1140 * lisp/emacs-lisp/edebug.el (edebug-read-list):
1141 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
1142 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
1143 (eieio-oref):
1144 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
1145 * lisp/emacs-lisp/eieio-speedbar.el:
1146 (eieio-speedbar-child-make-tag-lines)
1147 (eieio-speedbar-child-description):
1148 * lisp/emacs-lisp/eieio.el (defclass, change-class):
1149 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
1150 (elint-init-form, elint-check-defalias-form)
1151 (elint-check-let-form):
1152 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
1153 (ert-results-pop-to-backtrace-for-test-at-point)
1154 (ert-results-pop-to-messages-for-test-at-point)
1155 (ert-results-pop-to-should-forms-for-test-at-point)
1156 (ert-describe-test):
1157 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
1158 (find-function-library):
1159 * lisp/emacs-lisp/generator.el (iter-yield):
1160 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
1161 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
1162 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
1163 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
1164 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
1165 (advice--make, define-advice):
1166 * lisp/emacs-lisp/package-x.el (package-upload-file):
1167 * lisp/emacs-lisp/package.el (package-version-join)
1168 (package-disabled-p, package-activate-1, package-activate)
1169 (package--download-one-archive)
1170 (package--download-and-read-archives)
1171 (package-compute-transaction, package-install-from-archive)
1172 (package-install, package-install-selected-packages)
1173 (package-delete, package-autoremove, describe-package-1)
1174 (package-install-button-action, package-delete-button-action)
1175 (package-menu-hide-package, package-menu--list-to-prompt)
1176 (package-menu--perform-transaction)
1177 (package-menu--find-and-notify-upgrades):
1178 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
1179 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
1180 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
1181 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
1182 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
1183 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
1184 (rx-form):
1185 * lisp/emacs-lisp/smie.el (smie-config-save):
1186 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
1187 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
1188 * lisp/emacs-lisp/testcover.el (testcover-1value):
1189 * lisp/emacs-lisp/timer.el (timer-event-handler):
1190 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
1191 (viper-toggle-search-style, viper-kill-buffer)
1192 (viper-brac-function):
1193 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
1194 * lisp/env.el (setenv):
1195 * lisp/erc/erc-button.el (erc-nick-popup):
1196 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
1197 * lisp/eshell/em-dirs.el (eshell/cd):
1198 * lisp/eshell/em-glob.el (eshell-glob-regexp)
1199 (eshell-glob-entries):
1200 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
1201 * lisp/eshell/esh-opt.el (eshell-show-usage):
1202 * lisp/facemenu.el (facemenu-add-new-face)
1203 (facemenu-add-new-color):
1204 * lisp/faces.el (read-face-name, read-face-font, describe-face)
1205 (x-resolve-font-name):
1206 * lisp/files-x.el (modify-file-local-variable):
1207 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
1208 (set-auto-mode, hack-one-local-variable--obsolete)
1209 (dir-locals-set-directory-class, write-file, basic-save-buffer)
1210 (delete-directory, copy-directory, recover-session)
1211 (recover-session-finish, insert-directory)
1212 (file-modes-char-to-who, file-modes-symbolic-to-number)
1213 (move-file-to-trash):
1214 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
1215 * lisp/find-cmd.el (find-generic, find-to-string):
1216 * lisp/finder.el (finder-commentary):
1217 * lisp/font-lock.el (font-lock-fontify-buffer):
1218 * lisp/format.el (format-write-file, format-find-file)
1219 (format-insert-file):
1220 * lisp/frame.el (get-device-terminal, select-frame-by-name):
1221 * lisp/fringe.el (fringe--check-style):
1222 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
1223 * lisp/help-fns.el (help-fns--key-bindings)
1224 (help-fns--compiler-macro, help-fns--parent-mode)
1225 (help-fns--obsolete, help-fns--interactive-only)
1226 (describe-function-1, describe-variable):
1227 * lisp/help.el (describe-mode)
1228 (describe-minor-mode-from-indicator):
1229 * lisp/image.el (image-type):
1230 * lisp/international/ccl.el (ccl-dump):
1231 * lisp/international/fontset.el (x-must-resolve-font-name):
1232 * lisp/international/mule-cmds.el (prefer-coding-system)
1233 (select-safe-coding-system-interactively)
1234 (select-safe-coding-system, activate-input-method)
1235 (toggle-input-method, describe-current-input-method)
1236 (describe-language-environment):
1237 * lisp/international/mule-conf.el (code-offset):
1238 * lisp/international/mule-diag.el (describe-character-set)
1239 (list-input-methods-1):
1240 * lisp/mail/feedmail.el (feedmail-run-the-queue):
1241 * lisp/mouse.el (minor-mode-menu-from-indicator):
1242 * lisp/mpc.el (mpc-playlist-rename):
1243 * lisp/msb.el (msb--choose-menu):
1244 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
1245 * lisp/net/imap.el (imap-interactive-login):
1246 * lisp/net/mairix.el (mairix-widget-create-query):
1247 * lisp/net/newst-backend.el (newsticker--sentinel-work):
1248 * lisp/net/newst-treeview.el (newsticker--treeview-load):
1249 * lisp/net/rlogin.el (rlogin):
1250 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
1251 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
1252 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
1253 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
1254 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
1255 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
1256 (org-babel-goto-named-result):
1257 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
1258 * lisp/org/ob-ref.el (org-babel-ref-resolve):
1259 * lisp/org/org-agenda.el (org-agenda-prepare):
1260 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
1261 (org-clock-resolve):
1262 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
1263 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
1264 * lisp/org/org-habit.el (org-habit-parse-todo):
1265 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
1266 (org-mouse-context-menu):
1267 * lisp/org/org-table.el (org-table-edit-formulas):
1268 * lisp/org/ox.el (org-export-async-start):
1269 * lisp/proced.el (proced-log):
1270 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
1271 (ada-check-matching-start, ada-goto-matching-start):
1272 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
1273 * lisp/progmodes/ada-xref.el (ada-find-executable):
1274 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
1275 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
1276 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
1277 (flymake-start-syntax-check-process):
1278 * lisp/progmodes/python.el (python-shell-get-process-or-error)
1279 (python-define-auxiliary-skeleton):
1280 * lisp/progmodes/sql.el (sql-comint):
1281 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
1282 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
1283 * lisp/recentf.el (recentf-open-files):
1284 * lisp/replace.el (query-replace-read-from)
1285 (occur-after-change-function, occur-1):
1286 * lisp/scroll-bar.el (scroll-bar-columns):
1287 * lisp/server.el (server-get-auth-key):
1288 * lisp/simple.el (execute-extended-command)
1289 (undo-outer-limit-truncate, list-processes--refresh)
1290 (compose-mail, set-variable, choose-completion-string)
1291 (define-alternatives):
1292 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
1293 (command-line-1):
1294 * lisp/subr.el (noreturn, define-error, add-to-list)
1295 (read-char-choice, version-to-list):
1296 * lisp/term/common-win.el (x-handle-xrm-switch)
1297 (x-handle-name-switch, x-handle-args):
1298 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
1299 * lisp/textmodes/reftex-ref.el (reftex-label):
1300 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
1301 * lisp/textmodes/two-column.el (2C-split):
1302 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
1303 (tutorial--find-changed-keys):
1304 * lisp/type-break.el (type-break-noninteractive-query):
1305 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
1306 (wdired-do-perm-changes):
1307 * lisp/whitespace.el (whitespace-report-region):
1308 Prefer grave quoting in source-code strings used to generate help
1309 and diagnostics.
1310 * lisp/faces.el (face-documentation):
1311 No need to convert quotes, since the result is a docstring.
1312 * lisp/info.el (Info-virtual-index-find-node)
1313 (Info-virtual-index, info-apropos):
1314 Simplify by generating only curved quotes, since info files are
1315 typically that ways nowadays anyway.
1316 * lisp/international/mule-diag.el (list-input-methods):
1317 Don’t assume text quoting style is curved.
1318 * lisp/org/org-bibtex.el (org-bibtex-fields):
1319 Revert my recent changes, going back to the old quoting style.
1320
1321 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
1322
1323 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling
1324 (package--autoloads-file-name)
1325 (package--activate-autoloads-and-load-path): New function.
1326 (package-activate-1): Delegate autoloading and load-path
1327 configuration to `package--activate-autoloads-and-load-path'.
1328 (package--compile): Before compilation, call
1329 `package--activate-autoloads-and-load-path' instead of
1330 `package-activate-1'.
1331
1332 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
1335
1336 2015-09-07 Eli Zaretskii <eliz@gnu.org>
1337
1338 Fix deletion of symlinks to directories on MS-Windows
1339 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
1340 symlink to a directory, try again with 'rmdir'.
1341 (is_symlink): If the argument is a symlink to a directory, set a
1342 bit in the return value to indicate that fact.
1343
1344 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
1345
1346 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
1347 When `package-initialize' is called as part of loading the init file,
1348 the user probably doesn't want it to be called again afterwards. In this
1349 situation, `package-initialize' now sets `package-enable-at-startup' to
1350 nil to prevent that. The user can have the old behaviour by setting this
1351 variable to t after the call to `package-initialize'. (Bug#21423)
1352 * doc/emacs/package.texi (Package Installation): Document it.
1353 * doc/lispref/package.texi (Packaging Basics): Document it.
1354 * etc/NEWS: Document it.
1355
1356 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1357
1358 Bump version of ntlm.el to 2.00
1359 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer. Add comm
1360 keyword.
1361
1362 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
1363
1364 * doc/misc/gnus.texi (Mail Source Specifiers):
1365 Allow :mailbox to be a list.
1366
1367 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
1368
1369 Allow even one non-regular character before the implicit tag name
1370 * lisp/progmodes/etags.el (etags-tags-completion-table):
1371 Allow even one non-regular character before the implicit tag name.
1372 Reported at http://emacs.stackexchange.com/questions/15269/.
1373
1374 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1375
1376 Add support for NTLMv2 authentication
1377 * net/ntlm.el (ntlm): New customization group.
1378 (ntlm-compatibility-level): New defcustom.
1379 (ntlm-compute-timestamp): New function.
1380 (ntlm-generate-nonce): Likewise.
1381 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
1382
1383 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
1384
1385 * lisp/emacs-lisp/package.el: Rename custom faces
1386 All of the recently introduced faces, like `package-name-face', have
1387 been renamed to no end in `-face' to comply with the convention
1388 described in (info "(elisp) Defining Faces").
1389 (package-name, package-description)
1390 (package-status-built-in, package-status-external)
1391 (package-status-available, package-status-new)
1392 (package-status-held, package-status-disabled)
1393 (package-status-installed, package-status-dependency)
1394 (package-status-unsigned, package-status-incompat)
1395 (package-status-avail-obso): New faces.
1396 (package-menu--print-info-simple): Use them.
1397
1398 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
1399
1400 mail-source.el: Make the imap mail-source's :mailbox handle a list
1401 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
1402 Allow :mailbox to be a list.
1403
1404 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
1405
1406 nnimap.el: Handle nil arg to nnimap-request-group
1407 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
1408 This arg isn't always passed in, check it's not nil before making it
1409 into a list. The active arg will also be nil if the group is new,
1410 check for that.
1411
1412 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
1413
1414 File notifications: Support renaming over directory boundaries
1415 * lisp/filenotify.el (file-notify-handle-event):
1416 (file-notify--pending-event): Adapt docstring.
1417 (file-notify--descriptor, file-notify-callback): Reimplement in
1418 order to support renaming over directory boundaries.
1419 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
1420 * doc/lispref/os.texi (File Notifications): Remove limitation of
1421 file renaming to the same directory.
1422
1423 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
1424
1425 Spelling fix (Bug#21420)
1426
1427 2015-09-05 Nicolas Petton <nicolas@petton.fr>
1428
1429 Improve the semantic of map-some
1430 Update map-some to return the returned by the predicate, similar to
1431 seq-some.
1432 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
1433 return value of the predicate.
1434 * test/automated/map-tests.el (test-map-some): Update the test to check
1435 for non-nil values only.
1436
1437 Rename map-contains-key-p and map-some-p
1438 Remove the "-p" suffix from both function names.
1439 * lisp/emacs-lisp/map.el (map-contains-key, map-some): Rename the functions.
1440 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
1441 Update both test functions.
1442
1443 Improve the semantic of seq-some
1444 Update seq-some to return non-nil if the predicate returns non-nil for
1445 any element of the seq, in which case the returned value is the one
1446 returned by the predicate.
1447 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
1448 docstring.
1449 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
1450 * doc/lispref/sequences.texi (Sequence Functions): Update the
1451 documentation for seq-some.
1452
1453 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
1454 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
1455 without the "-p" prefix.
1456 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
1457 the tests accordingly.
1458 * doc/lispref/sequences.texi (Sequence Functions): Update the
1459 documentation for seq.el.
1460
1461 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
1462
1463 text-quoting-style for usage of fn names with ‘’
1464 * lisp/help.el (help--docstring-quote): Don’t assume
1465 text-quoting-style is ‘curve’ when generating usage strings for
1466 functions whose names contain curved quotes.
1467
1468 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
1469
1470 Fix fix for describe-function keybinding confusion
1471 This fixes a bug introduced by the previous patch.
1472 * lisp/help-fns.el (help-fns--signature):
1473 Last arg of help-fns--signature is now a buffer, or nil if a
1474 raw signature is wanted. All callers changed.
1475 (describe-function-1): Use this to do the right thing with signatures.
1476
1477 2015-09-05 Johan Bockgård <bojohan@gnu.org>
1478
1479 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
1480
1481 Use PAT rather than UPAT in pcase macros
1482 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
1483 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
1484 than UPAT.
1485
1486 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
1487
1488 Fix describe-function keybinding confusion
1489 * lisp/help-fns.el (describe-function-1): Compute signature
1490 in the original buffer, not in standard-output, so that
1491 substitute-command-keys uses the proper keybindings.
1492 This fixes Bug#21412, introduced in commit
1493 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
1494
1495 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
1496
1497 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
1498
1499 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
1500
1501 Avoid read error messages from 'inotify'
1502 * src/process.c (wait_reading_process_output): Add a
1503 'tls_available' set and manipulate it instead of 'Available' when
1504 checking TLS inputs. Assign the value to 'Available' only if we
1505 find any TLS data waiting to be read. This avoids error messages
1506 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
1507
1508 2015-09-05 Eli Zaretskii <eliz@gnu.org>
1509
1510 Avoid errors in thing-at-point with 2nd argument non-nil
1511 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
1512 sequences. (Bug#21391)
1513
1514 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
1515
1516 Fix segfaults due to using a stale face ID
1517 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
1518 (display_echo_area_1, redisplay_internal): Call it to avoid
1519 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
1520 faces, which could case a segfault if the frame's face cache was
1521 freed since the last redisplay. (Bug#21394)
1522 * src/xfaces.c (free_realized_faces): Call
1523 forget_escape_and_glyphless_faces.
1524 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
1525
1526 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
1527
1528 Fix minor problems with " in manual
1529
1530 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
1531
1532 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
1533 multi-hop files.
1534
1535 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
1536
1537 Support automated ‘make check’ in non-C locale
1538 This lets the builder optionally test Emacs behavior in other locales.
1539 The C locale is still the default for tests.
1540 * test/automated/Makefile.in (TEST_LOCALE): New macro.
1541 (emacs): Use it.
1542 * test/automated/flymake-tests.el (flymake-tests--current-face):
1543 Use C locale for subprocesses so that tests behave as expected.
1544 * test/automated/python-tests.el:
1545 (python-shell-prompt-validate-regexps-1)
1546 (python-shell-prompt-validate-regexps-2)
1547 (python-shell-prompt-validate-regexps-3)
1548 (python-shell-prompt-validate-regexps-4)
1549 (python-shell-prompt-validate-regexps-5)
1550 (python-shell-prompt-validate-regexps-6)
1551 (python-shell-prompt-set-calculated-regexps-1):
1552 Adjust expected output to match locale.
1553 * test/automated/tildify-tests.el (tildify-test--test)
1554 (tildify-space-test--test, tildify-space-undo-test--test):
1555 This test assumes UTF-8 encoding.
1556
1557 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
1558
1559 Fix some more docstring etc. quoting problems
1560 Mostly these fixes prevent the transliteration of apostrophes
1561 that should stay apostrophes. Also, prefer curved quotes in
1562 Bahá’í proper names, as that’s the preferred Bahá’í style and
1563 these names are chock-full of non-ASCII characters anyway.
1564 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
1565 (eieio-defclass-internal):
1566 * lisp/emacs-lisp/eieio.el (defclass):
1567 * lisp/hi-lock.el (hi-lock-mode):
1568 Don’t transliterate Lisp apostrophes when generating a
1569 doc string or diagnostic.
1570 * lisp/international/mule-diag.el (list-coding-systems-1):
1571 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
1572 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
1573 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
1574 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
1575 Substitute quotes before putting them in the help buffer.
1576
1577 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 Re-add the notion of echo_prompt lost in the translation
1580 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
1581 echo_prompt which contains the actual string. Update all uses.
1582 * src/keyboard.c (kset_echo_prompt): New function.
1583 (echo_update): Add echo_prompt at the very beginning.
1584 (read_char): Remove workaround for bug#19875, not needed any more.
1585 (read_key_sequence): Set echo_prompt rather than echo_string (bug#21403).
1586 (mark_kboards): Mark echo_prompt.
1587
1588 Fix disassembly of non-compiled lexical functions (bug#21377)
1589 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
1590 * lisp/emacs-lisp/disass.el: Use lexical-binding.
1591 (disassemble): Recognize `closure's as well.
1592 (disassemble-internal): Use indirect-function and
1593 help-function-arglist, and accept `closure's.
1594 (disassemble-internal): Use interactive-form.
1595 (disassemble-1): Use functionp.
1596
1597 (tex--prettify-symbols-compose-p): Don't compose in verbatim blocks!
1598 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
1599 Don't compose inside verbatim blocks!
1600
1601 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
1602
1603 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
1604 (bug#19441)
1605
1606 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394)
1607
1608 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
1609
1610 vc-git-mode-line-string: Explicitly re-apply the face
1611 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
1612 the face (bug#21404).
1613
1614 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
1615
1616 Treat initial-scratch-message as a doc string
1617 * doc/emacs/building.texi (Lisp Interaction):
1618 * doc/lispref/os.texi (Startup Summary):
1619 * etc/NEWS: Document this.
1620 * lisp/startup.el (initial-scratch-message):
1621 Look up find-file’s key rather than hardcoding it.
1622 (command-line-1): Substitute the doc string.
1623 This also substitutes the quotes, which will help test display
1624 quoting at startup.
1625
1626 Fix describe-char bug with glyphs on terminals
1627 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
1628 buffers too, so don’t treat them differently from graphic displays.
1629 Without this fix, describe-char would throw an error on a terminal
1630 if given a glyph with a non-default face.
1631
1632 Follow text-quoting-style in display table init
1633 This attempts to fix a problem reported by Alan Mackenzie in:
1634 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
1635 * doc/lispref/display.texi (Active Display Table):
1636 Mention how text-quoting-style affects it.
1637 * doc/lispref/help.texi (Keys in Documentation):
1638 Say how to set text-quoting-style in ~/.emacs.
1639 * etc/NEWS: Document the change.
1640 * lisp/startup.el (startup--setup-quote-display):
1641 Follow user preference if text-quoting-style is set.
1642 (command-line): Setup quote display again if user expresses
1643 a preference in .emacs.
1644
1645 2015-09-02 K. Handa <handa@gnu.org>
1646
1647 Fix typo
1648 * ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask -> OTF_positioning_type_components_mask.
1649
1650 Fix previous change
1651 * ftfont.c (ftfont_drive_otf): Remember some bits of
1652 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
1653
1654 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
1655
1656 * lisp/vc/vc-hooks.el (vc-refresh-state): New command
1657 (vc-refresh-state): Rename from vc-find-file-hook and make interactive.
1658 (vc-find-file-hook): Redefine as obsolete alias.
1659
1660 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1661
1662 Escape ` and ' in doc
1663 Escape apostrophes and grave accents in docstrings if they are
1664 are supposed to stand for themselves and are not quotes. Remove
1665 apostrophes from docstring examples like ‘'(calendar-nth-named-day
1666 -1 0 10 year)’ that confuse source code with data. Do some other
1667 minor docstring fixups as well, e.g., insert a missing close
1668 quote.
1669
1670 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 Generalize the prefix-command machinery of C-u
1673 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
1674 (prefix-command-preserve-state-hook): New hooks.
1675 (internal-echo-keystrokes-prefix): New function.
1676 (prefix-command--needs-update, prefix-command--last-echo): New vars.
1677 (prefix-command-update, prefix-command-preserve): New functions.
1678 (reset-this-command-lengths): New compatibility definition.
1679 (universal-argument--mode): Call prefix-command-update.
1680 (universal-argument, universal-argument-more, negative-argument)
1681 (digit-argument): Call prefix-command-preserve-state.
1682 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
1683 the "prefix argument" to echo.
1684 (this_command_key_count_reset, before_command_key_count)
1685 (before_command_echo_length): Delete variables.
1686 (echo_add_key): Always add a space.
1687 (echo_char): Remove.
1688 (echo_dash): Don't give up when this_command_key_count is 0, since that
1689 is now the case after a prefix command.
1690 (echo_update): New function, extracted from echo_now.
1691 (echo_now): Use it.
1692 (add_command_key, read_char, record_menu_key): Remove old disabled code.
1693 (command_loop_1): Don't refrain from pushing an undo boundary when
1694 prefix-arg is set. Remove other prefix-arg special case, now handled
1695 directly in the prefix commands instead. But call echo_now if there's
1696 a prefix state to echo.
1697 (read_char, record_menu_key): Use echo_update instead of echo_char.
1698 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
1699 (Freset_this_command_lengths): Delete function.
1700 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
1701 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
1702 * lisp/simple.el: Use those new hooks for C-u.
1703 (universal-argument--description): New function.
1704 (prefix-command-echo-keystrokes-functions): Use it.
1705 (universal-argument--preserve): New function.
1706 (prefix-command-preserve-state-hook): Use it.
1707 (command-execute): Call prefix-command-update if needed.
1708 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
1709 (kmacro-step-edit-prefix-index): Delete variables.
1710 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
1711 support for prefix arg commands.
1712 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
1713 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
1714 (cua--shift-control-prefix): Use prefix-command-preserve-state.
1715 Remove now unused arg `arg'.
1716 (cua--prefix-override-handler, cua--prefix-repeat-handler)
1717 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
1718 Update accordingly.
1719 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
1720 any more.
1721 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
1722 if the mark is not set.
1723
1724 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1725
1726 Rework quoting in Emacs Lisp Introduction
1727 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
1728 (if in more detail, type-of-animal in detail, else): Rework the
1729 early example to use " rather than ' so that we don’t burden
1730 complete novices with the low-priority detail of text quoting style.
1731 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
1732 (kill-new function, kill-ring-yank-pointer)
1733 (Complete forward-sentence, Loading Files)
1734 (Code for current-kill, Code for current-kill, yank):
1735 Resurrect the Emacs 22 versions of the code, which uses grave
1736 quoting style in doc strings.
1737 (Complete zap-to-char): Mention how quoting works in doc strings.
1738
1739 Setup quote display only if interactive
1740 * lisp/startup.el (command-line):
1741 Skip call to startup--setup-quote-display if noninteractive.
1742 Without this change, python-shell-prompt-validate-regexps-1
1743 fails in test/automated/python-tests.el when run in an
1744 en_US.utf8 locale on Fedora.
1745
1746 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
1747
1748 Use defalias at the top level
1749 * lisp/gnus/gnus-util.el (gnus-format-message):
1750 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
1751 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
1752
1753 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1754
1755 terminal-init-w32console mimicks command-line
1756 Problem reported by Eli Zaretskii.
1757 * lisp/startup.el (startup--setup-quote-display):
1758 New function, refactored from a part of ‘command-line’.
1759 (command-line): Use it.
1760 * lisp/term/w32console.el (terminal-init-w32console):
1761 Use it, so that this function stays consistent with ‘command-line’.
1762
1763 Display replacement quotes with shadow glyphs
1764 * lisp/startup.el (command-line): When displaying ASCII
1765 replacements for curved quotes, use a shadow glyph instead of a
1766 regular one, to avoid ambiguity.
1767
1768 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
1769
1770 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
1771
1772 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1773
1774 Docstring fixes re quotes in C code
1775 Fix some docstring quoting problems, mostly by escaping apostrophe.
1776
1777 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
1778
1779 Some Tramp password fixes
1780 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
1781 of the hops.
1782 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
1783 at the beginning of the command. Otherwise, it could be
1784 interpreted as password prompt if the remote host echoes the
1785 command.
1786 (tramp-remote-coding-commands): Add "openssl enc -base64".
1787
1788 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
1789
1790 Make vc-git-working-revision always return the commit hash
1791 * lisp/vc/vc-git.el (vc-git-working-revision):
1792 Return the commit hash (bug#21383).
1793 (vc-git--symbolic-ref): New function, extracted from above.
1794 (vc-git-mode-line-string): Use it.
1795
1796 2015-09-01 K. Handa <handa@gnu.org>
1797
1798 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs.
1799 * ftfont.c (MFLTGlyphFT): New type.
1800 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
1801 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
1802 elements in the array MFLTGlyphString.glyphs.
1803
1804 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
1805
1806 Improve comments in elisp-mode.el, elisp-mode-tests.el
1807 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
1808
1809 Delete Emacs 25 test in mode-local.el
1810 * lisp/cedet/mode-local.el (describe-mode-local-overload): Fix missed an
1811 edit in previous commit.
1812
1813 Show all known mode-local overrides in *Help*
1814 * lisp/cedet/mode-local.el (describe-mode-local-overload): Assume Emacs
1815 25. Add all known mode-local overrides.
1816
1817 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
1818
1819 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
1820 Ensure that the article where the search word is found is displayed
1821 and pointed to in the summary buffer.
1822
1823 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1824
1825 * lisp/newcomment.el (comment-dwim): Use `use-region-p'
1826 When the region is active, but is empty (length 0), act as though
1827 the region was not active; that is, put a comment at the end of
1828 the line. (Bug#21119)
1829
1830 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
1831
1832 Port tls.el to older Emacs
1833 * lisp/net/tls.el (tls-format-message):
1834 Alias to format-message, or format if not available.
1835 (open-tls-stream): Use it.
1836
1837 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1838
1839 hideif.el: Recognize .h++ as C++ header.
1840 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
1841
1842 isearch: Document character folding mode.
1843 * isearch.el (isearch-forward): Mention `isearch-toggle-character-fold'
1844 in doc string.
1845
1846 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1847
1848 Quoting fixes in ERC and Eshell
1849 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
1850 * lisp/erc/erc-backend.el (define-erc-response-handler):
1851 * lisp/erc/erc-fill.el (erc-fill-static-center):
1852 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
1853 * lisp/eshell/em-glob.el (eshell-glob-entries):
1854 * lisp/eshell/em-hist.el (eshell-save-some-history):
1855 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1856 (eshell-shuffle-files):
1857 * lisp/eshell/esh-cmd.el (eshell-do-eval):
1858 * lisp/eshell/esh-proc.el (eshell-process-interact)
1859 (eshell-query-kill-processes):
1860 Respect ‘text-quoting-style’ in diagnostics and doc strings.
1861
1862 Quoting fixes in Gnus
1863 * lisp/gnus/gnus-agent.el:
1864 (gnus-agent-possibly-synchronize-flags-server):
1865 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
1866 * lisp/gnus/gnus-eform.el (gnus-edit-form):
1867 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
1868 (gnus-group-nnimap-edit-acl):
1869 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
1870 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
1871 * lisp/gnus/message.el (message-strip-subject-encoded-words)
1872 (message-check-recipients, message-send-form-letter):
1873 * lisp/gnus/mm-decode.el (mm-display-part):
1874 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
1875 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
1876 (mml-smime-get-ldap-cert):
1877 * lisp/gnus/spam-report.el (spam-report-process-queue):
1878 Respect ‘text-quoting-style’ in diagnostics.
1879 * lisp/gnus/gnus-art.el (article-display-face)
1880 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
1881 Use straight quoting in email.
1882 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
1883 Escape apostrophes in doc strings.
1884
1885 Quoting fixes in lisp mail, mh-e, net, url
1886 * lisp/mail/emacsbug.el (report-emacs-bug)
1887 (report-emacs-bug-hook): Use straight quotes in outgoing email,
1888 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
1889 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
1890 * lisp/mail/rmailout.el (rmail-output-read-file-name):
1891 * lisp/net/imap.el (imap-interactive-login):
1892 * lisp/net/tls.el (open-tls-stream):
1893 * lisp/url/url-auth.el (url-register-auth-scheme):
1894 Respect ‘text-quoting-style’ in diagnostics.
1895 * lisp/mh-e/mh-e.el (mh-sortm-args):
1896 Quote docstring example using text quotes, not as a Lisp quote.
1897
1898 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
1899
1900 Fix some byte-compiler warnings in EDE
1901 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
1902 existing autoloader list, rather than add to it.
1903 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
1904 argument to eieio class constructor.
1905 (ede-show-supported-projects): New.
1906 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
1907 with (oref ... name).
1908 (ede-auto-load-project): Use slot name, not initarg key.
1909 * lisp/cedet/ede/generic.el (ede-generic-load,
1910 ede-generic-find-matching-target): Use slot name, not initarg key.
1911 (ede-find-target): Use oref-default on class name.
1912 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
1913 class constructor.
1914 (ede-enable-generic-projects): Make project type names unique.
1915
1916 2015-08-31 Eli Zaretskii <eliz@gnu.org>
1917
1918 Fix directory accessibility tests for w32 network volumes
1919 * src/w32.c (faccessat): Don't fail with network volumes without a
1920 share.
1921 (w32_accessible_directory_p): Handle network volumes without a
1922 share.
1923
1924 Fix handling long file names in readdir on MS-Windows
1925 * src/w32.c (sys_readdir): Append "\*" to the directory after
1926 converting it to UTF-16/ANSI, not before, to avoid overflowing the
1927 260-character limit on file names in filename_to_utf16/ansi.
1928
1929 Make file-accessible-directory-p reliable on MS-Windows
1930 * src/w32.c (w32_accessible_directory_p): New function.
1931 * src/w32.h (w32_accessible_directory_p): Add prototype.
1932 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
1933 w32_accessible_directory_p to test a directory for accessibility
1934 by the current user. (Bug#21346)
1935 (Ffile_accessible_directory_p): Remove the w32 specific caveat
1936 from the doc string.
1937
1938 2015-08-31 Martin Rudalics <rudalics@gmx.at>
1939
1940 Don't call do_pending_window_change in signal handlers (Bug#21380)
1941 * src/gtkutil.c (xg_frame_resized):
1942 * src/xterm.c (x_set_window_size):
1943 * src/w32term.c (x_set_window_size): Don't call
1944 do_pending_window_change.
1945
1946 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1947
1948 Quoting fixes in lisp/org
1949 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
1950 (org-tags-view):
1951 * lisp/org/org-capture.el (org-capture-mode)
1952 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
1953 (org-ctags-ask-append-topic):
1954 * lisp/org/org.el (org-time-string-to-time)
1955 (org-time-string-to-absolute):
1956 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
1957 (org-ctags-ask-append-topic):
1958 * lisp/org/org.el (org-time-string-to-time)
1959 (org-time-string-to-absolute):
1960 Respect ‘text-quoting-style’ in diagnostics.
1961 * lisp/org/org-agenda.el (org-agenda-custom-commands)
1962 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
1963 * lisp/org/org-capture.el (org-capture-fill-template):
1964 Avoid contraction in output file that might be ASCII.
1965 * lisp/org/org-compat.el (format-message):
1966 Define if not already defined, for backward compatibility.
1967 * lisp/org/org-src.el (org-edit-src-save):
1968 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
1969 Escape apostrophes in diagnostics.
1970
1971 Treat “instead” strings as docstrings
1972 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
1973 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
1974 Substitute quotes in instead strings.
1975
1976 2015-08-31 Nicolas Petton <nicolas@petton.fr>
1977
1978 Better documentation of seq-let
1979 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
1980 documentation of seq-let.
1981
1982 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1983
1984 * lisp/international/ccl.el: Fix quoting.
1985
1986 Quoting fixes in lisp/international and lisp/leim
1987 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
1988 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
1989 * lisp/international/mule-cmds.el:
1990 (select-safe-coding-system-interactively, leim-list-file-name):
1991 * lisp/international/quail.el (quail-use-package, quail-help):
1992 * lisp/international/titdic-cnv.el (tit-process-header)
1993 (miscdic-convert):
1994 Respect text quoting style in doc strings and diagnostics.
1995 * lisp/international/quail.el (lisp/international/quail.el):
1996 * lisp/leim/quail/ethiopic.el ("ethiopic"):
1997 Escape apostrophes in doc strings.
1998
1999 Make ‘text-quoting-style’ a plain defvar
2000 It doesn’t need customization, as it’s likely useful only by experts.
2001 Suggested by Stefan Monnier in:
2002 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
2003 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
2004
2005 Quoting fixes in lisp/textmodes
2006 * lisp/textmodes/bibtex.el (bibtex-validate)
2007 (bibtex-validate-globally, bibtex-search-entries):
2008 * lisp/textmodes/ispell.el (ispell-command-loop):
2009 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
2010 * lisp/textmodes/texinfmt.el (texinfmt-version)
2011 (texinfo-format-region, texinfo-format-buffer-1):
2012 * lisp/textmodes/two-column.el (2C-split):
2013 Respect text quoting style in doc strings and diagnostics.
2014 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
2015 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
2016 Escape apostrophes in doc strings.
2017
2018 Documentation fixes re quotes
2019 Prefer curved quotes in examples if users will typically see
2020 curved quotes when the examples run.
2021 Mention format-message when appropriate.
2022 Don’t use @code in examples.
2023 Quote an apostrophe with @kbd.
2024
2025 Quoting fixes in lisp/progmodes
2026 * lisp/progmodes/cc-engine.el (c-bos-report-error):
2027 * lisp/progmodes/cpp.el (cpp-edit-reset):
2028 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
2029 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
2030 (etags-tags-apropos, list-tags, tags-apropos):
2031 * lisp/progmodes/executable.el (executable-set-magic):
2032 * lisp/progmodes/octave.el (octave-sync-function-file-names)
2033 (octave-help, octave-find-definition-default-filename)
2034 (octave-find-definition):
2035 Respect text quoting style in doc strings and diagnostics.
2036 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
2037 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
2038 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
2039 Escape apostrophes in doc strings.
2040 * lisp/progmodes/cmacexp.el (c-macro-expansion):
2041 Use straight quoting in ASCII comment.
2042 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
2043 (idlwave-pad-keyword):
2044 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
2045 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
2046 (vhdl-electric-semicolon, vhdl-electric-comma)
2047 (vhdl-electric-period, vhdl-electric-equal):
2048 Use directed quotes in diagnostics and doc strings.
2049
2050 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
2051
2052 Minor documentation and NEWS tweak
2053 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let): Add an index
2054 entry.
2055 * NEWS: Fix a typo in character-fold-to-regexp.
2056
2057 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
2058
2059 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
2060 Revert patch from 2015-08-24. Tramp shall be have like for local files.
2061 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
2062 Adapt test.
2063
2064 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
2065
2066 Text quoting fixes in cedet, emulation, emacs-lisp
2067 * lisp/cedet/ede.el (ede-check-project-directory):
2068 * lisp/cedet/semantic/analyze/debug.el:
2069 (semantic-analyzer-debug-insert-include-summary):
2070 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
2071 * lisp/cedet/semantic/decorate/include.el:
2072 (semantic-decoration-unknown-include-describe)
2073 (semantic-decoration-all-include-summary):
2074 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
2075 * lisp/emulation/edt.el (edt-load-keys):
2076 * lisp/emulation/viper-cmd.el:
2077 (viper-display-current-destructive-command)
2078 (viper-query-replace, viper-brac-function):
2079 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
2080 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
2081 Respect text quoting style in doc string or diagnostic.
2082 * lisp/cedet/mode-local.el (describe-mode-local-overload):
2083 Use format-message to avoid overtranslating quotes.
2084 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
2085 Escape an apostrophe in a docstring.
2086 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
2087
2088 2015-08-29 Daniel Colascione <dancol@dancol.org>
2089
2090 Fix which-func for curly quotes: look for symbol, not message
2091 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
2092 imenu-unavailable error symbol instead of trying to match message
2093 exactly.
2094 * lisp/imenu.el (imenu-unavailable): New error.
2095 (imenu-unavailable-error): New function.
2096
2097 2015-08-29 Eli Zaretskii <eliz@gnu.org>
2098
2099 Fix Python tests on MS-Windows
2100 * test/automated/python-tests.el
2101 (python-shell-calculate-command-1): Run python-shell-interpreter
2102 through shell-quote-argument before comparing with what
2103 python-shell-calculate-command returns.
2104 (python-shell-calculate-pythonpath-1)
2105 (python-shell-calculate-pythonpath-2)
2106 (python-shell-calculate-process-environment-2): Use path-separator
2107 instead of a literal ':'.
2108 (python-shell-calculate-exec-path-2)
2109 (python-shell-calculate-exec-path-3)
2110 (python-shell-calculate-exec-path-4)
2111 (python-shell-with-environment-1)
2112 (python-shell-with-environment-2): Run "/env/bin" through
2113 expand-file-name before comparing with exec-path. (Bug#21375)
2114
2115 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2116
2117 Use Core Text types/functions/variables/enumerators directly
2118 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
2119 (CharacterCollection): Remove typedefs. All uses replaced with
2120 definitions.
2121 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
2122 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
2123 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
2124 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
2125 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
2126 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
2127 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
2128 definitions.
2129 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
2130 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
2131 (MAC_FONT_FORMAT_BITMAP)
2132 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
2133 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators. All
2134 uses replaced with definitions.
2135 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
2136 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
2137 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault): Add
2138 compatibility enumerators for older versions.
2139 (mac_font_descriptor_create_with_attributes)
2140 (mac_font_descriptor_create_matching_font_descriptors)
2141 (mac_font_descriptor_create_matching_font_descriptor)
2142 (mac_font_descriptor_copy_attribute)
2143 (mac_font_descriptor_supports_languages)
2144 (mac_font_create_with_name, mac_font_get_size)
2145 (mac_font_copy_family_name, mac_font_copy_character_set)
2146 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
2147 (mac_font_get_descent, mac_font_get_leading)
2148 (mac_font_get_underline_position)
2149 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
2150 (mac_font_copy_non_synthetic_table): Remove macros. All uses
2151 replaced with definitions.
2152 (mac_font_create_preferred_family_for_attributes)
2153 (mac_font_get_advance_width_for_glyph)
2154 (mac_font_get_bounding_rect_for_glyph)
2155 (mac_font_create_available_families, mac_font_shape): Remove
2156 macros for renamed functions.
2157 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
2158 * src/macterm.m (mac_font_descriptor_supports_languages): Rename
2159 from mac_ctfont_descriptor_supports_languages.
2160 (mac_font_create_preferred_family_for_attributes): Rename from
2161 mac_ctfont_create_preferred_family_for_attributes.
2162 (mac_font_get_advance_width_for_glyph): Rename from
2163 mac_ctfont_get_advance_width_for_glyph. Use
2164 kCTFontOrientationDefault also for older versions.
2165 (mac_font_get_bounding_rect_for_glyph): Rename from
2166 mac_ctfont_get_bounding_rect_for_glyph. Use
2167 kCTFontOrientationDefault also for older versions.
2168 (mac_font_create_available_families): Rename from
2169 mac_ctfont_create_available_families.
2170 (mac_font_equal_in_postscript_name): Rename from
2171 mac_ctfont_equal_in_postscript_name. All uses changed.
2172 (mac_font_create_line_with_string_and_font): Rename from
2173 mac_ctfont_create_line_with_string_and_font. All uses changed.
2174 (mac_font_shape): Rename from mac_ctfont_shape.
2175 (mac_font_family_compare): Remove unused declaration.
2176
2177 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
2178
2179 Fix minor text quoting in calc, calendar, vc
2180 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
2181 * lisp/calc/calc-help.el (calc-j-prefix-help):
2182 * lisp/calc/calc-misc.el (calc-help):
2183 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
2184 Escape an apostrophe in a docstring.
2185 * lisp/calc/calc-forms.el (calc-hms-notation):
2186 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
2187 Escape an apostrophe in a diagnostic.
2188 * lisp/calc/calc-misc.el (calc-help):
2189 * lisp/calendar/diary-lib.el (diary-include-files):
2190 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
2191 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
2192 * lisp/vc/ediff-diff.el (ediff-same-contents):
2193 * lisp/vc/ediff-merg.el (ediff-re-merge):
2194 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
2195 * lisp/vc/ediff-util.el (ediff-test-save-region)
2196 (ediff-status-info):
2197 * lisp/vc/ediff.el (ediff-merge-revisions)
2198 (ediff-merge-revisions-with-ancestor):
2199 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
2200 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
2201 Respect text quoting style in doc string or diagnostic.
2202 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
2203 * lisp/vc/add-log.el (change-log-goto-source):
2204 Avoid double-formatting.
2205 * lisp/vc/ediff-init.el (format-message):
2206 New backward-compatibility alias.
2207
2208 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
2209
2210 Fix minor text quoting problems in lisp top level
2211 * lisp/apropos.el (apropos-describe-plist):
2212 * lisp/cus-theme.el (customize-themes):
2213 * lisp/dired.el (dired-log):
2214 * lisp/help-fns.el (describe-variable):
2215 * lisp/hexl.el (hexl-insert-multibyte-char):
2216 * lisp/info.el (Info-finder-find-node):
2217 * lisp/json.el (json-read-string):
2218 * lisp/novice.el (disabled-command-function)
2219 (disabled-command-function):
2220 * lisp/startup.el (normal-mouse-startup-screen):
2221 * lisp/woman.el (WoMan-log, WoMan-warn):
2222 Respect text quoting style in doc string or diagnostic.
2223 * lisp/replace.el (replace-character-fold):
2224 * src/syntax.c (Fmodify_syntax_entry):
2225 Escape an apostrophe in a docstring.
2226 * lisp/tempo.el (tempo-define-template):
2227 Remove confusing apostrophe from docstring.
2228 * lisp/whitespace.el (whitespace-mark-x):
2229 Use directed quotes in docstring.
2230
2231 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
2232
2233 Fix indentation rule in css-mode
2234 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
2235 brackets in presence of pseudo-selectors. (Bug#21328)
2236
2237 2015-08-28 Eli Zaretskii <eliz@gnu.org>
2238
2239 Fix a bug in recording a macro while flyspell-mode is active
2240 * lisp/subr.el (sit-for): Don't call read-event when recording a
2241 macro. (Bug#21329)
2242
2243 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
2244
2245 Tweak startup screen quoting
2246 * lisp/startup.el (normal-splash-screen): Use standard
2247 "M-" abbrevation rather than a confusingly-different one.
2248 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
2249
2250 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
2251
2252 Add test case for ‘format’ bug and refactor
2253 * src/editfns.c (styled_format): Refactor internally, mostly by
2254 moving declarations closer to uses. This should not affect behavior.
2255 * test/automated/textprop-tests.el (textprop-tests-format): New test.
2256
2257 Fix ‘format’ bug with property offsets
2258 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
2259 bug in calculating string property offsets (Bug#21351).
2260
2261 Use straight quotes in lib-src diagnostics
2262 These auxiliary programs can’t use Emacs’s text-quoting-style,
2263 and it’s too much trouble to redo that mechanism by hand.
2264 So just use straight quotes for now.
2265 * lib-src/ebrowse.c (main):
2266 * lib-src/emacsclient.c (decode_options, main):
2267 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
2268 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
2269 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
2270 (none_help, print_language_names, print_help, add_regex)
2271 (suggest_asking_for_help):
2272 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
2273 Use straight quotes in diagnostics.
2274
2275 ‘text-quoting-style’ fixes for admin
2276 * admin/admin.el (cusver-scan, cusver-check):
2277 * admin/authors.el (authors-canonical-file-name):
2278 * admin/bzrmerge.el (bzrmerge-missing):
2279 Respect ‘text-quoting-style’ in diagnostics.
2280
2281 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
2282
2283 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
2284 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
2285 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
2286 * doc/lispref/internals.texi (Writing Emacs Primitives):
2287 * etc/NEWS:
2288 Document the change.
2289 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
2290 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
2291 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
2292 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
2293 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
2294 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
2295 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
2296 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
2297 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
2298 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
2299 Remove. All uses removed. The code now assumes
2300 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
2301 * src/bytecode.c (relocate_byte_stack):
2302 Rename from unmark_byte_stack, since it now only relocates.
2303 All callers changed.
2304 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
2305 with GCPROs removed.
2306 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
2307 * test/automated/finalizer-tests.el (finalizer-basic)
2308 (finalizer-circular-reference, finalizer-cross-reference)
2309 (finalizer-error):
2310 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
2311 Remove tests, as they depend on gc-precise.
2312
2313 2015-08-26 Nicolas Petton <nicolas@petton.fr>
2314
2315 Improve seq-concatenate for new sequence types
2316 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
2317 ensure that concatenation happens on sequences only. This makes it
2318 possible to use `seq-concatenate' for new types of seqs.
2319 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): New
2320 function used in `seq-concatenate'.
2321 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
2322 for seq-into-sequence.
2323
2324 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
2325
2326 Add mode local overrides to xref-find-definitions
2327 * lisp/cedet/mode-local.el (xref-mode-local--override-present,
2328 xref-mode-local-overload): New; add mode local overrides to
2329 xref-find-definitions.
2330 * test/automated/elisp-mode-tests.el: Add mode local override tests.
2331 (xref-elisp-test-run): Handle indented defuns.
2332 (xref-elisp-generic-*): Improve doc strings.
2333 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
2334 (elisp--xref-find-definitions): Use it.
2335
2336 Add mode local overrides to describe-function
2337 * lisp/cedet/mode-local.el (describe-mode-local-overload): New; add mode
2338 local overrides to describe-function.
2339 * etc/NEWS: Document change.
2340
2341 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
2342
2343 Prefer straight quoting in some etc text files
2344 These files are plain text and might be used by non-Emacs apps.
2345 They’re mostly ASCII, so just use straight quotes.
2346
2347 Fix quoting in ‘message_with_string’
2348 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
2349 should work now.
2350 * src/xdisp.c (message_to_stderr): New function, refactored from
2351 part of ‘message3_nolog’.
2352 (message3_nolog): Use it.
2353 (message_with_string): Use it. Don’t mishandle NUL bytes when
2354 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
2355 Use ‘format-message’, not ‘format’, so that quotes are translated.
2356
2357 2015-08-26 Eli Zaretskii <eliz@gnu.org>
2358
2359 Mention false positives of file-accessible-directory on w32
2360 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
2361 (Bug#21346)
2362
2363 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
2364
2365 Treat error strings as help
2366 * src/print.c (print_error_message): Translate quotes and command
2367 keys in errmsg so that users see, e.g., "Symbol’s value as
2368 variable is void: foo" when text-quoting-style is curved.
2369
2370 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
2371
2372 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
2373
2374 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
2375
2376 Top-level elisp files respect ‘text-quoting-style’
2377 In top-level elisp files, use format-message in diagnostic formats,
2378 so that they follow user preference as per ‘text-quoting-style’
2379 rather than being hard-coded to quote `like this'.
2380 * lisp/allout.el (allout-get-configvar-values):
2381 * lisp/apropos.el (apropos-symbols-internal):
2382 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
2383 (dired-do-create-files-regexp, dired-create-files-non-directory):
2384 * lisp/dired-x.el (dired-do-run-mail):
2385 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
2386 * lisp/disp-table.el (standard-display-european):
2387 * lisp/find-dired.el (find-dired):
2388 * lisp/forms.el (forms-mode):
2389 * lisp/ido.el (ido-buffer-internal):
2390 * lisp/info.el (Info-index-next):
2391 * lisp/outline.el (outline-invent-heading):
2392 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
2393 * lisp/proced.el (proced-log):
2394 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
2395 * lisp/recentf.el (recentf-open-files, recentf-save-list):
2396 * lisp/savehist.el (savehist-save):
2397 * lisp/server.el (server-ensure-safe-dir):
2398 * lisp/ses.el (ses-rename-cell):
2399 * lisp/simple.el (list-processes--refresh):
2400 * lisp/startup.el (command-line):
2401 * lisp/strokes.el (strokes-unset-last-stroke)
2402 (strokes-execute-stroke):
2403 Use format-message so that quotes are restyled.
2404 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
2405 Don’t quote ‘raised’.
2406 * lisp/descr-text.el (describe-char):
2407 * lisp/dirtrack.el (dirtrack-debug-message):
2408 * lisp/hexl.el (hexl-insert-multibyte-char):
2409 Apply substitute-command-keys to help string.
2410 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
2411 (wdired-do-perm-changes):
2412 Let dired-log do the formatting.
2413
2414 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
2415
2416 Go back to grave quoting in Tramp
2417 * lisp/net/tramp-adb.el:
2418 * lisp/net/tramp-cache.el:
2419 * lisp/net/tramp-compat.el:
2420 * lisp/net/tramp-gvfs.el:
2421 * lisp/net/tramp-gw.el:
2422 * lisp/net/tramp-sh.el:
2423 * lisp/net/tramp-smb.el:
2424 * lisp/net/tramp.el:
2425 Stick with grave quoting in diagnostics strings. This is more
2426 portable to older Emacs, desirable for Tramp.
2427 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
2428 for diagnostic that needs requoting.
2429 * lisp/net/tramp-compat.el (format-message):
2430 Fall back on simple ‘format’, since that’s good enough now.
2431
2432 Go back to grave quoting in Gnus
2433 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
2434 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
2435 (gnus-agent-fetch-headers):
2436 * lisp/gnus/gnus-int.el (gnus-start-news-server):
2437 * lisp/gnus/gnus-registry.el:
2438 (gnus-registry--split-fancy-with-parent-internal)
2439 (gnus-registry-post-process-groups):
2440 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
2441 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
2442 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
2443 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
2444 * lisp/gnus/spam.el (spam-check-blackholes):
2445 Stick with grave quoting in diagnostics strings. This is more
2446 portable to older Emacs, desirable for Gnus.
2447
2448 Fix customization of text-quoting-style
2449 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
2450 * lisp/wid-edit.el (widget-docstring):
2451 Get raw docstring here since it’s cooked later and should not be
2452 cooked twice.
2453 * lisp/cus-edit.el (custom-group-value-create):
2454 Cook the docstring before inserting it.
2455 * lisp/cus-start.el (text-quoting-style): Quote the customization
2456 docstrings according to the new rules. Give curved examples.
2457
2458 format-message now curves ` and '
2459 That way, the caller doesn’t have to use curved quotes to
2460 get diagnostics that match the text-quoting-style preferences.
2461 Suggested by Dmitry Gutov in:
2462 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
2463 This means we no longer need %qs, so remove that format.
2464 While we’re at it, fix an unlikely bug and lessen the pressure
2465 on the garbage collector by processing the string once rather
2466 than twice in the usual case.
2467 * doc/lispref/strings.texi (Formatting Strings):
2468 * etc/NEWS: Document this.
2469 * lisp/subr.el (format-message): Remove; now done in C.
2470 * src/callint.c (Fcall_interactively):
2471 * src/editfns.c (Fmessage, Fmessage_box):
2472 Use Fformat_message instead of Finternal__text_restyle
2473 followed by Fformat.
2474 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
2475 uLSQM and uRSQM.
2476 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
2477 when pure ASCII now suffices. Fix unlikely bug when parsing
2478 unibyte string containing non-ASCII bytes. Use inline code
2479 rather than memcpy, as it’s a tiny number of bytes.
2480 (Finternal__text_restyle): Remove; no longer used.
2481 (syms_of_doc): Don’t declare it.
2482 * src/editfns.c (Fformat): Rewrite in terms of new function
2483 ‘styled_format’.
2484 (Fformat_message): New function, moved here from subr.el.
2485 (styled_format): New function, with the old guts of Fformat,
2486 except it now optionally transliterates quotes, and it transliterates
2487 traditional grave accent and apostrophe quoting as well.
2488 Remove recently-added q flag; no longer needed or used.
2489 (syms_of_editfns): Define format-message.
2490 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
2491 Remove; no longer need to be global symbols.
2492 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
2493 so that callers can use `%s'.
2494 * src/image.c (image_size_error, xbm_load_image, xbm_load)
2495 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
2496 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
2497 (svg_load_image, gs_load, x_kill_gs_process):
2498 * src/lread.c (load_warn_old_style_backquotes):
2499 * src/xfaces.c (load_pixmap):
2500 * src/xselect.c (x_clipboard_manager_error_1):
2501 Use `%s' instead of %qs in formats.
2502
2503 2015-08-25 Eli Zaretskii <eliz@gnu.org>
2504
2505 Minor fixes in doc/emacs/search.texi
2506 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
2507 (Special Isearch): Use @w{} to generate several consecutive spaces
2508 with Texinfo 6. (Bug#21345)
2509
2510 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
2511
2512 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
2513 (tramp-awk-coding-test): New defconsts.
2514 (tramp-remote-coding-commands): Use them.
2515 (tramp-find-inline-encoding): Check for Perl only if necessary.
2516
2517 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
2518
2519 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
2520 index entries for the special form `quote'.
2521
2522 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
2523
2524 Spelling fixes
2525
2526 Gnus format-message typo fix
2527 * lisp/gnus/gnus-util.el (gnus-format-message):
2528 Fix typo when running in older Emacs.
2529
2530 Prefer directed to neutral quotes
2531 Prefer directed to neutral quotes in docstings and diagnostics.
2532 In docstrings, escape apostrophes that would otherwise be translated
2533 to curved quotes using the newer, simpler rules.
2534 * admin/unidata/unidata-gen.el (unidata-gen-table):
2535 * lisp/align.el (align-region):
2536 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
2537 * lisp/bookmark.el (bookmark-default-annotation-text):
2538 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
2539 * lisp/calc/calc-lang.el (math-read-giac-subscr)
2540 (math-read-math-subscr):
2541 * lisp/calc/calc-misc.el (report-calc-bug):
2542 * lisp/calc/calc-prog.el (calc-fix-token-name)
2543 (calc-read-parse-table-part):
2544 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
2545 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
2546 * lisp/dabbrev.el (dabbrev-expand):
2547 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2548 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
2549 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
2550 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
2551 * lisp/erc/erc-button.el (erc-nick-popup):
2552 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
2553 * lisp/eshell/em-dirs.el (eshell/cd):
2554 * lisp/eshell/em-glob.el (eshell-glob-regexp):
2555 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
2556 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
2557 * lisp/eshell/esh-opt.el (eshell-show-usage):
2558 * lisp/files-x.el (modify-file-local-variable):
2559 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
2560 (filesets-update-pre010505):
2561 * lisp/find-cmd.el (find-generic, find-to-string):
2562 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
2563 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
2564 (gnus-agent-fetch-headers):
2565 * lisp/gnus/gnus-int.el (gnus-start-news-server):
2566 * lisp/gnus/gnus-registry.el:
2567 (gnus-registry--split-fancy-with-parent-internal):
2568 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
2569 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
2570 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
2571 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
2572 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
2573 * lisp/gnus/spam.el (spam-check-blackholes):
2574 * lisp/mail/feedmail.el (feedmail-run-the-queue):
2575 * lisp/mpc.el (mpc-playlist-rename):
2576 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
2577 * lisp/net/mairix.el (mairix-widget-create-query):
2578 * lisp/net/tramp-cache.el:
2579 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
2580 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
2581 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
2582 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
2583 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
2584 (org-babel-goto-named-result):
2585 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
2586 * lisp/org/ob-ref.el (org-babel-ref-resolve):
2587 * lisp/org/org-agenda.el (org-agenda-prepare):
2588 * lisp/org/org-bibtex.el (org-bibtex-fields):
2589 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
2590 (org-clock-resolve):
2591 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
2592 * lisp/org/org-habit.el (org-habit-parse-todo):
2593 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
2594 (org-mouse-context-menu):
2595 * lisp/org/org-table.el (org-table-edit-formulas):
2596 * lisp/org/ox.el (org-export-async-start):
2597 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
2598 (dun-rooms, dun-endgame-questions):
2599 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
2600 * lisp/progmodes/ada-xref.el (ada-find-executable):
2601 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
2602 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
2603 (flymake-start-syntax-check-process):
2604 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
2605 * lisp/progmodes/sql.el (sql-comint):
2606 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
2607 * lisp/server.el (server-get-auth-key):
2608 * lisp/subr.el (version-to-list):
2609 * lisp/textmodes/reftex-ref.el (reftex-label):
2610 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
2611 * lisp/vc/ediff-diff.el (ediff-same-contents):
2612 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
2613 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
2614 Use directed rather than neutral quotes in diagnostics.
2615
2616 Treat ' like ’ even when not matching `
2617 This is simpler and easier to explain, and should encourage better
2618 typography. Do this in Electric Quote mode and when translating
2619 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
2620 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
2621 * doc/emacs/text.texi (Quotation Marks):
2622 * doc/lispref/help.texi (Keys in Documentation):
2623 * etc/NEWS:
2624 Document this.
2625 * lisp/electric.el (electric-quote-post-self-insert-function):
2626 * src/doc.c (Fsubstitute_command_keys):
2627 Always treat ' like ’ even when not matched by an open quote.
2628
2629 2015-08-25 Glenn Morris <rgm@gnu.org>
2630
2631 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
2632 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
2633
2634 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2635
2636 * src/macfont.m (macfont_create_family_with_symbol): Accept
2637 localized names.
2638
2639 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
2640
2641 Tramp diagnostics as per ‘text-quoting-style’
2642 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
2643 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
2644 (tramp-adb-handle-delete-directory)
2645 (tramp-adb-handle-delete-file)
2646 (tramp-adb-handle-file-local-copy)
2647 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
2648 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
2649 (tramp-adb-maybe-open-connection):
2650 * lisp/net/tramp-cache.el:
2651 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
2652 (tramp-compat-octal-to-decimal)
2653 (tramp-compat-coding-system-change-eol-conversion):
2654 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
2655 (tramp-gvfs-do-copy-or-rename-file)
2656 (tramp-gvfs-handle-delete-directory)
2657 (tramp-gvfs-handle-delete-file)
2658 (tramp-gvfs-handle-expand-file-name)
2659 (tramp-gvfs-handle-file-local-copy)
2660 (tramp-gvfs-handle-file-notify-add-watch)
2661 (tramp-gvfs-handle-make-directory)
2662 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
2663 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2664 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
2665 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
2666 (tramp-sh-handle-set-visited-file-modtime)
2667 (tramp-sh-handle-set-file-modes)
2668 (tramp-sh-handle-file-name-all-completions)
2669 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
2670 (tramp-do-copy-or-rename-file-directly)
2671 (tramp-do-copy-or-rename-file-out-of-band)
2672 (tramp-sh-handle-make-directory)
2673 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
2674 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
2675 (tramp-sh-handle-start-file-process)
2676 (tramp-sh-handle-file-local-copy)
2677 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2678 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
2679 (tramp-find-file-exists-command, tramp-open-shell)
2680 (tramp-find-shell)
2681 (tramp-open-connection-setup-interactive-shell)
2682 (tramp-find-inline-encoding, tramp-find-inline-compress)
2683 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2684 (tramp-wait-for-output, tramp-send-command-and-check)
2685 (tramp-send-command-and-read, tramp-get-remote-path)
2686 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2687 (tramp-get-ls-command-with-quoting-style)
2688 (tramp-get-test-command, tramp-get-remote-ln)
2689 (tramp-get-remote-perl, tramp-get-remote-stat)
2690 (tramp-get-remote-readlink, tramp-get-remote-trash)
2691 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
2692 (tramp-get-remote-inotifywait, tramp-get-remote-id)
2693 (tramp-get-remote-python):
2694 * lisp/net/tramp-smb.el (tramp-smb-errors)
2695 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
2696 (tramp-smb-handle-delete-directory)
2697 (tramp-smb-handle-delete-file)
2698 (tramp-smb-handle-file-local-copy)
2699 (tramp-smb-handle-make-directory)
2700 (tramp-smb-handle-make-directory-internal)
2701 (tramp-smb-handle-make-symbolic-link)
2702 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
2703 (tramp-smb-handle-set-file-modes)
2704 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
2705 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
2706 (tramp-process-actions):
2707 Generate diagnostics according to ‘text-quoting-style’, by
2708 using curved quotes in format strings and ‘format-message’
2709 when appropriate.
2710 * lisp/net/tramp-compat.el (format-message):
2711 Define a replacement, if it’s an older version of Emacs
2712 that doesn’t have it already.
2713
2714 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
2715
2716 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
2717
2718 Fix documentation for `save-excursion'
2719 * doc/lispref/positions.texi (Excursions):
2720 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
2721 (Template for save-excursion, Point and mark): `save-excursion'
2722 does not save&restore the mark any more.
2723
2724 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
2725
2726 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
2727 New defconsts.
2728 (tramp-do-file-attributes-with-stat)
2729 (tramp-do-directory-files-and-attributes-with-stat): Use them.
2730 (tramp-convert-file-attributes): Remove double slashes in symlinks.
2731 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
2732 Handle symlinks with "//" in the file name.
2733
2734 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
2735
2736 2015-08-24 Nicolas Petton <nicolas@petton.fr>
2737
2738 Fix cl-subseq and cl-concatenate
2739 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
2740 seq functions.
2741 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
2742 seq-concatenate.
2743
2744 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
2745
2746 Fix full-screen code when there is no window manager (Bug#21317)
2747 * src/xterm.h (x_wm_supports): Declare external.
2748 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
2749 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
2750 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
2751 `fullscreen' frame parameter.
2752 * gtkutil.c (x_wm_set_size_hint): Set size hints when running
2753 without a window manager.
2754
2755 2015-08-24 Glenn Morris <rgm@gnu.org>
2756
2757 * lisp/version.el (emacs-version): No longer include build host
2758 * doc/lispref/intro.texi (Version Info): Update example.
2759
2760 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
2761
2762 * doc/lispref/elisp.texi: Fix typo in previous change.
2763
2764 More-conservative ‘format’ quote restyling
2765 Instead of restyling curved quotes for every call to ‘format’,
2766 create a new function ‘format-message’ that does the restyling,
2767 and using the new function instead of ‘format’ only in contexts
2768 where this seems appropriate.
2769 Problem reported by Dmitry Gutov and Andreas Schwab in:
2770 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
2771 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
2772 * doc/lispref/commands.texi (Using Interactive):
2773 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
2774 * doc/lispref/display.texi (Displaying Messages, Progress):
2775 * doc/lispref/elisp.texi:
2776 * doc/lispref/help.texi (Keys in Documentation):
2777 * doc/lispref/minibuf.texi (Minibuffer Misc):
2778 * doc/lispref/strings.texi (Formatting Strings):
2779 * etc/NEWS:
2780 Document the changes.
2781 * lisp/abbrev.el (expand-region-abbrevs):
2782 * lisp/apropos.el (apropos-library):
2783 * lisp/calc/calc-ext.el (calc-record-message)
2784 (calc-user-function-list):
2785 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
2786 * lisp/calc/calc-lang.el (math-read-big-balance):
2787 * lisp/calc/calc-store.el (calc-edit-variable):
2788 * lisp/calc/calc-units.el (math-build-units-table-buffer):
2789 * lisp/calc/calc-yank.el (calc-edit-mode):
2790 * lisp/calendar/icalendar.el (icalendar-export-region)
2791 (icalendar--add-diary-entry):
2792 * lisp/cedet/mode-local.el (mode-local-print-binding)
2793 (mode-local-describe-bindings-2):
2794 * lisp/cedet/semantic/complete.el (semantic-completion-message):
2795 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
2796 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
2797 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
2798 * lisp/descr-text.el (describe-text-properties-1, describe-char):
2799 * lisp/dframe.el (dframe-message):
2800 * lisp/dired-aux.el (dired-query):
2801 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
2802 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
2803 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
2804 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
2805 (cconv-analyze-form):
2806 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
2807 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2808 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
2809 * lisp/emacs-lisp/edebug.el (edebug-format):
2810 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
2811 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
2812 (eldoc-message):
2813 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
2814 * lisp/emacs-lisp/find-func.el (find-function-library):
2815 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
2816 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
2817 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
2818 * lisp/emacs-lisp/package.el (package-compute-transaction)
2819 (package-install-button-action, package-delete-button-action)
2820 (package-menu--list-to-prompt):
2821 * lisp/emacs-lisp/timer.el (timer-event-handler):
2822 * lisp/emacs-lisp/warnings.el (lwarn, warn):
2823 * lisp/emulation/viper-cmd.el:
2824 (viper-toggle-parse-sexp-ignore-comments)
2825 (viper-kill-buffer, viper-brac-function):
2826 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
2827 * lisp/facemenu.el (facemenu-add-new-face):
2828 * lisp/faces.el (face-documentation, read-face-name)
2829 (face-read-string, read-face-font, describe-face):
2830 * lisp/files.el (find-alternate-file, hack-local-variables)
2831 (hack-one-local-variable--obsolete, write-file)
2832 (basic-save-buffer, delete-directory):
2833 * lisp/format.el (format-write-file, format-find-file)
2834 (format-insert-file):
2835 * lisp/help-fns.el (help-fns--key-bindings)
2836 (help-fns--compiler-macro, help-fns--obsolete)
2837 (help-fns--interactive-only, describe-function-1)
2838 (describe-variable):
2839 * lisp/help.el (describe-mode):
2840 * lisp/info-xref.el (info-xref-output):
2841 * lisp/info.el (Info-virtual-index-find-node)
2842 (Info-virtual-index, info-apropos):
2843 * lisp/international/kkc.el (kkc-error):
2844 * lisp/international/mule-cmds.el:
2845 (select-safe-coding-system-interactively)
2846 (select-safe-coding-system, describe-input-method):
2847 * lisp/international/mule-conf.el (code-offset):
2848 * lisp/international/mule-diag.el (describe-character-set)
2849 (list-input-methods-1):
2850 * lisp/international/quail.el (quail-error):
2851 * lisp/minibuffer.el (minibuffer-message):
2852 * lisp/mpc.el (mpc--debug):
2853 * lisp/msb.el (msb--choose-menu):
2854 * lisp/net/ange-ftp.el (ange-ftp-message):
2855 * lisp/net/gnutls.el (gnutls-message-maybe):
2856 * lisp/net/newst-backend.el (newsticker--sentinel-work):
2857 * lisp/net/newst-treeview.el (newsticker--treeview-load):
2858 * lisp/net/nsm.el (nsm-query-user):
2859 * lisp/net/rlogin.el (rlogin):
2860 * lisp/net/soap-client.el (soap-warning):
2861 * lisp/net/tramp.el (tramp-debug-message):
2862 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
2863 * lisp/nxml/nxml-parse.el (nxml-parse-error):
2864 * lisp/nxml/rng-cmpct.el (rng-c-error):
2865 * lisp/nxml/rng-match.el (rng-compile-error):
2866 * lisp/nxml/rng-uri.el (rng-uri-error):
2867 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
2868 * lisp/org/org-ctags.el:
2869 (org-ctags-ask-rebuild-tags-file-then-find-tag):
2870 * lisp/proced.el (proced-log):
2871 * lisp/progmodes/ebnf2ps.el (ebnf-log):
2872 * lisp/progmodes/flymake.el (flymake-log):
2873 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
2874 * lisp/replace.el (occur-1):
2875 * lisp/simple.el (execute-extended-command)
2876 (undo-outer-limit-truncate, define-alternatives):
2877 * lisp/startup.el (command-line):
2878 * lisp/subr.el (error, user-error, add-to-list):
2879 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
2880 (tutorial--find-changed-keys):
2881 * src/callint.c (Fcall_interactively):
2882 * src/editfns.c (Fmessage, Fmessage_box):
2883 Restyle the quotes of format strings intended for use as a
2884 diagnostic, when restyling seems appropriate.
2885 * lisp/subr.el (format-message): New function.
2886 * src/doc.c (Finternal__text_restyle): New function.
2887 (syms_of_doc): Define it.
2888
2889 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
2890
2891 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
2892
2893 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2894
2895 python.el: Fix python-shell-buffer-substring on indented code
2896 (Bug#21086)
2897 * lisp/progmodes/python.el (python-shell-buffer-substring):
2898 Respect current line indentation when calculating string.
2899 * test/automated/python-tests.el
2900 (python-shell-buffer-substring-10)
2901 (python-shell-buffer-substring-11)
2902 (python-shell-buffer-substring-12): New tests.
2903
2904 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
2905
2906 Fix minor glitches from ‘format’ reversion
2907 * doc/lispref/strings.texi (Formatting Strings):
2908 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
2909 Documentation’, not below.
2910 * src/syntax.c (Finternal_describe_syntax_value):
2911 Prefer AUTO_STRING to build_string where either will do, as
2912 AUTO_STRING is a bit faster.
2913
2914 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2915
2916 python.el: Defer shell setup code until first interactive prompt
2917 * lisp/progmodes/python.el
2918 (python-shell-comint-watch-for-first-prompt-output-filter): New
2919 function.
2920 (inferior-python-mode): Use it.
2921 (python-shell-first-prompt-hook): New hook.
2922 (python-shell-send-setup-code)
2923 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
2924 this hook instead of inferior-python-hook.
2925
2926 2015-08-23 Nicolas Petton <nicolas@petton.fr>
2927
2928 Remove the calls to `seq-into` from `seq-concatenate`
2929 Since most new types of seq would have to be defined as sequences (cons
2930 cells or CL structs, mostly), there is no need to convert the seqs to
2931 sequences (which can be a fairly expensive operation).
2932 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
2933 sequences.
2934
2935 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2936
2937 python.el: Fix completion for pdb interactions
2938 * lisp/progmodes/python.el (python-shell-completion-setup-code):
2939 Simplify. Toggle print_mode for native wrapped completer.
2940 (python-shell-completion-native-setup): Ensure process buffer.
2941 Add print_mode attribute to completer wrapper to toggle returning
2942 or printing candidates.
2943 (python-shell-completion-native-get-completions): Cleanup.
2944 (python-shell-completion-get-completions): Cleanup.
2945 (python-shell-completion-at-point): Perform prompt checks. Force
2946 fallback completion in pdb interactions.
2947
2948 2015-08-23 Nicolas Petton <nicolas@petton.fr>
2949
2950 Make seq.el more extensible by using cl-defmethod
2951 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
2952 make it easier to extend seq.el with new "seq types".
2953 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
2954 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
2955 subseq in cl-extra.el, and use it in seq.el.
2956
2957 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2958
2959 python.el: Fix prompt detection with user overridden interpreter
2960 * lisp/progmodes/python.el (python-shell-prompt-detect): Honor
2961 buffer local python-shell-interpreter and
2962 python-shell-interpreter-interactive-arg.
2963
2964 2015-08-23 Eli Zaretskii <eliz@gnu.org>
2965
2966 Support exec-directory with non-ASCII characters on Windows
2967 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
2968 in the system's ANSI codepage, when it is used for invoking
2969 cmdproxy.
2970
2971 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
2972
2973 Revert "Extend ‘format’ to translate curved quotes"
2974 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
2975
2976 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
2977 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
2978
2979 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
2980
2981 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers): Clarify
2982 "invisible window".
2983
2984 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
2985
2986 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
2987 magic-fallback-mode-alist.
2988
2989 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
2990
2991 python.el: fallback completion, ffap and eldoc setup enhancements
2992 Setup codes are now sent continuously so that the current frame is
2993 always taken into account. This allows working within debuggers
2994 and always keeping a fresh version of setup codes that will return
2995 proper results.
2996 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
2997 (python-shell-send-setup-code): Send code only when
2998 python-shell-setup-codes is non-nil.
2999 (python-shell-completion-string-code): Cleanup trailing newline.
3000 (python-shell-completion-get-completions): Always use
3001 python-shell-completion-setup-code.
3002 (python-ffap-setup-code): Work with any object, not only modules.
3003 (python-ffap-string-code): Cleanup trailing newline.
3004 (python-ffap-module-path): Always use python-ffap-setup-code.
3005 (python-eldoc-string-code): Cleanup trailing newline.
3006 (python-eldoc--get-doc-at-point): Always use
3007 python-eldoc-setup-code. Return non-nil only if docstring is
3008 found.
3009
3010 python.el: Increase native completion robustness.
3011 * lisp/progmodes/python.el (python-shell-completion-native-setup):
3012 Make completer print real candidates and just return dummy ones to
3013 avoid input modification.
3014 (python-shell-completion-native-get-completions): Set
3015 comint-redirect-insert-matching-regexp to non-nil and make
3016 comint-redirect-finished-regexp match the last dummy candidate.
3017 Use python-shell-accept-process-output to wait for the full list
3018 of candidates.
3019
3020 2015-08-22 Eli Zaretskii <eliz@gnu.org>
3021
3022 Fix invocation of programs via cmdproxy.exe
3023 * src/w32proc.c (sys_spawnve): Use exec-directory, not
3024 invocation-directory, for finding cmdproxy.exe. When Emacs is
3025 run from the source tree, look for cmdproxy.exe in the same source
3026 tree. (Bug#21323)
3027
3028 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
3029
3030 Handle comments inside unquoted URIs in css-mode
3031 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
3032 (css-syntax-propertize-function): New defconst.
3033 (css--font-lock-keywords): Handle parens around unquoted URIs.
3034 (css-mode): Set `syntax-propertize-function'.
3035
3036 2015-08-22 Eli Zaretskii <eliz@gnu.org>
3037
3038 Support invocation of Hunspell with multiple dictionaries
3039 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file): Support
3040 lists of dictionaries of the form "DICT1,DICT2,...".
3041 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
3042
3043 Minor formatting changes in ispell.el
3044 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
3045 (ispell-print-if-debug, ispell-aspell-find-dictionary)
3046 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
3047 (ispell-hunspell-dictionary-alist)
3048 (ispell-hunspell-fill-dictionary-entry)
3049 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
3050 (ispell-buffer-with-debug, ispell-complete-word)
3051 (ispell-current-dictionary, ispell-current-personal-dictionary)
3052 (ispell-accept-output, ispell-minor-mode)
3053 (ispell-personal-dictionary, ispell-dictionary-alist)
3054 (ispell-really-aspell, ispell-really-hunspell)
3055 (ispell-encoding8-command, ispell-aspell-supports-utf8)
3056 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
3057 Fix whitespace, inconsistent capitalization, and arguments in doc
3058 strings.
3059
3060 2015-08-22 Martin Rudalics <rudalics@gmx.at>
3061
3062 In ‘adjust-window-trailing-edge’ fix bug with size-preserved windows.
3063 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
3064 function refused to resize a size-preserved window.
3065
3066 2015-08-22 Eli Zaretskii <eliz@gnu.org>
3067
3068 Improve documentation of 'window-use-time'
3069 * doc/lispref/windows.texi (Selecting Windows): Improve
3070 documentation and indexing of 'window-use-time'.
3071
3072 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * lisp/progmodes/cc-*.el: Fix up commenting style
3075 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
3076 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
3077 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
3078 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
3079 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
3080 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
3081 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
3082 Fix up commenting style.
3083
3084 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
3085
3086 text-quoting-style in emacs-lisp diagnostics
3087 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
3088 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
3089 (ad-disable-advice, ad-remove-advice, ad-set-argument)
3090 (ad-set-arguments):
3091 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
3092 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
3093 (byte-optimize-while, byte-optimize-apply):
3094 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
3095 (byte-compile-log-file, byte-compile-format-warn)
3096 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
3097 (byte-compile-cl-warn)
3098 (byte-compile-warn-about-unresolved-functions)
3099 (byte-compile-file, byte-compile-fix-header)
3100 (byte-compile--declare-var, byte-compile-file-form-defmumble)
3101 (byte-compile-form, byte-compile-normal-call)
3102 (byte-compile-variable-ref, byte-compile-variable-set)
3103 (byte-compile-subr-wrong-args, byte-compile-setq-default)
3104 (byte-compile-negation-optimizer)
3105 (byte-compile-condition-case--old)
3106 (byte-compile-condition-case--new, byte-compile-save-excursion)
3107 (byte-compile-defvar, byte-compile-autoload)
3108 (byte-compile-lambda-form)
3109 (byte-compile-make-variable-buffer-local, display-call-tree)
3110 (batch-byte-compile):
3111 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
3112 (cconv-analyze-form):
3113 * lisp/emacs-lisp/chart.el (chart-space-usage):
3114 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
3115 (check-declare-warn, check-declare-file)
3116 (check-declare-directory):
3117 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
3118 (checkdoc-message-text-engine):
3119 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
3120 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
3121 (cl-symbol-macrolet):
3122 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
3123 * lisp/emacs-lisp/copyright.el (copyright)
3124 (copyright-update-directory):
3125 * lisp/emacs-lisp/edebug.el (edebug-read-list):
3126 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
3127 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
3128 (eieio-oref, eieio-oset-default):
3129 * lisp/emacs-lisp/eieio-speedbar.el:
3130 (eieio-speedbar-child-make-tag-lines)
3131 (eieio-speedbar-child-description):
3132 * lisp/emacs-lisp/eieio.el (defclass, change-class):
3133 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
3134 (elint-init-form, elint-check-defalias-form)
3135 (elint-check-let-form):
3136 * lisp/emacs-lisp/ert.el (ert-get-test):
3137 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
3138 (find-function-library):
3139 * lisp/emacs-lisp/generator.el (iter-yield):
3140 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
3141 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
3142 * lisp/emacs-lisp/package-x.el (package-upload-file):
3143 * lisp/emacs-lisp/package.el (package-version-join)
3144 (package-disabled-p, package-activate-1, package-activate)
3145 (package--download-one-archive)
3146 (package--download-and-read-archives)
3147 (package-compute-transaction, package-install-from-archive)
3148 (package-install, package-install-selected-packages)
3149 (package-delete, package-autoremove)
3150 (package-install-button-action, package-delete-button-action)
3151 (package-menu-hide-package, package-menu--list-to-prompt)
3152 (package-menu--perform-transaction)
3153 (package-menu--find-and-notify-upgrades):
3154 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
3155 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
3156 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
3157 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
3158 * lisp/emacs-lisp/smie.el (smie-config-save):
3159 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
3160 * lisp/emacs-lisp/testcover.el (testcover-1value):
3161 Use curved quotes in diagnostic format strings.
3162
3163 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
3164
3165 python.el: Ensure remote process-environment on non-interactive processes
3166 * lisp/progmodes/python.el
3167 (python-shell-tramp-refresh-process-environment): New function.
3168 (python-shell-with-environment): Use it.
3169 * test/automated/python-tests.el (python-shell-with-environment-2):
3170 Update.
3171
3172 python.el: Enhancements to process environment setup.
3173 * lisp/progmodes/python.el (python-shell-process-environment)
3174 (python-shell-extra-pythonpaths, python-shell-exec-path)
3175 (python-shell-virtualenv-root): Update docstring. Remove :safe.
3176 (python-shell-setup-codes): Remove :safe.
3177 (python-shell-remote-exec-path): New defcustom.
3178 (python-shell--add-to-path-with-priority): New macro.
3179 (python-shell-calculate-pythonpath): Give priority to
3180 python-shell-extra-pythonpaths. Update docstring.
3181 (python-shell-calculate-process-environment): Give priority to
3182 python-shell-process-environment. Update docstring.
3183 (python-shell-calculate-exec-path): Give priority to
3184 python-shell-exec-path and calculated virtualenv bin directory.
3185 Update docstring.
3186 (python-shell-tramp-refresh-remote-path): New function.
3187 (python-shell-with-environment): Use it when working remotely and
3188 do not modify tramp-remote-path. Allow nesting.
3189 (python-shell-calculate-command): Remove useless
3190 python-shell-with-environment call.
3191 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
3192 (python-shell-calculate-pythonpath-2)
3193 (python-shell-calculate-process-environment-6)
3194 (python-shell-calculate-process-environment-7)
3195 (python-shell-calculate-process-environment-8)
3196 (python-shell-calculate-exec-path-3)
3197 (python-shell-calculate-exec-path-4)
3198 (python-shell-calculate-exec-path-5)
3199 (python-shell-calculate-exec-path-6)
3200 (python-shell-with-environment-3): New tests.
3201 (python-shell-calculate-process-environment-2)
3202 (python-shell-calculate-process-environment-3)
3203 (python-shell-calculate-process-environment-4)
3204 (python-shell-calculate-process-environment-5)
3205 (python-shell-calculate-exec-path-1)
3206 (python-shell-calculate-exec-path-2)
3207 (python-shell-with-environment-1)
3208 (python-shell-with-environment-2): Update and simplify.
3209
3210 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
3211
3212 Avoid hard-coding "M-x command" in docstrings
3213 * lisp/calendar/todo-mode.el (todo-mode):
3214 * lisp/desktop.el (desktop-save-mode):
3215 * lisp/edmacro.el (edit-kbd-macro):
3216 * lisp/emacs-lisp/package.el (package-menu-execute):
3217 * lisp/emulation/viper-cmd.el (viper-ask-level):
3218 * lisp/emulation/viper-init.el (viper-expert-level):
3219 * lisp/filesets.el (filesets-add-buffer):
3220 * lisp/follow.el (follow-mode):
3221 * lisp/gnus/auth-source.el (auth-sources):
3222 * lisp/international/ogonek.el (ogonek-informacja)
3223 (ogonek-information):
3224 * lisp/net/tramp.el (tramp-process-actions):
3225 * lisp/org/org-gnus.el (org-gnus-no-new-news):
3226 * lisp/org/org.el (org-ellipsis):
3227 * lisp/progmodes/python.el (python-shell-get-process-or-error):
3228 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
3229 * lisp/server.el (server-start):
3230 * lisp/type-break.el (type-break-noninteractive-query):
3231 * lisp/userlock.el (ask-user-about-supersession-help):
3232 * lisp/whitespace.el (whitespace-report-region):
3233 Prefer (substitute-command-keys "`\\[foo-command]'")
3234 to "`M-x foo-command'" in docstrings and the like.
3235
3236 2015-08-21 Tassilo Horn <tsdh@gnu.org>
3237
3238 Use add-function for prettify-symbols-compose-predicate
3239 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
3240 prettify-symbols-compose-predicate in terms of add-function.
3241 * etc/NEWS: Mention prettify-symbols-compose-predicate and
3242 prettify-symbols-mode support in tex-mode.
3243
3244 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun
3247 (smie-indent-exps, smie-indent-keyword): Use it.
3248 * test/indent/css-mode.css: Test alignment with leading comment.
3249
3250 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
3251
3252 Respect text-quoting-style in (*Finder*) menus
3253 * lisp/info.el (info--prettify-description):
3254 Treat description as a docstring, so that it's requoted as
3255 per text-quoting-style.
3256
3257 2015-08-21 Martin Rudalics <rudalics@gmx.at>
3258
3259 Document `window-use-time' in Elisp manual
3260 * doc/lispref/windows.texi (Selecting Windows): Document
3261 `window-use-time'.
3262
3263 2015-08-21 Eli Zaretskii <eliz@gnu.org>
3264
3265 A better fix for bug#21303
3266 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600. This is a
3267 cleaner fix for Bug#21260 than the previous change.
3268
3269 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
3270
3271 Respect text-quoting-style in calc
3272 In calc, tespect text-quoting-style preference in diagnostic
3273 formats and fix a few similar problems in docstrings.
3274 * lisp/calc/calc-aent.el (math-read-factor):
3275 * lisp/calc/calc-embed.el (calc-do-embedded):
3276 * lisp/calc/calc-ext.el (calc-user-function-list)
3277 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
3278 * lisp/calc/calc-help.el (calc-describe-key)
3279 (calc-describe-thing):
3280 * lisp/calc/calc-lang.el (calc-c-language)
3281 (math-parse-fortran-vector-end, math-parse-tex-sum)
3282 (math-parse-eqn-matrix, math-parse-eqn-prime)
3283 (calc-yacas-language, calc-maxima-language, calc-giac-language)
3284 (math-read-big-rec, math-read-big-balance):
3285 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
3286 (calc-auto-recompute):
3287 * lisp/calc/calc-prog.el (calc-user-define-invocation)
3288 (math-do-arg-check):
3289 * lisp/calc/calc-store.el (calc-edit-variable):
3290 * lisp/calc/calc-units.el (math-build-units-table-buffer):
3291 * lisp/calc/calc-vec.el (math-read-brackets):
3292 * lisp/calc/calc-yank.el (calc-edit-mode):
3293 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
3294 Use curved quotes in diagnostic format strings.
3295 * lisp/calc/calc-help.el (calc-describe-thing):
3296 Format docstrings with substitute-command-keys.
3297 * lisp/calc/calc-help.el (calc-j-prefix-help):
3298 * lisp/calc/calc-misc.el (calc-help):
3299 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
3300 Escape a docstring "`".
3301
3302 2015-08-21 Eli Zaretskii <eliz@gnu.org>
3303
3304 Fix documentation of 'menu-set-font' and 'set-frame-font'
3305 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
3306 * doc/lispref/frames.texi (Frame Font): Document that
3307 set-frame-font with the last argument 't' will also make the font
3308 the default for the future GUI frames.
3309
3310 Document '--create-frame' option to emacsclient
3311 * doc/emacs/misc.texi (emacsclient Options): Document the
3312 '--create-frame' option. (Bug#21308)
3313
3314 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
3317
3318 2015-08-21 Eli Zaretskii <eliz@gnu.org>
3319
3320 Document 'get-mru-window' in the ELisp manual
3321 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
3322 'get-mru-window'. (Bug#21306)
3323
3324 Clarify documentation of 'get-buffer-window-list'
3325 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
3326 current window, if relevant, will be the first in the list
3327 returned by 'get-buffer-window-list'.
3328 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
3329
3330 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
3331
3332 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
3333 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
3334 `switch-to-buffer'.
3335
3336 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
3337
3338 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
3339 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
3340 `display-buffer' instead of `switch-to-buffer'.
3341
3342 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
3343
3344 Follow user preference in calendar diagnostics
3345 Respect text-quoting-style preference in diagnostic formats by
3346 using curved quotes (which are translated as per text-quoting-style)
3347 instead of grave accent and apostrophe (which are not).
3348 * lisp/calendar/appt.el (appt-display-message):
3349 * lisp/calendar/diary-lib.el (diary-check-diary-file)
3350 (diary-mail-entries, diary-from-outlook):
3351 * lisp/calendar/icalendar.el (icalendar-export-region)
3352 (icalendar--convert-float-to-ical)
3353 (icalendar--convert-date-to-ical)
3354 (icalendar--convert-ical-to-diary)
3355 (icalendar--convert-recurring-to-diary)
3356 (icalendar--add-diary-entry):
3357 * lisp/calendar/time-date.el (format-seconds):
3358 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
3359 (timeclock-make-hours-explicit):
3360 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
3361 (todo-item-mark, todo-check-format)
3362 (todo-insert-item--next-param, todo-edit-item--next-key)
3363 (todo-mode):
3364 Use curved quotes in diagnostic format strings.
3365 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
3366 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
3367 Just use straight quoting for simple test case.
3368
3369 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
3370
3371 * src/gfilenotify.c (Fgfile_add_watch):
3372 Handle errors from g_file_monitor.
3373
3374 2015-08-21 Martin Rudalics <rudalics@gmx.at>
3375
3376 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
3377 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
3378 frame" instead of "non-minibuffer frame".
3379
3380 Fix frame geometry related text
3381 * doc/lispref/frames.texi (Frame Layout): Rename
3382 `x-frame-geometry' to `frame-geometry'.
3383 * doc/lispref/frames.texi (Mouse Position):
3384 * doc/lispref/windows.texi (Coordinates and Windows): Use
3385 `set-mouse-absolute-pixel-position' instead of
3386 `x-set-mouse-absolute-pixel-position'.
3387
3388 Sanitize frame geometry related functions
3389 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
3390 (Fx_frame_edges): Rename to Fns_frame_edges.
3391 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
3392 (Fx_frame_edges): Rename to Fw32_frame_edges.
3393 (Fx_mouse_absolute_pixel_position): Rename to
3394 Fw32_mouse_absolute_pixel_position.
3395 (Fx_set_mouse_absolute_pixel_position): Rename to
3396 Fw32_set_mouse_absolute_pixel_position.
3397 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
3398 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
3399 (ns-frame-edges, w32-mouse-absolute-pixel-position)
3400 (x-mouse-absolute-pixel-position)
3401 (w32-set-mouse-absolute-pixel-position)
3402 (x-set-mouse-absolute-pixel-position): Declare.
3403 (frame-geometry, mouse-absolute-pixel-position)
3404 (set-mouse-absolute-pixel-position): New functions.
3405 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
3406
3407 2015-08-21 Eli Zaretskii <eliz@gnu.org>
3408
3409 Fix MinGW64 build broken by latest w32uniscribe.c changes
3410 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
3411 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3412 (Bug#21260)
3413
3414 2015-08-21 Tassilo Horn <tsdh@gnu.org>
3415
3416 Add TeX defaults for prettify-symbol-mode
3417 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Rename
3418 from tex-prettify-symbols-alist.
3419 (tex--prettify-symbols-compose-p): New function.
3420 (tex-common-initialization): Use them as prettify-symbols-alist
3421 and prettify-symbols-compose-predicate.
3422
3423 Generalize prettify-symbols to arbitrary modes
3424 * lisp/progmodes/prog-mode.el
3425 (prettify-symbols-default-compose-p): New function.
3426 (prettify-symbols-compose-predicate): New variable.
3427 (prettify-symbols--compose-symbol): Use it.
3428
3429 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
3430
3431 Don't quote symbols 'like-this' in docstrings etc.
3432 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
3433 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
3434 * lisp/allout.el (allout-add-resumptions, allout-mode):
3435 * lisp/calculator.el (calculator-operators):
3436 * lisp/cedet/data-debug.el (dd-propertize):
3437 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
3438 * lisp/cedet/semantic/analyze/debug.el:
3439 (semantic-analyzer-debug-global-miss-text):
3440 * lisp/cedet/semantic/lex-spp.el:
3441 (semantic-lex-spp-replace-or-symbol-or-keyword):
3442 * lisp/cedet/semantic/symref.el:
3443 (semantic-symref-cleanup-recent-buffers-fcn):
3444 * lisp/cedet/semantic/tag.el (semantic-tag-class):
3445 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
3446 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
3447 * lisp/gnus/pop3.el (pop3-authentication-scheme):
3448 * lisp/help-fns.el (describe-function-orig-buffer):
3449 * lisp/imenu.el (imenu--history-list):
3450 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
3451 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
3452 (feedmail-queue-default-file-slug)
3453 (feedmail-queue-buffer-file-name):
3454 * lisp/net/mairix.el (mairix-searches-mode-map):
3455 * lisp/net/newst-backend.el (newsticker-retrieval-method)
3456 (newsticker-auto-mark-filter-list):
3457 * lisp/obsolete/vi.el (vi-mode):
3458 * lisp/progmodes/cc-engine.el (c-literal-type):
3459 * lisp/progmodes/cpp.el (cpp-face):
3460 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
3461 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
3462 * lisp/progmodes/pascal.el (pascal-auto-lineup):
3463 * lisp/progmodes/prog-mode.el (prog-widen):
3464 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
3465 (verilog-auto-lineup, verilog-auto-reset-widths)
3466 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
3467 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
3468 (flyspell-maybe-correct-doubling):
3469 * lisp/textmodes/table.el (table-justify, table-justify-cell)
3470 (table-justify-row, table-justify-column, table-insert-sequence)
3471 (table--justify-cell-contents):
3472 * lisp/url/url-auth.el (url-get-authentication):
3473 * lisp/window.el (display-buffer-record-window):
3474 * lisp/xml.el (xml-parse-file, xml-parse-region):
3475 * src/gfilenotify.c (Fgfile_add_watch):
3476 Don't quote symbols with apostrophes in doc strings.
3477 Use asymmetric quotes instead.
3478 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
3479 Likewise for symbol in diagnostic.
3480 * lisp/image.el (image-extension-data):
3481 * lisp/register.el (frame-configuration-to-register):
3482 * src/buffer.c (syms_of_buffer):
3483 Remove bogus apostrophes after symbols.
3484 * lisp/thumbs.el (thumbs-conversion-program):
3485 Quote Lisp string values using double-quotes, not apostrophes.
3486
3487 2015-08-20 Martin Rudalics <rudalics@gmx.at>
3488
3489 Describe frame geometry and related functions in Elisp manual
3490 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
3491 (Showing Images): Update references.
3492 * doc/lispref/elisp.texi (Top): Update node listing.
3493 * doc/lispref/frames.texi (Frame Geometry): New node. Move
3494 `Size and Position' section here.
3495 (Size Parameters): Update references.
3496 (Mouse Position): Update references and nomenclature. Describe
3497 new functions `x-mouse-absolute-pixel-position' and
3498 `x-set-mouse-absolute-pixel-position'.
3499 * doc/lispref/windows.texi (Window Sizes): Update references.
3500 (Resizing Windows): Update references. Move description of
3501 `fit-frame-to-buffer' here.
3502 (Coordinates and Windows): Update nomenclature and references.
3503 Describe new arguments of `window-edges'. Comment out
3504 descriptions of `window-left-column', `window-top-line',
3505 `window-pixel-left' and `window-pixel-top'. Describe
3506 `window-absolute-pixel-position'.
3507
3508 2015-08-20 Alan Mackenzie <acm@muc.de>
3509
3510 Handling of `c-parse-state'. Fix low level bug.
3511 progmodes/cc-engine.el (c-remove-stale-state-cache-backwards): Add
3512 "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
3513
3514 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
3515
3516 In `widget-color--choose-action' quit *Color* window instead of deleting it
3517 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
3518 window instead of deleting it.
3519
3520 2015-08-20 Martin Rudalics <rudalics@gmx.at>
3521
3522 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
3523 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
3524 determine whether frame has a titlebar.
3525 Suggested by Eli Zaretskii <eliz@gnu.org>
3526
3527 2015-08-20 Tassilo Horn <tsdh@gnu.org>
3528
3529 Add a prettify-symbols-alist for (La)TeX
3530 * tex-mode.el (tex-prettify-symbols-alist): New variable holding
3531 an alist suitable as prettify-symbols-alist in (La)TeX modes.
3532
3533 2015-08-19 Alan Mackenzie <acm@muc.de>
3534
3535 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
3536 Fixes debbugs#21275.
3537 In Emacs >= 25, let electric-pair-mode take precedence over
3538 delete-selection-mode.
3539 delsel.el (delete-selection-uses-region-p): New function, previously a
3540 lambda expression in a property value for `self-insert-command'.
3541 (top-level) Set the `delete-selection' property of `self-insert-command'
3542 to `delete-selection-uses-region-p'.
3543 progmodes/cc-cmds.el (top-level): Give the `delete-selection' property
3544 for c-electric-\(brace\|paren\) the value
3545 `delete-selection-uses-region-p' when the latter function exists.
3546
3547 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
3548
3549 Fix key binding quoting in tutorial *Help*
3550 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
3551 When generating help for custom key bindings, use the user-preferred
3552 quoting style rather than hardcoding the grave style.
3553
3554 2015-08-19 Eli Zaretskii <eliz@gnu.org>
3555
3556 Improve and future-proof OTF fonts support in w32uniscribe.c
3557 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
3558 about the expected results and why the new Uniscribe APIs are not
3559 used in this function.
3560 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
3561 (ScriptGetFontFeatureTags_Proc): New function typedefs.
3562 (uniscribe_new_apis): New static variable.
3563 (uniscribe_check_features): New function, implements OTF features
3564 verification while correctly accounting for features in the list
3565 after the nil member, if any.
3566 (uniscribe_check_otf_1): New function, retrieves the features
3567 supported by the font for the requested script and language using
3568 the Uniscribe APIs available from Windows Vista onwards.
3569 (uniscribe_check_otf): If the new Uniscribe APIs are available,
3570 use them in preference to reading the font data directly. Call
3571 uniscribe_check_features to verify that the requested features are
3572 supported, replacing the original incomplete code.
3573 (syms_of_w32uniscribe): Initialize function pointers for the new
3574 Uniscribe APIs. (Bug#21260)
3575 (otf_features): Scan the script, langsys, and feature arrays back
3576 to front, so that the result we return has them in alphabetical
3577 order, like ftfont.c does.
3578 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
3579 New variable for debugging w32uniscribe.c code.
3580
3581 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
3582
3583 * isearch.el (isearch-search-fun-default): Revert a5bdb87
3584 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
3585 clause of `isearch-search-fun-default'. That lax variable does not
3586 refer to lax-whitespacing. Related to (bug#21777).
3587 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
3588 * character-fold.el (character-fold-search): Set to nil.
3589 Default to nil for now, until someone implements proper
3590 lax-whitespacing with char-fold searching.
3591
3592 2015-08-19 Martin Rudalics <rudalics@gmx.at>
3593
3594 Fix doc-string of `help-mode-finish'.
3595 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
3596
3597 In nsimage.m include coding.h (Bug#21292)
3598 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
3599
3600 Move window edge functions to Elisp.
3601 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
3602 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
3603 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
3604 Move to window.el.
3605 (calc_absolute_offset): Remove.
3606 * lisp/frame.el (frame-edges): New function.
3607 * lisp/window.el (window-edges, window-pixel-edges)
3608 (window-absolute-pixel-edges): Move here from window.c.
3609 (window-body-edges, window-body-pixel-edges)
3610 (window-absolute-body-pixel-edges): Move here from window.c and
3611 rename "inside" to "body". Keep old names as aliases.
3612 (window-absolute-pixel-position): New function.
3613
3614 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
3615
3616 [Gnus]: Use overlay functions directly
3617 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
3618 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
3619 (gnus-article-highlight-signature, gnus-article-extend-url-button)
3620 (gnus-article-add-button, gnus-insert-prev-page-button)
3621 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
3622 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
3623 (gnus-cite-add-face):
3624 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
3625 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
3626 (gnus-tree-recenter, gnus-highlight-selected-tree):
3627 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
3628 (gnus-summary-show-thread, gnus-summary-hide-thread)
3629 (gnus-highlight-selected-summary):
3630 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
3631 * lisp/gnus/message.el (message-fix-before-sending)
3632 (message-toggle-image-thumbnails):
3633 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
3634 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
3635 Use overlay functions directly instead of using gnus-overlay-*,
3636 message-overlay-*, and sieve-overlay-*.
3637 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
3638 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
3639 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
3640 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
3641 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
3642 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
3643 (message-overlay-get, message-overlay-put, message-overlays-in):
3644 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
3645 (sieve-overlays-at): Remove.
3646
3647 2015-08-19 Martin Rudalics <rudalics@gmx.at>
3648
3649 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version.
3650 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
3651 builds can use the declaration from the system headers.
3652 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
3653 definition of TITLEBAR_INFO.
3654 Suggested by Eli Zaretskii <eliz@gnu.org>
3655
3656 2015-08-19 Glenn Morris <rgm@gnu.org>
3657
3658 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
3659
3660 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
3661
3662 Use new q ‘format’ flag when fixing quotes in C
3663 * src/image.c (image_size_error): New function. All uses of
3664 image_error with "Invalid image size ..." changed to use it.
3665 * src/image.c (image_size_error, xbm_load_image, xbm_load)
3666 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
3667 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
3668 (imagemagick_load, svg_load, svg_load_image, gs_load)
3669 (x_kill_gs_process):
3670 * src/lread.c (load_warn_old_style_backquotes):
3671 * src/xfaces.c (load_pixmap):
3672 * src/xselect.c (x_clipboard_manager_error_1):
3673 Use %qs, not uLSQM and uRSQM.
3674 * src/syntax.c (Finternal_describe_syntax_value):
3675 Prefer Fsubstitute_command_keys to Fformat, as this lets
3676 us use AUTO_STRING.
3677 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
3678 as it's now guaranteed to be ASCII.
3679 * src/xselect.c (x_clipboard_manager_error_2):
3680 Avoid grave accent in low-level stderr diagnostic.
3681
3682 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
3683
3684 New q flag for ‘format’
3685 * doc/lispref/processes.texi (Sentinels):
3686 Don't hardwire grave quoting style in example.
3687 * doc/lispref/strings.texi (Formatting Strings):
3688 * etc/NEWS:
3689 Document new q flag.
3690 * src/editfns.c (Fformat): Implement it.
3691
3692 2015-08-18 Daiki Ueno <ueno@gnu.org>
3693
3694 pinentry.el: Add debugging support
3695 * lisp/net/pinentry.el (pinentry-debug): New variable.
3696 (pinentry-debug-buffer): New variable.
3697 (pinentry--process-filter): Send input to the debug buffer, if
3698 `pinentry-debug' is set.
3699
3700 pinentry.el: Improve multiline prompt
3701 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
3702 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
3703 command.
3704
3705 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3706
3707 Fix multibyte confusion in diagnostics
3708 * src/print.c (print_error_message):
3709 Don't assume that the caller's name is unibyte.
3710 * src/xdisp.c (vadd_to_log):
3711 Don't assume that the formatted diagnostic is unibyte.
3712
3713 Fix file name encodings in diagnostics
3714 Also, close some minor races when opening image files, by opening
3715 them once instead of multiple times.
3716 * src/gtkutil.c (xg_get_image_for_pixmap):
3717 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
3718 (svg_load):
3719 * src/nsimage.m (allocInitFromFile:):
3720 * src/xfns.c (xg_set_icon):
3721 Encode file name, since x_find_image_file no longer does that.
3722 * src/image.c (x_find_image_fd): New function.
3723 (x_find_image_file): Use it. Do not encode resulting file name,
3724 since callers sometimes need it decoded.
3725 (slurp_file): File arg is now a fd, not a file name.
3726 All callers changed. This saves us having to open the file twice.
3727 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
3728 (svg_load):
3729 Use x_find_image_fd and fdopen to save a file-open.
3730 Report file name that failed.
3731 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
3732
3733 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
3734
3735 Allow blink-matching-paren to jump off screen
3736 * doc/emacs/programs.texi (Matching): Mention the
3737 `blink-matching-paren' value `jump-offscreen'.
3738 * lisp/simple.el (blink-matching-paren): New possible value.
3739 (blink-matching-paren-on-screen): Clarify the docstring.
3740 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
3741
3742 Refine the previous change
3743 * lisp/simple.el (blink-matching-open): Use minibuffer-message
3744 outside of save-excursion (bug#21286).
3745
3746 2015-08-18 Martin Rudalics <rudalics@gmx.at>
3747
3748 Rewrite and add frame geometry related functions.
3749 * src/frame.c (Fframe_position): New function.
3750 (Fset_frame_position): Rename parameters and rewrite doc-string.
3751 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
3752 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
3753 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
3754 Qtitle_bar_size.
3755 * src/nsfns.m (frame_geometry): New function.
3756 (Fx_frame_geometry): Call frame_geometry.
3757 (Fx_frame_edges): New function.
3758 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
3759 (GetTitleBarInfo_Proc): Define these so we can use the
3760 GetTitleBarInfo API.
3761 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
3762 (Fx_frame_geometry): Rewrite.
3763 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
3764 (Fx_set_mouse_absolute_pixel_position): New functions.
3765 * src/xfns.c (frame_geometry): New function.
3766 (Fx_frame_geometry): Call frame_geometry.
3767 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
3768 (Fx_set_mouse_absolute_pixel_position): New functions.
3769
3770 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
3771
3772 Improve Tramp's compatibility
3773 * lisp/net/tramp.el (tramp-get-method-parameter):
3774 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
3775 (tramp-adb-get-device):
3776 * lisp/net/trampver.el (tramp-repository-get-version):
3777 Use `tramp-compat-replace-regexp-in-string'.
3778
3779 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
3780
3781 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
3782 Encode/decode string.
3783
3784 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3785
3786 Clarify what happens to match data on failure
3787 Problem reported by Ernesto Alfonso (Bug#21279).
3788 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
3789 Document more carefully what happens to match data after a failed
3790 search.
3791 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
3792 the return value is undefined if the last search failed.
3793 (Fmatch_data): Simplify doc string line 1.
3794
3795 2015-08-18 Daiki Ueno <ueno@gnu.org>
3796
3797 Revert "pinentry.el: Support external passphrase cache"
3798 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
3799 pinentry.el shouldn't directly interact with the secrets service,
3800 but ask the caller to cache the passphrase.
3801
3802 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
3803
3804 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
3805 Message mode hooks.
3806
3807 2015-08-17 Daiki Ueno <ueno@gnu.org>
3808
3809 epg.el: Make gpgconf output parsing future proof
3810 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
3811 --list-options" output.
3812
3813 pinentry.el: Support external passphrase cache
3814 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
3815 (pinentry--allow-external-password-cache): New local variable.
3816 (pinentry--key-info): New local variable.
3817 (secrets-enabled, secrets-search-items, secrets-get-secret):
3818 Declare.
3819 (pinentry--send-passphrase): New function, split from
3820 `pinentry--process-filter'.
3821 (pinentry--process-filter): Use secrets.el to retrieve passphrase
3822 from login keyring.
3823
3824 pinentry.el: Popup window for multiline prompt
3825 * lisp/net/pinentry.el (pinentry): New custom group.
3826 (pinentry-popup-prompt-window): New user option.
3827 (pinentry-prompt-window-height): New user option.
3828 (pinentry--prompt-buffer): New variable.
3829 (pinentry-prompt-mode-map): New variable.
3830 (pinentry-prompt-mode): New function.
3831 (pinentry--prompt): New function.
3832 (pinentry--process-filter): Use `pinentry--prompt' instead of
3833 `read-passwd' and `y-or-n-p'.
3834
3835 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
3836
3837 message.el: Silent the byte compiler
3838 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
3839 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
3840 (message-delete-overlay, message-window-inside-pixel-edges):
3841 Declare before using.
3842
3843 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
3844 (message-window-inside-pixel-edges): XEmacs compatible functions.
3845
3846 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3847
3848 * message.el (message-toggle-image-thumbnails): New command.
3849
3850 2015-08-17 Noah Friedman <friedman@splode.com>
3851
3852 (blink-matching-open): Restore point before calling minibuffer-message.
3853
3854 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
3855
3856 * lisp/play/dunnet.el: Update version number in header (now
3857 matches help).
3858
3859 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
3860
3861 Curved quotes in --batch diagnostics in non-UTF-8
3862 When run with --batch, check that curved quotes are compatible with
3863 the system locale before outputting them in diagnostics.
3864 Problem reported by Eli Zaretskii in:
3865 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
3866 * lisp/startup.el (command-line): Set internal--text-quoting-flag
3867 after the standard display table is initialized.
3868 * src/doc.c (default_to_grave_quoting_style): New function.
3869 (text_quoting_style): Use it.
3870 (text_quoting_flag): New static var, visible to Lisp as
3871 internal--text-quoting-flag.
3872 * src/emacs.c: Include <wchar.h> if available.
3873 (using_utf8): New function.
3874 (main): Use it to initialize text_quoting_flag.
3875 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
3876 Don't define, as it's not needed and it clashes with wchar.h.
3877
3878 2015-08-17 Glenn Morris <rgm@gnu.org>
3879
3880 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
3881 from makeinfo about spurious "Note:" cross-reference, and for grammar.
3882
3883 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
3884
3885 Minor change in variable initialization on MS-Windows
3886 * src/w32fns.c <after_dead_key>: Initialize to -1.
3887 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
3888 non-zero.
3889
3890 Fix a bug with LWindow key remapping on MS-Windows
3891 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
3892
3893 2015-08-17 Eli Zaretskii <eliz@gnu.org>
3894
3895 Improve fontset support for latest OTF script tags
3896 * lisp/international/fontset.el (otf-script-alist): Add some
3897 missing script tags.
3898 (setup-default-fontset): Include settings for v2 versions of the
3899 script tags used by some modern OTF/TTF fonts.
3900
3901 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
3902
3903 Spelling fixes
3904
3905 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
3906
3907 Use curved quotes in core elisp diagnostics
3908 In the core elisp files, use curved quotes in diagnostic formats,
3909 so that they follow user preference as per ‘text-quoting-style’
3910 rather than being hard-coded to quote `like this'.
3911 * lisp/abbrev.el (expand-region-abbrevs):
3912 * lisp/button.el (button-category-symbol, button-put)
3913 (make-text-button):
3914 * lisp/cus-start.el:
3915 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
3916 (custom--sort-vars-1, load-theme):
3917 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
3918 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
3919 (cl-generic-generalizers):
3920 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
3921 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
3922 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
3923 (advice--make, define-advice):
3924 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
3925 * lisp/emacs-lisp/timer.el (timer-event-handler):
3926 * lisp/env.el (setenv):
3927 * lisp/facemenu.el (facemenu-add-new-face)
3928 (facemenu-add-new-color):
3929 * lisp/faces.el (face-documentation, read-face-name)
3930 (face-read-string, read-face-font, face-spec-set-match-display)
3931 (read-color, x-resolve-font-name):
3932 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
3933 (set-auto-mode, hack-local-variables)
3934 (hack-one-local-variable--obsolete)
3935 (dir-locals-set-directory-class, write-file)
3936 (basic-save-buffer, delete-directory, copy-directory)
3937 (recover-session, recover-session-finish, insert-directory)
3938 (file-modes-char-to-who, file-modes-symbolic-to-number)
3939 (move-file-to-trash):
3940 * lisp/font-lock.el (font-lock-fontify-buffer):
3941 * lisp/format.el (format-write-file, format-find-file)
3942 (format-insert-file):
3943 * lisp/frame.el (get-device-terminal, select-frame-by-name):
3944 * lisp/fringe.el (fringe--check-style):
3945 * lisp/help.el (describe-minor-mode-from-indicator):
3946 * lisp/image.el (image-type):
3947 * lisp/international/fontset.el (x-must-resolve-font-name):
3948 * lisp/international/mule-cmds.el (prefer-coding-system)
3949 (select-safe-coding-system-interactively)
3950 (select-safe-coding-system, activate-input-method)
3951 (toggle-input-method, describe-current-input-method):
3952 * lisp/international/mule-conf.el (code-offset):
3953 * lisp/mouse.el (minor-mode-menu-from-indicator):
3954 * lisp/replace.el (query-replace-read-from)
3955 (occur-after-change-function, occur-1):
3956 * lisp/scroll-bar.el (scroll-bar-columns):
3957 * lisp/simple.el (execute-extended-command)
3958 (undo-outer-limit-truncate, compose-mail, set-variable)
3959 (choose-completion-string, define-alternatives):
3960 * lisp/startup.el (site-run-file, tty-handle-args, )
3961 (command-line, command-line-1):
3962 * lisp/subr.el (noreturn, define-error, add-to-list)
3963 (read-char-choice):
3964 * lisp/term/common-win.el (x-handle-xrm-switch)
3965 (x-handle-name-switch, x-handle-args):
3966 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
3967 Use curved quotes in diagnostics.
3968 * lisp/international/mule.el (find-auto-coding):
3969 Use " to quote in a diagnostic, to be consistent with the rest of
3970 this file.
3971
3972 Convert lisp/term/x-win.el to UTF-8
3973 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
3974 runtime behavior, and the file is multilingual so compile-time
3975 appearance shouldn't be an issue.
3976 * admin/notes/unicode: Document this.
3977
3978 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
3979
3980 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
3981 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
3982 issues and comments, bug#943.
3983 (verilog-type-font-keywords): Cycle delay operators like ##1 and
3984 ##[0:$] are now highlighted in their entirety similarly to the #
3985 delay-control operator. Likewise, the followed-by operators #-#
3986 and #=# are no longer partially highlighed.
3987 (verilog-backward-syntactic-ws-quick)
3988 (verilog-skip-backward-comments): Minor performance improvements
3989 to buffer traversal functions for reduced latency.
3990 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
3991 keyword 'final' follows 'assert/assume/cover', then it is part of
3992 a deferred immediate assertion item and should not be treated as a
3993 final construct for indentation. Reported by Yuri Sugihara.
3994 (verilog-do-indent): Virtual task/function/class definition lines
3995 should not be considered as declarations. Reported by Enzo Chi.
3996 (verilog-do-indent): Do not falsely indent to '=' of
3997 property/sequence operators on subsequent lines of a multi-line
3998 statement.
3999 (verilog-assignment-operator-re): Fix '!==' operator and add
4000 support for '<->', ':/', '#-#', and '#=#' operators.
4001 (verilog-calculate-indent, verilog-label-be): Enable
4002 case-sensitive regular expression parsing when looking for
4003 keywords.
4004 (verilog-calc-1): Detect 'pure virtual method' declarations which
4005 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
4006 (verilog-backward-ws&directives): When moving back to the start of
4007 a line and the preceeding line ended with an escaped-newline, then
4008 jump up one line. This properly consumes a multi-line
4009 pre-processor directive. Reported by Kaushal Modi.
4010 (verilog-dpi-import-export-re, verilog-extended-complete-re)
4011 (verilog-calc-1): Teach verilog-mode to properly indent after a
4012 DPI import/export statement that resides outside of a module.
4013 Reported by Kaushal Modi.
4014 (verilog-extended-complete-re): Update regexp to match both
4015 "DPI-C" and "DPI". Reported by Kaushal Modi.
4016
4017 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
4018
4019 substitute-command-keys a few more doc strings
4020 * lisp/allout.el (outlineify-sticky):
4021 * lisp/files.el (hack-one-local-variable--obsolete):
4022 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
4023 Use substitute-command-keys on some doc strings so that
4024 they don't use hard-coded key bindings or quoting styles.
4025
4026 Fix quoting in Fformat calls
4027 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
4028 (xpm_load, xpm_load_image, pbm_load, png_load_body)
4029 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
4030 (imagemagick_load, svg_load, svg_load_image, gs_load)
4031 (x_kill_gs_process):
4032 * src/lread.c (load_warn_old_style_backquotes):
4033 * src/xfaces.c (load_pixmap):
4034 * src/xselect.c (x_clipboard_manager_error_1):
4035 Quote diagnostics according to user preference when calling
4036 Fformat or its derivatives.
4037
4038 2015-08-15 Glenn Morris <rgm@gnu.org>
4039
4040 * admin/admin.el (set-version, set-copyright): Remove deleted files.
4041
4042 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
4043
4044 Allow describe-function helpers to access buffer-local values.
4045 This will be used by cedet/mode-local.el `describe-mode-local-override'
4046 on `help-fns-describe-function-functions' in upstream CEDET.
4047 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
4048 `describe-function'.
4049 (describe-function): Bind it, save it on the help xref stack.
4050
4051 Handle pulse-background being nil
4052 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
4053 pulse-background, handle it being nil.
4054
4055 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
4056
4057 Fix "\`" confusion in Lisp strings
4058 * admin/authors.el (authors-canonical-author-name):
4059 Fix typo by using "\\`" not "\`" in string RE.
4060 * lisp/obsolete/complete.el (PC-complete-as-file-name):
4061 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
4062 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
4063 Use plain "`", not the equivalent-but-confusing "\`", in strings.
4064 * lisp/textmodes/texinfmt.el: Fix comment likewise.
4065
4066 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
4067
4068 Remove 'nt/zipdist.bat' (no longer used)
4069 * nt/zipdist.bat: Remove -- no longer used.
4070
4071 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
4072
4073 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
4074 rather than "getenforce".
4075 (tramp-sh-handle-set-file-selinux-context): Do not
4076 cache SELinux context if not all context components are given.
4077
4078 2015-08-15 Eli Zaretskii <eliz@gnu.org>
4079
4080 Add doc strings to 2 help-mode.el functions
4081 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
4082 strings. (Bug#21263)
4083
4084 Remove files used by the old MS-Windows specific build procedure
4085 * admin/unidata/makefile.w32-in:
4086 * doc/emacs/makefile.w32-in:
4087 * doc/lispintro/makefile.w32-in:
4088 * doc/lispref/makefile.w32-in:
4089 * doc/misc/makefile.w32-in:
4090 * leim/makefile.w32-in:
4091 * lib-src/makefile.w32-in:
4092 * lib/makefile.w32-in:
4093 * lisp/makefile.w32-in:
4094 * nt/INSTALL.OLD:
4095 * nt/config.nt:
4096 * nt/emacs-src.tags:
4097 * nt/envadd.bat:
4098 * nt/gmake.defs:
4099 * nt/makefile.w32-in:
4100 * nt/multi-install-info.bat:
4101 * nt/nmake.defs:
4102 * nt/paths.h:
4103 * src/makefile.w32-in: Files deleted.
4104 * nt/configure.bat: Remove everything except the blurb about the
4105 new build procedure.
4106 * make-dist: Remove references to makefile.w32-in in various
4107 directories, and to files in nt/ that were deleted.
4108 * etc/NEWS: Mention the fact that the files were dropped.
4109
4110 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
4111
4112 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
4113 (Bug#21248)
4114
4115 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
4116
4117 Default to inotify instead of gfile
4118 * configure.ac (with_file_notification): Fix typo that
4119 prevented suppression of file notification if HAVE_NS.
4120 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
4121 with_file_notification is 'yes' (Bug#21241).
4122 * etc/NEWS: Mention this.
4123
4124 Fix broken URLs for ISO-IR
4125 * doc/emacs/mule.texi (Charsets):
4126 * lisp/international/mule-conf.el:
4127 Fix broken URL (Bug#21248).
4128
4129 Low-level diagnostics now use ‘text-quoting-style’
4130 * src/doprnt.c (doprnt):
4131 Format ` and ' as per ‘text-quoting-style’.
4132 * src/xdisp.c (vmessage, message): Mention that the format should
4133 not contain ` or '.
4134
4135 Prefer ‘format’ to ‘substitute-command-keys’
4136 * src/character.h (uLSQM, uRSQM): Move here ...
4137 * src/doc.c (uLSQM, uRSQM): ... from here.
4138 * src/doc.c (Fsubstitute_command_keys):
4139 * src/syntax.c (Finternal_describe_syntax_value):
4140 * lisp/cedet/mode-local.el (mode-local-print-binding)
4141 (mode-local-describe-bindings-2):
4142 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
4143 * lisp/cus-theme.el (describe-theme-1):
4144 * lisp/descr-text.el (describe-text-properties-1, describe-char):
4145 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
4146 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
4147 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
4148 * lisp/emacs-lisp/package.el (describe-package-1):
4149 * lisp/faces.el (describe-face):
4150 * lisp/help-fns.el (help-fns--key-bindings)
4151 (help-fns--compiler-macro, help-fns--parent-mode)
4152 (help-fns--obsolete, help-fns--interactive-only)
4153 (describe-function-1, describe-variable):
4154 * lisp/help.el (describe-mode):
4155 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
4156 to implement quoting style. This generally makes the code simpler.
4157
4158 Extend ‘format’ to translate curved quotes
4159 This is a followup to the recent doc string change, and deals with
4160 diagnostics and the like. This patch is more conservative than
4161 the doc string change, in that the behavior of ‘format’ changes
4162 only if its first arg contains curved quotes and the user prefers
4163 straight or grave quotes. (Come to think of it, perhaps we should
4164 be similarly conservative with doc strings too, but that can wait.)
4165 The upside of this conservatism is that existing usage is almost
4166 surely unaffected. The downside is that we'll eventually have to
4167 change Emacs's format strings to use curved quotes in places where
4168 the user might want curved quotes, but that's a simple and
4169 mechanical translation that I'm willing to do later. (Bug#21222)
4170 * doc/lispref/help.texi (Keys in Documentation):
4171 Move description of text-quoting-style from here ...
4172 * doc/lispref/strings.texi (Formatting Strings):
4173 ... to here, and describe new behavior of ‘format’.
4174 * etc/NEWS: Describe new behavior.
4175 * lisp/calc/calc-help.el (calc-describe-thing):
4176 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
4177 * lisp/info.el (Info-find-index-name):
4178 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
4179 of recently-added curved quotes.
4180 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
4181 Move from here ...
4182 * src/lisp.h: ... to here.
4183 * src/doc.c (text_quoting_style): New function.
4184 (Fsubstitute_command_keys): Use it.
4185 * src/editfns.c (Fformat): Implement new behavior.
4186 * src/lisp.h (enum text_quoting_style): New enum.
4187
4188 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
4191 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
4192
4193 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
4194
4195 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
4196 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
4197
4198 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
4199
4200 Flush file properties in Tramp
4201 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
4202 (tramp-sh-handle-set-file-times):
4203 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
4204 (tramp-adb-handle-set-file-times): Flush the file properties of
4205 the directory.
4206
4207 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
4208
4209 * doc/emacs/misc.text (Amusements): Fixed typo.
4210
4211 2015-08-14 Eli Zaretskii <eliz@gnu.org>
4212
4213 Don't miss warnings about removing string text properties while dumping
4214 * src/alloc.c (purecopy): Warn about removing a string's text
4215 properties even when the same string was already pure-copied
4216 earlier.
4217 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
4218 (elisp--xref-format-extra): Fix the commentary.
4219
4220 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
4223
4224 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
4225
4226 * lisp/progmodes/compile.el: Assume 8-wide TABs (bug#21038)
4227 * lisp/progmodes/compile.el: Use lexical-binding.
4228 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
4229
4230 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
4233 * lisp/uniquify.el: Remove redundant `:group's.
4234
4235 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
4236
4237 * lisp/net/tramp-adb.el
4238 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
4239 result to prevent modification of the tramp-cache by side effects.
4240 Use the correct cache key.
4241
4242 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
4243
4244 Make add_to_log varargs
4245 * src/alloc.c (run_finalizer_handler):
4246 * src/charset.c (load_charset_map_from_vector):
4247 * src/nsimage.m (ns_load_image):
4248 * src/xfaces.c (load_pixmap, load_color2):
4249 Simplify, now that add_to_log has a variable number of args.
4250 * src/image.c (image_error): Take a variable number of args.
4251 Callers simplified.
4252 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
4253 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
4254 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
4255 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
4256
4257 Optional args for holiday-greek-orthodox-easter
4258 * etc/NEWS: Document this.
4259 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
4260 Add optional args N and STRING, mimicking the API and code of
4261 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
4262
4263 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
4264
4265 xref-find-definitions: Exclude more generic function items.
4266 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Add doc string.
4267 (cl--generic-find-defgeneric-regexp): New.
4268 (find-function-regexp-alist): Add it.
4269 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
4270 elisp-mode.el, change to search for ";;; Code:"
4271 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
4272 (find-function-regexp-alist): Add them.
4273 * lisp/progmodes/elisp-mode.el:
4274 (elisp--xref-format, elisp--xref-format-extra): Change back to defvar due
4275 to bug#21237.
4276 (elisp--xref-find-definitions): Exclude co-located default methods for
4277 generic functions. Also exclude implicitly declared defgeneric.
4278 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
4279 mode variables defined by 'define-minor-mode'.
4280 * test/automated/elisp-mode-tests.el: Declare generic functions, add
4281 tests for them.
4282 (xref-elisp-test-run): Fix bug.
4283 (emacs-test-dir): Improve initial value.
4284 (find-defs-defun-defvar-el): Don't expect defvar.
4285 (find-defs-feature-el): Match change to find-feature-regexp.
4286
4287 2015-08-13 Eli Zaretskii <eliz@gnu.org>
4288
4289 Improve warning about purecopy of strings with properties
4290 * src/alloc.c (purecopy): Show the offending string with the
4291 warning about removing its text properties.
4292
4293 2015-08-12 Alan Mackenzie <acm@muc.de>
4294
4295 Introduce new macros to cover Emacs's new names in cl-lib.el.
4296 This also eliminates `mapcan' warnings in XEmacs.
4297 progmodes/cc-defs.el (c--mapcan-status): new variable to characterise
4298 [X]Emacs versions.
4299 (top-level): Require either 'cl or 'cl-lib, depending on
4300 c--mapcan-status.
4301 Change this back to cc-external-require from an eval-when-compile
4302 require.
4303 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
4304 (c--delete-duplicates): New macros which expand into either old or new
4305 names.
4306 (c-make-keywords-re, c-lang-defconst, c-lang-const) Use the new macros
4307 rather than the old names.
4308 progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan rather
4309 than mapcan.
4310 progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
4311 progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
4312 depending on c--mapcan-status.
4313 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
4314 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
4315 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
4316 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
4317 (c-decl-block-key, c-keywords, c-keywords-obarray)
4318 (c-regular-keywords-regexp, c-primary-expr-regexp)
4319 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
4320 (c-known-type-key, c-nonlabel-token-key)
4321 (c-make-init-lang-vars-fun): Use the new macros rather than the old
4322 names.
4323
4324 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
4325
4326 loadhist.el (read-feature): Conform to completing-read
4327 * lisp/loadhist.el (read-feature): According to `completing-read'
4328 documentation, if collection is a list, then it must be a list of
4329 strings, not a list of symbols like before.
4330
4331 2015-08-12 David Kastrup <dak@gnu.org>
4332
4333 Deal gracefully with up-events (Bug#19746)
4334 * keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
4335 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
4336 those may easily be injected by user-level Lisp code.
4337 (read_key_sequence): Discard unbound up-events like unbound
4338 down-events: they are even more likely only relevant for special
4339 purposes.
4340 While Emacs will not produce up-events on its own currently (those are
4341 converted to drag or click events before being converted to
4342 Lisp-readable structures), the input queue can be made to contain them
4343 by synthesizing events to `unread-command-events'. Emacs should deal
4344 consistently with such events.
4345
4346 2015-08-12 Eli Zaretskii <eliz@gnu.org>
4347
4348 Fix display of thin lines whose newline has line-height property of t
4349 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
4350 and descent values of non-empty glyph rows, since they could have
4351 forced low values deliberately. (Bug#21243)
4352
4353 2015-08-12 Richard Stallman <rms@gnu.org>
4354
4355 Offer to combine multiple To or CC fields.
4356 * sendmail.el (mail-combine-fields): New function.
4357 (mail-send): Call 'mail-combine-fields'.
4358
4359 Don't decrypt encrypted files.
4360 * mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
4361
4362 Handle encrypted mbox files.
4363 * rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt the mbox
4364 file if necessary.
4365
4366 Re-enable mime processing after decryption. Add 'decrypt' keyword.
4367 * rmail.el (rmail-epa-decrypt-1): New subroutine.
4368 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
4369 In a mime message, reenable Mime and show the parts that
4370 were shown before.
4371 Add keyword "decrypt" if anything decrypted.
4372
4373 epa-inhibit inhibits auto-recognition of .gpg files
4374 * lisp/epa-file.el (epa-inhibit): New variable.
4375 (epa-file-handler): Check epa-inhibit.
4376
4377 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
4378
4379 * emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
4380
4381 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
4382
4383 Respect python.el imenu when semantic-mode is off
4384 Fixes debbugs:21220
4385 * lisp/cedet/semantic/wisent/python.el: Do not force
4386 wisent-python-default-setup on python-mode-hook.
4387
4388 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
4389
4390 Give names to Unicode code points in C code
4391 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
4392 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
4393 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
4394 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
4395 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
4396 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
4397 (OBJECT_REPLACEMENT_CHARACTER):
4398 New named constants for Unicode code points.
4399 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
4400 * src/composite.c (char_composable_p):
4401 * src/lread.c (readevalloop, read1):
4402 * src/xdisp.c (get_next_display_element):
4403 Use them.
4404 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
4405 Remove; now in character.h.
4406
4407 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
4408
4409 elisp--xref-find-definitions handle cl-defstuct default constructor
4410 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
4411 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
4412 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
4413 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
4414 from xref-elisp-test for ease of debugging.
4415 (xref-elisp-deftest): Rename from xref-elisp-test.
4416 (find-defs-constructor): New test.
4417 (find-defs-defgeneric-el): Match batch test config.
4418 (compile): Required for find-defs compilation-minor-mode test.
4419 (find-defs-defvar-el): Match code change.
4420 (find-defs-face-el): Match code change.
4421 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
4422 Improve doc string.
4423
4424 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * lisp/replace.el (perform-replace): Document `replacements'.
4427 (perform-replace): Move the description of the format of `replacements'
4428 from the body's comment to the doc string.
4429
4430 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
4431
4432 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
4433 sequence. Recent adb version send initial escape sequences, even
4434 when terminal type is set to TERM=dumb.
4435
4436 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
4437
4438 Rewrite elisp--xref-find-definitions to handle many more cases; add tests.
4439 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
4440 Function deleted.
4441 (elisp--xref-format-cl-defmethod): New defconst.
4442 (find-feature-regexp, find-alias-regexp): New defcustoms.
4443 (elisp--xref-make-xref): New function.
4444 (elisp--xref-find-definitions): Rewrite using the above, handle many
4445 more cases. Always output all available definitions.
4446 (xref-location-marker): No need for special cases.
4447 * test/automated/elisp-mode-tests.el: Add more tests of
4448 elisp--xref-find-definitions, improve current tests.
4449
4450 2015-08-10 Eli Zaretskii <eliz@gnu.org>
4451
4452 Fix recording of events pushed onto unread-command-events
4453 * src/keyboard.c (read_char): Make sure events read from
4454 unread-command-events and unread-post-input-method-events are
4455 always recorded by record_char. Reported by David Kastrup
4456 <dak@gnu.org>, see
4457 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
4458
4459 2015-08-10 Samer Masterson <samer@samertm.com>
4460
4461 Set file buffer as current for "--file"
4462 * lisp/startup.el (command-line-1): Set file buffer as current before
4463 it is displayed so it can be used with options like "--eval".
4464 (Bug#21095)
4465
4466 2015-08-10 Eli Zaretskii <eliz@gnu.org>
4467
4468 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
4469 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
4470 after setting LC_ALL to the desired locale, to avoid affecting how
4471 numbers are read and printed. (Bug#21223)
4472
4473 2015-08-10 Alan Mackenzie <acm@muc.de>
4474
4475 Fix "Invalid search bound (wrong side of point)" in fontification
4476 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
4477 an initialization expression, check point is not beyond the
4478 fontification limit.
4479
4480 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
4481
4482 Fix DPI calculation when Xft/DPI is default
4483 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
4484 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
4485 Remove unnecessary cast while we're in the neighborhood.
4486
4487 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
4488
4489 Add project-vc-search-path and project-vc-ignores
4490 * lisp/progmodes/project.el (project-vc): New group.
4491 (project-vc-search-path, project-vc-ignores): New variables.
4492 (project--value-in-dir): Utility function.
4493 (project-search-path, project-ignores): Use them.
4494 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
4495 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
4496
4497 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
4498
4499 Fix some minor quoting issues with grave accent
4500 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
4501 Remove redundant quotes.
4502 * src/doc.c (uLSQM, uRSQM): New macros.
4503 * src/doc.c (Fsubstitute_command_keys):
4504 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
4505 preference for quotes rather than hardcoding the ‘grave’ style.
4506 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
4507 (re_match_2_internal) [DEBUG]: In debugging output, quote C
4508 strings with "...", not `...'.
4509
4510 ChangeLog.2 ignores remote-tracking merges
4511 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
4512 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
4513 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
4514
4515 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
4516
4517 Use kpsewhich in ffap-latex-mode, if available
4518 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
4519 (ffap-latex-mode): Use kpsewhich if available.
4520
4521 ffap: disallow braces in filenames for tex modes
4522 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
4523 braces in tex-related modes.
4524
4525 Remove useless backslashes from ffap-string-at-point-mode-alist
4526 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
4527 misleading backslashes from default value.
4528
4529 Augment docstring of ffap-string-at-point-mode-alist
4530 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
4531 and END are handled.
4532
4533 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
4534
4535 Remove no-op calls to substitute-command-keys
4536 * lisp/org/org-src.el (org-edit-src-code)
4537 (org-edit-fixed-width-region):
4538 * lisp/simple.el (completion-setup-function):
4539 Remove calls to substitute-command-keys that always just return
4540 their argument.
4541
4542 2015-08-09 Daiki Ueno <ueno@gnu.org>
4543
4544 Utilize `quit-window' in epa.el
4545 * epa.el (epa-exit-buffer-function): Set to `quit-window'.
4546 (Bug#21210)
4547
4548 2015-08-09 Ivan Kanis <ivan@kanis.fr>
4549
4550 Fix link to source code in help window
4551 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
4552 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
4553 'No longer include timestamp in header of .elc files'. Add code
4554 that will return .el source file in load-path.
4555
4556 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
4557
4558 * isearch.el (isearch-search-fun-default): (Bug#21164)
4559 Respect `isearch-lax-whitespace' when searching through
4560 `isearch-word'.
4561
4562 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
4565
4566 * org.el: Fix up some lexical scoping warnings, and use dolist
4567 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
4568 (org-set-regexps-and-options, org-assign-fast-keys)
4569 (org-contextualize-keys, org-contextualize-validate-key)
4570 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
4571 (org-find-olp, org-find-exact-heading-in-directory)
4572 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
4573 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
4574 (org-replace-escapes): Use dolist.
4575 (org-mode): Optimize away XEmacs-only code.
4576 (org-refile-get-targets): Remove unused var `f'.
4577 (org-fast-todo-selection): Remove unused var `e'.
4578 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
4579 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
4580 (org-format-latex): Use dolist. Remove unused var `e'.
4581 (org-toggle-heading): Access vars lexically rather than dynamically.
4582 (org-backward-sentence, org-forward-sentence, org-meta-return)
4583 (org-kill-line): Mark arg as unused.
4584 (org-submit-bug-report): Silence compiler warning.
4585 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
4586 (org-get-cursor-date): Remove unused var `tm'.
4587 (org-comment-or-uncomment-region): Use standard name `_'.
4588 (reftex-docstruct-symbol, reftex-cite-format): Declare to
4589 silence byte-compiler.
4590 (org-reftex-citation): Add `org--' prefix to dynamically scoped
4591 `rds' var.
4592
4593 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 Electric quote if coding is undecided or no conv
4596 * lisp/electric.el (electric--insertable-p): Also say that a
4597 string is insertable if the buffer file coding system is undecided
4598 or uses no conversion, as curved quotes will work in either case.
4599
4600 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
4601
4602 2015-08-08 Eli Zaretskii <eliz@gnu.org>
4603
4604 Fix overlay string display regressions introduced in Emacs 24.5
4605 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
4606 buffer position, if we move the iterator to a new position as
4607 result of jumping over text covered by a "replacing" display
4608 property.
4609 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
4610
4611 Support recovery from C stack overflow on MS-Windows
4612 * src/w32fns.c (w32_reset_stack_overflow_guard)
4613 (stack_overflow_handler): New functions for handling C stack
4614 overflow exceptions.
4615 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
4616 specially, and zero out except_addr if we do.
4617 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
4618 mode.
4619 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
4620 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
4621 the MinGW build, but the code guarded by that is for Posix hosts.
4622 * src/keyboard.c (command_loop) [WINDOWSNT]: Call
4623 w32_reset_stack_overflow_guard.
4624 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
4625 (sigsetjmp): New macro.
4626 (w32_reset_stack_overflow_guard): Declare the prototype.
4627 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
4628
4629 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
4630
4631 Improve error signalling for seq-subseq
4632 * lisp/seq.el (seq-subseq): The existing behaviour is to error
4633 when indexes are too large, but to silently ignore numbers which
4634 are too negative for lists. String and vector handling errors in
4635 both cases. This has been regularized. Error signaling behavior
4636 has been explicitly added to the doc string.
4637
4638 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
4639 therefore also impacted by this change. Update the doc string
4640 to reflect this.
4641
4642 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
4643 added for these exceptional cases, as well as one non exceptional
4644 base case.
4645
4646 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
4647
4648 Improve error checking in tramp-adb.el
4649 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
4650 Improve error checking. "ls -l" on Android in Enforcing mode can
4651 print "lstat './FILENAME failed: Permission denied".
4652
4653 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
4656 non-struct vectors.
4657
4658 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
4659
4660 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
4661 * lisp/window.el: Fix typo that broke build.
4662 (display-buffer--action-function-custom-type): Add
4663 `display-buffer-use-some-frame'.
4664 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
4665
4666 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
4667 * lisp/window.el (display-buffer-use-some-frame): Add support for
4668 'inhibit-same-window in alist.
4669 * doc/windows.texi (display-buffer-use-some-frame): Doc support for
4670 'inhibit-same-window in alist.
4671
4672 2015-08-07 Eli Zaretskii <eliz@gnu.org>
4673
4674 Avoid infinite loop in display of invisible text in strings
4675 * src/xdisp.c (handle_invisible_prop): If the next change of
4676 invisibility spec does not mean the beginning of a visible text,
4677 update the string position from which to start the search for the
4678 next invisibility change. This avoids an infinite loop when we
4679 have more than one invisibility spec that are made inactive by
4680 buffer-invisibility-spec. Simplify code. (Bug#21200)
4681 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
4682 for the situation that caused bug #21200.
4683
4684 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
4685
4686 * lisp/emacs-lisp/package.el: Simplify describe-package-1
4687 (package-help-section-name-face): New face.
4688 (package--print-help-section): New function.
4689 (describe-package-1): Refactor section printing.
4690 (package-make-button): Use face instead of font-lock-face, which
4691 doesn't work on buttons.
4692
4693 * lisp/emacs-lisp/package.el: Define custom faces
4694 (package-name-face, package-description-face)
4695 (package-status-built-in-face, package-status-external-face)
4696 (package-status-available-face, package-status-new-face)
4697 (package-status-held-face, package-status-disabled-face)
4698 (package-status-installed-face, package-status-dependency-face)
4699 (package-status-unsigned-face, package-status-incompat-face)
4700 (package-status-avail-obso-face): New faces.
4701 (package-menu--print-info-simple): Use them.
4702
4703 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
4704
4705 Fix some confusion with ‘format’
4706 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
4707 (allout-graphics-modification-handler):
4708 Protect arbitrary string in a format context with "%s" format.
4709 * lisp/avoid.el:
4710 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
4711 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
4712 * lisp/erc/erc-button.el (erc-button-beats-to-time):
4713 * lisp/gnus/message.el (message-send-form-letter):
4714 * lisp/org/ob-core.el (org-babel-check-evaluate)
4715 (org-babel-confirm-evaluate):
4716 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
4717 * lisp/org/ox-latex.el (org-latex-compile):
4718 * lisp/org/ox-man.el (org-man-compile):
4719 * lisp/org/ox-odt.el (org-odt-template):
4720 * lisp/org/ox-texinfo.el (org-texinfo-compile):
4721 * lisp/progmodes/prolog.el (prolog-help-info)
4722 (prolog-view-predspec):
4723 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
4724 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
4725 * lisp/textmodes/rst.el (rst-replace-lines):
4726 Change (message (format ...)) to (message ...), and likewise
4727 for ‘error’. This lessens the probability of confusion when the
4728 output of ‘format’ contains ‘%’.
4729
4730 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
4731
4732 * lisp/replace.el (replace-character-fold): Default to nil.
4733
4734 * lisp/character-fold.el: Fix lax whitespace.
4735 (character-fold-table): Don't make space match other whitespace chars.
4736 (character-fold-to-regexp): Simplify lax behavior.
4737
4738 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 Preserve window point in xref-find-definitions-other-window
4741 Fix the problem reported by Ingo Logmar in
4742 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
4743 * lisp/progmodes/xref.el (xref--goto-char): Extract from
4744 xref--goto-location.
4745 (xref--pop-to-location): Use it. Replace xref--goto-location with
4746 a direct xref-location-marker call.
4747 (xref--show-location): Likewise.
4748 (xref--display-position): Use xref--goto-char.
4749
4750 * lisp/progmodes/project.el: Add a paragraph to the front matter.
4751
4752 2015-08-04 David Kastrup <dak@gnu.org>
4753
4754 Do not overwrite preexisting contents of unread-command-events
4755 * lisp/vc/emerge.el (emerge-show-file-name):
4756 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
4757 (vhdl-comment-insert, vhdl-hooked-abbrev):
4758 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
4759 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
4760 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
4761 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
4762 * lisp/obsolete/vip.el (vip-escape-to-emacs)
4763 (vip-prefix-arg-value, vip-prefix-arg-com):
4764 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
4765 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
4766 (quail-tibkey-update-translation):
4767 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
4768 * lisp/leim/quail/lao.el (quail-lao-update-translation):
4769 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
4770 (quail-japanese-self-insert-and-switch-to-alpha):
4771 * lisp/leim/quail/hangul.el (hangul2-input-method)
4772 (hangul3-input-method, hangul390-input-method):
4773 * lisp/language/hanja-util.el (hangul-to-hanja-char):
4774 * lisp/international/robin.el (robin-input-method):
4775 * lisp/international/quail.el (quail-start-translation)
4776 (quail-start-conversion):
4777 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
4778 (gnus-article-describe-key-briefly):
4779 * lisp/eshell/em-hist.el (eshell-list-history):
4780 * lisp/term.el (term-dynamic-list-input-ring)
4781 (term-dynamic-list-completions):
4782 * lisp/subr.el (momentary-string-display):
4783 * lisp/simple.el (read-quoted-char):
4784 * lisp/pcomplete.el (pcomplete-show-completions):
4785 * lisp/kmacro.el (kmacro-repeat-on-last-key):
4786 * lisp/info.el (Info-summary):
4787 * lisp/ehelp.el (electric-help-command-loop):
4788 * lisp/ebuff-menu.el (electric-buffer-list)
4789 (Electric-buffer-menu-exit):
4790 * lisp/double.el (double-translate-key):
4791 * lisp/comint.el (comint-dynamic-list-input-ring)
4792 (comint-dynamic-list-completions): Do not overwrite preexisting
4793 contents of `unread-command-events' when putting new events into
4794 it.
4795
4796 2015-08-04 Daniel Colascione <dancol@dancol.org>
4797
4798 Improve ansi-color filtering of unrecognized escape sequences
4799 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
4800 escape sequences.
4801 (ansi-color-filter-apply, ansi-color-apply): Filter out
4802 unrecognized escape sequences.
4803
4804 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
4805
4806 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
4807 definitions to `easy-menu-define', improve a couple to account for
4808 async, and add a couple of new commands.
4809
4810 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
4811
4812 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
4813
4814 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
4815
4816 Add new 'calendar-weekend-days' option
4817 Make the days receiving the 'calendar-weekend-header' face freely
4818 customizable, as they differ by region/culture.
4819 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
4820 new variable.
4821 * lisp/calendar/calendar.el (calendar-generate-month): New variable
4822 calendar-weekend-days to customize day header fontification.
4823
4824 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
4825
4826 Redo text-quoting-style variable
4827 Rename help-quote-translation to text-quoting-style,
4828 and use symbols rather than characters as values.
4829 This follows suggestions along these lines by Alan Mackenzie in:
4830 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
4831 and by Drew Adams in:
4832 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
4833 * doc/lispref/help.texi (Keys in Documentation)
4834 * etc/NEWS:
4835 * lisp/cus-start.el (standard):
4836 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
4837 Document and/or implement the new behavior instead of the old.
4838 (syms_of_doc): New symbols 'grave' and 'straight'.
4839
4840 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
4841
4842 nnimap.el: Use IMAP MOVE extension if available
4843 * lisp/gnus/nnimap.el (nnimap-request-move-article)
4844 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
4845 Use MOVE extension if available.
4846
4847 nnimap.el: Explicitly ask for server capabilities
4848 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
4849 capabilities will be returned in the login-result.
4850
4851 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
4852
4853 Treat help strings like other doc strings
4854 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
4855 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
4856 substitute-command-keys.
4857 * src/keyboard.c (show_help_echo, parse_menu_item): Call
4858 substitute-command-keys on the help string before displaying it.
4859
4860 Also mention "curly quotes"
4861 See Drew Adams's email in:
4862 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
4863 * doc/lispref/help.texi (Keys in Documentation):
4864 Add index entry "curly quotes".
4865 * etc/NEWS: Use the phrase "curly quotes" too.
4866
4867 ede-proj-target-makefile docstring tweaks
4868 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
4869 Consistently use "all:" to describe the all: target,
4870 replacing three different and confusingly-quoted usages.
4871
4872 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
4873
4874 Don't abort emacsclientw when -a was specified
4875 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
4876 out if we are in emacsclientw and -a was specified.
4877
4878 2015-08-02 Eli Zaretskii <eliz@gnu.org>
4879
4880 Fix handling of 1st keystroke on MS-Windows
4881 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
4882 This is needed to correctly handle the session's first keystroke,
4883 if it has any modifiers. (Bug#19994)
4884
4885 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
4886
4887 Substitute some customization etc. doc strings
4888 These changes apply substitute-command-keys to some
4889 doc strings that were going through untranslated
4890 when creating customization or other widgets.
4891 * lisp/cus-edit.el (custom-group-value-create):
4892 * lisp/wid-edit.el (widget-default-create):
4893 (widget-push-button-value-create):
4894 Treat the widget tag as a doc string.
4895 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
4896 Treat the :documentation value as a doc string.
4897 * lisp/wid-edit.el (widget-choose):
4898 Treat the choice names as doc strings.
4899 (widget-default-create): Treat the :doc value as a doc string.
4900 (widget-toggle-value-create): Treat the :on and :off values
4901 as doc strings.
4902 (widget-documentation-string-value-create):
4903 Substitute the doc string.
4904
4905 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
4906
4907 Add a second argument to project-ignores
4908 * lisp/progmodes/project.el (project-ignores): Add a second
4909 argument DIR.
4910 * lisp/progmodes/project.el (project-ignores): Only include the VC
4911 ignores if DIR is the VC root.
4912 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
4913
4914 2015-08-01 Eli Zaretskii <eliz@gnu.org>
4915
4916 Prevent incorrect display when 'line-spacing' variable is set
4917 * src/xdisp.c (try_window_id): Give up this optimization if the
4918 buffer has its 'line-spacing' variable set non-nil.
4919
4920 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
4921
4922 Don't pass NOVISIT to find-file
4923 * lisp/progmodes/etags.el (next-file):
4924 Don't pass NOVISIT to find-file (bug#21175).
4925
4926 Ignore buffer restriction for tags-loop-eval
4927 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
4928 restriction (bug#21167).
4929
4930 2015-08-01 Eli Zaretskii <eliz@gnu.org>
4931
4932 Fix a thinko in 'ffap-gopher-at-point'
4933 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
4934
4935 Honor 'line-spacing' for empty lines
4936 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
4937 property and 'line-spacing' frame parameter or variable or
4938 property for empty lines, by doing the same processing as in
4939 x_produce_glyph for newline characters. (Bug#21165)
4940
4941 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
4942
4943 Simplify by assuming C99 integer division
4944 * src/floatfns.c (ceiling2, floor2, truncate2):
4945 Assume C99 (i.e., Fortran) semantics for integer division.
4946 This simplifies the code.
4947
4948 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
4949
4950 Don't overflow if computing approximate percentage
4951 * lisp/align.el (align-region):
4952 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
4953 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
4954 * lisp/cus-edit.el (custom-buffer-create-internal):
4955 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
4956 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
4957 (checkdoc-next-message-error):
4958 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
4959 * lisp/epa.el (epa-progress-callback-function):
4960 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
4961 * lisp/ffap.el (ffap-menu-rescan):
4962 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
4963 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
4964 * lisp/gnus/nneething.el (nneething-retrieve-headers):
4965 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
4966 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
4967 * lisp/gnus/nnml.el (nnml-retrieve-headers):
4968 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
4969 * lisp/gnus/nntp.el (nntp-retrieve-headers)
4970 (nntp-retrieve-articles):
4971 * lisp/imenu.el (imenu--relative-position):
4972 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4973 (skkdic-convert-okuri-nasi):
4974 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
4975 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
4976 * lisp/org/org-list.el (org-update-checkbox-count):
4977 * lisp/org/org.el (org-table-map-tables)
4978 (org-update-parent-todo-statistics):
4979 * lisp/play/decipher.el (decipher-insert-frequency-counts)
4980 (decipher-analyze-buffer):
4981 * lisp/profiler.el (profiler-format-percent):
4982 * lisp/progmodes/cc-cmds.el (c-progress-update):
4983 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
4984 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
4985 (idlwave-list-load-path-shadows):
4986 * lisp/progmodes/opascal.el (opascal-step-progress):
4987 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
4988 (vhdl-scan-directory-contents):
4989 * lisp/textmodes/bibtex.el (bibtex-progress-message):
4990 * lisp/textmodes/flyspell.el (flyspell-small-region)
4991 (flyspell-external-point-words):
4992 * lisp/textmodes/table.el (table-recognize):
4993 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
4994 progress-report percentages and the like. This avoids problems
4995 if (* 100 NUMERATOR) would overflow.
4996 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
4997 * lisp/gnus/registry.el (registry-reindex):
4998 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
4999 * lisp/descr-text.el (describe-char):
5000 * lisp/org/org-colview.el (org-nofm-to-completion):
5001 * lisp/ps-print.el (ps-plot):
5002 * lisp/simple.el (what-cursor-position):
5003 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
5004 more-complicated and less-accurate approximation.
5005
5006 Fix some int overflows in profiler.c
5007 * src/profiler.c (make_log): Make args EMACS_INT, not int,
5008 to avoid unwanted behavior on 'int' overflow.
5009 (make_log, evict_lower_half, record_backtrace):
5010 Use ptrdiff_t, not int, for object indexes.
5011
5012 Port to pedantic memcpy
5013 * src/keyboard.c (menu_bar_items, tool_bar_items):
5014 * src/xrdb.c (magic_db):
5015 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
5016
5017 Merge from gnulib
5018 This incorporates:
5019 2015-07-29 time_rz: port to pedantic memcpy
5020 * lib/time_rz.c: Copy from gnulib.
5021
5022 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
5023
5024 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Fix bug
5025 When updating the very last entry, tabulated-list-print would
5026 erase it and then try to look at the next one (which obviously
5027 isn't there).
5028
5029 2015-07-31 Eli Zaretskii <eliz@gnu.org>
5030
5031 Allow to use the old key processing code on MS-Windows
5032 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
5033 New variable.
5034 (w32_wnd_proc): Use it to invoke the old code that processed
5035 character keys, as fallback, when this variable is non-nil. Fix
5036 typos in comments. (Bug#19994)
5037
5038 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
5039
5040 Improve handling of Unicode keyboard input on MS-Windows
5041 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
5042 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
5043 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
5044 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
5045 successful, don't call TranslateMessage. (Bug#19994)
5046
5047 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 Fix default-directory in changeset diffs after vc-print-log
5050 * lisp/vc/log-view.el (log-view-diff-common): Move the
5051 revision-granularity check back into log-view-diff-changeset.
5052 (log-view-diff-changeset): Bind default-directory to the current
5053 VC root.
5054
5055 Rename project-directories to project-roots
5056 * lisp/progmodes/project.el (project-search-path-function)
5057 (project-search-path): Update the docstring.
5058 (project-directories): Rename to `project-roots', update all
5059 callers and implementations accordingly.
5060 (project-root): Remove.
5061 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
5062 as the default file mask.
5063
5064 2015-07-30 Eli Zaretskii <eliz@gnu.org>
5065
5066 Support long URLs in w32-shell-execute
5067 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
5068 and filename_to_ansi to convert the DOCUMENT argument, as it could
5069 be a URL that is not limited to MAX_PATH characters. Instead, use
5070 MultiByteToWideChar directly, and allocate heap storage as
5071 required to accommodate the converted string. Likewise with
5072 non-Unicode operation. Ensure OPERATION is null-terminated, even
5073 if it is longer than 32K bytes. (Bug#21158)
5074
5075 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
5076
5077 vc-mtn-find-revision handle null rev.
5078 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): handle null rev
5079
5080 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
5081
5082 Add docs for display-buffer action display-buffer-use-some-frame
5083 * lisp/window.el (display-buffer-use-some-frame): improve doc string
5084 * doc/lispref/windows.texi (Display Action Functions): add
5085 display-buffer-use-some-frame
5086 * etc/NEWS: mention display-buffer-use-some-frame
5087
5088 Add display-buffer action display-buffer-use-some-frame
5089 * lisp/window.el (display-buffer-use-some-frame): new
5090
5091 Handle vc-mtn error more gently
5092 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): return "" when branch is nil
5093
5094 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
5095
5096 Fix Tramp problems with multihops, and nc.
5097 * lisp/net/tramp-cache.el (tramp-get-file-property)
5098 (tramp-set-file-property, tramp-flush-file-property)
5099 (tramp-get-connection-property, tramp-set-connection-property)
5100 (tramp-flush-connection-property): Remove hop from vector.
5101 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
5102 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
5103 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
5104 netstat to 60".
5105 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
5106 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
5107 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
5108 Keep hop in result.
5109 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
5110 Add hop tests.
5111
5112 2015-07-29 Eli Zaretskii <eliz@gnu.org>
5113
5114 Resurrect highlighting of repeated words by Flyspell Mode
5115 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
5116 characters between point and the doublon candidate, so that
5117 flyspell-word-search-backward finds it. (Bug#21157)
5118
5119 Fix redisplay of large images on expose events
5120 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
5121 between signed negative values and unsigned values. This
5122 prevented redisplay on expose events when the window showed a very
5123 large image.
5124
5125 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
5126
5127 Remove unnecessary stack overflow dependency
5128 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
5129 Don't worry about $ac_cv_header_sys_resource_h and
5130 $ac_cv_func_getrlimit, as they're no longer needed for this.
5131 Problem reported by Eli Zaretskii in:
5132 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
5133
5134 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
5135
5136 Pacify compilation -Wincompatible-pointer-types warnings
5137 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
5138 warning.
5139 (CompareStringW_Proc): New typedef.
5140 (w32_compare_strings): Use it, to pacify compiler warnings under
5141 "-Wincompatible-pointer-types".
5142 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
5143 (GetDiskFreeSpaceExA_Proc): New typedefs.
5144 (Ffile_system_info): Use them, to pacify compiler warnings under
5145 "-Wincompatible-pointer-types".
5146
5147 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
5148
5149 Fix subscript error in calculate_direct_scrolling
5150 Use slightly-longer cost vectors. Without this change,
5151 calculate_direct_scrolling can have a subscript violation when
5152 FRAME_LINES (frame) <= delta.
5153 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
5154 (line_ins_del, do_line_insertion_deletion_costs):
5155 Allocate and use slightly-larger cost vectors, ones based on
5156 FRAME_TOTAL_LINES instead of FRAME_LINES.
5157
5158 Fix uninitalized value in encode_coding_object
5159 * src/coding.c (encode_coding_object): Also initialize
5160 coding->src_pos and coding->src_pos_byte when NILP (src_object).
5161 This avoids later use of uninitialized storage.
5162
5163 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
5164
5165 * doc/lispref/variables.texi (Variable Aliases): Typo fix. (Bug#21141)
5166
5167 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
5168
5169 Merge from gnulib
5170 This incorporates:
5171 2015-07-27 time_rz: port better to MinGW
5172 2015-07-27 time: port __need_time_t to MinGW
5173 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
5174 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
5175 * lib/time-internal.h: New file, from gnulib.
5176
5177 2015-07-27 Eli Zaretskii <eliz@gnu.org>
5178
5179 Handle NULL pointers in w32heap.c allocation routines
5180 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
5181 freeable".
5182 (realloc_after_dump, realloc_before_dump, free_before_dump):
5183 Handle NULL pointers gracefully, as Emacs now seems to expect
5184 that.
5185
5186 Fix Cairo build without PNG
5187 * src/image.c: Define PNG function when USE_CAIRO is defined, even
5188 if HAVE_PNG is not. (Bug#21133)
5189
5190 MS-Windows follow-up for recent TZ-related changes
5191 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
5192 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
5193 picking up 'struct timespec' from pthread.h, if it is installed on
5194 the user's system. We want either the definitions from MinGW
5195 system headers, if available, or the Gnulib replacements if not.
5196 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
5197 lib/time.h.
5198 * lib/time.in.h: Don't let __need_* symbols affect what happens on
5199 MinGW. These symbols are defined by MinGW system headers, but we
5200 don't want that to affect whether Gnulib portions of the header
5201 are or aren't used.
5202
5203 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
5204
5205 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
5206
5207 New optional ZONE arg for format-time-string etc.
5208 This simplifies time conversions in other time zones.
5209 It also prevents display-time-world tampering with TZ (Bug#21020).
5210 * admin/admin.el (add-release-logs):
5211 Use improved add-log-time-format API.
5212 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
5213 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
5214 * configure.ac (tzalloc): Remove test for this, since
5215 Emacs no longer uses HAVE_TZALLOC directly.
5216 * doc/lispref/os.texi (Time of Day, Time Conversion)
5217 (Time Parsing):
5218 * etc/NEWS: Document the new behavior.
5219 Merge from gnulib, incorporating:
5220 2015-07-25 strftime: fix newly-introduced bug on Solaris
5221 2015-07-23 fprintftime, strftime: use timezone_t args
5222 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
5223 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
5224 * m4/time_h.m4:
5225 Update from gnulib.
5226 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
5227 New files from gnulib.
5228 * lisp/time-stamp.el (time-stamp-string):
5229 * lisp/time.el (display-time-world-list)
5230 (display-time-world-display):
5231 Use new API, with time zone arg.
5232 * lisp/time.el (display-time-world-display):
5233 Fix race when current-time advances while we're running.
5234 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
5235 (add-log-iso8601-time-string): Accept optional time zone arg.
5236 * lisp/vc/add-log.el (add-change-log-entry):
5237 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
5238 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
5239 Add rules for the time module, since they're now needed
5240 for tzalloc etc.
5241 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
5242 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
5243 * src/editfns.c: Include errno.h.
5244 (set_time_zone_rule): Omit unnecessary forward decl.
5245 (initial_tz): Remove, replacing with ...
5246 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
5247 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
5248 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
5249 (tzlookup): New static functions.
5250 (init_editfns): New arg DUMPING. All uses changed.
5251 (init_editfns): Omit most initialization if dumping, not if
5252 !initialized. Initialize wall_clock_tz and local_tz.
5253 (emacs_nmemftime, format_time_string): Time zone argument can now
5254 be any time zone, not just a boolean for UTC or local time. All
5255 callers changed.
5256 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
5257 (Fcurrent_time_zone): New optional arg ZONE.
5258 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
5259 the same form as with the other new additions.
5260 (decode_time_zone): Remove; no longer needed.
5261 (tzvalbuf): Now file-scope.
5262 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
5263 (syms_of_editfns): Define Qwall.
5264 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
5265 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
5266 [!HAVE_TZALLOC]:
5267 Remove; now supplied by gnulib.
5268 * src/emacs.c (main):
5269 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
5270
5271 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5272
5273 Fix infinite loop in delete-consecutive-dups
5274 * lisp/subr.el (delete-consecutive-dups): Work even if the last
5275 element is nil (Bug#20588). Avoid rescan of a circular list in
5276 deletion of last element.
5277
5278 2015-07-26 Martin Rudalics <rudalics@gmx.at>
5279
5280 Have `x-frame-geometry' return nil for terminal and initial frames (Bug#21132)
5281 * src/nsfns.m (Fx_frame_geometry):
5282 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
5283 terminal frames.
5284 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
5285 (Fx_frame_geometry): Return nil for terminal frames
5286
5287 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
5288
5289 * etc/tutorials/TUTORIAL.ja: Improve translation.
5290
5291 2015-07-25 Eli Zaretskii <eliz@gnu.org>
5292
5293 Avoid crashes when w32 GUI functions are called in -batch
5294 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
5295 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
5296 FRAME_W32_WINDOW for initial frame. (Bug#21132)
5297
5298 Fix flyspell-check-previous-highlighted-word
5299 * lisp/textmodes/flyspell.el
5300 (flyspell-check-previous-highlighted-word): Really accept a
5301 numeric argument, as the doc string describes. Fix an off-by-one
5302 error in looking up overlays, so invocation with point immediately
5303 after a word would check that word. Clarify the doc string as
5304 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
5305
5306 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
5307
5308 Minor cleanup in tramp-tests.el
5309 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
5310 Implement using the documented interface
5311 `tramp-connection-properties', rather than with internal functions.
5312
5313 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
5314
5315 Pass lambdas to `skeleton-read'
5316 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
5317 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
5318 lambdas to `skeleton-read' (bug#20386).
5319
5320 2015-07-24 Eli Zaretskii <eliz@gnu.org>
5321
5322 * INSTALL (DETAILED BUILDING AND INSTALLATION): Mention --without-imagemagick.
5323
5324 Don't require GUI frames and mouse for Flyspell menus
5325 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
5326 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
5327 support, since pop-up menus work with text terminals and can be
5328 controlled via the keyboard.
5329
5330 Improve documentation of Flyspell commands
5331 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
5332 can be invoked via the keyboard. Mention those commands by name
5333 and add them to the fn index. (Bug#21125)
5334
5335 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
5336
5337 Fix some Tramp problems with HP-UX
5338 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5339 Add "tab0" to stty call.
5340 * test/automated/tramp-tests.el (tramp-persistency-file-name):
5341 Set to nil.
5342 (tramp--test-hpux-p): New defun.
5343 (tramp--test-utf8): Use it.
5344
5345 2015-07-22 Glenn Morris <rgm@gnu.org>
5346
5347 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
5348
5349 2015-07-22 Eli Zaretskii <eliz@gnu.org>
5350
5351 Fix point positioning in ffap-next-guess
5352 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
5353 as our callers expect. This was clobbered as part of fixing
5354 bug#5673. (Bug#21107)
5355 (ffap-gopher-at-point): Set ffap-string-at-point-region.
5356
5357 2015-07-22 Martin Rudalics <rudalics@gmx.at>
5358
5359 Fix customization type of `even-window-sizes'.
5360 * lisp/window.el (even-window-sizes): Fix customization type.
5361
5362 Optionally even widths of `display-buffer' windows. (Bug#21100)
5363 * lisp/window.el (quit-restore-window): Restore width if
5364 requested.
5365 (display-buffer-record-window): Record width when window is
5366 reused and horizontally combined.
5367 (even-window-sizes): New option to allow evening window widths.
5368 (even-window-heights): Defalias to `even-window-sizes'.
5369 (window--even-window-heights): Rename to
5370 `window--even-window-sizes'. Handle side-by-side windows.
5371 (display-buffer-use-some-window): Call `window--even-window-sizes'
5372 instead of `window--even-window-heights'.
5373 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
5374 * doc/lispref/windows.texi (Choosing Window Options): Describe
5375 `even-window-sizes'.
5376 (Coordinates and Windows): Fix typo.
5377
5378 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
5379
5380 add file name to autoload error messages.
5381 * lisp/emacs-lisp/autoload.el (autoload-save-buffers): add condition-case
5382 to add file name to error message.
5383
5384 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
5385
5386 Use 0.0.0.1 as test host in Tramp
5387 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
5388 Use 0.0.0.1 as test host.
5389
5390 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
5393 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
5394 Fix inf-loop (bug#21083).
5395
5396 2015-07-21 Glenn Morris <rgm@gnu.org>
5397
5398 * test/automated/package-test.el (package-test-signed):
5399 Update for recent changes.
5400
5401 * test/automated/elisp-mode-tests.el
5402 (elisp-xref-finds-both-function-and-variable)
5403 (elisp-xref-finds-only-function-for-minor-mode):
5404 Update for recent xref name changes.
5405
5406 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
5407
5408 Make eldoc timer non-repeatable
5409 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
5410 non-repeatable. Since it's on post-command hook, that just wasted
5411 CPU cycles.
5412
5413 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
5414
5415 Mention `tramp-connection-properties' in NEWS
5416
5417 Sync with Tramp repository
5418 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
5419 required prior changing its configuration.
5420 (Connection caching, Predefined connection information)
5421 (Remote shell setup): Fix typos.
5422 (Predefined connection information): Describe, how to overwrite
5423 parameters of `tramp-methods'.
5424 (Remote programs, Remote processes, Traces and Profiles):
5425 Simplify example.
5426 (Remote programs): Remove superfluous comment.
5427 * doc/misc/trampver.texi: Update release number.
5428 * lisp/net/tramp-cache.el (tramp-connection-properties): Adapt docstring.
5429 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
5430 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
5431 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
5432 "gvfs-mkdir -p ..." does not work robust.
5433 (tramp-gvfs-maybe-open-connection): Adapt `tramp-get-method-parameter' call.
5434 * lisp/net/tramp-sh.el (tramp-methods):
5435 Add `tramp-remote-shell-login' parameter where it fits.
5436 (tramp-get-remote-path): Use it.
5437 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
5438 (all): Adapt `tramp-get-method-parameter' calls.
5439 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
5440 (tramp-get-method-parameter): Replace argument METHOD by VEC.
5441 Check also for hits in `tramp-connection-properties'. Adapt docstring.
5442 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
5443 (all): Adapt `tramp-get-method-parameter' calls.
5444 * lisp/net/trampver.el Update release number.
5445 * test/automated/tramp-tests.el (tramp--instrument-test-case):
5446 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
5447 (tramp-test13-make-directory, tramp--test-adb-p)
5448 (tramp--test-smb-or-windows-nt-p): Simplify.
5449 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
5450 (tramp--test-special-characters): Fix docstring. Add gvfs and ftp tests.
5451 (tramp--test-utf8): Fix docstring.
5452
5453 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
5454
5455 Add new xref-query-replace command
5456 * lisp/progmodes/xref.el (xref--match-buffer-bounds): New
5457 function, extracted from xref-pulse-momentarily.
5458 (xref-query-replace): New command.
5459 (xref--query-replace-1): New helper function.
5460 (xref--xref-buffer-mode-map): Add `r' binding.
5461
5462 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
5463
5464 Simplify icalendar decoding of Z dates
5465 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
5466 Simplify calculation of time strings with trailing "Z".
5467
5468 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
5469
5470 Do not corrupt grep-find-ignored-files
5471 * lisp/progmodes/project.el (project-ignores): Change the order of
5472 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
5473
5474 Add xref-match-item, and use it
5475 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
5476 (xref-file-location): Add reader for the column slot.
5477 (xref-match-item): New class.
5478 (xref-match-bounds): A method implementation for it.
5479 (xref-make-match): New constructor function.
5480 (xref--current-item): New private variable.
5481 (xref-pulse-momentarily): Use it.
5482 (xref--pop-to-location): Change the first argument to an xref
5483 item, instead of location, bind xref--current-item.
5484 Update all callers.
5485 (xref-next-line, xref-prev-line, xref--next-error-function)
5486 (xref--mouse-2): Look for the property `xref-item',
5487 instead of `xref-location'.
5488 (xref--item-at-point): Likewise. This function replaces
5489 `xref-location-at-point'. Update all callers.
5490 (xref--insert-xrefs): Add the `xref-item' text property, instead
5491 of `xref-location'.
5492 (xref--collect-match): Use xref-make-match.
5493
5494 Rename xref--xref to xref-item
5495 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
5496 Update all references.
5497
5498 Rename xref description slot to summary
5499 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
5500 slot to `summary'.
5501
5502 vc-hg: Perform the print-log call asynchronously
5503 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
5504 asynchronously (bug#21067).
5505
5506 Add xref-after-jump-hook and xref-after-return-hook
5507 * lisp/progmodes/xref.el (xref-after-jump-hook)
5508 (xref-after-return-hook): New hooks.
5509 (xref-pulse-on-jump): Remove, in favor of the above.
5510 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
5511 (xref--pop-to-location, xref--display-position)
5512 (xref-pop-marker-stack): Use the new hooks, as requested in
5513 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
5514
5515 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
5516
5517 Correct js-mode's lighter
5518 * lisp/progmodes/js.el (js-mode): Correct the lighter.
5519
5520 2015-07-19 Leo Liu <sdl.web@gmail.com>
5521
5522 Fix a bug in cfengine3-mode
5523 * progmodes/cfengine.el (cfengine3-mode): Handle nil
5524 eldoc-documentation-function.
5525
5526 2015-07-18 Julien Danjou <julien@danjou.info>
5527
5528 sieve-mode: support "body" test command
5529 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
5530 Add missing "body" test command.
5531
5532 2015-07-18 Eli Zaretskii <eliz@gnu.org>
5533
5534 Fix info-apropos when the default encoding is Latin-N
5535 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
5536 'undecided', so that it is set to the encoding of the Info file we
5537 are about to insert. Otherwise, 'info-apropos' will fail to find
5538 some index nodes in some UTF-8 encoded files, if the buffer's
5539 previous encoding is Latin-N or some such.
5540
5541 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
5542
5543 * epg.el (epg--start): Check that gpgconf can be found before calling it.
5544
5545 Expose more file types to OS X that Emacs understands.
5546 * Cocoa/Emacs.base/Contents/Info.plist: Add editor role for sty, dtx,
5547 json, and org files. Export UTIs for el, elc, and org files.
5548
5549 2015-07-18 Eli Zaretskii <eliz@gnu.org>
5550
5551 Fix visual-order cursor movement when lines are truncated
5552 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
5553 simulate display in a window of infinite width, to allow move_it_*
5554 functions reach positions outside of normal window dimensions.
5555 Remove code that tried to handle a subset of these situations by
5556 manual iteration of buffer text. (Bug#17777)
5557
5558 Fix following Info cross-references to anchors
5559 * lisp/info.el (Info-read-subfile): Add to the returned value the
5560 length of subfile preamble, after converting it to file's byte
5561 offset, as expected by the caller. Use bufferpos-to-filepos.
5562 (Info-find-node-2): If searching for a node with a
5563 1000-character slop fails, try again with a 10000-character slop,
5564 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
5565 * lisp/international/mule-util.el (bufferpos-to-filepos): New
5566 function.
5567 * etc/NEWS: Mention bufferpos-to-filepos.
5568
5569 Fix scrolling backwards on TTY frames under scroll-conservatively
5570 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
5571 in moving backwards on TTY frames. (Bug#21080)
5572
5573 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
5574
5575 Consider a jsdoc tag to be a beginning of a paragraph as well
5576 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
5577 consider a jsdoc tag to be a beginning of a paragraph as well.
5578
5579 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
5580
5581 * lisp/emacs-lisp/package.el: Fix warnings
5582
5583 * lisp/emacs-lisp/package.el (package-buffer-info):
5584 Add author and maintainers to `package-buffer-info'.
5585
5586 * lisp/emacs-lisp/package.el: Many small changes
5587 Replace all instances of 'face with 'font-lock-face.
5588 (describe-package-1): Improve some strings and move the summary up the
5589 list.
5590 (package-install-file): Update docstring.
5591 (package-menu-hide-package): Bind to `H'.
5592
5593 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
5594 Fix error handling.
5595
5596 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
5597
5598 Fix hang with large yanks This should fix the bug fixed by Mike
5599 Crowe's patch in:
5600 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
5601 A problem in this area has been reported by several users; see
5602 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
5603 This fix differs from Mike Crowe's patch in that it should avoid a
5604 race condition that could lose SIGIO signals. ignore_sigio dates
5605 back to the 1980s when some platforms couldn't block signals, and
5606 could only ignore them, which led to races when signals arrived
5607 while being ignored. We shouldn't have to worry about those old
5608 platforms now.
5609 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
5610 * src/emacs.c (shut_down_emacs):
5611 Don't call ignore_sigio; unrequest_sigio should suffice.
5612 * src/keyboard.c (kbd_buffer_store_buffered_event):
5613 Use unrequest_sigio, not ignore_sigio.
5614 (kbd_buffer_get_event):
5615 Call request_sigio when getting the ball rolling again.
5616
5617 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
5618
5619 * lisp/obsolete/longlines.el (longlines-search-function):
5620 Fallback on `isearch-search-fun-default'.
5621
5622 2015-07-17 Tassilo Horn <tsdh@gnu.org>
5623
5624 Support @-mentions
5625 * rcirc.el (rcirc-completion-at-point): Support completion of
5626 mentions/messages with @nick instead of just nick.
5627
5628 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
5629
5630 Fix Bug#20943.
5631 * lisp/autorevert.el (auto-revert-handler): Do not check for
5632 `buffer-modified-p'.
5633 * lisp/files.el (buffer-stale--default-function): Check for
5634 `buffer-modified-p'.
5635 * test/automated/auto-revert-tests.el
5636 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
5637
5638 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
5639
5640 Fix delete-dups bug on long lists
5641 * lisp/subr.el (delete-dups):
5642 Don't mistakenly keep some dups when applied to long lists.
5643
5644 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
5645
5646 Better heuristic for C stack overflow
5647 Improve the heuristic for distinguishing stack overflows from
5648 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
5649 the getrlimit method wasn't portable to Cygwin; see:
5650 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
5651 Corinna suggested pthread_getattr_np but this also has problems.
5652 Instead, replace the low-level system stuff with a simple
5653 heuristic based on known good stack addresses.
5654 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
5655 * src/sysdep.c: Don't include <sys/resource.h>.
5656 (stack_direction): Remove. All uses removed.
5657 (stack_overflow): New function.
5658 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
5659 Make SEGV fatal in non-main threads.
5660
5661 2015-07-16 Daiki Ueno <ueno@gnu.org>
5662
5663 epg: Automatically start pinentry server
5664 * epg-config.el (epg-gpgconf-program): New variable.
5665 * epg.el (epg--start): Call `pinentry-start' if
5666 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
5667
5668 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
5669
5670 * lisp/gnus/nnimap.el: Fix my last bogus change
5671 Reinstall Stefan Monnier's change that was made in
5672 <83d824bc4041332f338ad7e5e830f443535aa300>.
5673
5674 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
5675
5676 Merge from gnulib
5677 This incorporates:
5678 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
5679 2015-07-05 acl-permissions: Fix on FreeBSD
5680 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
5681 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
5682 * lib/set-permissions.c: Copy from gnulib.
5683
5684 Port to stricter C99
5685 * src/keyboard.h (kbd_buffer_store_event_hold):
5686 Don't return a void expression.
5687
5688 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
5689
5690 * doc/emacs/frames.texi (Creating Frames): Fix the command `C-x 5 m' runs.
5691
5692 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
5693
5694 New autorevert tests.
5695 * test/automated/auto-revert-tests.el: New file.
5696
5697 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
5698
5699 Clear gcprolist etc. after stack overflow
5700 After stack overflow, command_loop calls init_eval, and this needs to
5701 clear gcprolist and byte_stack_list (Bug#20996).
5702 * src/alloc.c (init_alloc):
5703 Move gcprolist and byte_stack_list initialization from here ...
5704 * src/eval.c (init_eval): ... to here.
5705
5706 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
5707
5708 * doc/emacs/windows.texi (Pop Up Window): Fix the description of `C-x 4 m'.
5709
5710 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5711
5712 Avoid deprecated enums in mac-ct font backend driver
5713 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
5714 (mac_ctfont_get_advance_width_for_glyph)
5715 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
5716
5717 Cache font family in mac-ct font backend driver
5718 * src/macfont.m (macfont_family_cache): New variable.
5719 (syms_of_macfont): Initialize it.
5720 (macfont_available_families_cache): New variable.
5721 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
5722 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
5723 (macfont_handle_font_change_notification)
5724 (macfont_init_font_change_handler)
5725 (macfont_copy_available_families_cache): New functions.
5726 (macfont_create_family_with_symbol): Use font family caches.
5727 (macfont_list, macfont_list_family): Use
5728 macfont_copy_available_families_cache instead of
5729 mac_font_create_available_families.
5730
5731 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
5732
5733 Show the default value in the prompt
5734 * lisp/progmodes/xref.el: Add `M-?' binding for
5735 xref-find-references. Declare functions `grep-read-files' and
5736 `grep-expand-template'.
5737 (xref--read-identifier): Show the default value in the prompt.
5738
5739 When called with prefix argument, ask for file patterns to search as well
5740 * lisp/progmodes/xref.el (xref-find-regexp): When called with
5741 prefix argument, ask for file patterns to search as well. When
5742 prompting for the directory, require an existing one.
5743 (xref-collect-matches): Add a new argument, FILES. Use it in the
5744 above function.
5745
5746 Add `project-ignores'
5747 * lisp/progmodes/project.el (project-ignores): New generic
5748 function, and an implementation for the VC project type.
5749 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
5750 variant of rgrep-default-command that handles a generic list of
5751 ignores.
5752 (xref-collect-matches): Use it, and pass through to it the value
5753 of the newly added argument.
5754 (xref-find-regexp): Handle ignored paths within the project.
5755 Remove outdated comment.
5756 * lisp/vc/vc.el (vc-default-ignore-completion-table):
5757 Skip the comments and the empty lines.
5758
5759 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
5760
5761 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
5762
5763 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
5764
5765 gnus-registry.el: Correct function argument order
5766 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
5767 Reverse the order of function arguments.
5768
5769 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
5770
5771 Bind grep-highlight-matches to nil
5772 * lisp/progmodes/xref.el (xref-collect-matches):
5773 Bind grep-highlight-matches to nil (bug#20728).
5774
5775 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
5776
5777 nnimap.el: Fix IMAP message size parsing
5778 * lisp/gnus/nnimap.el (nnimap-transform-headers):
5779 Don't assume that UID comes before RFC822.SIZE.
5780
5781 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
5784 (auth-source-creation-prompts): Declare.
5785 (nnimap-retrieve-headers, nnimap-status-message)
5786 (nnimap-request-create-group, nnimap-request-delete-group)
5787 (nnimap-close-group, nnimap-request-move-article)
5788 (nnimap-request-accept-article, nnimap-request-newgroups)
5789 (nnimap-request-post, nnimap-dummy-active-number)
5790 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
5791 (nnimap-parse-flags): Remove unused var `p'.
5792 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
5793 (nnimap-flags-to-marks): Remove unused var `totalp'.
5794
5795 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
5796
5797 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
5798
5799 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5800
5801 * src/macfont.m (macfont_list): Ignore font families lacking font descriptors.
5802
5803 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
5804
5805 Don't check the exit status, it can be misleading
5806 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
5807 exit status, it can be misleading.
5808
5809 Introduce a Project API
5810 * lisp/progmodes/project.el: New file.
5811 * lisp/cedet/ede.el: (project-try-ede): New function.
5812 (project-root): New implementation.
5813 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
5814 Set project-search-path-function.
5815 (elisp--xref-find-references): Delegate some logic to
5816 project-search-path.
5817 (elisp-search-path): New function.
5818 (elisp-xref-find): Don't implement `matches' anymore.
5819 * lisp/progmodes/etags.el: Don't implement `matches'.
5820 Delegate some logic to project-search-path.
5821 (etags-search-path): New function.
5822 * lisp/progmodes/xref.el (xref-find-function):
5823 Remove `matches' from the API.
5824 (xref-find-regexp): Move whatever common logic was in elisp and
5825 etags implementations, and search the directories returned by
5826 project-directories and project-search-path.
5827
5828 2015-07-09 Nicolas Petton <nicolas@petton.fr>
5829
5830 * test/automated/map-tests.el (test-map-delete-return-value): Uncomment test.
5831
5832 Add support for gv.el in map.el
5833 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
5834 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
5835 * test/automated/map-tests.el: Update tests to work with the new
5836 implementations of map-elt and map-put.
5837
5838 2015-07-09 Glenn Morris <rgm@gnu.org>
5839
5840 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
5841
5842 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
5843
5844 Syntax-propertize until the end of the line first
5845 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
5846 until the end of the line first.
5847
5848 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
5849
5850 * doc/emacs/files.texi (File Archives): Add a cross reference.
5851
5852 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
5853
5854 nnimap.el: Handle plain value for nnimap-stream
5855 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
5856 capabilities, so that a 'plain value for the `nnimap-stream' server
5857 variable is handled correctly.
5858 * doc/misc/gnus.texi (Customizing the IMAP Connection):
5859 Document the 'plain option.
5860
5861 2015-07-08 Leo Liu <sdl.web@gmail.com>
5862
5863 Fix bug in thing-at-point--bounds-of-well-formed-url
5864 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
5865 sure boundary contains current point.
5866
5867 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
5868
5869 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end.
5870
5871 Declare whitespace-line-column a safe file-local
5872 * lisp/whitespace.el (whitespace-line-column): Declare to be a
5873 safe file-local when the value is an integer.
5874
5875 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
5876
5877 gnus-group.el: Check if group names are already strings
5878 * lisp/gnus/gnus-group.el (gnus-group-group-name):
5879 The group name may already be a string.
5880 Specifically, in the group list reached from the *Server* buffer,
5881 the 'gnus-group text property returns a string. Everywhere else
5882 it returns a symbol.
5883
5884 nnimap.el: Remove unused let variables
5885 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
5886
5887 2015-07-08 Eli Zaretskii <eliz@gnu.org>
5888
5889 Support "maximized" property of runemacs's shortcut
5890 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
5891 the '--maximized' switch to Emacs.
5892
5893 Support "minimized" property of runemacs's shortcut
5894 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
5895 pass the '--iconic' switch to Emacs. (Bug#20991)
5896
5897 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
5898
5899 Doc fixes
5900 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
5901 C-w' in Diff mode.
5902 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
5903 Add a cross reference.
5904
5905 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
5906
5907 * lisp/obsolete/landmark.el: Add Obsolete-since header
5908
5909 2015-07-07 Glenn Morris <rgm@gnu.org>
5910
5911 * test/automated/ert-tests.el (ert-test-deftest):
5912 Update for recent changes.
5913
5914 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
5917 * lisp/emacs-lisp/gv.el (gv-setter): New function.
5918 (gv-invalid-place): New error.
5919 (gv-get): Use them.
5920 (gv-synthetic-place, gv-delay-error): New places.
5921 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
5922 (cl-defgeneric, cl-defmethod): Use gv-setter.
5923
5924 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
5925
5926 Make vc-tests work with MSYS svn program
5927 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
5928 svn is an MSYS program.
5929
5930 2015-07-07 Ken Brown <kbrown@cornell.edu>
5931
5932 Improve recent change to emacsclient on Cygwin
5933 * lisp/server.el (server-process-filter): Remove redundant check
5934 that 'cygwin-convert-file-name-from-windows' is defined as a
5935 function on Cygwin. Don't call that function unless its argument
5936 starts with a drive letter.
5937
5938 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
5939
5940 * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix
5941 Fix void variable due to `found-something' being in the wrong `let'.
5942
5943 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5944
5945 * lisp/play/landmark.el: Move to lisp/obsolete/
5946
5947 2015-07-07 Martin Rudalics <rudalics@gmx.at>
5948
5949 Have `x-show-tip' handle `right' and `bottom' frame parameters.
5950 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
5951 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
5952 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
5953 tooltips also via `right' and `bottom' frame parameters.
5954
5955 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 Add online-help support to describe types
5958 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
5959 (describe-symbol): Improve the selection of default.
5960 * lisp/help-mode.el: Require cl-lib.
5961 (describe-symbol-backends): Move from help-fns.el.
5962 (help-make-xrefs): Use it.
5963 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
5964 for types.
5965 (cl--typedef-regexp): New const.
5966 (find-function-regexp-alist): Add entry for types.
5967 (cl-help-type, cl-type-definition): New buttons.
5968 (cl-find-class): New function.
5969 (cl-describe-type): New command.
5970 (cl--describe-class, cl--describe-class-slot)
5971 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
5972 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
5973 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
5974 New functions. Moved from eieio-opt.el.
5975 (cl--generic-class-parents): New function, extracted from
5976 cl--generic-struct-specializers.
5977 (cl--generic-struct-specializers): Use it.
5978 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
5979 Improve constructor's docstrings.
5980 (cl-struct-unknown-slot): New error.
5981 (cl-struct-slot-offset): Use it.
5982 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
5983 definition in current-load-list.
5984 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
5985 (eieio--add-new-slot): Set it.
5986 (eieio-defclass-internal): Use new name for current-load-list.
5987 (eieio-oref): Add compiler-macro to warn about unknown slots.
5988 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
5989 as compile-time as well. Improve constructor docstrings.
5990 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
5991 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
5992 (eieio-class-def): Remove button.
5993 (eieio-help-constructor): Use new name for load-history element.
5994 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
5995 (eieio-method-documentation): Move to cl-generic.el.
5996 (eieio-display-method-list): Use new names.
5997 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5998 Add "define-linline".
5999 (lisp-fdefs): Remove "defsubst".
6000 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
6001 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
6002 (macroexp--warn-and-return): Use it to avoid inf-loops.
6003 Add `compile-only' argument.
6004
6005 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
6006
6007 python.el: Fix local/remote shell environment setup
6008 * lisp/progmodes/python.el (python-shell-with-environment): Fix
6009 remote/local environment setup.
6010 * test/automated/python-tests.el (python-shell-with-environment-1)
6011 (python-shell-with-environment-2): New tests.
6012
6013 2015-07-06 Glenn Morris <rgm@gnu.org>
6014
6015 * lisp/simple.el (set-variable): Tweak recent doc fix.
6016
6017 2015-07-06 Ken Brown <kbrown@cornell.edu>
6018
6019 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE
6020
6021 2015-07-06 Glenn Morris <rgm@gnu.org>
6022
6023 * lisp/simple.el (set-variable): Use user-error for type mismatch.
6024
6025 2015-07-06 Ken Brown <kbrown@cornell.edu>
6026
6027 * src/emacs.c (main): Don't increase the stack size on Cygwin
6028
6029 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 (describe-symbol): Rewrite describe-function-or-variable
6032 * lisp/help-fns.el (describe-symbol-backends): New var.
6033 (help-xref-stack-item): Declare.
6034 (describe-symbol): Rename from describe-function-or-variable.
6035 Rewrite using describe-symbol-backends instead of help-xref-interned.
6036 * lisp/help.el (help-map): Use it.
6037 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
6038 (help-xref-interned): Make it into an obsolete alias.
6039
6040 (eieio-persistent-save): Don't ignore `file' arg (bug#20972)
6041 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
6042 `file' arg. Always use utf-8-emacs. Use with-temp-buffer and cl-letf.
6043
6044 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
6045
6046 Fix parsing glitches in dired-mark-sexp (bug#13575)
6047 * lisp/dired-x.el (dired-x--string-to-number): New function.
6048 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
6049 of directory-listing-before-filename-regexp. Consider
6050 forward-word harmful and replace it. Add more verbiage in
6051 comments and doc string.
6052
6053 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
6054
6055 python.el: Respect process environment for remote shells
6056 * lisp/progmodes/python.el
6057 (python-shell-calculate-process-environment): Calculate
6058 process-environment or tramp-remote-process-environment depending
6059 whether current file is remote.
6060 (python-shell-calculate-exec-path): Calculate exec-path or
6061 tramp-remote-path depending whether current file is remote.
6062 (python-shell-with-environment): New macro.
6063 (python-shell-prompt-detect, python-shell-calculate-command)
6064 (python-shell-make-comint, python-check): Use it.
6065
6066 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
6067 * lisp/progmodes/python.el (python-shell--interpreter)
6068 (python-shell--interpreter-args): New vars.
6069 (inferior-python-mode, python-shell-make-comint): Use them.
6070
6071 python.el: Fixes for IPython 3.x (Bug#20580)
6072 * lisp/progmodes/python.el:
6073 (python-shell-completion-native-setup): Fix IPython 3.x setup.
6074 (python-shell-completion-native-get-completions): Fix timeout
6075 logic.
6076
6077 python.el: Fix mark-defun behavior (Bug#19665)
6078 * lisp/progmodes/python.el: (python-mark-defun): New function.
6079 * test/automated/python-tests.el (python-mark-defun-1)
6080 (python-mark-defun-2, python-mark-defun-3): New tests.
6081
6082 2015-07-05 Glenn Morris <rgm@gnu.org>
6083
6084 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
6085 such as "extends(parent), private". (Bug#20969)
6086 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
6087 New tests.
6088
6089 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
6090
6091 Avoid duplicate calls to current_timespec
6092 * src/process.c (wait_reading_process_output):
6093 Cache current_timespec results as long as we're not waiting.
6094
6095 2015-07-05 Ian Kelling <ian@iankelling.org>
6096
6097 Avoid returning early reading process output due to SIGIO
6098 * src/process.c (wait_reading_process_output): Extend the behavior of
6099 not breaking due to not finding output when a timer has lowered the
6100 timeout to include when SIGIO lowers the timeout.
6101
6102 Don't return as fast reading any process output
6103 * src/process.c (wait_reading_process_output):
6104 The patch for Bug#17647 returns too fast sometimes when reading
6105 from any processes. Revert part of it, and limit the timeout more
6106 sensibly (Bug#20978).
6107
6108 Refactor timeouts in wait_reading_process_output
6109 * src/process.c (wait_reading_process_output):
6110 Simplify timeouts with an enum. Remove a redundant condition.
6111 (Bug#20978)
6112
6113 Remove ADAPTIVE_READ_BUFFERING ifdef
6114 * src/process.c (make-process, make-pipe-process, deactivate_process)
6115 (wait_reading_process_output, read_process_output, send_process)
6116 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
6117 added in case there was an operating system in which it was not
6118 useful. That was 11 years ago and it hasn't happened. Make
6119 development easier by not considering the effect of changes on a
6120 theoretical OS where this is disabled (Bug#20978).
6121
6122 2015-07-05 Glenn Morris <rgm@gnu.org>
6123
6124 * lisp/simple.el (set-variable): Doc fix.
6125
6126 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
6127
6128 2015-07-05 Ian Kelling <ian@iankelling.org>
6129
6130 accept-process-output fix
6131 This is a followon to the fix for Bug#17647 (Bug#20976).
6132 * src/process.c (status_notify): Fix too high return in some cases.
6133
6134 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
6135
6136 * lisp/character-fold.el (character-fold-table):
6137 Only fold decompositions if at least one character is non-spacing.
6138 (Bug#20975)
6139
6140 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
6141
6142 Merge from gnulib
6143 This incorporates:
6144 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
6145 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
6146 2015-07-02 update-copyright: fix test failure with perl >= 5.22
6147 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
6148 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
6149 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
6150 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
6151
6152 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
6153
6154 Respect `prog-indentation-context' in python.el
6155 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
6156 (python-indent-context, python-indent--calculate-indentation)
6157 (python-info-current-defun)
6158 (python-info-dedenter-opening-block-message)
6159 (python-info-line-ends-backslash-p)
6160 (python-info-beginning-of-backslash)
6161 (python-info-continuation-line-p): Use `prog-widen'.
6162 (python-indent--calculate-indentation)
6163 (python-indent--calculate-levels)
6164 (python-indent-calculate-indentation): Use `prog-first-column'.
6165 (python-indent--calculate-levels): Simplify.
6166 Ignore also initial empty lines for syntax calculation.
6167 * lisp/progmodes/python.el (python-indent-context): Return
6168 :no-indent for first non-empty line, not just in line 1.
6169 * test/automated/python-tests.el (python-indent-base-case)
6170 (python-indent-inside-paren-1, python-indent-inside-paren-2)
6171 (python-indent-inside-paren-3, python-indent-inside-paren-4)
6172 (python-indent-inside-paren-5, python-indent-inside-paren-6)
6173 (python-indent-after-backslash-1)
6174 (python-indent-after-backslash-2)
6175 (python-indent-after-backslash-3)
6176 (python-indent-after-backslash-4, python-indent-inside-string-1):
6177 Expect :no-indent for first non-empty line.
6178
6179 2015-07-04 Daniel Colascione <dancol@dancol.org>
6180
6181 Factor isearch word description into new function
6182 * lisp/isearch.el (isearch--describe-word-mode): New function.
6183 (isearch-message-prefix, isearch-query-replace): Use it.
6184
6185 2015-07-04 Eli Zaretskii <eliz@gnu.org>
6186
6187 Fix mouse pointer on w32 when a menu is active
6188 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
6189 shape while a menu is in use. This started happening since we now
6190 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
6191
6192 2015-07-04 Martin Rudalics <rudalics@gmx.at>
6193
6194 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
6195 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
6196 parameter. (Bug#17344)
6197
6198 Have `compilation-set-window' use right window for getting fringes (Bug#20829)
6199 * lisp/progmodes/compile.el (compilation-set-window): Take
6200 `window-fringes' from argument window. (Bug#20829)
6201
6202 2015-07-03 Glenn Morris <rgm@gnu.org>
6203
6204 Update eieio tests for recent eieio-core change.
6205 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
6206 * test/automated/eieio-tests.el
6207 (eieio-test-32-slot-attribute-override-2):
6208 Replace the deleted eieio--class-v with cl--find-class.
6209
6210 2015-07-03 Martin Rudalics <rudalics@gmx.at>
6211
6212 Fix some issues with `window-divider-mode'
6213 * lisp/frame.el (window-divider-default-places): New option.
6214 (window-divider-mode): Remove option.
6215 (window-divider-mode): Make it a "regular" minor mode.
6216 (window-divider-width-valid-p): Drop frame- prefix.
6217 (window-divider-mode-apply): New argument ENABLE. Drop frame-
6218 prefix. Handle `window-divider-default-places'.
6219 (frame--window-divider-mode-set-and-apply): Remove.
6220 (window-divider-default-bottom-width)
6221 (window-divider-default-right-width): Drop :group entries.
6222 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
6223 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
6224 (menu-bar-no-window-divider): Set `window-divider-default-places'
6225 and call `window-divider-mode'.
6226 * doc/emacs/frames.texi (Window Dividers): Document
6227 `window-divider-default-places'.
6228
6229 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
6230
6231 Add cross references in documentation
6232 * doc/emacs/display.texi (Displaying Boundaries):
6233 * doc/emacs/search.texi (Word Search): Add cross references.
6234
6235 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
6236
6237 -batch should not affect ‘’ -> `' display
6238 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
6239 -batch (Bug#20926).
6240
6241 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
6244 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el,
6245 lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
6246 Use cl--find-class instead.
6247
6248 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
6249
6250 2015-07-02 Martin Rudalics <rudalics@gmx.at>
6251
6252 Some further fixes in Change Window node. (Bug#20183)
6253 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
6254 by "resizing" in section title. Add some concept indices.
6255 Suggested by N. Jackson (Bug#20183).
6256
6257 Reference window dividers in Change Window section.
6258 * doc/emacs/windows.texi (Change Window): Reference window
6259 dividers.
6260
6261 Document new `window-divider-mode'.
6262 * lisp/frame.el (window-divider-mode): Fix doc-string.
6263 * doc/emacs/frames.texi (Window Dividers): New section.
6264
6265 Improve accessibility of window dividers. (Bug#20183)
6266 * lisp/faces.el (window-divider)
6267 (window-divider-first-pixel, window-divider-last-pixel): Change
6268 membership from `frames' to `window-divider' customization group.
6269 * lisp/frame.el (window-divider): New customization group.
6270 (window-divider-mode): New minor mode.
6271 (window-divider-default-bottom-width)
6272 (window-divider-default-right-width): New options.
6273 (frame--window-divider-previous-mode): New variable.
6274 (frame-window-divider-width-valid-p)
6275 (frame--window-divider-mode-apply)
6276 (frame--window-divider-mode-set-and-apply): New functions.
6277 * lisp/menu-bar.el (menu-bar-options-save): Save
6278 window-divider-mode settings.
6279 (menu-bar-window-divider-customize)
6280 (menu-bar-bottom-and-right-window-divider)
6281 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
6282 (menu-bar-no-window-divider): New functions.
6283 (menu-bar-showhide-window-divider-menu): New variable.
6284 (menu-bar-showhide-menu): Show/hide window divider menu.
6285 * lisp/mouse.el (mouse-split-window-vertically)
6286 (mouse-split-window-horizontally): Replace `error' by
6287 `user-error'. Bind `window-combination-resize' to nil.
6288 (top-level): Add/reorder mouse key bindings on mode- and
6289 vertical-line.
6290
6291 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
6292
6293 Don't display ‘’ as `' under X in en_GB
6294 The curved quote setup code invokes (char-displayable-p ?‘),
6295 but this isn’t reliable until after the X frame replaces the
6296 terminal frame (Bug#20926).
6297 * lisp/international/mule-cmds.el (set-locale-environment):
6298 Move curved quote setup code from here ...
6299 * lisp/startup.el (command-line): ... to here, after creating
6300 the X frame.
6301
6302 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
6303
6304 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring
6305
6306 Add argument to reverse the meaning of ido-restrict-to-matches
6307 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
6308 to reverse the meaning (Bug#15631).
6309
6310 2015-07-01 Eli Zaretskii <eliz@gnu.org>
6311
6312 Be more tolerant to fonts named "Foobar-12"
6313 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
6314 don't barf; instead, request a new fontset to be generated. This
6315 avoids unnecessarily rejecting fonts named against XLFD rules. See
6316 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
6317 for the description of the original problem.
6318 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
6319 by a hyphen in a font's name.
6320
6321 Fix value of posn-at-pont in R2L lines
6322 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
6323 coordinate of -1, for a newline in a right-to-left line that
6324 overflowed into the left fringe.
6325
6326 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 (cl--copy-slot-descriptor): Copy the `props' alist as well
6329 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
6330 Rename from cl--copy-slot-descriptor.
6331 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
6332
6333 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
6336 (xterm-query-timeout): New var.
6337 (xterm--query): Use it. Fallback on async method if we timeout before
6338 getting the first byte of the reply (bug#12354).
6339
6340 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
6341
6342 Spelling fixes
6343
6344 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
6345
6346 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
6347
6348 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
6349
6350 In strings, prefer plain ` and ' to \` and \'
6351 * lisp/allout.el (allout-insert-listified):
6352 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6353 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
6354 (ls-lisp-string-lessp):
6355 * lisp/menu-bar.el (menu-bar-open):
6356 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
6357 * lisp/progmodes/compile.el (compile):
6358 * lisp/progmodes/etags.el (tags-loop-scan):
6359 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
6360 * lisp/subr.el (posn-actual-col-row):
6361 * lisp/term/pc-win.el (x-list-fonts):
6362 * lisp/textmodes/texinfmt.el (texinfmt-version):
6363 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
6364 * lisp/time.el (display-time-world-list):
6365 * lisp/tmm.el (tmm-menubar):
6366 * src/buffer.c (syms_of_buffer):
6367 * src/fileio.c (syms_of_fileio):
6368 Omit unnecessary and confusing backslash before quote.
6369 * lisp/erc/erc.el (erc-cmd-LASTLOG):
6370 * lisp/progmodes/flymake.el (flymake-fix-file-name):
6371 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
6372 Fix string that was intended to escape a backslash and not a quote.
6373
6374 2015-06-30 Glenn Morris <rgm@gnu.org>
6375
6376 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
6377
6378 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
6379 Replace hard-coded lists with wildcard + filter-out.
6380
6381 * configure.ac (system-configuration-features): Add X11, NS.
6382
6383 Improve reproducibility of generated loaddefs file.
6384 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6385 Make the return value the modtime of the input file (if no autoloads).
6386 (update-directory-autoloads): In the "no autoloads" section,
6387 use "most recent modtime" rather than "current time".
6388
6389 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
6390
6391 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic
6392 (Bug#20930)
6393
6394 2015-06-30 Nicolas Petton <nicolas@petton.fr>
6395
6396 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
6397
6398 Add seq-min and seq-max
6399 Bump version number.
6400 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
6401 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
6402
6403 2015-06-30 Eli Zaretskii <eliz@gnu.org>
6404
6405 Make sure sleep-for always delays for as long as it's told
6406 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
6407 a loop, to ensure we always wait exactly the required amount of
6408 time. (Bug#15990)
6409
6410 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
6411
6412 Fix pointer signedness glitch
6413 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
6414
6415 2015-06-30 Eli Zaretskii <eliz@gnu.org>
6416
6417 Don't block changes in mouse pointer inside 'track-mouse'
6418 * etc/NEWS:
6419 * doc/lispref/frames.texi (Mouse Tracking): Document the special
6420 effect of setting 'track-mouse' to 'dragging'.
6421 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
6422 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
6423 * lisp/mouse-drag.el (mouse-drag-throw):
6424 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
6425 to avoid changes in the shape of the mouse pointer.
6426 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
6427 pointer shape when do_mouse_tracking has the value of 'dragging',
6428 not just any non-nil value. (Bug#20934)
6429 (syms_of_xdisp): DEFSYM 'dragging'.
6430
6431 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
6432
6433 * lisp/isearch.el (isearch-toggle-word): Fix toggle
6434
6435 * lisp/emacs-lisp/package.el (package-compute-transaction):
6436 Don't assume version sorting.
6437
6438 * lisp/emacs-lisp/package.el (package--save-selected-packages):
6439 Don't save before init time, to avoid overwriting configurations.
6440 (Bug#20855)
6441
6442 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
6443
6444 Add cross references.
6445 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
6446 references.
6447
6448 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
6449
6450 cfengine.el: update for the upcoming CFEngine 3.7 release
6451 Update for the upcoming CFEngine 3.7 release: support macros and
6452 quoted context strings; reformat JSON; indent promise attributes 2
6453 units by default; give function parameter descriptions in the eldoc
6454 glue.
6455 * cfengine.el: Update version and docs and fix name. Autoload
6456 `json-pretty-print'. Support new features in 3.7.
6457 (cfengine-parameters-indent): Set default promise attribute indent to
6458 2 more than the promise itself.
6459 (cfengine3-macro-regex): New variable to match the new macro syntax.
6460 (cfengine3-font-lock-keywords): Use it to highlight macros.
6461 (cfengine3-indent-line): Use it to indent macros to column 0.
6462 (cfengine3-class-selector-regex): Update for the new quoted strings
6463 format.
6464 (cfengine3-reformat-json-string): New function to reformat a JSON
6465 string using `json-pretty-print'.
6466 (cfengine3-format-function-docstring): Use function parameter
6467 description if it's provided by the cf-promises syntax dump.
6468
6469 2015-06-29 Michael R. Mauger <michael@mauger.com>
6470
6471 Cygwin emacsclient handles w32 file names
6472
6473 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
6474
6475 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).
6476
6477 2015-06-29 Eli Zaretskii <eliz@gnu.org>
6478
6479 * doc/lispref/text.texi (Sticky Properties): Improve wording.
6480 (Bug#20924)
6481
6482 Allow font names that end in "-NN", where NN is a number
6483 * src/font.c (font_load_for_lface): If the font-spec didn't match
6484 any available fonts, try again without interpreting trailing "-NN"
6485 as the font size. For the description of the original problem, see
6486 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
6487
6488 .gdbinit followup to changes in !USE_LSB_TAG
6489 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
6490 !USE_LSB_TAG, as Emacs no longer does.
6491
6492 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
6493
6494 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
6495 Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916)
6496
6497 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
6498
6499 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
6500 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
6501
6502 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6503
6504 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point as additional guess
6505
6506 * lisp/emacs-lisp/package.el (describe-package): Convert the guess to a string
6507
6508 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
6509
6510 apropos-library quoting fix
6511 * lisp/apropos.el (apropos-library): Quote library consistently
6512 with the rest of the quoting used by apropos.
6513
6514 Clarify interpreter-mode-alist doc
6515 * lisp/files.el (interpreter-mode-alist):
6516 Reword to avoid confusing quoting that wasn't working anyway.
6517
6518 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
6519
6520 Sync with Tramp 2.2.12
6521 * doc/misc/trampver.texi:
6522 * lisp/net/trampver.el: Update release number.
6523 * test/automated/tramp-tests.el (tramp-test13-make-directory):
6524 Fix cleanup.
6525
6526 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
6527
6528 * lisp/isearch.el (isearch-mode): Don't char-fold regexps
6529 (bug#20913)
6530
6531 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
6532
6533 Bind grep-highlight-matches around the rgrep call
6534 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
6535 around the rgrep call (bug#20728).
6536
6537 Put "--color" before the other options in grep-command
6538 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
6539 before the other options in grep-command (bug#20912).
6540
6541 Add --color Grep option to the command dynamically
6542 * lisp/progmodes/grep.el (grep-template, grep-find-template):
6543 Update the description for <C>. (Bug#20728)
6544 (grep-compute-defaults): Don't add the --color option to
6545 grep-options. Only add it to grep-command.
6546 (grep-expand-keywords): Expand the env value opts into <C>.
6547 (grep-expand-template): Replace cf in the env with the opts list,
6548 that can include -i and --color.
6549 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
6550 "--color=always" from the template, because we don't have to.
6551
6552 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
6553
6554 cl-extra fixes for most-negative-fixnum
6555 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
6556 Don't mishandle an argument equal to most-negative-fixnum,
6557 whose absolute value equals itself.
6558 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
6559
6560 Initialize cl--gensym-counter to 0
6561 Previously it was initialized to a random value, which made it
6562 harder to reproduce earlier Emacs runs. The need for a random
6563 value went away when Emacs introduced and used the #: syntax for
6564 uninterned symbols (Bug#20862).
6565 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
6566 Document that cl--gensym-counter now starts with 0.
6567 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
6568 (cl--random-time): Move to near only remaining use.
6569 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
6570
6571 Improve docstring for macroexp-let2
6572 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
6573 Improve as per suggestion by RMS in:
6574 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
6575 Also, rename args to match new doc string.
6576
6577 2015-06-27 Eli Zaretskii <eliz@gnu.org>
6578
6579 Fix VC test suite on MS-Windows
6580 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
6581 always starts with 3 slashes after the colon.
6582 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
6583 'w32-application-type' to invoke CVS on MS-Windows with properly
6584 formatted CVSROOT directory name.
6585
6586 Add a new function w32-application-type
6587 * src/w32proc.c (Fw32_application_type): New function.
6588
6589 Avoid error in TLS connections due to incorrect format
6590 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
6591 the call to 'error', instead of the unsupported %u. Reported by
6592 lo2net <fangtao0901@gmail.com>. (Bug#20908)
6593
6594 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
6595
6596 * lisp/replace.el (replace-search): Fix regexp case (bug#20901)
6597
6598 2015-06-26 Leo Liu <sdl.web@gmail.com>
6599
6600 Fix indentation for with-output-to-string
6601 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
6602 `with-output-to-string' in elisp.
6603 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string"
6604 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
6605
6606 2015-06-26 Eli Zaretskii <eliz@gnu.org>
6607
6608 Minor corrections in ELisp manual
6609 * doc/lispref/nonascii.texi (Character Properties): Correct
6610 inaccuracies in description of values of the Unicode properties.
6611
6612 Fix invisible mouse pointers on Windows.
6613 * src/w32fns.c: Include windowsx.h.
6614 (w32_wnd_proc): If the mouse moved and the mouse pointer is
6615 invisible, make it visible again even when the main (Lisp)
6616 thread is busy.
6617 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
6618 garbaging the frame have the input thread call SetCursor.
6619
6620 2015-06-26 Martin Rudalics <rudalics@gmx.at>
6621
6622 Provide invisible mouse pointers on Windows. (Bug#6105) (Bug#12922)
6623 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
6624 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
6625 * src/w32term.c (w32_hide_hourglass): Handle
6626 f->pointer_invisible.
6627 (w32_toggle_invisible_pointer): New function.
6628 (w32_create_terminal): Add w32_toggle_invisible_pointer as
6629 toggle_invisible_pointer_hook for this terminal.
6630
6631 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
6632
6633 Doc fix for deletion commands
6634 'delete-char' does not respect the value of 'delete-active-region'.
6635 * doc/emacs/killing.texi (Deletion):
6636 Fix documentation for some single-char deletion commands.
6637
6638 * doc/emacs/help.texi (Apropos):
6639 Improve documentation of 'apropos-do-all'.
6640
6641 * doc/emacs/help.texi (Help Summary):
6642 Improve documentation of 'describe-mode'.
6643
6644 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
6645
6646 Fix submake dependency bug with .h files
6647 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
6648 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
6649 before the submake in $(libsrc) would spin off a subsubmake
6650 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
6651
6652 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
6653
6654 * lisp/character-fold.el (character-fold-table): Reuse `table'
6655
6656 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
6657
6658 Translate undisplayable ‘ to `
6659 * doc/lispref/help.texi (Keys in Documentation):
6660 * lisp/international/mule-cmds.el (set-locale-environment):
6661 * lisp/term/w32console.el (terminal-init-w32console):
6662 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
6663 If ‘ is not displayable, transliterate it to `, not to '. See:
6664 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
6665
6666 Fix C99 incompatibilities in Cairo code
6667 * src/image.c (xpm_load) [USE_CAIRO]:
6668 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
6669 Fix pointer signedness problem.
6670
6671 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
6672
6673 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
6674 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
6675 `with-output-to-string' should have the same indent as `progn'.
6676 This is in line with the declaration of `with-output-to-string'.
6677
6678 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
6679
6680 Get ‘./configure; make -C src emacs’ to work
6681 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
6682 * lib-src/Makefile.in (../lib/libgnu.a):
6683 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
6684
6685 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
6686
6687 Fix GC bugs --with-wide-int and Qnil == 0
6688 Use the same alignment for the !USE_LSB_TAG case as for the
6689 more-typical USE_LSB_TAG case. The attempt to support arbitrary
6690 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
6691 once we changed the representation of symbols so that Qnil == 0.
6692 Problem reported by Eli Zaretskii (Bug#20862).
6693 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
6694 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
6695 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
6696 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
6697 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
6698 This optimization in the !USE_LSB_TAG case is no longer valid when
6699 symbols are represented via offsets. Change the only use to
6700 assume that pointers might hide in objects.
6701 * src/lisp.h (alignas) [!USE_LSB_TAG]:
6702 Require support in this case, too.
6703 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
6704 This is OK, because the !USE_LSB_TAG case now applies only when
6705 Lisp_Object is wider than void *, so there's no longer any need
6706 to shift the offset. Not shifting the offset means that
6707 symbol representations have the same alignment as pointers,
6708 which the GC assumes.
6709
6710 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
6711
6712 * doc/lispintro/emacs-lisp-intro.texi (Data types):
6713 Improve documentation of 'substring'.
6714
6715 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
6716
6717 * lisp/character-fold.el (character-fold-table): Fix table generation
6718
6719 2015-06-24 Glenn Morris <rgm@gnu.org>
6720
6721 * nextstep/Makefile.in (all): Make it the first target.
6722 (../src/emacs${EXEEXT}): Add rule for making it.
6723
6724 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
6725
6726 * etc/NEWS: Fix mention to old function name
6727
6728 * lisp/character-fold.el: New file (Bug#20887)
6729 (character-fold-to-regexp): New function.
6730 * lisp/replace.el (replace-search): Check value of
6731 `character-fold-search'.
6732 * lisp/isearch.el: Move character-folding code to
6733 character-fold.el
6734 (isearch-toggle-character-fold): New command.
6735 (isearch-mode-map): Bind it to "\M-sf".
6736 (isearch-mode): Check value of `character-fold-search'.
6737
6738 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * lisp/subr.el (remove-from-invisibility-spec): Handle the t case
6741 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
6742 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
6743
6744 * lisp/progmodes/xref.el: Avoid init-args in oref.
6745 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
6746 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
6747
6748 2015-06-24 Glenn Morris <rgm@gnu.org>
6749
6750 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
6751
6752 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * lisp/gnus/nnmaildir.el: Silence lexical warnings
6755 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
6756 functional style.
6757 (nnmaildir--update-nov): Remove unused var `numdir'.
6758 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
6759 (nnmaildir-request-group, nnmaildir-request-create-group)
6760 (nnmaildir-request-post, nnmaildir-request-move-article)
6761 (nnmaildir-request-accept-article, nnmaildir-active-number): Mark unused args.
6762 (nnmaildir-get-new-mail, nnmaildir-group-alist)
6763 (nnmaildir-active-file): Declare.
6764 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
6765 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
6766 `mark', `end', `new-mark', and `mark-sym'.
6767 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
6768 `nlist2'.
6769 (nnmaildir-request-expire-articles):
6770 Remove unused vars `article', `stop' and `nlist2'.
6771 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
6772 `end'. Use nnmaildir--article when dyn-binding is needed.
6773 Give the value directly in the `let' for `del-mark', `del-action',
6774 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
6775 (nnmaildir-close-server): Declare those local vars that need to be
6776 dyn-bound.
6777
6778 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
6779
6780 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
6781
6782 Port selection info fix to clang
6783 * src/keyboard.h (kbd_buffer_store_event_hold):
6784 Don't assume C11 semantics for alignof (Bug#20756).
6785
6786 Fix bug that munged selection info
6787 On some optimizing C compilers, copying a structure did not
6788 copy the padding bytes between elements, and the type punning
6789 between struct input_data and struct selection_input_data did
6790 not work. Change the C code to use a proper union type instead.
6791 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
6792 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
6793 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
6794 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
6795 (mark_kboards):
6796 Use union buffered_input_event, not struct input_event.
6797 (clear_event, deliver_input_available_signal, process_special_events):
6798 Remove unnecessary forward decls.
6799 (kbd_buffer_store_buffered_event): New function, mostly just the
6800 old kbd_buffer_store_event_hold, except its argument is of type
6801 union buffered_input_event, not struct input_event.
6802 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
6803 not needed otherwise. Argument is now of type
6804 struct selection_input_event *, not struct input_event *.
6805 All callers changed.
6806 (clear_event): Arg is now of type union buffered_input_event *,
6807 not struct input_event *. All callers changed.
6808 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
6809 (union buffered_input_event): New type.
6810 (kbd_buffer_store_event_hold): Now an inline function,
6811 defined here.
6812 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
6813 (struct input_event): Use it.
6814 * src/xselect.c (struct selection_event_queue):
6815 Make elements be of type struct selection_input_event,
6816 not struct input_event.
6817 (selection_input_event_equal): New static function.
6818 (x_queue_event): Use it.
6819 (x_queue_event, x_decline_selection_request)
6820 (x_selection_current_request, x_reply_selection_request)
6821 (x_handle_selection_request, x_handle_selection_clear)
6822 (x_handle_selection_event): Use struct selection_input_event,
6823 not struct input_event. All callers changed.
6824 (x_convert_selection): Omit unused first arg. All callers changed.
6825 (Fx_disown_selection_internal): Omit unnecessary union.
6826 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
6827 rather than rolling our own equivalent. Prefer sie.kind when
6828 setting up that kind of structure.
6829 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
6830 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
6831 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
6832 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
6833 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
6834 (SELECTION_EVENT_TIME, x_handle_selection_event):
6835 Arg is now of type struct selection_input_event *)
6836 not struct input_event *. All callers changed.
6837
6838 2015-06-23 Glenn Morris <rgm@gnu.org>
6839
6840 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
6841
6842 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
6843
6844 * lisp/isearch.el: Fold many unicode characters to ASCII
6845 (isearch-character-fold-search, isearch--character-fold-extras)
6846 (isearch--character-fold-table): New variable.
6847 (isearch--character-folded-regexp): New function.
6848 (isearch-search-fun-default): Use them.
6849 * lisp/replace.el (replace-character-fold): New variable.
6850 (replace-search): Use it.
6851 * etc/NEWS: Document it.
6852
6853 2015-06-23 Glenn Morris <rgm@gnu.org>
6854
6855 Check for an input event before showing a dialog box. (Bug#20813)
6856 * lisp/subr.el (y-or-n-p):
6857 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
6858 as last-nonmenu-event.
6859
6860 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
6861
6862 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
6863 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
6864 (switch-to-prev-buffer, switch-to-next-buffer): Respect
6865 switch-to-visible-buffer independent of the windows history.
6866
6867 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
6868
6869 * src/keyboard.c (last_timer_event): Remove unused var.
6870
6871 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
6872
6873 * test/automated/package-test.el (package-test-update-listing):
6874 Fix test.
6875
6876 2015-06-23 Glenn Morris <rgm@gnu.org>
6877
6878 Revert 2014-06-25 nextstep/Makefile change.
6879 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
6880 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
6881 not as an order-only prerequisite.
6882
6883 * configure.ac (--with-ns): Enable by default on OS X.
6884
6885 2015-06-23 Leo Liu <sdl.web@gmail.com>
6886
6887 Fix shell-for/backward-command to exclude spaces
6888 * lisp/shell.el (shell-forward-command, shell-backward-command):
6889 Handle the 'move case from re-search-forward/backward.
6890 fixes debbugs:20873
6891
6892 2015-06-22 Juri Linkov <juri@linkov.net>
6893
6894 * lisp/replace.el (query-replace-read-from): Add separator to
6895 the local binding of text-property-default-nonsticky. (Bug#20690)
6896
6897 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
6898 (Bug#20785)
6899
6900 2015-06-22 Ken Brown <kbrown@cornell.edu>
6901
6902 Enable CPU profiling on Cygwin
6903 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
6904 change that undefined this.
6905 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
6906 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
6907 Cygwin.
6908
6909 Improve diagnostics of profiler-cpu-start
6910 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
6911 return -1 if the sampling interval is invalid.
6912 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
6913 fails. (Bug#20843)
6914
6915 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
6916
6917 * lisp/emacs-lisp/package.el: Exclude packages by name
6918 (package-hidden-regexps): New variable.
6919 (package-menu--refresh): Use it.
6920 (package-menu-hide-package): New command.
6921
6922 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding
6923
6924 2015-06-22 Eli Zaretskii <eliz@gnu.org>
6925
6926 Fix debug-timer-check on systems without HAVE_TIMERFD
6927 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
6928 the expired timers, since wait_reading_process_output doesn't.
6929 (debug_timer_callback): Enlarge the tolerance to 20 msec.
6930
6931 Fix RCS crashes in vc-test
6932 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
6933 ports of 'ci' on MS-Windows by always passing the -t- switch.
6934
6935 2015-06-22 Glenn Morris <rgm@gnu.org>
6936
6937 * doc/emacs/package.texi (Packages):
6938 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
6939
6940 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
6941
6942 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
6943
6944 Port tests to help-quote-translation
6945 * test/automated/ert-x-tests.el (ert-test-describe-test):
6946 * test/automated/package-test.el (package-test-describe-package)
6947 (package-test-signed): Allow straight quotes, too.
6948
6949 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
6950
6951 Make find-function-on-key use the current window
6952 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
6953 Extract from `find-function-on-key', add a second argument.
6954 (find-function-on-key): Use it (bug#19679).
6955 (find-function-on-key-other-window)
6956 (find-function-on-key-other-frame): New commands.
6957
6958 2015-06-21 Nicolas Petton <nicolas@petton.fr>
6959
6960 Revert "Define `map-elt' as a generalized variable"
6961 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
6962
6963 2015-06-21 Ken Brown <kbrown@cornell.edu>
6964
6965 Drop support for CPU profiling on Cygwin
6966 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
6967 (Bug#20843)
6968
6969 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
6970
6971 Fix some “nested” quoting confusion in doc strings
6972 * lisp/emacs-lisp/advice.el (ad-map-arglists):
6973 * lisp/kermit.el (kermit-clean-on):
6974 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
6975 * src/keyboard.c (Frecursive_edit):
6976 Use curved quotes when quoting text containing apostrophe,
6977 so that the apostrophe isn't curved in the output.
6978
6979 2015-06-21 Nicolas Petton <nicolas@petton.fr>
6980
6981 Define `map-elt' as a generalized variable
6982 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
6983 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
6984 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
6985 `setf' with `map-elt'.
6986 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
6987
6988 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
6989
6990 Improve error handling in tramp-adb.el
6991 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
6992 Improve error handling.
6993
6994 2015-06-21 Nicolas Petton <nicolas@petton.fr>
6995
6996 Reuse `alist-get' in map.el
6997 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
6998 elements.
6999
7000 2015-06-21 Eli Zaretskii <eliz@gnu.org>
7001
7002 Fix bytecomp-tests--warnings when $TMPDIR has a long name
7003 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
7004 Allow the warning to begin on the 3rd, not only 2nd line, which
7005 happens if temporary-file-directory has a very long name.
7006
7007 Expect 2 icalendar tests to fail on MS-Windows
7008 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
7009 (icalendar-real-world): Make them expected failures on MS-Windows.
7010
7011 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
7012
7013 Improve port of settings UI to older displays
7014 * lisp/cus-start.el (standard): Don't assume curved quotes are
7015 easily distinguishable when users are tinkering with a setting
7016 that affects how curved quotes are generated.
7017
7018 Fix quoting in electric-quote-mode doc string
7019 * lisp/electric.el (electric-quote-mode): Fix quoting.
7020 This is a fallout from the recent change introducing
7021 ‘help-quote-translation’.
7022
7023 Spelling fix
7024
7025 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
7026
7027 * src/doc.c (syms_of_doc): Remove unused symbols.
7028
7029 2015-06-20 Martin Rudalics <rudalics@gmx.at>
7030
7031 In ‘window-state-put’ undedicate target window. (Bug#20848)
7032 * lisp/window.el (window-state-put): Undedicate target window
7033 before putting STATE into it. (Bug#20848)
7034
7035 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
7036
7037 Merge from origin/emacs-24
7038 a5e6f33 Fixes: debbugs:20832
7039 b9f02cf Fixes: debbugs:20832
7040
7041 2015-06-19 Eli Zaretskii <eliz@gnu.org>
7042
7043 Fix file-in-directory-p when the directory is UNC
7044 * lisp/files.el (file-in-directory-p): Support files and
7045 directories that begin with "//". (Bug#20844)
7046
7047 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
7048
7049 (Bug#20832)
7050 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
7051 in the minibuffer.
7052
7053 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
7054
7055 (Bug#20832)
7056 * lisp/calendar/todo-mode.el (todo-show): Signal an error
7057 if buffer for adding new todo file is empty but modified.
7058
7059 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 (filepos-to-bufferpos): Further tweaks to the utf-16 code
7062 * lisp/international/mule-util.el (filepos-to-bufferpos):
7063 Fix typo. Move non-exact check to the utf-16 branch (the only one
7064 affected). Don't use byte-to-position for the utf-16 case.
7065
7066 2015-06-19 Eli Zaretskii <eliz@gnu.org>
7067
7068 Minor fixes in filepos-to-bufferpos
7069 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
7070 test for utf-8-emacs. Exempt single-byte encodings from the
7071 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
7072 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
7073 UTF-16 encoded files for CR-LF EOLs.
7074
7075 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
7076
7077 Improve the optional translation of quotes
7078 Fix several problems with the recently-added custom variable
7079 help-quote-translation where the code would quote inconsistently
7080 in help buffers. Add support for quoting 'like this', which
7081 is common in other GNU programs in ASCII environments. Change
7082 help-quote-translation to use more mnemonic values: values are now the
7083 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
7084 traditional Emacs help-buffer quoting style `like this'. Change the
7085 default behavior of substitute-command-keys to match what's done in
7086 set-locale-environment, i.e., quote ‘like this’ if displayable,
7087 'like this' otherwise.
7088 * doc/lispref/help.texi (Keys in Documentation): Document
7089 new behavior of substitute-command-keys, and document
7090 help-quote-translation.
7091 * doc/lispref/tips.texi (Documentation Tips):
7092 Mention the effect of help-quote-translation.
7093 * etc/NEWS: Mention new behavior of substitute-command-keys,
7094 and merge help-quote-translation news into it.
7095 When talking about doc strings, mention new ways to type quotes.
7096 * lisp/cedet/mode-local.el (overload-docstring-extension):
7097 Revert my recent change to this function, which shouldn't be
7098 needed as the result is a doc string.
7099 * lisp/cedet/mode-local.el (mode-local-print-binding)
7100 (mode-local-describe-bindings-2):
7101 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
7102 * lisp/cus-theme.el (describe-theme-1):
7103 * lisp/descr-text.el (describe-text-properties-1, describe-char):
7104 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
7105 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
7106 (eieio-help-constructor):
7107 * lisp/emacs-lisp/package.el (describe-package-1):
7108 * lisp/faces.el (describe-face):
7109 * lisp/help-fns.el (help-fns--key-bindings)
7110 (help-fns--compiler-macro, help-fns--parent-mode)
7111 (help-fns--obsolete, help-fns--interactive-only)
7112 (describe-function-1, describe-variable):
7113 * lisp/help.el (describe-mode):
7114 Use substitute-command-keys to ensure a more-consistent quoting
7115 style in help buffers.
7116 * lisp/cus-start.el (standard):
7117 Document new help-quote-translation behavior.
7118 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
7119 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
7120 (help-xref-url-regexp):
7121 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
7122 * lisp/wid-edit.el (widget-documentation-link-regexp):
7123 Also match 'foo', in case we're in a help buffer generated when
7124 help-quote-translation is ?'.
7125 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
7126 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
7127 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
7128 (Fsubstitute_command_keys): Document and implement new behavior.
7129 (Vhelp_quote_translation): Document new behavior.
7130
7131 2015-06-18 Glenn Morris <rgm@gnu.org>
7132
7133 * lisp/cus-start.el (help-quote-translation): Add :version.
7134
7135 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
7136
7137 2015-06-18 Alan Mackenzie <acm@muc.de>
7138
7139 Make translation of quotes to curly in doc strings optional.
7140 src/doc.c (traditional, prefer-unicode): new symbols.
7141 (help-quote-translation): new variable.
7142 (Fsubstitute_command_keys): make translation of quotes dependent on
7143 `help-quote-translation'; also translate curly quotes back to ASCII
7144 ones.
7145 lisp/cus-start.el (top-level): Add a customization entry for
7146 `help-quote-translation'.
7147
7148 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
7149
7150 * lisp/emacs-lisp/package.el: Don't always propagate async errors
7151 (package--with-work-buffer-async): Only propagate the error if the
7152 callback returns non-nil.
7153 (package--download-one-archive): Return nil on the signature
7154 checking callback if we accept unsigned.
7155 (package--download-and-read-archives): Return non-nil on the
7156 archive download callback.
7157
7158 2015-06-18 Martin Rudalics <rudalics@gmx.at>
7159
7160 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
7161 * src/nsfns.m (Fx_create_frame):
7162 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
7163 image_cache_refcount before first x_default_parameter call.
7164
7165 2015-06-18 Eli Zaretskii <eliz@gnu.org>
7166
7167 Improve and extend filepos-to-bufferpos
7168 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
7169 Don't barf if F returns nil for some argument.
7170 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
7171 that every encoding of type 'charset' is single-byte.
7172
7173 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
7174
7175 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
7176 Properly delete packages. (Bug#20836)
7177
7178 2015-06-18 Eli Zaretskii <eliz@gnu.org>
7179
7180 Update data files from just-released Unicode 8.0
7181 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
7182 status.
7183 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
7184 * admin/unidata/BidiMirroring.txt:
7185 * admin/unidata/BidiBrackets.txt:
7186 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
7187
7188 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
7189
7190 Document curved quotes a bit better
7191 * doc/emacs/basic.texi (Inserting Text):
7192 Mention C-x 8. Change example to use curved quote rather
7193 than infinity, as this lets us give more ways to do it.
7194 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
7195 and quotation marks.
7196 * doc/emacs/text.texi (Quotation Marks):
7197 * doc/lispref/tips.texi (Documentation Tips):
7198 Add "curly quotes" and "curved quotes" to the index.
7199 * doc/emacs/text.texi (Quotation Marks):
7200 Give the C-x 8 shorthands for curved quotes.
7201 Cross-reference to "Quotation Marks".
7202
7203 2015-06-17 Daiki Ueno <ueno@gnu.org>
7204
7205 Add pinentry.el for better GnuPG integration
7206 * lisp/pinentry.el: New file.
7207 * etc/NEWS: Add entry about pinentry.el.
7208 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
7209 (Bug#20550)
7210
7211 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
7212
7213 * lisp/emacs-lisp/package.el: Slightly better error reporting.
7214
7215 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 (define-minor-mode): Use setq-default for :global minor modes
7218 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
7219 Use setq-default for :global minor modes (bug#20712).
7220
7221 2015-06-17 Eli Zaretskii <eliz@gnu.org>
7222
7223 Avoid infloop in redisplay with tall images
7224 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
7225 down near ZV. (Bug#20808)
7226 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
7227 instead of CHARPOS.
7228
7229 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
7230
7231 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
7232 Fix error reporting.
7233
7234 * lisp/let-alist.el: move to lisp/emacs-lisp/let-alist.el
7235
7236 * lisp/emacs-lisp/package.el: Revert buffer after any operation
7237 Call `package-menu--post-refresh' after any operation that changes
7238 the package database (`package-install' and `package-delete'). To
7239 avoid performance issues in large transactions, these functions
7240 add `post-refresh' to `post-command-hook' instead of calling it
7241 immediately.
7242 (package-menu--mark-or-notify-upgrades): New function.
7243 (list-packages): Add it to `package--post-download-archives-hook'.
7244 (package-menu--post-refresh): Lose the upgrade-checking code, add
7245 code to remove itself from `post-command-hook'.
7246 (package-install, package-delete): Add it to `post-command-hook'.
7247 (package-menu-execute): Don't call `package-menu--post-refresh'.
7248
7249 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
7250
7251 Add missing function xref-location-group for elisp-mode.
7252 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
7253
7254 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
7255
7256 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
7257 The behavior now matches the description in the manual. (Bug#20783)
7258
7259 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
7260
7261 Update tutorials/TUTORIAL.cn
7262 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
7263
7264 2015-06-17 Glenn Morris <rgm@gnu.org>
7265
7266 Generate char-script-table from Unicode source. (Bug#20789)
7267 * admin/unidata/Makefile.in (AWK): New, set by configure.
7268 (all): Add charscript.el.
7269 (blocks): New variable.
7270 (charscript.el, ${unidir}/charscript.el): New targets.
7271 (extraclean): Also remove generated charscript.el.
7272 * admin/unidata/blocks.awk: New script.
7273 * admin/unidata/Blocks.txt: New data file, from unicode.org.
7274 * lisp/international/characters.el: Load charscript.
7275 * src/Makefile.in (charscript): New variable.
7276 (${charscript}): New target.
7277 (${lispintdir}/characters.elc): Depend on charscript.elc.
7278 (temacs$(EXEEXT)): Depend on charscript.
7279
7280 * lisp/international/characters.el (char-script-table): Tweak
7281 some ranges to better match the source. (Bug#20789#17)
7282
7283 Remove "no-byte-compile: t" from a few files.
7284 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
7285 * lisp/obsolete/patcomp.el: No reason not to compile these.
7286
7287 2015-06-16 Glenn Morris <rgm@gnu.org>
7288
7289 Fix some typos in copied Unicode data. (Bug#20789)
7290 * lisp/international/characters.el (char-script-table):
7291 * lisp/international/fontset.el (script-representative-chars)
7292 (setup-default-fontset): Fix typos.
7293
7294 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
7295 Don't print filename twice (it's in the prefix now).
7296
7297 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
7298 No longer needed.
7299
7300 Address a compilation warning.
7301 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
7302 Replace 't' with '_' in pcase.
7303
7304 Address some check-declare warnings.
7305 * lisp/simple.el (tabulated-list-print):
7306 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
7307 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
7308 (ns-get-selection): Update declarations.
7309
7310 Address some compilation warnings.
7311 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
7312 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
7313 Replace 't' with '_' in pcase.
7314
7315 Address some compilation warnings.
7316 * lisp/face-remap.el (text-scale-adjust):
7317 * lisp/menu-bar.el (popup-menu-normalize-position):
7318 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7319 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7320 * lisp/emacs-lisp/generator.el (cps--transform-1):
7321 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
7322 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
7323 * lisp/progmodes/octave.el (octave-goto-function-definition)
7324 (octave-find-definition-default-filename):
7325 Replace 't' with '_' in pcase.
7326
7327 * lisp/emacs-lisp/pcase.el (pcase--u1):
7328 Paper-over today's bootstrap failure.
7329
7330 2015-06-16 Nicolas Petton <nicolas@petton.fr>
7331
7332 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
7333
7334 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
7335
7336 Better confirmation message in `find-alternate-file' (Bug#20830)
7337 * lisp/files.el (find-alternate-file'): Improve the confirmation
7338 message to show the buffer name.
7339
7340 Better docstring for null. (Bug#20815)
7341 * src/data.c (null): Improves the docstring, saying what null returns
7342 when OBJECT is non-nil.
7343
7344 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * lisp/net/newst-treeview.el: Use lexical-binding.
7347
7348 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
7349 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
7350 New auxiliary function, extracted from filepos-to-bufferpos.
7351 Make sure it terminates.
7352 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
7353 Add support for the `exact' quality.
7354
7355 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
7356
7357 Identify feeds in newsticker treeview with :nt-feed property
7358 * lisp/net/newst-treeview.el:
7359 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
7360
7361 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * lisp/emacs-lisp/pcase.el: Improve docs and error handling
7364 (pcase--self-quoting-p): Floats aren't self-quoting.
7365 (pcase): Tweak docstring.
7366 (pcase--u1): Deprecate the t pattern. Improve error detection for
7367 the nil pattern.
7368 (\`): Tweak docstring. Signal an error for unrecognized cases.
7369 (bug#20784)
7370
7371 2015-06-16 Eli Zaretskii <eliz@gnu.org>
7372
7373 Fix infloop in filepos-to-bufferpos
7374 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
7375 offset calculation, and make it conditional on the eol-type of the
7376 file's encoding. (Bug#20825)
7377
7378 2015-06-16 Martin Rudalics <rudalics@gmx.at>
7379
7380 Fix handling of image cache refcounts. (Bug#20802)
7381 This backports Eli Zaretskii's solution of this problem for W32
7382 to X and NS.
7383 * src/nsfns.m (image_cache_refcount): Define unconditionally.
7384 (unwind_create_frame): If the image cache's reference count
7385 hasn't been updated yet, do that now.
7386 (Fx_create_frame): Set image_cache_refcount unconditionally.
7387 * src/xfns.c (image_cache_refcount): Define unconditionally.
7388 (unwind_create_frame): If the image cache's reference count
7389 hasn't been updated yet, do that now.
7390 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
7391 unconditionally.
7392 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
7393 X and NS.
7394
7395 2015-06-16 Nils Ackermann <nils@ackermath.info>
7396
7397 Improve reftex-label-regexps default value
7398 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
7399 keyvals label regexp more strict to better cope with unbalanced
7400 brackets common in math documents.
7401
7402 2015-06-16 Glenn Morris <rgm@gnu.org>
7403
7404 * doc/emacs/calendar.texi (Format of Diary File):
7405 Move "nonmarking" from here...
7406 (Displaying the Diary): ... to here.
7407
7408 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
7409 Swap the order of these nodes.
7410 * doc/emacs/emacs.texi: Update detailed menu for the above change.
7411
7412 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
7413 Update date of examples.
7414 (Diary, Format of Diary File): Move example from former to latter.
7415 Reduce duplication.
7416
7417 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
7418 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
7419 Don't set no-byte-compile in the outputs.
7420 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
7421
7422 2015-06-15 Glenn Morris <rgm@gnu.org>
7423
7424 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
7425 * doc/emacs/calendar.texi (Diary, Format of Diary File):
7426 Update for above diary-file change.
7427 : * etc/NEWS: Mention this.
7428
7429 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
7430 (apply-macro-to-region-lines): Use user-error.
7431
7432 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
7433 (pages-directory-for-addresses): Doc fixes.
7434
7435 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * lisp/info.el: Cleanup bytepos/charpos issues
7438 * lisp/international/mule-util.el: Use lexical-binding.
7439 (filepos-to-bufferpos): New function.
7440 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
7441 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
7442 (Info-read-subfile, Info-search): Use 0-based file positions.
7443
7444 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
7445 (perl--syntax-exp-intro-keywords): New var.
7446 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
7447 (bug#20800).
7448
7449 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
7450
7451 Fix quoting when making derived mode docstring
7452 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
7453 Nest regexp-quote inside format, not the reverse.
7454 Problem reported by Artur Malabarba in:
7455 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
7456
7457 2015-06-15 Eli Zaretskii <eliz@gnu.org>
7458
7459 Fix current-iso639-language on MS-Windows
7460 * lisp/international/mule-cmds.el (set-locale-environment):
7461 Downcase the locale name before interning it. This is so the
7462 'current-iso639-language' on MS-Windows matches the ':lang'
7463 property of font-spec objects.
7464
7465 Limit Symbola usage some more
7466 * lisp/international/fontset.el (setup-default-fontset): Limit
7467 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
7468 (Bug#20727)
7469
7470 2015-06-15 Nicolas Petton <nicolas@petton.fr>
7471
7472 * lisp/emacs-lisp/map.el (map-let): Better docstring.
7473
7474 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
7475
7476 Spelling fixes
7477
7478 2015-06-14 Glenn Morris <rgm@gnu.org>
7479
7480 * lisp/version.el (emacs-repository-version-git): Demote errors.
7481 Check result is a hash.
7482
7483 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
7484
7485 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
7486 Catch errors that happen before going async. (Bug#20809)
7487
7488 2015-06-14 Eli Zaretskii <eliz@gnu.org>
7489
7490 Another improvement of documentation of set-fontset-font
7491 * doc/lispref/display.texi (Fontsets): Say explicitly that
7492 CHARACTER can be a single codepoint.
7493 * src/fontset.c (Fset_fontset_font): Doc fix.
7494
7495 Another improvement for symbol and punctuation characters
7496 * lisp/international/fontset.el (setup-default-fontset): Exclude
7497 from Symbola character ranges for symbols and punctuation covered
7498 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
7499 installed and where its coverage of symbols and punctuation is
7500 known to be good. (Bug#20727)
7501
7502 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
7503
7504 Some generic support for multi-mode indentation.
7505 * lisp/progmodes/prog-mode.el (prog-indentation-context): New
7506 variable.
7507 (prog-first-column, prog-widen): New convenience functions.
7508
7509 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
7510
7511 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
7512 Don't assume that `tabulated-list-printer' will leave point at the
7513 end of the buffer. (Bug#20810)
7514
7515 2015-06-13 Glenn Morris <rgm@gnu.org>
7516
7517 Tweaks for getting repository version; a bit more like it was for bzr.
7518 * lisp/version.el (emacs-repository-version-git)
7519 (emacs-repository--version-git-1): New functions,
7520 split from emacs-repository-get-version.
7521 (emacs-repository-get-version): Make the second argument meaningful.
7522
7523 * lisp/startup.el (command-line-1): Inform if skipping relative
7524 file names due to deleted PWD.
7525
7526 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
7527 when starup directory is missing. (Bug#18851)
7528 (errno.h): Include it.
7529
7530 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
7531
7532 Better fix for documenting `X as "`X"
7533 Fix suggested by Stefan Monnier.
7534 * lisp/help-fns.el (help-fns--signature):
7535 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
7536 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
7537 Don't treat `X specially, as help-fns--signature now handles this.
7538
7539 2015-06-13 Eli Zaretskii <eliz@gnu.org>
7540
7541 Improve the default fontset when Symbola is not installed
7542 * lisp/international/fontset.el (setup-default-fontset): Only
7543 prepend Symbola and FreeMono font specs for symbols and
7544 punctuation; do not replace the default spec for them. This
7545 should have better results when Symbola/FreeMono are not
7546 installed. (Bug#20727)
7547
7548 Improve documentation of ':lang' in font specs
7549 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
7550 use of the ':lang' property of the font spec.
7551 * doc/emacs/frames.texi (Fonts): Document the language names that
7552 can be in the STYLE part of XLFD.
7553 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
7554 property.
7555
7556 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
7557
7558 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
7559
7560 Revert last change in fontset.el
7561 * lisp/international/fontset.el (setup-default-fontset): Revert
7562 the change "Configure Symbola font only if installed", since font
7563 search is evidently not yet set up when this function is called.
7564 (Bug#20727)
7565
7566 2015-06-12 Glenn Morris <rgm@gnu.org>
7567
7568 Ensure early startup warnings are visible at the end. (Bug#20792)
7569 * lisp/emacs-lisp/warnings.el (display-warning):
7570 If startup isn't complete, delay the warning.
7571 * lisp/startup.el (normal-top-level, command-line):
7572 Let display-warning automatically handle the needed delays.
7573 Run delayed-warnings-hook.
7574
7575 * lisp/version.el (emacs-repository-get-version):
7576 Avoid calling external executable if possible. (Bug#20799)
7577
7578 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
7579
7580 Document `X as "`X", not as "(` X)"
7581 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
7582 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
7583
7584 * src/print.c (print_object): Minor simplification.
7585
7586 2015-06-12 Glenn Morris <rgm@gnu.org>
7587
7588 * src/buffer.c (init_buffer): Add final newline to message.
7589
7590 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
7591
7592 Configure Symbola font only if installed
7593 * lisp/international/fontset.el (setup-default-fontset):
7594 Don't specify the Symbola font if it's not installed.
7595 Likewise for FreeMono. (Bug#20727)
7596
7597 2015-06-12 Eli Zaretskii <eliz@gnu.org>
7598
7599 Configure Symbola font only for symbols and punctuation
7600 * lisp/international/fontset.el (setup-default-fontset): Leave
7601 only symbols and punctuation in the fontset setup for Symbola
7602 font; remove "Greek and Coptic" and "Cyrillic Supplement".
7603 (Bug#20798)
7604
7605 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
7606
7607 Fix crash in fontset-info
7608 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
7609 non-nil.
7610
7611 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
7612
7613 Port to Solaris 10 sparc + Sun C 5.13
7614 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
7615 Adjust to process.c change.
7616 * src/process.c (create_process): Declare volatile variables at
7617 top level of this function, so that they're less likely to be
7618 reused later in the function in the code executed by the vforked
7619 child. Do not declare locals used only in the vforked child, as
7620 they might share memory with locals still live in the parent.
7621 Instead, use the same variables in the child as in the parent.
7622 This works around a subtle bug that causes a garbage collector
7623 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
7624
7625 2015-06-12 Glenn Morris <rgm@gnu.org>
7626
7627 * lisp/startup.el (normal-top-level): Don't let *Messages* get
7628 a nil default-directory.
7629
7630 2015-06-11 Glenn Morris <rgm@gnu.org>
7631
7632 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
7633
7634 Some progress towards starting with PWD deleted. (Bug#18851)
7635 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
7636 * lisp/startup.el (normal-top-level, command-line-1):
7637 * lisp/minibuffer.el (read-file-name-default):
7638 Handle default-directory being nil.
7639
7640 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
7641
7642 Fix "not a tty" bug on Solaris 10
7643 * configure.ac (PTY_OPEN): Define to plain 'open'
7644 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
7645 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
7646 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
7647 hosts that call grantpt which does its work via a setuid subcommand
7648 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
7649 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
7650 seems relevant in that case too.
7651
7652 2015-06-11 Juri Linkov <juri@linkov.net>
7653
7654 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
7655 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
7656 (Bug#20785)
7657
7658 2015-06-11 Glenn Morris <rgm@gnu.org>
7659
7660 * lisp/international/characters.el (char-script-table): Fix typo.
7661
7662 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
7663
7664 Fix quoting of help for functions with odd names
7665 While investigating Bug#20759, I discovered other quoting problems:
7666 C-h f mishandled characters like backslash and quote in function names.
7667 This fix changes the behavior so that 'C-h f pcase RET' now
7668 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
7669 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
7670 in src/lread.c's read1 function says that the backslash will be
7671 needed starting in Emacs 25, which implies that 'format' is
7672 correct and the old pcase documention was wrong to omit the backslash.
7673 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
7674 * lisp/help-fns.el (help-fns--signature):
7675 * lisp/help.el (help-add-fundoc-usage):
7676 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
7677 Use help--make-usage-docstring rather than formatting
7678 help-make-usage.
7679 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
7680 Return raw docstring.
7681 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
7682 raw docstring. Take more care to distinguish raw from cooked dstrings.
7683 (describe-function-1): Let help-fns--signature substitute
7684 command keys.
7685 * lisp/help.el (help--docstring-quote): New function.
7686 (help-split-fundoc): Use it, to quote funny characters more
7687 systematically.
7688 (help--make-usage): Rename from help-make-usage, since this
7689 should be private. Leave an obsolete alias for the old name.
7690 (help--make-usage-docstring): New function.
7691 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
7692
7693 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * lisp/thingatpt.el (in-string-p): Revert last change,
7696 since in-string-p is not used in thingatpt.el but only from outside.
7697 Also, use lexical binding.
7698
7699 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
7700
7701 * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons
7702 * test/automated/let-alist.el (let-alist-cons): Test it.
7703
7704 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7705
7706 * src/syntax.c (Fbackward_prefix_chars): Reword docstring
7707
7708 2015-06-10 Glenn Morris <rgm@gnu.org>
7709
7710 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
7711
7712 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
7713 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
7714 * admin/gitmerge.el (gitmerge-commit-message):
7715 Exclude "skipped" messages from ChangeLog once again.
7716
7717 Slight namespace cleanup for thingatpt.el.
7718 * lisp/thingatpt.el (thing-at-point--in-string-p)
7719 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
7720 (thing-at-point--read-from-whole-string): Rename from
7721 old versions without "thing-at-point--" prefix.
7722 Keep old versions as obsolete aliases. Update all uses.
7723
7724 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
7725 Move requiring of finder from here...
7726 (checkdoc-package-keywords): ... to here.
7727
7728 Use 'user-error' in a few calendar files.
7729 * lisp/calendar/appt.el (appt-add):
7730 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
7731 (calendar-generate):
7732 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
7733 Replace 'error' with 'user-error'.
7734
7735 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
7736
7737 * lisp/files-x.el (add-file-local-variable):
7738 Special-case 'lexical-binding'. (Bug#20641)
7739
7740 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
7741 No longer autoload.
7742 * doc/misc/autotype.texi (Executables):
7743 Undocument executable-self-display.
7744
7745 * lisp/progmodes/executable.el (executable-self-display):
7746 Use non-obsolete tail syntax. (Bug#20779)
7747 (executable-self-display): Doc update.
7748
7749 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
7752 (finder-known-keywords): Silence byte-compiler.
7753
7754 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * lisp/simple.el (eval-expression): Macroexpand before evaluating (bug#20730)
7757
7758 * lisp/progmodes/sh-script.el: Better handle nested quotes
7759 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
7760 (sh-font-lock-quoted-subshell): Make sure double quotes within single
7761 quotes don't mistakenly end prematurely the surrounding string.
7762
7763 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
7764
7765 2015-06-09 Glenn Morris <rgm@gnu.org>
7766
7767 * test/automated/Makefile.in (ELFILES): Sort.
7768
7769 * Makefile.in (SUBDIR_MAKEFILES):
7770 * lwlib/Makefile.in (WARN_CFLAGS):
7771 Use built-in Make functions rather than echo+sed.
7772
7773 2015-06-09 Eli Zaretskii <eliz@gnu.org>
7774
7775 Update char-script-table
7776 * lisp/international/characters.el (char-script-table): Update
7777 from Unicode 8.0 Draft.
7778
7779 Improve font selection for punctuation and other symbols
7780 * src/fontset.c (face_for_char): If the character's script is
7781 'symbol', and the font used for ASCII face has a glyph for it, use
7782 the font for the ASCII face instead of searching the fontsets.
7783 This comes instead of NS-specific code that used the current
7784 face's font instead, which is now disabled due to undesirable
7785 consequences. (Bug#20727)
7786
7787 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
7788
7789 Skip past `#' to find BEG
7790 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Skip
7791 past `#' to find BEG (bug#20771).
7792 * test/automated/elisp-mode-tests.el
7793 (elisp-completes-functions-after-hash-quote): New test.
7794
7795 2015-06-08 Eli Zaretskii <eliz@gnu.org>
7796
7797 Fix compilation warning/error in --without-x builds
7798 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
7799 code on HAVE_WINDOW_SYSTEM.
7800
7801 Improve the default fontset wrt symbols
7802 * lisp/international/fontset.el (setup-default-fontset): Better
7803 setup of fontset-default for symbols: use Symbola and FreeMono.
7804 (Bug#20727)
7805
7806 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
7807
7808 Add new command checkdoc-package-keywords
7809 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New
7810 defcustom.
7811 (checkdoc-list-of-strings-p): Add doc.
7812 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
7813 non-nil, call `checkdoc-package-keywords'.
7814 (checkdoc-get-keywords): New defun.
7815 (checkdoc-package-keywords): New command. Warns if the current file
7816 has package.el-style keywords that aren't in `finder-known-keywords'.
7817 * etc/NEWS: Add entry.
7818
7819 2015-06-08 Eli Zaretskii <eliz@gnu.org>
7820
7821 Avoid crashes when key-binding is called from a timer
7822 * src/keymap.c (Fkey_binding): Don't segfault if called with an
7823 empty vector as KEY. (Bug#20705)
7824
7825 Fix a thinko in arc-mode.el
7826 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
7827 non-Zip64 case. (Bug#20769)
7828
7829 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
7830
7831 * lisp/emacs-lisp/package.el (package-delete): Make interactive
7832
7833 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
7834
7835 checkdoc.el (checkdoc-file): New function
7836 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When
7837 `checkdoc-diagnostic-buffer' is set to "*warn*", print the warning
7838 to the standard output.
7839 (bug#20754)
7840
7841 2015-06-07 Glenn Morris <rgm@gnu.org>
7842
7843 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
7844
7845 * src/font.c (syms_of_font) <font-log>: Doc fix.
7846
7847 Remove the obsolete leading "*" from some C doc strings.
7848 * src/coding.c (syms_of_coding):
7849 * src/font.c (syms_of_font): Remove leading "*" from docs.
7850 * lisp/cus-start.el (enable-character-translation): Add it.
7851
7852 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
7853
7854 Move gen_origin from program to data
7855 That way, 'make change-history' needs to change only ChangeLog.2,
7856 instead of having to change two files.
7857 * ChangeLog.2: Add commit info for range that this file covers.
7858 * Makefile.in (new_commit_regexp): New macro.
7859 (change-history-nocommit): Simplify, by putting what used to be
7860 the gen_origin value into the data (ChangeLog.2) rather than
7861 into the program (gitlog-to-emacslog).
7862 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
7863 the input file (e.g., ChangeLog.2) rather than by having a
7864 constant in the program. Substitute it into the output.
7865
7866 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
7867
7868 Escape any quotes in the function name
7869 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
7870 function name (bug#20759).
7871
7872 2015-06-07 Eli Zaretskii <eliz@gnu.org>
7873
7874 Adapt 'struct timespec' to next release of MinGW runtime
7875 * nt/inc/ms-w32.h (struct timespec): Don't declare if
7876 __struct_timespec_defined is defined.
7877
7878 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
7879
7880 Merge from gnulib
7881 This incorporates:
7882 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
7883 2015-06-05 stdio: Don't redefine gets when using C++
7884 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
7885 2015-06-02 file-has-acl: fix build on Mac OS X 10
7886 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
7887 2015-06-01 pthread_sigmask: discount system version if a simple macro
7888 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
7889 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
7890 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
7891 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
7892 * lib/gnulib.mk: Regenerate.
7893
7894 2015-06-06 Juri Linkov <juri@linkov.net>
7895
7896 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
7897 before calling grep-compute-defaults because now it affects the
7898 command lines computed in grep-compute-defaults. (Bug#20728)
7899
7900 2015-06-06 Glenn Morris <rgm@gnu.org>
7901
7902 Address some compilation warnings.
7903 * lisp/international/mule-cmds.el (w32-get-console-codepage)
7904 (w32-get-console-output-codepage):
7905 * lisp/progmodes/elisp-mode.el (xref-collect-references):
7906 * lisp/version.el (cairo-version-string): Declare.
7907 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
7908
7909 2015-06-06 Eli Zaretskii <eliz@gnu.org>
7910
7911 Fix display when a font claims large values of ascent and descent
7912 This fixes bug#20628.
7913 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
7914 coordinate of a hollow cursor glyph when the original glyph's
7915 ascent is too small.
7916 (get_font_ascent_descent, normal_char_ascent_descent)
7917 (normal_char_height): New functions.
7918 (handle_single_display_spec, append_space_for_newline)
7919 (calc_pixel_width_or_height, produce_stretch_glyph)
7920 (calc_line_height_property): Use normal_char_ascent_descent and
7921 normal_char_height.
7922 (x_produce_glyphs): When font-global values of ascent and descent
7923 are too large, use per-character glyph metrics instead, if
7924 possible. But don't allow the glyph row's ascent and descent
7925 values become smaller than the values from the metrics of the
7926 font's "normal" character.
7927 * src/xftfont.c (xftfont_draw):
7928 * src/w32font.c (w32font_draw): Correct the values of ascent and
7929 descent used to draw glyphless characters' hex code in a box.
7930 * src/xterm.c (x_draw_glyph_string_background):
7931 * src/xdisp.c (x_produce_glyphs):
7932 * src/w32term.c (x_draw_glyph_string_background):
7933 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
7934 to detect fonts whose global ascent and descent values are too
7935 large to be used in layout decision, and redraw the background
7936 when that happens.
7937 * src/dispextern.h (FONT_TOO_HIGH): New macro.
7938 (get_font_ascent_descent): Add prototype.
7939 * src/xterm.c (x_new_font):
7940 * src/w32term.c (x_new_font):
7941 * src/nsterm.m (x_new_font):
7942 * src/font.c (font_open_entity):
7943 * src/composite.c (composition_gstring_width): Use
7944 get_font_ascent_descent to obtain reasonable values for ascent and
7945 descent of a font.
7946
7947 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
7948
7949 Add assertion in adjust_point_for_property
7950 * src/keyboard.c (adjust_point_for_property): Add eassert for
7951 current buffer being shown in selected window.
7952
7953 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
7954
7955 Replace uses of in-string-p; make it obsolete
7956 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
7957 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
7958
7959 2015-06-06 Eli Zaretskii <eliz@gnu.org>
7960
7961 Fix Dired display of an explicit list of files by ls-lisp.el
7962 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
7963 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
7964 correct for when displaying individual files separately, not as
7965 part of listing a directory, in which case these values are not
7966 recomputed by 'ls-lisp-insert-directory', but used verbatim.
7967
7968 * lisp/dired.el (dired): Doc fix. (Bug#20739)
7969
7970 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
7971
7972 Do not adjust point in a non-selected window
7973 * src/keyboard.c (command_loop_1): Do not adjust point when
7974 current buffer is not shown in selected window (Bug#20590).
7975
7976 * etc/DEBUG: Mention 'maybe_call_debugger'
7977
7978 2015-06-05 Nicolas Petton <nicolas@petton.fr>
7979
7980 Fix a unit test for map.el
7981 * test/automated/map-tests.el (test-map-let): Fix the test to work
7982 with the new syntax of `map-let'.
7983
7984 * lisp/emacs-lisp/map.el (map-let): Better docstring.
7985
7986 Better syntax for the map pcase pattern
7987 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
7988 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
7989
7990 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
7991
7992 Fix a byte-compiler error in map-put and map-delete
7993 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
7994 called with a symbol.
7995
7996 2015-06-05 Glenn Morris <rgm@gnu.org>
7997
7998 * admin/gitmerge.el (gitmerge-commit-message):
7999 Revert to including "skipped" messages in ChangeLog once again.
8000
8001 2015-06-05 Tassilo Horn <tsdh@gnu.org>
8002
8003 Use string> instead of equiv lambda with string<
8004 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
8005 lambda with string<.
8006
8007 2015-06-05 Glenn Morris <rgm@gnu.org>
8008
8009 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
8010 (map--delete-array): Fix typo.
8011
8012 * test/automated/map-tests.el: Replace "assert" with "should".
8013
8014 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
8015 (SUBDIRS_REL): Derive from SUBDIRS.
8016
8017 Tweak some build messages.
8018 * lisp/Makefile.in ($(lisp)/loaddefs.el):
8019 * lisp/cus-dep.el (custom-make-dependencies):
8020 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
8021 * lisp/international/titdic-cnv.el (batch-titdic-convert):
8022 Don't say how to compile.
8023
8024 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
8025
8026 Omit U+0332 COMBINING LOW LINE in previous change
8027 It turns out that it does not work on Ubuntu 15.04.
8028
8029 Fix transliteration of Bahá'í months
8030 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
8031 Improve quality of Latin transliteration of Bahá'í month names.
8032
8033 Fix curved quotes in a few places
8034 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
8035 The strings in question are not doc strings, so this partially
8036 undoes the recent change that assumed they were doc strings.
8037 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
8038 * lisp/info.el (Info-finder-find-node):
8039 Use curved quotes.
8040 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
8041 Also allow curved quotes in doc strings.
8042
8043 2015-06-04 Glenn Morris <rgm@gnu.org>
8044
8045 * lisp/Makefile.in (AM_V_at): Add missing definition.
8046
8047 * lisp/Makefile.in: Quieten output a bit.
8048 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
8049 Don't echo directories, since the commands we invoke print them.
8050
8051 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
8052 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
8053 (SUBDIRS_SUBDIRS): New variables.
8054 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
8055 Remove.
8056 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
8057 (update-subdirs, compile-main, compile-clean):
8058 Replace "setwins" usage with new "SUBDIRS" variables.
8059
8060 * lisp/vc/compare-w.el (compare-windows-get-window-function):
8061 Fix :version tag.
8062
8063 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8064
8065 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
8066
8067 Undo removal of x_clear_area call on expose for GTK3 or cairo.
8068 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear
8069 exposed area. (Bug#20677)
8070
8071 2015-06-04 Glenn Morris <rgm@gnu.org>
8072
8073 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
8074
8075 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
8076
8077 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
8078 Rename from quail-lao-update-translation, since lao.el defines that.
8079
8080 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
8081
8082 Handle new-style advice in find-funct
8083 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
8084 Handle new-style advice. Return the symbol's function definition.
8085 (Bug#20718)
8086 (find-function-library): Update accordingly.
8087
8088 2015-06-04 Nicolas Petton <nicolas@petton.fr>
8089
8090 Merge branch 'map'
8091
8092 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
8093
8094 Add new function string-greaterp
8095 * lisp/subr.el (string-greaterp): New function. Also aliased to
8096 `string>'.
8097 * test/automated/subr-tests.el (string-comparison-test): Add unit
8098 tests for `string>'and `string<'.
8099 * src/fns.c (string-lessp): Better docstring.
8100
8101 2015-06-04 Eli Zaretskii <eliz@gnu.org>
8102
8103 Fix timezone-related functions on MS-Windows
8104 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
8105 'xputenv', even if no reallocation of tzvalbuf was necessary.
8106 This fixes a bug in timezone-related functions on MS-Windows.
8107 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
8108
8109 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
8110
8111 Don't pass raw directory name to 'error'
8112 * lisp/files.el (basic-save-buffer-2): Avoid format error if
8113 a directory name contains a string like "%s".
8114
8115 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
8116
8117 Override 'grep --color=always'
8118 * lisp/progmodes/xref.el (xref-collect-matches):
8119 Override --color=always in grep-find-template.
8120
8121 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
8122
8123 Fix error introduced recently in file-notify-tests.el
8124 * test/automated/file-notify-tests.el
8125 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
8126 (file-notify--deftest-remote): Revert previous patch, not
8127 necessary anymore.
8128
8129 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
8130
8131 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
8132 Starting from a display string after a newline, point went to the
8133 previous line. Also, fix an inadvertent use of a buffer position
8134 with FETCH_BYTE. (Bug#20701)
8135
8136 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
8137
8138 Instrument file-notify-test.el in order to catch hydra error.
8139 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
8140 Wrap body by `ignore-case', in order to trap non-local errors.
8141
8142 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8143
8144 Undo previous changes in non-toolkit scroll bar drawing.
8145 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
8146 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
8147
8148 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
8149
8150 * .gitignore: Also ignore doc/*/*/*.html and .ps.
8151
8152 Support quotes 'like this' in info files
8153 This is possible when 'makeinfo --disable-encoding' is used
8154 in Texinfo 5.
8155 * lisp/calc/calc-help.el (calc-describe-thing):
8156 * lisp/gnus/gnus-art.el (gnus-button-alist):
8157 * lisp/info.el (Info-find-index-name):
8158 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
8159 Also support quotes 'like this'.
8160 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
8161 * lisp/finder.el (finder-font-lock-keywords): Remove var that
8162 hasn't been used in years, instead of bothering to fix its quoting.
8163
8164 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
8165
8166 * .gitignore: Remove !test/etags/html-src/*.html.
8167 It's no longer needed, since *.html was removed. Sort.
8168
8169 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
8170
8171 Restore <D> instead of '.' in grep-find-template
8172 * lisp/cedet/semantic/symref/grep.el
8173 (semantic-symref-grep-use-template): Update a comment.
8174 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
8175 instead of '.' in grep-find-template (bug#20719).
8176 (rgrep): Pass nil as the directory to rgrep-default-command.
8177 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
8178 default value for DIR.
8179 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
8180 workaround.
8181
8182 2015-06-02 Glenn Morris <rgm@gnu.org>
8183
8184 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
8185
8186 * configure.ac (emacs_config_features): Add Cairo.
8187
8188 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
8189
8190 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
8191
8192 Ensure, that autorevert works for remote files in file-notify-tests.el
8193 * test/automated/file-notify-tests.el (file-notify--test-desc):
8194 New defvar.
8195 (file-notify--test-remote-enabled)
8196 (file-notify-test00-availability, file-notify-test01-add-watch)
8197 (file-notify-test02-events): Use it.
8198 (file-notify--test-event-test): Check proper descriptor.
8199 (file-notify-test03-autorevert): Ensure, that
8200 `visited-file-modtime' has changed.
8201 (Bug#20392)
8202
8203 2015-06-02 Nicolas Petton <nicolas@petton.fr>
8204
8205 Add a pcase pattern for maps and `map-let' based on it
8206 * lisp/emacs-lisp/map.el (map-let): New macro.
8207 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
8208 * test/automated/map-tests.el: New test for `map-let'.
8209
8210 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
8211
8212 Reuse rgrep mechanics in xref-find-regexp
8213 * lisp/progmodes/grep.el (rgrep-default-command):
8214 Extract from `rgrep'.
8215 * lisp/progmodes/xref.el (xref-collect-references): Split from
8216 `xref-collect-matches'. Only handle the case of symbol search.
8217 (xref-collect-matches): Instead of Semantic Symref, use
8218 `rgrep-default-command', to take advantage of its directory and
8219 file ignore settings.
8220 (xref--collect-match): Remove the last argument, leaving the
8221 regexp construction up to the caller.
8222 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
8223 Change to take the xref-collect- function to use as an argument.
8224 (elisp-xref-find): Update accordingly.
8225 * lisp/progmodes/etags.el (etags--xref-find-matches)
8226 (etags-xref-find): Same.
8227
8228 Move xref-elisp-location to elisp-mode.el
8229 * lisp/progmodes/xref.el (xref-elisp-location)
8230 (xref-make-elisp-location, xref-location-marker): Remove here.
8231 (xref--xref): Don't limit the type of the location slot.
8232 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
8233 Define as a cl-struct here.
8234 (xref-location-marker): Move here.
8235
8236 2015-06-02 Eli Zaretskii <eliz@gnu.org>
8237
8238 Minor tweaks for .gitignore
8239 * .gitignore: Don't ignore versioned *.html and *.ps files. Don't
8240 ignore admin/notes/tags that might be ignored as TAGS on
8241 case-insensitive filesystems. (Bug#20710)
8242
8243 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
8244
8245 Generate curved quotes in ert doc
8246 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
8247 (ert-results-mode-menu)
8248 (ert-results-pop-to-backtrace-for-test-at-point)
8249 (ert-results-pop-to-messages-for-test-at-point)
8250 (ert-results-pop-to-should-forms-for-test-at-point)
8251 (ert-describe-test):
8252 Quote ‘like this’, not `like this', when generating doc strings
8253 and the like.
8254 * test/automated/ert-x-tests.el (ert-test-describe-test):
8255 Allow quoting ‘like this’.
8256
8257 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
8258
8259 Add test for previous commit
8260 * test/automated/replace-tests.el: New file.
8261 (query-replace--split-string-tests): Add test for previous commit.
8262
8263 Avoid confusion in query-replace history when replacing NUL chars
8264 * lisp/replace.el (query-replace--split-string): New function.
8265 (query-replace-read-from): Rely on the 'separator' property
8266 instead of searching for the NUL character (Bug#20690).
8267
8268 2015-06-02 Glenn Morris <rgm@gnu.org>
8269
8270 Merge from origin/emacs-24
8271 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
8272
8273 * admin/gitmerge.el (gitmerge-commit-message):
8274 Exclude "skipped" messages from ChangeLog.
8275
8276 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
8277
8278 Sync with Tramp repository
8279 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
8280 messages.
8281 (tramp-handle-make-auto-save-file-name): When calling
8282 `make-auto-save-file-name' internally, make sure it uses Unix-like
8283 behavior, not Windows-like behavior.
8284 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
8285 the local case, because "chown" might fail on w32.
8286 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
8287 for XEmacs.
8288
8289 2015-06-01 Eli Zaretskii <eliz@gnu.org>
8290
8291 MS-Windows followup for batch stdout/stderr output changes
8292 * lisp/international/mule-cmds.el (set-locale-environment): In
8293 batch mode, use console codepages for keyboard and terminal
8294 encoding. (Bug#20545)
8295
8296 Update .gitattributes for DOS EOL files
8297 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
8298 CRLF end-of-line format.
8299
8300 NS equivalents of xterm.c and w32term.c changes
8301 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
8302 glyph string background also when the font in use claims
8303 preposterously large global height value. Helps to remove
8304 artifacts left from previous displays when glyphless characters
8305 are displayed as hex code in a box.
8306 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
8307 value for FRAME_LINE_HEIGHT, even when a font claims very large
8308 value for its height.
8309
8310 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
8311
8312 Avoid grave accent quoting in stderr diagnostics
8313 A few Emacs diagnostics go directly to stderr, and so can't easily
8314 contain curved quotes (as non-UTF-8 locales might mishandle them).
8315 Instead of bothering to add support for this rarity, reword the
8316 diagnostics so that they don't use grave accent to quote.
8317 * src/alloc.c (mark_memory): Fix comment.
8318 * src/buffer.c (init_buffer):
8319 * src/dispnew.c (init_display):
8320 * src/emacs.c (main, sort_args):
8321 * src/lread.c (dir_warning):
8322 * src/term.c (init_tty):
8323 * src/unexmacosx.c (unexec):
8324 * src/xfns.c (select_visual):
8325 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
8326 Reword stderr diagnostics to avoid quoting `like this'.
8327 * src/unexmacosx.c: Include errno.h.
8328 * src/xfns.c (select_visual): Encode value for locale.
8329
8330 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
8331
8332 Treat batch stdout/stderr like standard display
8333 Calls like (print FOO) could generate improperly encoded or
8334 hard-to-read output if FOO contains characters outside the system
8335 locale. Fix this by treating batch stdout and stderr like
8336 interactive standard display, when it comes to transliterating and
8337 encoding characters (Bug#20545).
8338 * doc/emacs/mule.texi (Communication Coding):
8339 * doc/lispref/display.texi (Active Display Table):
8340 * doc/lispref/nonascii.texi (Locales):
8341 * etc/NEWS:
8342 * src/coding.c (syms_of_coding):
8343 * src/dispnew.c (syms_of_display):
8344 Document this.
8345 * src/print.c: Include disptab.h.
8346 (printchar_to_stream): New function, with much of the guts of the
8347 old Fexternal_debugging_output, except this one also uses the
8348 standard display table.
8349 (printchar, strout, Fexternal_debugging_output): Use it.
8350
8351 2015-05-31 Glenn Morris <rgm@gnu.org>
8352
8353 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
8354
8355 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
8356
8357 Remove unused DEFSYMs
8358 Remove DEFSYMs that aren't used at the C level. Also:
8359 * src/decompress.c (Qzlib_dll):
8360 * src/font.c (Qunicode_sip):
8361 * src/frame.c (Qtip_frame):
8362 * src/ftfont.c (Qserif):
8363 * src/gnutls.c (Qgnutls_dll):
8364 * src/xml.c (Qlibxml2_dll):
8365 Move from here ...
8366 * src/w32fns.c (syms_of_w32fns): ... to here,
8367 as these are used only on MS-Windows.
8368
8369 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
8370
8371 Use another default value for tramp-histfile-override
8372 * lisp/net/tramp-sh.el (tramp-histfile-override):
8373 Use ".tramp_history" as default.
8374 Fixes: debbugs:#20446
8375
8376 2015-05-29 Nicolas Petton <nicolas@petton.fr>
8377
8378 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
8379
8380 2015-05-16 Nicolas Petton <nicolas@petton.fr>
8381
8382 * etc/NEWS: Add an entry about map.el
8383
8384 Improve the docstring of functions in map.el
8385 Since a map is not a data structure but a concept, adding information
8386 about the possible types of maps can be useful information.
8387 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
8388 each public function.
8389
8390 2015-04-29 Nicolas Petton <nicolas@petton.fr>
8391
8392 Faster implementation of map-empty-p
8393 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
8394 specific tests depending on the type of the map.
8395
8396 * lisp/emacs-lisp/map.el: Better docstrings.
8397
8398 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
8399
8400 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
8401
8402 2015-04-25 Nicolas Petton <nicolas@petton.fr>
8403
8404 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
8405
8406 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
8407
8408 Fix a false negative in `map-elt' with alists and values being nil
8409 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
8410 found but its associated value is nil, do not return the default
8411 value.
8412 * test/automated/map-tests.el: Add a regression test.
8413
8414 2015-04-24 Nicolas Petton <nicolas@petton.fr>
8415
8416 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
8417
8418 Do not signal an error when trying to delete a key from an array
8419 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
8420 the key is present to avoid signaling an error.
8421 * test/automated/map-tests.el: Add a test for deleting non-existing
8422 keys from maps.
8423
8424 * lisp/emacs-lisp/map.el: Better docstring.
8425
8426 Minor improvement in map-elt.
8427 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
8428 doing a lookup in arrays, but check the boundaries of the array
8429 instead.
8430 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
8431 and a negative integer as key.
8432
8433 2015-04-21 Nicolas Petton <nicolas@petton.fr>
8434
8435 * test/automated/map-tests.el: Refactoring of test methods.
8436
8437 * test/automated/map-tests.el: Renamed from map-test.el.
8438
8439 2015-04-18 Nicolas Petton <nicolas@petton.fr>
8440
8441 * lisp/emacs-lisp/map.el (map-into): Better error message.
8442
8443 * lisp/emacs-lisp/map.el: Removes byte-compilation warnings.
8444
8445 Throw an error when converting a map into an unknown map type
8446 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid.
8447 * test/automated/map-test.el: Add a regression test.
8448
8449 New library map.el similar to seq.el but for mapping data structures.
8450 * test/automated/map-test.el: New file.
8451 * lisp/emacs-lisp/map.el: New file.
8452
8453 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
8454
8455 Make sure there's no explicit tag name
8456 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
8457 there's no explicit tag name (bug#20629).
8458
8459 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
8460
8461 Remove format2
8462 * src/editfns.c, src/lisp.h (format2): Remove.
8463 It is more trouble than it's worth, now that we have CALLN.
8464 This is just a minor refactoring.
8465 * src/buffer.c (Fkill_buffer):
8466 * src/dbusbind.c (XD_OBJECT_TO_STRING):
8467 * src/fileio.c (barf_or_query_if_file_exists):
8468 Adjust to format2 going away.
8469
8470 Don't misencode C-generated messages
8471 Also, be more consistent about calls to 'Fmessage' vs 'message'.
8472 * src/alloc.c (Fgc_status):
8473 Prefer AUTO_STRING to build_string for Fmessage call.
8474 * src/data.c (Fmake_variable_buffer_local)
8475 (Fmake_local_variable, Fmake_variable_frame_local):
8476 * src/doc.c (store_function_docstring):
8477 Use Fmessage, not message, since the argument can contain
8478 non-ASCII characters, and this can cause the resulting message
8479 to be incorrectly encoded for the current environment.
8480 * src/fns.c (maybe_resize_hash_table):
8481 * src/xselect.c (x_clipboard_manager_save_all):
8482 Use message, not Fmessage, since Fmessage's power isn't needed here.
8483 * src/process.c (Fmake_network_process): Reword message to avoid %s.
8484 * src/xdisp.c (vmessage): Document restrictions on message contents.
8485 (message_nolog) [false]: Remove unused code.
8486
8487 Use \r rather than ^M in string literals
8488 This is less likely to cause problems on platforms that
8489 use CRLF (or CR!) termination for lines.
8490
8491 Update .gitattributes to match current sources
8492 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
8493 * .gitattributes: Accommodate tests that insist on DOS format.
8494 Remove test/automated/data/decompress/foo-gzipped.
8495 Add etc/e/eterm-color.
8496
8497 2015-05-30 Eli Zaretskii <eliz@gnu.org>
8498
8499 Document 'face-ignored-fonts'
8500 * doc/emacs/mule.texi (Modifying Fontsets): Document
8501 face-ignored-fonts. (Bug#20628)
8502
8503 Add etags test for the new -Q option
8504 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
8505 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
8506 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
8507 test-case changes below.
8508 * test/etags/ETAGS.good_6: New file.
8509 * test/etags/cp-src/x.cc: New file.
8510 * test/etags/Makefile (CPSRC): Add x.cc.
8511 (check): Add one more test, for -Q.
8512
8513 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
8514
8515 Use list for the tags completion table, not obarray
8516 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
8517 list instead of an obarray
8518 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
8519 (tags-completion-table): Combine those lists.
8520 (tags-completion-table): Update the docstring.
8521
8522 2015-05-30 Eli Zaretskii <eliz@gnu.org>
8523
8524 Restore EOL format testing in etags
8525 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
8526 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
8527 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
8528 test-case changes below.
8529 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
8530 * test/etags/cp-src/c.C (B): Add back stray CR character.
8531 * test/etags/c-src/dostorture.c: Add back.
8532 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
8533
8534 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
8535
8536 Declare Emacs on MS-Windows to be DPI-aware
8537 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
8538 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
8539 This avoids Windows entering compatibility mode for Emacs,
8540 which causes fonts to look less nice.
8541
8542 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
8543
8544 Improve Tramp traces.
8545 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
8546 * lisp/net/tramp.el (tramp-debug-message): Use it.
8547
8548 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
8549
8550 backup-buffer minor reworking of internals
8551 * lisp/files.el (backup-buffer): Rework to avoid a couple of
8552 unused locals inadvertently introduced in the previous change.
8553
8554 backup-buffer now reports .emacs.d/%backup% ills
8555 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
8556 fails due to disk space exhaustion or whatever, do not pretend
8557 that it succeeded. More generally, do a better job of checking
8558 for I/O failures, and limit the scope of the condition-case to
8559 just the operations where file errors should be caught and ignored
8560 (Bug#20595). Also, don't bother trying to delete later backups if
8561 an earlier deletion fails, as this is a sign of trouble and it's
8562 better to stop when there's trouble.
8563
8564 copy-file now truncates output after writing
8565 * src/fileio.c (Fcopy_file): Truncate output after writing rather
8566 than before. This is more likely to work than truncation before
8567 writing, if the file system is out of space or the user is over
8568 disk quota (Bug#20595). Also, check for read errors.
8569
8570 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
8571
8572 * lisp/emacs-lisp/package.el: Don't load from parent dir
8573 (package-load-all-descriptors): Don't load descriptors from
8574 directories above the package directories.
8575
8576 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
8577
8578 Merge from gnulib
8579 This incorporates the following (Bug#20681):
8580 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
8581 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
8582 * lib/set-permissions.c: Copy from gnulib.
8583
8584 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
8585
8586 Improve Tramp traces.
8587 * lisp/net/tramp.el (tramp-call-process-region): New defun.
8588 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
8589
8590 2015-05-29 Glenn Morris <rgm@gnu.org>
8591
8592 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
8593
8594 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
8595
8596 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
8597 The signature was changed in the cairo branch, merged on 2015-05-23.
8598 This oversight broke compiling only the non-toolkit X version.
8599
8600 2015-05-29 Samer Masterson <samer@samertm.com>
8601
8602 * doc/lispref/os.texi: Update initial-buffer-choice docs.
8603
8604 2015-05-29 Glenn Morris <rgm@gnu.org>
8605
8606 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
8607 Mark as an expected failure.
8608
8609 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
8610
8611 Change package test to look for curved quotes
8612 * test/automated/package-test.el (package-test-describe-package)
8613 (package-test-signed): Search for curved single quotes as well as
8614 for grave accent and apostrophe.
8615
8616 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
8617
8618 gnus-art.el: Re-revert last change
8619 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
8620 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
8621
8622 2015-05-28 Samer Masterson <samer@samertm.com>
8623
8624 Show files when `initial-buffer-choice' is non-nil
8625 * startup.el (command-line-1): When Emacs is given a file as an
8626 argument and `initial-buffer-choice' is non-nil, display both the file
8627 and `initial-buffer-choice'. For more than one file, show
8628 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
8629 commands out of the command line arg parser.
8630 (initial-buffer-choice): Clarify docstring.
8631
8632 2015-05-28 Eli Zaretskii <eliz@gnu.org>
8633
8634 Fix last commit
8635 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
8636 (gnulib module qcopy-acl): Add back, as it is harmless. This
8637 minimizes differences wrt lib/gnulib.mk.
8638
8639 Fix the MS-Windows build as followup to gnulib update
8640 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
8641 set-permissions.c, as they don't compile on MinGW.
8642 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
8643
8644 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
8645
8646 Revert my change to gnus-art.el
8647 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
8648 It wasn't that important, and it caused a Gnus build to fail. See:
8649 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
8650
8651 New minor mode Electric Quote
8652 This lets you easily insert quotes ‘like this’ by typing
8653 quotes `like this', and similarly you can easily insert
8654 quotes “like this” by typing quotes ``like this'' (Bug#20545).
8655 * doc/emacs/basic.texi (Inserting Text):
8656 * doc/emacs/modes.texi (Minor Modes):
8657 * etc/NEWS: Document it.
8658 * doc/emacs/text.texi (Quotation Marks): New section.
8659 * lisp/electric.el (electric-quote-comment)
8660 (electric-quote-string, electric-quote-paragraph):
8661 New custom vars.
8662 (electric--insertable-p)
8663 (electric-quote-post-self-insert-function): New functions.
8664 (electric-quote-mode, electric-quote-local-mode): New minor modes.
8665 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
8666 Add curved single quotes to electric-pair-text-pairs.
8667 Set electric-quote-string in this buffer.
8668
8669 A few more doc string fixes (Bug#20385)
8670
8671 Accept curved quotes in doc strings
8672 * lisp/info-look.el (info-lookup-guess-custom-symbol):
8673 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
8674
8675 Generate curved quotes in pseudo-info nodes
8676 * lisp/info.el (Info-virtual-index-find-node)
8677 (Info-virtual-index, Info-apropos-find-node, info-apropos):
8678 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
8679
8680 Fix minor quoting problems in doc strings
8681 Most of these fixes involve escaping grave accents that are
8682 actually intended to be grave accents, not left quotes.
8683 (Bug#20385)
8684
8685 Support curved quotes in doc strings
8686 Emacs's traditional doc string style has been to quote symbols
8687 `like this'. This worked well on now-obsolete terminals where
8688 ` and ' were symmetric quotes, but nowadays curved quotes
8689 ‘like this’ look better. Support quoting the new way too.
8690 (Bug#20385)
8691 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
8692 ‘like-this’ as well as `like-this'.
8693 * etc/NEWS: Mention this.
8694 * lisp/cedet/mode-local.el (overload-docstring-extension)
8695 (mode-local-print-binding, mode-local-describe-bindings-2):
8696 * lisp/cus-theme.el (describe-theme-1):
8697 * lisp/descr-text.el (describe-text-properties-1, describe-char):
8698 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
8699 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
8700 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
8701 (eieio-help-constructor):
8702 * lisp/emacs-lisp/package.el (describe-package-1):
8703 * lisp/faces.el (describe-face):
8704 * lisp/help-fns.el (help-fns--key-bindings)
8705 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
8706 (help-fns--interactive-only, describe-function-1):
8707 (describe-variable):
8708 * lisp/help.el (describe-mode):
8709 * lisp/international/mule-cmds.el (describe-input-method)
8710 (describe-language-environment):
8711 * lisp/international/mule-diag.el (describe-character-set)
8712 (print-coding-system-briefly, list-input-methods)
8713 (list-input-methods-1):
8714 Insert curved quotes rather than grave accent and apostrophe.
8715 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
8716 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
8717 (checkdoc-proper-noun-region-engine):
8718 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
8719 (lisp-cl-font-lock-keywords-2):
8720 * lisp/finder.el (finder-font-lock-keywords):
8721 * lisp/gnus/gnus-art.el (gnus-button-alist):
8722 * lisp/help-fns.el (help-do-arg-highlight)
8723 (describe-function-1, describe-variable):
8724 * lisp/help-mode.el (help-xref-symbol-regexp)
8725 (help-xref-info-regexp, help-xref-url-regexp):
8726 * lisp/help.el (describe-mode):
8727 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
8728 * lisp/wid-edit.el (widget-documentation-link-regexp):
8729 Parse symbols quoted ‘like-this’ as well as `like-this'.
8730 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
8731 Add "‘" and "’" to electric-pair-text-pairs.
8732 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
8733 (elisp-completion-at-point, elisp--preceding-sexp):
8734 Also treat "‘" and "’" as quoting chars.
8735
8736 substitute-command-keys now curves quotes
8737 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
8738 * doc/lispref/help.texi (Keys in Documentation):
8739 * etc/NEWS: Document this.
8740 * src/doc.c (Fsubstitute_command_keys): Implement it.
8741
8742 2015-05-28 Glenn Morris <rgm@gnu.org>
8743
8744 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
8745 (rmail-summary-by-topic, rmail-summary-by-senders):
8746 No longer strip leading/trailing whitespace.
8747
8748 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
8749 (f90-no-block-limit): Add "enum". (Bug#20680)
8750 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
8751 New tests.
8752
8753 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * lisp/isearch.el (isearch--current-buffer): Give a default value.
8756
8757 Un-revert changes mistakenly dropped by f9fabb2b
8758
8759 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
8760
8761 Merge from gnulib
8762 This incorporates:
8763 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
8764 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
8765 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
8766 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
8767 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
8768 2015-05-26 stdio: fix probe on mingw under gcc 5.1
8769 * admin/merge-gnulib (GNULIB_MODULES):
8770 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
8771 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
8772 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
8773 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
8774 Get latest versions from gnulib.
8775 * lib/get-permissions.c, lib/set-permissions.c: New files.
8776 * lib/gnulib.mk, m4/gnulib-comp.m4:
8777 Regenerate.
8778 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
8779
8780 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
8781
8782 Delete the old process in vc-setup-buffer
8783 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
8784 process here.
8785 (vc-do-command): Rather than here (bug#20608).
8786
8787 2015-05-27 Ivan Shmakov <ivan@siamics.net>
8788
8789 Avoid gratuitous delete-dups in face-at-point.
8790 * lisp/faces.el (face-at-point): Do not compute the properly
8791 ordered, duplicate-free list if only a single value is
8792 requested anyway. (Bug#20519)
8793
8794 Show the exact C-x 8 RET invocation in describe-char.
8795 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
8796 invocation instead of a template. (Bug#20522)
8797
8798 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
8799
8800 * lisp/emacs-lisp/package.el: Don't erase tags on refresh
8801 (package-menu--post-refresh): Call `tabulated-list-print' with the
8802 UPDATE argument. This only affects the refresh action, the revert
8803 action still erases tags.
8804 (package-menu-get-status): Change `assq' to `assoc'.
8805 (package-menu--mark-upgrades-1): New function.
8806 (package-menu--mark-upgrades-pending): New variable.
8807 (package-menu-mark-upgrades): Use them to delay marking until
8808 after refresh is done.
8809 (package-menu--post-refresh): Call mark-upgrades-1 if
8810 mark-upgrades-pending is non-nil.
8811
8812 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
8813
8814 Fix typo in commit 3953c4be2816537be95520605d45b866dc731f4b
8815
8816 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * lisp/isearch.el (isearch--current-buffer): New var
8819 (isearch-update): Set cursor-sensor-inhibit here.
8820 (isearch-done): Unset cursor-sensor-inhibit in the right buffer (bug#20532).
8821
8822 Change inhibit-point-motion-hooks to t
8823 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
8824 to t and document it as obsolete.
8825
8826 2015-05-27 Eli Zaretskii <eliz@gnu.org>
8827
8828 Support ZIP files that use Zip64 extensions
8829 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
8830 format of central directory offsets used by Zip64 extensions.
8831 (Bug#20665)
8832
8833 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
8834
8835 New test tramp-test30-make-auto-save-file-name
8836 * tramp-tests.el (tramp-test30-make-auto-save-file-name): New test.
8837 (tramp-test31-special-characters)
8838 (tramp-test31-special-characters-with-stat)
8839 (tramp-test31-special-characters-with-perl)
8840 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
8841 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
8842 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
8843 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
8844
8845 Improve tramp-handle-make-auto-save-file-name
8846 * tramp.el (tramp-auto-save-directory): Add :tags.
8847 (tramp-handle-make-auto-save-file-name): Let native
8848 `make-auto-save-file-name' use `auto-save-file-name-transforms',
8849 if `tramp-auto-save-directory' is not set.
8850
8851 2015-05-27 Glenn Morris <rgm@gnu.org>
8852
8853 No longer set dired-directory in eshell. (Bug#16477)
8854 * lisp/eshell/esh-mode.el (eshell-mode):
8855 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
8856
8857 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
8858
8859 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
8860 * lisp/progmodes/cc-mode.el (c-mode-help-address):
8861 Change to submit@debbugs.
8862 (c-mode-bug-package): New constant.
8863 (mail-position-on-field): Declare.
8864 (c-submit-bug-report): Insert X-Debbugs-Package header.
8865 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
8866 Mention debbugs.gnu.org.
8867
8868 2015-05-26 Glenn Morris <rgm@gnu.org>
8869
8870 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
8871 (rmail-summary-by-recipients, rmail-summary-by-topic)
8872 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
8873 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
8874
8875 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
8876
8877 Handle curved quotes in info files
8878 * lisp/calc/calc-help.el (calc-describe-thing):
8879 * lisp/info.el (Info-find-index-name)
8880 (Info-try-follow-nearest-node, Info-fontify-node):
8881 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
8882 In info files, process quotes ‘like this’ the same way we process
8883 quotes `like this'. This catches a few places we missed earlier.
8884
8885 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
8886
8887 xref-prompt-for-identifier: Use a list value
8888 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
8889 value, to be interpreted as a list of commands.
8890 (xref--prompt-p): New function.
8891 (xref--read-identifier): Use it.
8892
8893 2015-05-26 Eli Zaretskii <eliz@gnu.org>
8894
8895 Teach MS-Windows font back-end return per-glyph ascent/descent
8896 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
8897 values.
8898 * src/w32font.c (w32font_text_extents): Compute, cache, and
8899 accumulate per-glyph ascent and descent values, instead of copying
8900 global values from the font. If the values are not available from
8901 the font data, i.e., non-TTF fonts, fall back on font-global values.
8902 (compute_metrics): Compute and return per-glyph ascent and descent
8903 values, if returned by GetGlyphOutlineW, falling back on
8904 font-global values. (Bug#20628)
8905 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
8906 height of rectangle to be drawn, to be compatible with
8907 XDrawRectangle. Fixes glyphless-char display as hex codes in a
8908 box, when per-glyph ascent/descent values are used.
8909
8910 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
8911
8912 * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter
8913 (tabulated-list-print): Don't sort if sorter is nil
8914
8915 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
8916
8917 Fix Bug#20621
8918 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
8919 are major modes which set `auto-save-mode' on their own rules;
8920 Tramp shall not overwrite such settings.
8921 (Bug#20621)
8922
8923 2015-05-26 Glenn Morris <rgm@gnu.org>
8924
8925 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
8926 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
8927 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
8928 Doc updates.
8929 (vc-dir-mode): Remove unnecessary autoload.
8930
8931 2015-05-25 Philipp Stephani <phst@google.com>
8932
8933 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52
8934 (xterm--extra-capabilities-type): Add `getSelection'.
8935 (xterm--query): Add `no-async' argument.
8936 (xterm--init-activate-get-selection): New function.
8937 (terminal-init-xterm): Use it.
8938 (xterm--init-modify-other-keys): Rename from
8939 terminal-init-xterm-modify-other-keys.
8940 (xterm--init-bracketed-paste-mode): Rename from
8941 terminal-init-xterm-bracketed-paste-mode.
8942 (xterm--init-activate-set-selection): Rename from
8943 terminal-init-xterm-activate-set-selection.
8944 (xterm--selection-char): New function.
8945 (gui-backend-set-selection): Use it. Use the &context to only apply
8946 this method in terminals where we enabled the feature.
8947 (gui-backend-get-selection): New method.
8948
8949 2015-05-25 Daniel Colascione <dancol@dancol.org>
8950
8951 Add C-language keyword constants to C++
8952 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
8953 keyword constants to C++.
8954
8955 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
8956
8957 Make TAGS files more portable to MS-Windows
8958 * etc/NEWS: Document this.
8959 * lib-src/etags.c (readline_internal) [DOS_NT]:
8960 Don't treat CRs differently from GNUish hosts.
8961 * lisp/progmodes/etags.el (etags-goto-tag-location):
8962 Adjust STARTPOS to account for the skipped CRs in dos-style files.
8963
8964 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
8965
8966 Improve fix of debbugs:20634 in tramp-sh.el
8967
8968 2015-05-25 Eli Zaretskii <eliz@gnu.org>
8969
8970 Fix a typo in last commit
8971 * lib-src/etags.c (C_entries): Fix a typo.
8972 * test/etags/ETAGS.good_1:
8973 * test/etags/ETAGS.good_2:
8974 * test/etags/ETAGS.good_3:
8975 * test/etags/ETAGS.good_4:
8976 * test/etags/ETAGS.good_5:
8977 * test/etags/CTAGS.good: Update due to the change in etags.c.
8978
8979 Fix tagging of class members in C-like OO languages
8980 * lib-src/etags.c (longopts): Add new option --class-qualify and
8981 its shorthand -Q.
8982 (print_help): Add help text for --class-qualify.
8983 (main): Add handling of -Q.
8984 (consider_token, C_entries) <omethodparm>: Append argument types
8985 to Objective C methods only if --class-qualify was specified.
8986 Qualify C++, Objective C, and Java class members with their class
8987 names only if --class-qualify was specified.
8988 (C_entries): If --class-qualify was not specified, remove the
8989 namespace and class qualifiers from tag names of C++ methods.
8990 This allows to use etags.el as xref back-end without the
8991 tag-symbol-match-p method, which greatly increases the number of
8992 potentially false positives. (Bug#20629)
8993 * doc/man/etags.1: Update to document the new --class-qualify
8994 option.
8995 * test/etags/ETAGS.good_1:
8996 * test/etags/ETAGS.good_2:
8997 * test/etags/ETAGS.good_3:
8998 * test/etags/ETAGS.good_4:
8999 * test/etags/ETAGS.good_5:
9000 * test/etags/CTAGS.good: Update due to changes in etags.c.
9001
9002 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 (cl-generic-define-method): Side effects are evil (bug#20644)
9005 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
9006 cons-cells that might be used as keys in an `equal' hash-table.
9007
9008 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9009
9010 Make erc timestamps visible again
9011 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): Make
9012 timestamps visible again (if requested).
9013
9014 2015-05-25 Eli Zaretskii <eliz@gnu.org>
9015
9016 Fix last change in etags.c that broke tagging compresed files
9017 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
9018 quoting of decompression shell command for MS-Windows/MS-DOS.
9019
9020 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist
9023 (Bug#20639)
9024
9025 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
9026
9027 Fix typo in 89035e247591c8d688fce922b7079881aa110f33
9028
9029 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
9030
9031 Fix IPv6 addresses in Tramp
9032 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
9033 Add sqare brackets around host name.
9034
9035 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
9036
9037 Inhibit `epa-file-handler' in Tramp
9038 (Bug#20634)
9039 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9040 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
9041 `epa-file-handler'.
9042
9043 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring
9046 (pcase-let): Document the behavior in case the pattern doesn't match.
9047
9048 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
9049
9050 * lisp/emacs-lisp/tabulated-list.el: New optional print method
9051 (tabulated-list-print): New optional argument, UPDATE. If
9052 non-nil, the list is printed by only adding and deleting the
9053 changed entries, instead of erasing the whole buffer. This method
9054 is much faster when few or no entries have changed.
9055 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
9056 * etc/NEWS: Document it.
9057
9058 * lisp/emacs-lisp/tabulated-list.el: Improve printing
9059 (tabulated-list--get-sorter): New function.
9060 (tabulated-list-print): Restore window-line when remember-pos is
9061 passed and optimize away the `nreverse'.
9062
9063 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
9064
9065 Simpilify etags TEX mode scanning
9066 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
9067 Remove static vars.
9068 (TeX_commands): Deduce escapes here instead.
9069 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
9070 This removes the need for a reset_input call.
9071
9072 Improve etags I/O error reporting
9073 * lib-src/etags.c:
9074 Don't include sys/types.h and sys/stat.h; no longer needed.
9075 (infilename): New static var.
9076 (process_file_name): Don't call 'stat'. Instead, just open the
9077 file for reading and report any errors. Don't bother making
9078 a copy of the file argument; it's not needed. Be more careful to
9079 use the failing errno when reporting an error.
9080 Quote the real name better (though no perfectly)
9081 when passing it to the shell.
9082 (reset_input): New function, which reports I/O errors.
9083 All uses of 'rewind' changed to use this function.
9084 (perhaps_more_input): New function, which also checks for
9085 I/O errors. All uses of 'feof' changed to use this function.
9086 (analyze_regex): Report an error if fclose fails.
9087 (readline_internal): Report an error if getc fails.
9088 (etags_mktmp): Return an error if close fails.
9089
9090 etags.c: avoid side effects in 'if'
9091 * lib-src/etags.c (process_file_name, Perl_functions)
9092 (TEX_decode_env): Hoist side effects into previous statement.
9093
9094 .gitignore tweaks
9095 * .gitignore: Ignore all *.stamp files. Sort.
9096 Ignore [0-9]*.txt (commonly used name for git patches)
9097 and /vc-dwim-log-* (vc-dwim temporary).
9098
9099 2015-05-24 Eli Zaretskii <eliz@gnu.org>
9100
9101 Fix last change in etags.c, which failed the test suite
9102 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
9103 before the last change.
9104
9105 2015-05-23 Glenn Morris <rgm@gnu.org>
9106
9107 Remove charset map files from repository, generate in first bootstrap
9108 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
9109 (all): Create the stamp file.
9110 (extraclean): Delete the stamp file.
9111 * src/Makefile.in (lispintdir, charsets): New variables.
9112 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
9113 New rules.
9114 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
9115 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
9116 * etc/charsets/*.map: Remove from repository.
9117
9118 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
9119
9120 Cleanup etags.c to use locale-independent code
9121 Although this doesn't alter behavior (as etags doesn't use
9122 setlocale), the new version is more clearly locale-independent and
9123 the executable is a bit smaller on my platform.
9124 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
9125 Include <c-ctype.h> instead of <ctype.h>.
9126 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
9127 (begtk, midtk):
9128 Remove; no longer needed.
9129 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
9130 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
9131 c_islower, c_tolower, respectively.
9132 (notinname, begtoken, intoken, endtoken): Rewrite as functions
9133 instead of macros, and initialize the tables at compile-time
9134 rather than at run-time.
9135
9136 Put default action first in src/Makefile
9137 * src/Makefile.in (all): Put this rule before lisp.mk.
9138 That way, plain 'make' works in the src directory again.
9139
9140 2015-05-23 Glenn Morris <rgm@gnu.org>
9141
9142 * Makefile.in: Fix extraclean rule.
9143 (extraclean_dirs): New.
9144 (extraclean): Use it.
9145
9146 2015-05-23 Eli Zaretskii <eliz@gnu.org>
9147
9148 Avoid compiler warning in image.c on MS-Windows
9149 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
9150 warning in image.c.
9151
9152 2015-05-23 Glenn Morris <rgm@gnu.org>
9153
9154 Fix --without-toolkit-scroll-bars builds.
9155 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
9156 Add new argument to x_clear_area1.
9157 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
9158 Update x_clear_area arguments.
9159
9160 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
9161 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
9162 Change to included version.
9163 (LOCAL, local, totalclean): Remove.
9164 (extraclean): Delete all generated files.
9165
9166 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists.
9169
9170 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
9171
9172 tags-completion-at-point-function: Don't trust the find-tag function
9173 * lisp/progmodes/etags.el (tags-completion-at-point-function):
9174 Don't trust the find-tag function.
9175
9176 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
9177
9178 Pacify --enable-gcc-warnings
9179 * src/frame.h (x_query_color): Remove redundant extern decl.
9180 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
9181 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
9182 (ftcrfont_text_extents, ftcrfont_draw):
9183 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
9184 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
9185 (x_ins_del_lines, frame_highlight, frame_unhighlight)
9186 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
9187 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
9188 (x_update_window_begin, x_connection_closed)
9189 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
9190 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
9191 (*x_gc_get_ext_data, x_extension_initialize)
9192 (x_cr_accumulate_data):
9193 Remove redundant static decl. Many of these GCC doesn't complain
9194 about, but we might as well clean out the duplication while we're
9195 in the neighborhood.
9196 * src/xterm.c (x_fill_trapezoid_for_relief):
9197 Remove decl of nonexistent function.
9198
9199 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 Replace gui-method macros with cl-generic with &context
9202 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
9203 (gui-method-declare, gui-call): Remove.
9204 (frame-creation-function): Use cl-defgeneric.
9205 (make-frame): Adjust callers.
9206 * lisp/menu-bar.el (menu-bar-edit-menu):
9207 Use gui-backend-selection-exists-p.
9208 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
9209 (gui-backend-get-selection): New cl-generic to replace
9210 gui-get-selection method.
9211 (gui-backend-set-selection): New cl-generic to replace
9212 gui-set-selection method.
9213 (gui-selection-owner-p): New cl-generic to replace
9214 gui-selection-owner-p method.
9215 (gui-backend-selection-exists-p): New cl-generic to replace
9216 gui-selection-exists-p method. Adjust all callers.
9217 * lisp/server.el (server-create-window-system-frame): Don't ignore
9218 window-system spec even when unsupported.
9219 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
9220 * lisp/startup.el (handle-args-function, window-system-initialization):
9221 Use cl-defgeneric.
9222 (command-line): Adjust calls accordingly.
9223 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
9224 a window-system-initialization method.
9225 (handle-args-function, frame-creation-function): Use cl-defmethod.
9226 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
9227 (gui-get-selection): Use cl-defmethod on the new functions instead.
9228 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
9229 a gui-backend-get-selection method.
9230 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
9231 Use cl-defmethod on the new functions instead.
9232 (msdos-window-system-initialization): Turn into
9233 a window-system-initialization method.
9234 (frame-creation-function, handle-args-function): Use cl-defmethod.
9235 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
9236 a window-system-initialization method.
9237 (handle-args-function, frame-creation-function): Use cl-defmethod.
9238 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
9239 (gui-get-selection): Use cl-defmethod on the new functions instead.
9240 * lisp/term/x-win.el (x-window-system-initialization): Turn into
9241 a window-system-initialization method.
9242 (handle-args-function, frame-creation-function): Use cl-defmethod.
9243 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
9244 (gui-get-selection): Use cl-defmethod on the new functions instead.
9245 * lisp/term/xterm.el (xterm--set-selection): Turn into
9246 a gui-backend-set-selection method.
9247 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
9248 (Fns_selection_owner_p): Remove unused arg `terminal'.
9249 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
9250
9251 2015-05-23 Eli Zaretskii <eliz@gnu.org>
9252
9253 Revert "Fix etags Bug#20629 that broke C++ support."
9254 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
9255
9256 2015-05-23 Jan D <jan.h.d@swipnet.se>
9257
9258 Fix etags Bug#20629 that broke C++ support.
9259 * etags.el (etags-xref-find-definitions-tag-order): Revert commit
9260 from Sun May 10 (Bug#20629).
9261
9262 Merge branch 'cairo'.
9263 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
9264 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
9265
9266 Merge branch 'master' into cairo
9267
9268 Fixes to compile cairo branch without cairo.
9269 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
9270 first argument.
9271 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
9272 USE_CAIRO.
9273
9274 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
9275
9276 * lisp/emacs-lisp/package.el: Always update selected-packages
9277 (package--update-selected-packages): New function.
9278 (package-menu-execute): Use it before starting the transaction,
9279 this way the list of selected packages is updated even when the
9280 transaction fails.
9281 (package-menu--perform-transaction): Don't edit selected-packages.
9282
9283 2015-05-23 Eli Zaretskii <eliz@gnu.org>
9284
9285 Fix etags reading of compressed files
9286 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
9287 Include fcntl.h, for O_CLOEXEC.
9288 (process_file_name): Don't use 'popen', whose streams cannot be
9289 rewound. Instead, uncompress the file to a temporary file,
9290 created by 'etags_mktmp', and read from that as usual.
9291 (etags_mktmp): New function.
9292 * test/etags/ETAGS.good_1:
9293 * test/etags/ETAGS.good_2:
9294 * test/etags/ETAGS.good_3:
9295 * test/etags/ETAGS.good_4:
9296 * test/etags/ETAGS.good_5: Update to be consistent with latest
9297 changes in etags.c regarding reading compressed files.
9298
9299 Improve documentation of 'set-fontset-font'
9300 * doc/lispref/display.texi (Fontsets): Document the value of nil
9301 for the 3rd argument of 'set-fontset-font'.
9302
9303 Fix documentation of forward-line
9304 * src/cmds.c (Fforward_line): Clarify the return value if the line
9305 at end of accessible portion of the buffer has no newline.
9306 * doc/lispref/positions.texi (Text Lines): Document what happens
9307 if the line at end of accessible portion of buffer has no newline.
9308 (Bug#20587)
9309
9310 2015-05-22 Glenn Morris <rgm@gnu.org>
9311
9312 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
9313
9314 * admin/charsets/mapconv (LC_ALL): Set to C.
9315
9316 * Makefile.in: Add admin/charsets into top-level clean rules.
9317 (clean): Add admin/charsets.
9318 (maybeclean_dirs): New variable.
9319 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
9320
9321 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
9322
9323 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
9324
9325 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc
9326
9327 2015-05-22 Glenn Morris <rgm@gnu.org>
9328
9329 Generate admin/charsets Makefile via configure, and make more portable.
9330 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
9331 (admin/charsets/Makefile): Generate it.
9332 * admin/charsets/Makefile.in: Rename from Makefile.
9333 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
9334 New variables, set by configure.
9335 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
9336 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
9337 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
9338 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
9339 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
9340 (all): Declare PHONY.
9341 (local): New PHONY target.
9342 (map_template): New template. Use to define short PHONY aliases.
9343 (*.map): Add directory prefixes to targets and prerequisites.
9344 Respect make verbosity.
9345 (JISC6226.map): Replace non-portable sed append without newline.
9346 (install): Remove rule.
9347 (clean): Only delete temporary sedscript.
9348 (bootstrap-clean, distclean, maintainer-clean, extraclean)
9349 (totalclean): New PHONY rules.
9350 * admin/charsets/mapconv (BASE): Replace basename with expr.
9351 (FILE): Add "mapfiles" subdirectory.
9352 (AWK): New variable. Use throughout in place of "awk".
9353 (main): Use "gunzip -c" in place of "zcat".
9354 Don't leave whitespace before "p", for older sed.
9355 * admin/charsets/mapfiles/PTCP154: Add final newline,
9356 to make older sed versions happy.
9357
9358 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
9361 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
9362 (auto-revert-notify-watch-descriptor): Use defvar-local.
9363 (find-file-hook, auto-revert-tail-mode, )
9364 (auto-revert-notify-add-watch): Use setq-local.
9365 (auto-revert-notify-add-watch): Don't call make-local-variable on
9366 kill-buffer-hook (bug#20601).
9367
9368 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 Change defgeneric so it doesn't completely redefine the function
9371 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
9372 previously defined methods.
9373 (cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
9374 (cl--generic-prefill-dispatchers): Only define during compilation.
9375 (cl-method-qualifiers): Remove redundant alias.
9376 (help-fns-short-filename): Silence byte-compiler.
9377 * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
9378
9379 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
9380
9381 (package-menu-execute): Remove reference to remove-dups
9382
9383 2015-05-21 kwhite <kwhite@gnu.org>
9384
9385 * lisp/erc/erc.el: Hide network/channel messages
9386 (erc-network-hide-list, etc-channel-hide-list): New lists to define
9387 message types per network/channel.
9388 (erc-add-targets): New function to parse list of targets
9389 (erc-hide-current-message-p): Modified to check for new targets
9390
9391 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
9392
9393 Don't quote nil and t in doc strings
9394 This is as per "Tips for Documentation Strings" in the elisp manual.
9395 For consistency, do the same in diagnostics and comments.
9396
9397 2015-05-21 Eli Zaretskii <eliz@gnu.org>
9398
9399 Fix a minor problem with mouse-face on mode line
9400 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
9401 mouse face also if the mouse pointer hovers above mode-line glyphs
9402 that don't come from any Lisp string. (Bug#20620)
9403
9404 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
9405
9406 * lisp/emacs-lisp/package.el: Fix selected-package logic
9407 (package-menu-execute): Mark as selected all non-upgrade packages
9408 being installed.
9409 (package-menu--perform-transaction): Don't mark anything.
9410
9411 * lisp/emacs-lisp/package.el: Mode-line progress report
9412 (package-menu--transaction-status): New variable.
9413 (package-menu-mode, package-menu--perform-transaction): Use it.
9414
9415 * lisp/emacs-lisp/package.el: Better transaction messages
9416 (package-menu--partition-transaction): New function.
9417 (package-menu--prompt-transaction-p, package-menu-execute): Use
9418 it.
9419 (package-menu--perform-transaction): Don't do any messaging.
9420
9421 * lisp/emacs-lisp/package.el: Revert async package transactions
9422 (package-menu-async): Update doc.
9423 (package-install-from-archive, package-download-transaction)
9424 (package-install, package-menu--perform-transaction)
9425 (package-menu-execute): Remove asynchronous functionality.
9426
9427 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
9428
9429 Revert doc string changes to f90.el
9430 Problem reported by Glenn Morris in:
9431 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
9432 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
9433 Revert recent changes to doc strings, as it's intended that they
9434 use grave accent, not quote.
9435
9436 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
9437
9438 Improve parameter name
9439
9440 Add new inline function `hash-table-empty-p'
9441
9442 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
9443
9444 Don't require help-fns when not needed
9445 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
9446 * lisp/emacs-lisp/elint.el:
9447 Don't require help-fns at the top level.
9448 * lisp/emacs-lisp/advice.el (ad-arglist):
9449 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
9450 Don't require help-fns. (Bug#17001)
9451
9452 2015-05-20 Eli Zaretskii <eliz@gnu.org>
9453
9454 Fix slash collapsing in etags on MS-Windows
9455 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
9456 MS-Windows code from the Posix code, and support collapsing both
9457 forward- and back-slashes on MS-Windows. Fixes a regression found
9458 by the test suite.
9459
9460 Improve documentation of glyphless-char-display
9461 * doc/lispref/display.texi (Glyphless Chars): Improve
9462 documentation of glyphless character display.
9463
9464 Fix "acronym" display of glyphless characters on w32
9465 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
9466 ignore "acronym" substitutes of 1 character for glyphless characters.
9467
9468 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
9469
9470 Add an automated test for let-when-compile
9471 * test/automated/subr-tests.el (let-when-compile): New test.
9472
9473 Add let-when-compile macro instead of using pcase-let
9474 * lisp/subr.el (let-when-compile): New let-like macro that makes its
9475 bindings known to macros like `eval-when-compile' in the body.
9476 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to a
9477 `let-when-compile'. Also comment out the unused lexical var
9478 `el-kws-re'.
9479 The change greatly improves readability, while providing almost the
9480 same (even shorter) byte code: instead of pre-evaluating 10 variables,
9481 tossing them into a list, and destructuring that list a full screen
9482 page later, the variables are simply bound as they are evaluated,
9483 wrapped individually in `eval-when-compile'.
9484
9485 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
9486
9487 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer
9488 (package-delete-button-action): New function.
9489 (describe-package-1): Add Delete button.
9490
9491 * lisp/emacs-lisp/package.el: Better dependency description
9492 (package--used-elsewhere-p): New optional arg, ALL, and return
9493 package-desc objects instead of names.
9494 (package-delete): Update accordingly.
9495 (describe-package-1): Describe which packages require the package.
9496
9497 2015-05-20 Martin Rudalics <rudalics@gmx.at>
9498
9499 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
9500 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
9501 Fix doc-string (Bug#20533).
9502
9503 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
9504 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
9505 (switch-to-buffer): If the selected window is strongly dedicated
9506 to its buffer, signal error before prompting for buffer name. Handle
9507 `switch-to-buffer-in-dedicated-window'. (Bug#20472)
9508 * doc/lispref/windows.texi (Switching Buffers): Document
9509 `switch-to-buffer-in-dedicated-window'.
9510
9511 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
9512
9513 Prefer "this" to “this” in doc strings
9514 This mostly just straightens quotes introduced in my previous patch.
9515 Suggested by Dmitry Gutov in:
9516 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
9517 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
9518 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
9519 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
9520 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
9521 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
9522 Prefer straight double quotes to curved double quotes in doc strings.
9523
9524 Fix minor quoting problems in doc strings
9525 These were glitches regardless of how or whether we tackle the
9526 problem of grave accent in doc strings.
9527 * lisp/calc/calc-aent.el (math-restore-placeholders):
9528 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
9529 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
9530 * lisp/leim/quail/hebrew.el ("hebrew-new")
9531 ("hebrew-biblical-sil"):
9532 * lisp/leim/quail/thai.el ("thai-kesmanee"):
9533 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
9534 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
9535 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
9536 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
9537 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
9538 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
9539 (semantic-tag-components):
9540 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
9541 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
9542 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
9543 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
9544 * lisp/emacs-lisp/generator.el (iter-next):
9545 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
9546 (gnus-article-mode-syntax-table):
9547 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
9548 * lisp/net/soap-client.el (soap-wsdl-get):
9549 * lisp/net/telnet.el (telnet-mode):
9550 * lisp/org/org-compat.el (org-number-sequence):
9551 * lisp/org/org.el (org-remove-highlights-with-change)
9552 (org-structure-template-alist):
9553 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
9554 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
9555 (handwrite-12pt, handwrite-13pt):
9556 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
9557 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
9558 * lisp/progmodes/verilog-mode.el (verilog-tool)
9559 (verilog-string-replace-matches, verilog-preprocess)
9560 (verilog-auto-insert-lisp, verilog-auto-insert-last):
9561 * lisp/textmodes/makeinfo.el (makeinfo-options):
9562 * src/font.c (Ffont_spec):
9563 Fix minor quoting problems in doc strings, e.g., missing quote,
9564 ``x'' where `x' was meant, etc.
9565 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
9566 Fix minor quoting problem in other string.
9567 * lisp/leim/quail/ethiopic.el ("ethiopic"):
9568 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
9569 Omit unnecessary quotes.
9570 * lisp/faces.el (set-face-attribute, set-face-underline)
9571 (set-face-inverse-video, x-create-frame-with-faces):
9572 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
9573 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
9574 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
9575 * lisp/net/tramp.el (tramp-methods):
9576 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
9577 * lisp/textmodes/artist.el (artist-ellipse-right-char)
9578 (artist-ellipse-left-char, artist-vaporize-fuzziness)
9579 (artist-spray-chars, artist-mode, artist-replace-string)
9580 (artist-put-pixel, artist-text-see-thru):
9581 * lisp/vc/ediff-util.el (ediff-submit-report):
9582 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
9583 Use double-quotes rather than TeX markup in doc strings.
9584 * lisp/skeleton.el (skeleton-pair-insert-maybe):
9585 Reword to avoid the need for grave accent and apostrophe.
9586 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
9587 Don't use grave and acute accents to quote.
9588
9589 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * emacs-lisp/generator.el (cps--gensym, cps--transform-1): Silence compiler
9592
9593 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
9594
9595 Try to port new etags tests to MS-Windows
9596 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
9597 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
9598 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
9599 Adjust to test-case changes below.
9600 * test/etags/Makefile (CSRC): Remove dostorture.c.
9601 Whatever it was trying to test, wasn't working portably.
9602 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
9603 just a line-ending problem.
9604 * test/etags/c-src/dostorture.c: Remove.
9605 * test/etags/cp-src/c.C: Remove stray CR.
9606 * test/etags/html-src/algrthms.html: Remove trailing CRs.
9607 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
9608 but if someone edits it later it should stay UTF-8-compatible.
9609
9610 2015-05-19 Eli Zaretskii <eliz@gnu.org>
9611
9612 Fix display of overlapping window-specific overlays
9613 * src/keyboard.c (adjust_point_for_property): When adjusting point
9614 due to display strings, ignore overlays that are specific to
9615 windows other than the currently selected one.
9616 * src/xdisp.c (handle_single_display_spec): If the display
9617 property comes from an overlay, arrange for buffer iteration to
9618 resume only after the end of that overlay. (Bug#20607)
9619
9620 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
9621
9622 New command icomplete-force-complete-and-exit
9623 * lisp/icomplete.el (icomplete-force-complete-and-exit):
9624 New command
9625 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
9626 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
9627 (icomplete-minibuffer-map): Bind C-j to it.
9628 (icomplete-forward-completions, icomplete-backward-completions):
9629 Mention the new command in the docstring.
9630 * lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert
9631 the previous fix for bug#17545.
9632
9633 2015-05-19 Martin Rudalics <rudalics@gmx.at>
9634
9635 Fix last commit
9636
9637 In Elisp manual explain how to override window manager positioning (Bug#20552)
9638 * doc/lispref/frames.texi (Position Parameters): Give example of
9639 how to override a window manager positioning decision.
9640
9641 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
9642 * src/frame.c (Fdelete_frame): In doc-string mention that frame
9643 can't be deleted if it has a surrogate minibuffer.
9644 * doc/lispref/frames.texi (Minibuffers and Frames)
9645 (Deleting Frames): Explain "surrogate minibuffer frames".
9646
9647 In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB
9648 * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
9649
9650 2015-05-18 Glenn Morris <rgm@gnu.org>
9651
9652 Add option to ignore commit lines matching a pattern in ChangeLog.
9653 * build-aux/gitlog-to-changelog: Add --ignore-line option.
9654 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
9655
9656 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
9657
9658 Don't skip new etags tests on non-UTF-8 hosts
9659 Problem reported by Eli Zaretskii for MS-Windows.
9660 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
9661 (LC_ALL): Set to C if the current locale isn't UTF-8.
9662 (.PHONY): Remove ediff_1 thru ediff_5.
9663 (check): Always run.
9664
9665 2015-05-18 Glenn Morris <rgm@gnu.org>
9666
9667 * lisp/calculator.el (calculator-funcall):
9668 * lisp/textmodes/artist.el (artist-spray-random-points):
9669 Use standard degree/radian conversion utilities.
9670
9671 Further lisp-complete-symbol related cleanup.
9672 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
9673 Unadvertise non-functional argument. Replace obsolete alias.
9674
9675 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
9676
9677 Add a test case for Maven warning ouput
9678 * test/automated/compile-tests.el
9679 (compile-tests--test-regexps-data): Add a case for Maven warning
9680 ouput.
9681 (compile--test-error-line): Check the compilation message type, if
9682 it's specified in the test data.
9683
9684 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
9685
9686 Update Maven compilation-mode entry to distinguish warnings
9687 * lisp/progmodes/compile.el
9688 (compilation-error-regexp-alist-alist): Update Maven entry to
9689 distinguish warnings (bug#20556).
9690
9691 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
9692
9693 * test/automated/sgml-mode-tests.el: New file.
9694
9695 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
9696
9697 Improve handling of the first Git revision
9698 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
9699 there's no next entry, delete until the end of the buffer.
9700 (log-view-end-of-defun-1): Stop at eob.
9701 * lisp/vc/vc-annotate.el
9702 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
9703 when previous-revision is nil.
9704 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
9705 with `--' to avoid ambiguity.
9706 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
9707 returned revision string.
9708 (vc-git-annotate-time): Expect `^' before the first revision.
9709 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
9710 REV1 is nil, and REV2 is not.
9711 * lisp/vc/vc.el: Update the description of the `diff' function.
9712
9713 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
9714
9715 Allow checkdoc to be called in batch
9716 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
9717 is non-nil, echo the error with `warn'.
9718 How it can be used in -batch:
9719 (with-current-buffer (find-file "checkdoc.el")
9720 (checkdoc-current-buffer t))
9721
9722 2015-05-18 Glenn Morris <rgm@gnu.org>
9723
9724 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
9725
9726 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
9727
9728 * admin/notes/unicode: New section "binary files".
9729
9730 Change new etags test to use UTF-8 encoding
9731 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
9732 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
9733 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
9734 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
9735 * test/etags/html-src/softwarelibero.html:
9736 Switch to UTF-8 encoding.
9737 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
9738 Remove Makefile, as it's too incestuous to have the test input
9739 include the build procedure.
9740 (UTF8_LOCALE, UTF_ENCODING): New macros.
9741 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
9742 (check): Skip if not UTF-8.
9743 (.PHONY): New rule.
9744 (FRC): Remove, as superseded by .PHONY. All uses removed.
9745 (regexfile): Prefer printf to echo when outputting oddball chars.
9746 (.PRECIOUS): Remove, as these files are not built.
9747
9748 Rename 'foo-gzipped' to 'foo.gz'
9749 * test/automated/data/decompress/foo.gz:
9750 Rename from test/automated/data/decompress/foo-gzipped,
9751 to make it easier for other tools to tell that it's compressed.
9752 * test/automated/zlib-tests.el (zlib--decompress):
9753 Adjust to renamed file.
9754
9755 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
9756
9757 Set up default-directory
9758 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
9759 binding for `v'.
9760 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
9761 appropriate value for default-directory.
9762
9763 2015-05-17 Samer Masterson <samer@samertm.com>
9764
9765 * lisp/eshell/em-term.el (eshell-term-sentinel):
9766 No-op by default, only kills term buffer if
9767 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
9768 (eshell-destroy-buffer-when-process-dies): New custom to preserve
9769 previous behavior.
9770
9771 eshell: Introduce new buffer syntax
9772 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
9773 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
9774 needed (Bug#19319).
9775 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
9776 (eshell-get-target): Remove shorthand-specific code.
9777 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
9778 '#<buffer-name>'.
9779
9780 2015-05-17 Jan D <jan.h.d@swipnet.se>
9781
9782 Merge branch 'master' into cairo
9783
9784 2015-04-26 Jan D <jan.h.d@swipnet.se>
9785
9786 Merge branch 'master' into cairo
9787
9788 Add PBM support for cairo.
9789 * src/image.c (xcolor_to_argb32): New function.
9790 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
9791 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
9792 XImagePtr if ! USE_CAIRO.
9793 (pbm_load): Add cairo support.
9794
9795 2015-04-12 Jan D <jan.h.d@swipnet.se>
9796
9797 x_free_cr_resources: Renamed from x_prepare_for_xlibdraw.
9798 * src/xterm.c (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw.
9799 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
9800 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
9801 x_free_cr_resources.
9802
9803 Handle specified bg in images. Use generic libpng code for PNG:s.
9804 * src/image.c (get_spec_bg_or_alpha_as_argb)
9805 (create_cairo_image_surface): New functions when USE_CAIRO.
9806 (xpm_load): Call the above functions. Handle XPM without mask
9807 when USE_CAIRO.
9808 (png_load_body): Handle USE_CAIRO case.
9809 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
9810 instead.
9811 (jpeg_load_body): Call create_cairo_image_surface.
9812 (gif_load, svg_load_image): Handle specified background, call
9813 create_cairo_image_surface.
9814 * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
9815
9816 2015-04-11 Jan D <jan.h.d@swipnet.se>
9817
9818 Support GIF and Tiff with cairo.
9819 * configure.ac: Allow jpeg with cairo.
9820 Allow tiff and gif with cairo.
9821 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
9822 (tiff_load): Create cairo image surface if USE_CAIRO.
9823 (gif_load): Ditto.
9824
9825 Support JPEG with USE_CAIRO.
9826 * configure.ac: Allow jpeg with cairo.
9827 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
9828
9829 2015-04-05 Jan D <jan.h.d@swipnet.se>
9830
9831 Support RSVG and cairo.
9832 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
9833 * src/dispextern.h (struct image): add cr_data2 if cairo.
9834 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
9835 (x_clear_image): Free cr_data and cr_data2 if set.
9836 (xpm_load): Assign data to cr_data2.
9837 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
9838
9839 2015-04-03 Jan D <jan.h.d@swipnet.se>
9840
9841 Introduce limited Xpm support (32 bit ZPixmap) for Cairo.
9842 * configure.ac (HAVE_RSVG): Move after cairo.
9843 (USE_CAIRO): Disable rsvg, don't disable Xpm.
9844 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
9845 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
9846 don't return early.
9847 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
9848 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
9849 and create a surface.
9850
9851 Tool tips for menus did not show any text.
9852 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
9853 tip frames, the geometry may be wrong.
9854
9855 Merge branch 'master' into cairo, fixes tooltips not shown.
9856
9857 Merge branch 'master' into cairo
9858
9859 Add CAIRO_CFLAGS to lwlib/Makefile.in
9860 * Makefile.in (CAIRO_CFLAGS): Add.
9861
9862 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9863
9864 * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
9865
9866 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9867
9868 Draw outermost line using black relief and erase corners also for cairo.
9869 * xterm.c [USE_CAIRO]: Include math.h.
9870 (enum corners) [USE_CAIRO]: New enum.
9871 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
9872 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
9873 than 1, draw the outermost line using the black relief.
9874
9875 * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
9876
9877 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9878
9879 * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
9880
9881 * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask.
9882
9883 Use int instead of unsigned int for width and height args.
9884 * xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
9885 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
9886 width and height args.
9887
9888 Modernize k&r cairo-related function declarations.
9889 * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
9890 (xg_print_frames_dialog): Modernize k&r declarations.
9891 * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
9892 (Fx_print_frames_dialog): Modernize k&r declarations.
9893 * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
9894 (x_end_cr_clip, x_set_cr_source_with_gc_foreground)
9895 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
9896 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
9897 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
9898 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
9899 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
9900 (x_clear_area): Modernize k&r declarations.
9901
9902 Implement wave-style variant of underlining for cairo.
9903 * xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
9904 (x_draw_underwave) [USE_CAIRO]: Use it.
9905
9906 * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of XFillRectangle.
9907
9908 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9909
9910 Fix fringe bitmap initialization for cairo.
9911 * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for
9912 cairo image surface.
9913 * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty.
9914
9915 2015-02-11 Jan D <jan.h.d@swipnet.se>
9916
9917 Add cairo drawing.
9918 * configure.ac (with-cairo): New option.
9919 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
9920 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
9921 Output "Does Emacs use cairo?".
9922 * lisp/version.el (emacs-version): Add cairo version.
9923 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
9924 (FONT_OBJ): Add comment about ftcrfont.
9925 (ALL_CFLAGS): Add CAIRO_CFLAGS.
9926 (LIBES): Add CAIRO_LIBS.
9927 * src/dispextern.h (struct image): Add cr_data for cairo.
9928 (x_cr_init_fringe): Declare.
9929 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
9930 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
9931 * src/fringe.c (x_cr_init_fringe): New function name that shares code
9932 with w32_init_fringe.
9933 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
9934 * src/ftfont.c (ftfont_info_size); New global variable.
9935 (ftfont_open2): New extern function almost the same as old ftfont_open,
9936 but takes the font_object as argument.
9937 (ftfont_open): Build font object and call ftfont_open2.
9938 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
9939 * src/gtkutil.c (xg_clear_under_internal_border)
9940 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
9941 queue_draw if not cairo. Change args to x_clear_area.
9942 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
9943 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
9944 (xg_print_frames_dialog): New functions for printing.
9945 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
9946 (xg_print_frames_dialog): Declare.
9947 * src/image.c: Add defined (USE_CAIRO) for PNG.
9948 Add !defined USE_CAIRO for W32 PNG code.
9949 (x_clear_image): If cairo, destroy the surface in cr_data.
9950 (png_load): Add new cairo compatible implementation.
9951 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
9952 * src/xfns.c: New section Printing.
9953 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
9954 (x-print-frames-dialog): New printing functions.
9955 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
9956 cairo.
9957 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
9958 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
9959 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
9960 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
9961 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
9962 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
9963 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
9964 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
9965 Declare.
9966 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
9967 (max_fringe_bmp, fringe_bmp): New variables.
9968 (x_gc_get_ext_data, x_extension_initialize)
9969 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
9970 (x_set_cr_source_with_gc_foreground)
9971 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
9972 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
9973 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
9974 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
9975 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
9976 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
9977 (x_update_begin): Create cairo surface if needed.
9978 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
9979 (x_update_end): Paint cairo drawing surface to xlib surface.
9980 (x_clear_under_internal_border, x_after_update_window_line): Adjust
9981 arguments to x_clear_area.
9982 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
9983 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
9984 of XSetClipMask.
9985 (x_set_glyph_string_clipping)
9986 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
9987 instead of XSetClipRectangles.
9988 (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
9989 x_fill_rectangle instead of XFillRectangle.
9990 (x_draw_glyph_string_foreground)
9991 (x_draw_composite_glyph_string_foreground)
9992 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
9993 of XDrawRectangle.
9994 (x_draw_relief_rect): Add code for USE_CAIRO.
9995 Call x_reset_clip_rectangles instead of XSetClipMask.
9996 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
9997 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
9998 instead of XSetClipMask.
9999 (x_draw_image_foreground, x_draw_image_foreground_1):
10000 x_draw_rectangle instead of XDrawRectangle.
10001 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
10002 XFillRectangle.
10003 (x_draw_image_glyph_string): If img has cr_data, use it as
10004 a cairo surface.
10005 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
10006 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
10007 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
10008 x_reset_clip_rectangles instead of XSetClipMask.
10009 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
10010 (x_clear_area1): New function that calls XClearArea.
10011 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
10012 non-cairo.
10013 (x_clear_frame): x_clear_window instead of XClearWindow.
10014 (x_scroll_run): Set frame garbaged if cairo.
10015 (XTmouse_position): Initialize *part to 0.
10016 (x_scroll_bar_create): Adjust arguments to x_clear_area.
10017 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
10018 x_fill_rectangle instead of XFillRectangle.
10019 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
10020 arguments to x_clear_area.
10021 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
10022 (handle_one_xevent): Adjust arguments to x_clear_area.
10023 Destroy cairo surface for frame if ConfigureNotify.
10024 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
10025 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
10026 x_reset_clip_rectangles instead of XSetClipMask.
10027 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
10028 x_reset_clip_rectangles instead of XSetClipMask.
10029 (x_clear_frame_area): Adjust arguments to x_clear_area.
10030 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
10031 (x_term_init): Call x_extension_initialize if cairo.
10032 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
10033 x_cr_destroy_fringe_bitmap for cairo.
10034 (x_initialize): Call x_cr_init_fringe for cairo.
10035 * src/xterm.h: Add include of cairo header files.
10036 (x_bitmap_record): Add img if cairo.
10037 (x_gc_ext_data): New struct for cairo.
10038 (x_display_info): Add ext_codes for cairo.
10039 (x_output): Add cr_context and cr_surface for cairo.
10040 (x_clear_area): Change arguments from Display*/Window to frame pointer.
10041 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
10042 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
10043 (x_cr_draw_frame, x_cr_export_frames): Declare.
10044
10045 2015-05-17 Johan Bockgård <bojohan@gnu.org>
10046
10047 Fix integer-valued `mouse-highlight' (Bug#20590)
10048 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
10049
10050 2015-05-17 Eli Zaretskii <eliz@gnu.org>
10051
10052 MS-Windows followup for ASCIIfication of curved quotes
10053 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
10054 test for curved quotes being displayable, after switching the
10055 terminal encoding. (Bug#20545)
10056
10057 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
10058
10059 Spelling fixes
10060
10061 2015-05-17 Jan D <jan.h.d@swipnet.se>
10062
10063 Add comment that x_shift_glyphs_for_insert is never called.
10064 * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
10065 comment that this function is never called.
10066
10067 2015-05-16 Glenn Morris <rgm@gnu.org>
10068
10069 * src/lisp.mk: Remove from repository and generate at build-time.
10070 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
10071 (shortlisp_filter): New variable.
10072 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
10073 (distclean): Remove lisp.mk.
10074 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
10075 * lisp/loadup.el: Tweak layout to make it easier to parse.
10076 * make-dist: Do not distribute src/lisp.mk.
10077
10078 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
10079
10080 Display shorter dates in Git annotate output
10081 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
10082 format (when not overridden with vc-git-annotate-switches).
10083 (vc-git-annotate-time): Support the short format, as well as ISO
10084 8601 that has been used until now (bug#5428).
10085
10086 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
10087
10088 ASCIIfy curved quotes on displays lacking them
10089 * lisp/international/mule-cmds.el (set-locale-environment):
10090 If curved quotes don't work, display straight ASCII approximations
10091 (Bug#20545).
10092
10093 2015-05-16 Glenn Morris <rgm@gnu.org>
10094
10095 Small src/Makefile simplification.
10096 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
10097 * src/Makefile.in (lisp): Derive from shortlisp.
10098 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
10099
10100 2015-05-16 Eli Zaretskii <eliz@gnu.org>
10101
10102 * lisp/help-mode.el (help-go-forward): Doc fix.
10103 (Bug#20577)
10104
10105 * doc/lispref/debugging.texi (Profiling): Improve indexing.
10106 (Bug#20576)
10107
10108 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
10109
10110 Use `unless' to have one fewer `not'
10111 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
10112 have one fewer `not'.
10113
10114 Remove redundant :group declarations from vc-git.el
10115 * lisp/vc/vc-git.el (vc-git-diff-switches)
10116 (vc-git-annotate-switches, vc-git-resolve-conflicts)
10117 (vc-git-program, vc-git-root-log-format): Remove the redundant
10118 :group declarations.
10119
10120 2015-05-16 Nicolas Petton <nicolas@petton.fr>
10121
10122 Removes the predicate from lisp-complete-symbol (Bug#20456)
10123 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
10124 and remove it from the docstring.
10125
10126 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
10127
10128 Add new option vc-git-resolve-conflicts
10129 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
10130 (vc-git-find-file-hook): Add to after-save-hook only when the
10131 above is non-nil.
10132 (vc-git-resolve-when-done): Update to honor the new variable.
10133 (Bug#20292)
10134
10135 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
10136
10137 * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string
10138 (tabulated-list-init-header): Document new behavior.
10139 (tabulated-list-print-fake-header): No nothing if
10140 `tabulated-list--header-string' is nil.
10141 (tabulated-list--header-string): Add a docstring.
10142 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
10143 * etc/NEWS: Document it.
10144
10145 2015-05-15 Leo Liu <sdl.web@gmail.com>
10146
10147 Revert "Fix cps--gensym"
10148 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
10149 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
10150
10151 2015-05-15 Glenn Morris <rgm@gnu.org>
10152
10153 Replace AC_SUBST_FILE in configure with include in Makefiles.
10154 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
10155 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
10156 (AUTO_DEPEND): New output variable.
10157 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
10158 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
10159 (lwlib_deps_frag): Replace by conditional include.
10160 * lwlib/autodeps.mk: Remove file.
10161 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
10162 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
10163 (oldxmenu_deps_frag): Replace by conditional include.
10164 * oldXMenu/autodeps.mk: Remove file.
10165 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
10166 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
10167 (lisp_frag): Replace by an include.
10168 (deps_frag): Replace by conditional include.
10169 * src/autodeps.mk: Remove file.
10170
10171 Tweak japanese.el's loading of dependencies.
10172 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
10173 * lisp/language/japanese.el: Use require rather than load.
10174 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
10175 Provide a feature.
10176 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
10177 Provide a feature in the generated file.
10178
10179 2015-05-15 Jan D <jan.h.d@swipnet.se>
10180
10181 Fix NS warnings.
10182 * nsmenu.m (ns_popup_dialog)
10183 * nsimage.m (initFromXBM:width:height:fg:bg:)
10184 * nsfns.m (Fx_create_frame): Remove unused variables.
10185 (Fns_read_file_name): Initialize fname, remove ret.
10186 * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
10187 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
10188 variable.
10189 (init): Add parantesis in if.
10190 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
10191
10192 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
10193
10194 Fix a enum conversion warning in macfont.m
10195 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
10196 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
10197
10198 2015-05-15 Eli Zaretskii <eliz@gnu.org>
10199
10200 Support de-alt dictionary with Aspell.
10201 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
10202 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
10203
10204 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
10205
10206 cus-start.el: Add ns-confirm-quit.
10207 * cus-start.el: Add ns-confirm-quit.
10208
10209 Fix warnings on OSX 10.10.
10210 * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
10211 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
10212 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
10213 * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
10214 * nsimage.m (allocInitFromFile, setPixmapData): Only call
10215 setScalesWhenResized for OSX < 10.6.
10216 * nsterm.h (EmacsScroller): Declare scrollerWidth.
10217 * nsterm.m (ns_copy_bits): New function that does not use deprecated
10218 NSCopyBits.
10219 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
10220 (runAlertPanel): New function.
10221 (applicationShouldTerminate:): Call runAlertPanel.
10222 (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
10223 for OSX < 10.10.
10224 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
10225 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
10226 (draggingEntered:): Returns NSDragOperation.
10227 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
10228
10229 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
10230
10231 * lisp/emacs-lisp/package.el: Don't ensure-init during startup
10232 (package--init-file-ensured): New variable.
10233 (package-initialize, package--ensure-init-file): Use it.
10234
10235 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
10236
10237 Honor :fore/background for XBM on NS (Bug#14969).
10238 * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
10239 initFromXBM takes bg, fg args, remove flip arg.
10240 (ns_image_from_XBM): Add bg, fg args.
10241 * image.c (x_create_bitmap_from_data)
10242 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
10243 * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
10244 Remove flip arg.
10245 (initFromSkipXBM): Move code to initFromXBM.
10246 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
10247 Use fg, bg from args (Bug#14969). Remove if (length) section, was always
10248 false.
10249 Remove bit flipping (bitPat, swt), generated incorrect images when
10250 width/height wasn't a multiple of 8.
10251 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
10252 * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
10253 flip arg.
10254
10255 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
10256
10257 * lisp/emacs-lisp/package.el: Be more careful with the init file
10258 (package--ensure-init-file): Check that user-init-file is set,
10259 exists, is readable, and is writable. (Bug#20584)
10260 Also expand the docstring.
10261
10262 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
10263
10264 Sync with upstream verilog-mode revision 6232468
10265 * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
10266 (verilog-highlight-grouping-keywords): Fix use of face when
10267 `verilog-highlight-grouping-keywords' set. Reported by Jeff
10268 Pompa.
10269 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
10270 parent is reset, bug906. Reported by Ken Schmidt.
10271 (verilog-auto-inout-module): Add fourth regexp argument to
10272 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
10273 bug856. Reported by John Tillema.
10274 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
10275 modport if signal attachment is itself a modport. Reported by
10276 Matthew Lovell.
10277 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
10278 always_comb and always_latch, bug844. Reported by Greg Hilton.
10279 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
10280 with many curly-bracket pairs, bug663.
10281 (verilog-set-auto-endcomments): Fix end comments for functions of
10282 type void, etc. Reported by Alex Reed.
10283 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
10284 caused by indent-line-to deleting tabls pre 24.5.
10285 (verilog-nameable-item-re): Fix nameable items that can have an
10286 end-identifier to include endchecker, endgroup, endprogram,
10287 endproperty, and endsequence. Reported by Alex Reed.
10288 (verilog-label-be): When auto-commenting a buffer, consider
10289 auto-comments on all known keywords (not just a subset thereof).
10290 Reported by Alex Reed.
10291 (verilog-auto-end-comment-lines-re)
10292 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
10293 Automatically comment property/endproperty blocks to match other
10294 similar blocks like sequence/endsequence, function/endfunction,
10295 etc. Reported by Alex Reed.
10296 (verilog-set-auto-endcomments): Detect the function- or task-name
10297 when auto-commenting blocks that lack an explicit
10298 portlist. Reported by Alex Reed.
10299 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
10300 allow post-AUTO user fixups, bug826. Reported by Dennis
10301 Muhlestein.
10302 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
10303 is nil, fix indenting initial/final to match always statements,
10304 bug825. Reported by Tim Clapp.
10305 (verilog-extended-complete-re): Fix indentation of DPI-C imports
10306 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
10307 Mao and Jason Forkey.
10308 (verilog-read-decls): Fix parsing typed interfaces. Fix
10309 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
10310 Fix localparam not being ignored in AUTOINSTPARAM,
10311 bug889. Reported by Shannon Hill.
10312 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
10313 bug793. Reported by Pierre-David Pfister.
10314 (verilog-auto-arg-format, verilog-auto-arg-ports): Add
10315 verilog-auto-arg-format to support newlines in AUTOARG. Reported
10316 by Jie Xiao.
10317 (verilog-batch-execute-func): Do not batch re-auto files loaded by
10318 Local Variables. Fix printing "no changes to be saved" with
10319 verilog-batch. Reported by Dan Dever.
10320 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
10321 interface-only modules, bug721. Reported by Dean Hoyt.
10322 Author: Alex Reed <acreed4@gmail.com>
10323 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
10324 treat '<keyword>:<identifier>' as the start of a labeled
10325 statement, bug905. Reported by Enzo Chi.
10326 (verilog-directive-re, verilog-compiler-directives)
10327 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
10328 directives (plus some extras) when determining indentation, bug
10329 901. Reported by Bernd Beuster.
10330 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
10331 iff expression doesn't start with word-character, bug900.
10332 (verilog-optional-signed-range-re, verilog-optional-signed-re):
10333 Fix incorrect indentation/alignment of unsigned declarations,
10334 bug897.
10335 (verilog-looking-back, verilog-in-attribute-p): Fix labling of
10336 always constructs, bug895.
10337 (verilog-calc-1): Fix verilog-mode constraint indentation,
10338 bug324. Reported by Eric Mastromarchi.
10339 (verilog-beg-of-statement): Fix indenting for some forms of
10340 constraintsm bug433. Reported by Brad Parker. Fix indentation of
10341 continued assignment incorrect if first line ends with ']',
10342 bug437. Reported by Dan Dever. Fix indention of cover inside an
10343 ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
10344 blocks, bug842.
10345 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
10346 bug859. Reported by Kaushal Modi.
10347 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
10348 (verilog-backward-token): Fix indenting sensitivity lists with
10349 named events, bug840. Reed.
10350 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
10351 nil not honoring 'forever', 'foreach', and 'do' keywords.
10352
10353 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
10354
10355 Check for invalid GTK+ monitor scales
10356 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
10357 INT_MAX for too-large scales. All callers changed to assume the
10358 result is valid (Bug#20432).
10359 (xg_frame_set_char_size, xg_update_scrollbar_pos):
10360 Calculate scale only if needed.
10361 show ASCII approximations instead.
10362
10363 2015-05-14 Eli Zaretskii <eliz@gnu.org>
10364
10365 Fix daemon crashes when linum-mode is turned on early on
10366 * src/window.c (Fwindow_end): Don't try calling display engine
10367 functions on initial-frame frame. (Bug#20565)
10368
10369 Fix selective diff browsing in Ediff
10370 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
10371 beginning of the region before searching for the
10372 ediff-regexp-focus-* regexps. (Bug#20568)
10373
10374 2015-05-14 Jan D <jan.h.d@swipnet.se>
10375
10376 Fixes Bug#20142.
10377 * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
10378 in the main loop, even for Gtk 3 (Bug#20142).
10379
10380 Don't access display after i/o error (Bug#19147).
10381 * xterm.c (x_connection_closed): Add third arg ioerror.
10382 If ioerror, set display to 0 (Bug#19147).
10383 (x_error_quitter): Call x_connection_closed with third arg false.
10384 (x_io_error_quitter): Call x_connection_closed with third arg true.
10385
10386 Handle GTK_SCALE, fixes Bug#20432.
10387 * gtkutil.c (xg_get_gdk_scale): New function.
10388 (xg_frame_set_char_size)
10389 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
10390 (xg_get_default_scrollbar_height)
10391 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
10392 when setting sizes (Bug#20432).
10393
10394 2015-05-13 Leo Liu <sdl.web@gmail.com>
10395
10396 Fix cps--gensym
10397 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
10398
10399 2015-05-13 Glenn Morris <rgm@gnu.org>
10400
10401 Fix bootstrap (void function cl-member).
10402 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
10403 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
10404
10405 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
10408 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
10409 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
10410 Avoid defalias for closures which are not immutable.
10411 (cl--generic-prefill-dispatchers): New macro. Use it to prefill the
10412 dispatchers table with various entries.
10413 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
10414 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
10415
10416 2015-05-13 Eli Zaretskii <eliz@gnu.org>
10417
10418 Improve tagging of C bindings in DEFVAR_*
10419 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
10420 from DEFVAR_*.
10421
10422 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
10423
10424 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
10425
10426 2015-05-12 Glenn Morris <rgm@gnu.org>
10427
10428 * lisp/progmodes/tcl.el (tcl-filter):
10429 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
10430
10431 Add basic VC push support.
10432 * lisp/vc/vc.el (vc-push): New autoloaded command.
10433 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
10434 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
10435 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
10436 (vc-bzr-push): New.
10437 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
10438 (vc-git-pull): Reimplement using vc-git--pushpull.
10439 (vc-git-push): New.
10440 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
10441 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
10442 * doc/emacs/maintaining.texi (Pulling / Pushing):
10443 Rename from "VC Pull". Mention pushing.
10444 (VC With A Merging VCS, VC Change Log): Update xrefs.
10445 (Branches): Update menu.
10446 * doc/emacs/emacs.texi: Update menu.
10447 * etc/NEWS: Mention this.
10448
10449 2015-05-12 Nicolas Petton <nicolas@petton.fr>
10450
10451 Improve the seq pcase pattern and the `seq-let' macro
10452 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
10453 object is a sequence, and binds each element of ARGS to the
10454 corresponding element of the sequence.
10455
10456 2015-05-12 Eli Zaretskii <eliz@gnu.org>
10457
10458 Fix tags created from DEFVAR_* declarations in C
10459 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
10460 to make tags extracted from DEFVAR_* declarations more accurate.
10461
10462 Add a test suite for etags
10463 * test/etags/: New test suite, adapted from
10464 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
10465 whose original author is Francesco Potortì <pot@gnu.org>.
10466
10467 Fix tagging of symbols in C enumerations
10468 * lib-src/etags.c (consider_token): Don't tag symbols in
10469 expressions that assign values to enum constants. See
10470 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
10471 for details.
10472 (C_entries): Reset fvdef to fvnone after processing a preprocessor
10473 conditional and after a comma outside of parentheses.
10474
10475 2015-05-12 Glenn Morris <rgm@gnu.org>
10476
10477 * lisp/url/url-handlers.el (url-file-name-completion)
10478 (url-file-name-all-completions): Silence compiler.
10479
10480 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
10481
10482 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
10483
10484 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
10487 (cl--generic-mandatory-args): Remove.
10488 (cl--generic-split-args): New function.
10489 (cl-generic-define, cl--generic-lambda): Use it.
10490 (cl-generic-define-method): Use it as well, and add support for
10491 context args.
10492 (cl--generic-get-dispatcher): Handle &context dispatch.
10493 (cl--generic-cache-miss): `dispatch-arg' can now be a context expression.
10494 (cl--generic-dispatchers): Pre-fill.
10495 * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test.
10496
10497 2015-05-11 Glenn Morris <rgm@gnu.org>
10498
10499 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
10500
10501 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
10504 * lisp/term/rxvt.el: Require term/xterm.
10505 (rxvt-function-map): Use xterm-rxvt-function-map.
10506 (rxvt-standard-colors): Move before first use.
10507 (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
10508 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
10509 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
10510 Move shared bindings between rxvt and xterm to it.
10511 (xterm-function-map): Use it. Move the xterm-paste binding to
10512 xterm-rxvt-function-map (bug#20444).
10513 (xterm-standard-colors): Move before first use.
10514 (xterm--push-map): New function.
10515 (xterm-register-default-colors): Take standard colors as argument.
10516 (terminal-init-xterm): Use it. Adjust call to
10517 xterm-register-default-colors.
10518
10519 2015-05-11 Glenn Morris <rgm@gnu.org>
10520
10521 * lisp/term/x-win.el: Quieten --without-x compilation.
10522 (x-own-selection-internal, x-disown-selection-internal)
10523 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
10524 Declare.
10525
10526 * Makefile.in (emacslog): Remove srcdir.
10527 (ChangeLog): Update for the above.
10528
10529 2015-05-11 Paul Eggert <eggert@cs.ucla.edu>
10530
10531 Spelling fix
10532
10533 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
10534
10535 python.el: better limit for looking-back calls
10536 * lisp/progmodes/python.el (python-shell-accept-process-output):
10537 Use last comint prompt start as limit for looking-back.
10538
10539 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 CEDET (srecode-insert-fcn): Fix use of oref on a class
10542 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on
10543 a class. Reported by Pierre Lorenzon.
10544 (srecode-template-inserter-point): Remove declaration.
10545
10546 CEDET (srecode-create-dictionary): Avoid obsolete object name
10547 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
10548 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
10549
10550 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
10551
10552 C-x 8 shorthands for curved quotes, Euro, etc.
10553 Although C-x 8 lets you insert arbitrary Unicode characters,
10554 it's awkward to use this to insert commonly used symbols such as curved
10555 quotes, the Euro symbol, etc. This patch adds simpler sequences for
10556 characters commonly found in English text and in basic math.
10557 For example, assuming the Alt key works on your keyboard and iso-transl
10558 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
10559 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
10560 (Bug#20499)
10561 * doc/emacs/mule.texi (Unibyte Mode):
10562 A few other printing characters now work too.
10563 * etc/NEWS: Document this.
10564 * lisp/international/iso-transl.el (iso-transl-char-map):
10565 Also support the following characters:
10566 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
10567
10568 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
10569
10570 Add xref-find-regexp
10571 * lisp/progmodes/xref.el (xref-find-function): Describe the
10572 `matches' action.
10573 (xref-find-regexp): New command, using it.
10574 (xref-collect-references): Rename to xref-collect-matches.
10575 (xref--collect-reference): Rename to xref--collect-match.
10576 (xref-collect-matches, xref--collect-match): Accept new argument,
10577 KIND. Update accordingly.
10578 (xref--regexp-to-extended): New function.
10579 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
10580 `matches' action.
10581 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
10582 * lisp/progmodes/etags.el (etags-xref-find):
10583 Support the `matches' action.
10584 (etags--xref-find-matches): New function.
10585
10586 2015-05-10 Glenn Morris <rgm@gnu.org>
10587
10588 * Makefile.in: Fixes for recent change-history changes.
10589 (change-history-nocommit): Update footer regexp.
10590 Ensure output script stays executable.
10591
10592 2015-05-10 Nicolas Petton <nicolas@petton.fr>
10593
10594 New version of `seq-let' based on a pcase pattern
10595 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
10596 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
10597
10598 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
10599
10600 Add basic HTML5 tags and a template
10601 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
10602 (html-tag-alist): Add HTML5 tags.
10603 (html-tag-help): Add new tags descriptions.
10604 (html-navigational-links): Template for nav links.
10605 (html-html5-template): Template for a HTML5 page.
10606
10607 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
10608
10609 semantic/symref/grep: Don't use word boundaries
10610 * lisp/cedet/semantic/symref/grep.el
10611 (semantic-symref-perform-search): Instead of wrapping input in
10612 word boundaries, check that the characters before and after are
10613 not word constituents.
10614
10615 semantic/symref/grep: Support regexp search
10616 * lisp/cedet/semantic/symref.el
10617 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
10618 the search type is regexp.
10619 * lisp/cedet/semantic/symref/grep.el
10620 (semantic-symref-perform-search): Support the regexp search type.
10621 Pass -E to Grep when it's used.
10622
10623 semantic-symref-regexp: Allow to input an arbitrary string
10624 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
10625 Allow to input an arbitrary string interactively.
10626
10627 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
10628 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
10629 Remove tag-symbol-match-p from the default value
10630 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
10631
10632 Declare find-tag obsolete
10633 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
10634 xref-find-definitions.
10635
10636 2015-05-10 Jan D <jan.h.d@swipnet.se>
10637
10638 Draw composite string correctly (Bug#20537).
10639 * nsterm.m (ns_draw_composite_glyph_string_foreground): New function.
10640 (ns_draw_glyph_string): Call it (Bug#20537).
10641
10642 2015-05-09 Eli Zaretskii <eliz@gnu.org>
10643
10644 Avoid infloop in ERC
10645 * lisp/simple.el (line-move-to-column): Ignore field boundaries
10646 while computing line beginning position. (Bug#20498)
10647
10648 2015-05-08 Glenn Morris <rgm@gnu.org>
10649
10650 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
10651 * build-aux/gitlog-to-emacslog: Check called from right directory.
10652 (srcprefix): Remove.
10653
10654 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
10655 * Makefile.in (ChangeLog): No longer pass "distprefix".
10656 * make-dist: Update "make ChangeLog" syntax for the above change.
10657
10658 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
10659 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
10660
10661 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
10662
10663 Add command-line option-parsing to gitlog-to-emacslog.
10664 * build-aux/gitlog-to-emacslog: Add command-line options.
10665 By default, refuse to remove an existing output file.
10666 * Makefile.in (CHANGELOG): Update default.
10667 (ChangeLog): Do not test for existing file.
10668 (change-history-nocommit): Ensure temp file does not exist.
10669
10670 Quieten --without-x compilation.
10671 * lisp/term/common-win.el: Provide a feature.
10672 * lisp/term/x-win.el (term/common-win): Require it.
10673
10674 * lisp/dired-aux.el (dired-do-print): Require lpr.
10675
10676 Quieten compilation, eg in --without-x builds.
10677 * lisp/dired-aux.el (lpr-printer-switch):
10678 * lisp/frame.el (tool-bar-height):
10679 * lisp/linum.el (font-info):
10680 * lisp/window.el (font-info, overflow-newline-into-fringe)
10681 (tool-bar-height):
10682 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
10683 * lisp/gnus/gnus-util.el (iswitchb-mode):
10684 * lisp/mail/rmailmm.el (libxml-parse-html-region):
10685 * lisp/net/nsm.el (gnutls-peer-status)
10686 (gnutls-peer-status-warning-describe):
10687 * lisp/net/shr.el (libxml-parse-xml-region):
10688 * lisp/url/url-http.el (gnutls-peer-status): Declare.
10689
10690 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
10693 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
10694 `subclass' since they're never called with a class.
10695 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
10696 srecode-dictionary-child-p.
10697
10698 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10699
10700 help--binding-locus: Document argument POSITION.
10701 * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
10702
10703 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
10704
10705 Merge from gnulib.
10706 * doc/misc/texinfo.tex: Get latest version.
10707
10708 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
10709
10710 ffap.el (ffap-read-file-or-url): Fix completing-read call
10711 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
10712 `completing-read' should be a symbol.
10713
10714 2015-05-08 Eli Zaretskii <eliz@gnu.org>
10715
10716 Verify file modifications by other programs
10717 * src/filelock.c (lock_file): Check whether the file was modified
10718 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
10719
10720 Fix keyboard macros that include function keys
10721 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
10722 keys in the macro before returning. (Bug#20454)
10723
10724 2015-05-08 Glenn Morris <rgm@gnu.org>
10725
10726 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
10727 "Copyright-paperwork-exempt". (Bug#20324)
10728
10729 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
10730 (log-edit-rewrite-tiny-change): New variable.
10731 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
10732 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
10733 * etc/NEWS: Mention this.
10734
10735 * lisp/calc/calc.el (math-zerop): Declare.
10736
10737 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
10738
10739 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
10740
10741 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
10742 Support the case when BINDINGS is a single tuple. (Bug#20525)
10743
10744 * etc/NEWS: Fix typo in commit 14bb519
10745
10746 2015-05-07 Jan D <jan.h.d@swipnet.se>
10747
10748 Warn for multiple display crash for all Gtk+ versions.
10749 * configure.ac: Warn for multiple display crash for all Gtk+
10750 versions. Output URL to Gtk+ bug (Bug#20452).
10751
10752 ns-win.el (ns-paste-secondary): Use gui-get-selection.
10753 * ns-win.el (ns-paste-secondary): Use gui-get-selection.
10754
10755 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
10756
10757 * lisp/emacs-lisp/package.el: New "external" package status
10758 An external package is any installed package that's not built-in
10759 and not from `package-user-dir', which usually means it's from an
10760 entry in `package-directory-list'. They are treated much like
10761 built-in packages, in that they cannot be through the Package Menu
10762 deleted and are not considered for upgrades.
10763 (package-desc-status): Identify if a package is installed outside
10764 `package-user-dir'.
10765 (package-menu--print-info-simple)
10766 (package-menu--status-predicate): Add support for it.
10767 * etc/NEWS: Document it.
10768
10769 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10770
10771 * lisp/mail/rmail.el: Use lexical-binding
10772 (rmail-bury): Remove unused var `buffer-to-bury'.
10773 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
10774 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
10775 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
10776 (rmail-insert-inbox-text): Remove unused var `movemail'.
10777 (rmail-add-mbox-headers): Remove unused var `limit'.
10778 (rmail-undelete-previous-message): Remove unused var `value'.
10779 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
10780 `resent-reply-to'.
10781 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
10782 (rmail-restore-desktop-buffer): Rename arguments.
10783
10784 2015-05-06 Glenn Morris <rgm@gnu.org>
10785
10786 * Makefile.in (change-history-commit): Add missing piece of previous.
10787
10788 Avoid unnecessary bumping of Makefile.in's timestamp.
10789 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
10790 (emacslog): New variable.
10791 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
10792 (unchanged-history-files): Use $emacslog rather than Makefile.in.
10793 (change-history-nocommit): Store hash in $emacslog.
10794 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
10795 * admin/update_autogen (changelog_files): Update for the above.
10796
10797 * Makefile.in: Don't always insist on removing existing "ChangeLog".
10798 (CHANGELOG): New variable.
10799 (no-ChangeLog): Remove.
10800 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
10801 (change-history-nocommit): Use a temp file rather than insisting
10802 on deletion of any existing "ChangeLog".
10803
10804 * build-aux/gitlog-to-emacslog: Allow specification of output.
10805
10806 * admin/update_autogen: Add option to update ChangeLog.
10807 (usage): Mention -H.
10808 (changelog_flag, changelog_n, changelog_files): New variables.
10809 (main): Check for -H, and maybe run change-history-nocommit.
10810
10811 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * lisp/subr.el (delete-dups): Pre-size the hashtable.
10814
10815 (define-modify-macro): Make sure cl--arglist-args is defined
10816 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
10817 cl--arglist-args is defined (bug#20517).
10818
10819 2015-05-06 Glenn Morris <rgm@gnu.org>
10820
10821 * Makefile.in (change-history-nocommit): New.
10822
10823 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
10824
10825 Only cancel timer when it is non-nil
10826 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
10827 timer when it is non-nil
10828 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
10829
10830 2015-05-06 Glenn Morris <rgm@gnu.org>
10831
10832 Quieten cedet compilation
10833 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
10834 Invert fboundp test to quieten on current Emacs.
10835 * lisp/cedet/ede/config.el (ede-shell-run-something)
10836 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
10837 (semanticdb-refresh-table): Declare.
10838 (ede-preprocessor-map): Require semantic/db.
10839
10840 Quieten cc-mode compilation
10841 * lisp/progmodes/cc-awk.el (c-forward-sws):
10842 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
10843 Declare.
10844
10845 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
10846
10847 lisp/subr.el (delete-dups): Avoid nreverse.
10848
10849 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
10850
10851 * lisp/subr.el (delete-dups): Make it destructive again.
10852
10853 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
10854
10855 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
10856
10857 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10858
10859 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
10860 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
10861 (testcover--read): Rename from testcover-read. Change calling convention.
10862 Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
10863 (testcover-start): Use add-function. Move edebug-all-defs binding to
10864 testcover--read.
10865 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
10866 (testcover-mark): Remove unused var `item'.
10867 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
10868
10869 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
10870
10871 lisp/subr.el (delete-dups): Use a hash table
10872 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
10873 use a hash table. This can result in ~500 times speed-up for typical
10874 collections of size 5000, like that of `load-library'.
10875
10876 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 CEDET: Avoid `oref' on classes in a few more cases
10879 * lisp/cedet/ede/generic.el (ede-find-target):
10880 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
10881 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
10882 var `prefix'.
10883
10884 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
10885 * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
10886 (semantic-symref-perform-search): Remove unused var `pat'.
10887
10888 CEDET (srecode-compile-inserter): Avoid `oref' on classes
10889 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
10890 Avoid `oref' on classes (bug#20491).
10891 (srecode-compile-split-code): Remove unused var `key'.
10892
10893 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
10894
10895 Clean up pulse.el a little
10896 * lisp/cedet/pulse.el (pulse): Remove.
10897 (pulse-momentary-timer): Save instead of the stop time.
10898 (pulse-momentary-highlight-overlay): Call
10899 pulse-momentary-unhighlight first thing. Treat
10900 pulse-momentary-overlay as a single value, not a list. Save the
10901 created timer. Only pass the stop time to the timer.
10902 (pulse-tick): Update accordingly.
10903 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
10904 single value. Cancel the timer.
10905
10906 2015-05-06 Tassilo Horn <tsdh@gnu.org>
10907
10908 Support the biblatex journaltitle field
10909 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
10910 Support the biblatex journaltitle field.
10911
10912 2015-05-05 Glenn Morris <rgm@gnu.org>
10913
10914 Minor declare-function improvement
10915 * lisp/emacs-lisp/bytecomp.el
10916 (byte-compile-macroexpand-declare-function):
10917 Handle declarations after calls. (Bug#20509)
10918
10919 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
10920
10921 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
10922
10923 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
10924
10925 Pulse using a timer
10926 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
10927 (pulse-momentary-highlight-overlay): Set up the timer instead of
10928 calling `pulse'
10929 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
10930 (pulse-tick): New function.
10931 (pulse-momentary-unhighlight): Cut off the stop time.
10932 (pulse-delay): Update the docstring WRT to not using sit-for.
10933
10934 Add semantic/symref/grep file patterns for ruby-mode
10935 * lisp/cedet/semantic/symref/grep.el
10936 (semantic-symref-filepattern-alist): Add patterns for
10937 ruby-mode. Clarify the docstring.
10938
10939 Don't require match
10940 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
10941 match. That doesn't work for every command, and some identifier
10942 completion tables are bound to be imperfect anyway.
10943
10944 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10945
10946 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
10947 (semantic-grammar--template-expand): New function.
10948 (semantic-grammar-header, semantic-grammar-footer): Use it.
10949 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
10950 (semantic-grammar-file-regexp): Refine regexp.
10951 (semantic-grammar-eldoc-get-macro-docstring):
10952 Use elisp-get-fnsym-args-string when available.
10953 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
10954 instead of the old eldoc-* names.
10955 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
10956 from elisp-mode.el. Tweak calling convention.
10957 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
10958 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
10959 elisp--get-fnsym-args-string.
10960 (elisp--highlight-function-argument): Add `prefix' arg.
10961 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
10962 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
10963
10964 2015-05-05 Glenn Morris <rgm@gnu.org>
10965
10966 * lisp/help-fns.el (describe-function-1):
10967 Handle builtins with advertised calling conventions. (Bug#20479)
10968
10969 2015-05-05 Nicolas Petton <nicolas@petton.fr>
10970
10971 Merge branch 'seq-let'
10972
10973 Update `seq-let' documentation
10974 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
10975 with the support of `&rest'.
10976
10977 Add support for &rest in `seq-let'
10978 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
10979 in the argument list.
10980 * test/automated/seq-tests.el: Add a test for parsing and binding
10981 `&rest' in `seq-let'.
10982
10983 2015-05-05 Paul Eggert <eggert@cs.ucla.edu>
10984
10985 Spelling fixes
10986
10987 2015-05-05 (tiny change) Pierre Lorenzon <devel@pollock-nageoire.net>
10988
10989 * eieio-custom.el (eieio-object-value-get): Add missing increment
10990 (Bug#20467)
10991
10992 (eieio-object-value-create): Adjust to new slots representation
10993 (Bug#20467)
10994 * eieio-custom.el (eieio-object-value-create):
10995 Fix missed adjustment to new representation of slots metadata.
10996
10997 2015-05-05 Nicolas Petton <nicolas@petton.fr>
10998
10999 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
11000
11001 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
11002
11003 Work around "Attempt to modify read-only object"
11004 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
11005 elisp--xref-find-definitions, to work around "Attempt to modify
11006 read-only object" error.
11007
11008 Only skip some variables that have function counterparts
11009 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
11010 Only skip minor-mode-named variable if it's defined in a Lisp
11011 file, and it's in minor-mode-list (bug#20506).
11012 * test/automated/elisp-mode-tests.el
11013 (elisp-xref-finds-both-function-and-variable)
11014 (elisp-xref-finds-only-function-for-minor-mode): New tests.
11015
11016 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
11017
11018 Buttonize the whole line, including the number at the beginning
11019 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
11020 previous change.
11021 (xref--insert-xrefs): Buttonize the whole line, including the
11022 number at the beginning.
11023
11024 Make sure we're inside the let bindings
11025 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
11026 Make sure we're inside the let bindings.
11027 * test/automated/elisp-mode-tests.el
11028 (elisp-completes-functions-after-let-bindings): New test.
11029
11030 2015-05-04 Glenn Morris <rgm@gnu.org>
11031
11032 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
11033 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
11034 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
11035 Remove outdated declarations.
11036
11037 Replace instances of "(eval-when-compile (autoload ...))"
11038 * lisp/gnus/gnus-art.el (nneething-get-file-name):
11039 Declare rather than autoload.
11040 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
11041 Remove pointless autoload.
11042 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
11043 (gnus-topic-create-topic, gnus-topic-enter-dribble):
11044 Declare rather than autoload.
11045 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
11046 (mailcap-extension-to-mime): Autoload at run-time.
11047 * lisp/gnus/mm-util.el (latin-unity-massage-name)
11048 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
11049 (latin-unity-representations-present-region):
11050 Declare rather than autoload.
11051 * lisp/gnus/mml-smime.el (epg-make-context)
11052 (epg-passphrase-callback-function): Autoload at run-time.
11053 (epg-context-set-signers, epg-context-result-for)
11054 (epg-new-signature-digest-algorithm)
11055 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
11056 (epg-sign-string, epg-encrypt-string)
11057 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
11058 (epg-configuration, epg-expand-group, epa-select-keys):
11059 Declare rather than autoload.
11060 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
11061 Autoload at run-time.
11062 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
11063 (gnus-registry-get-id-key, gnus-registry-action):
11064 Declare rather than autoload.
11065 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
11066 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
11067 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
11068 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
11069 (spam-stat-split-fancy): Remove pointless autoloads.
11070 * lisp/net/mairix.el: Load gnus-util when compiling.
11071 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
11072 (message-field-value): Declare rather than autoload.
11073 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
11074 Check gnus-alive-p is fbound.
11075 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
11076 (vm-check-for-killed-summary, vm-error-if-folder-empty)
11077 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
11078 Declare rather than autoload.
11079
11080 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
11081
11082 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
11083 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
11084
11085 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
11086
11087 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
11088
11089 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
11090 * lisp/emacs-lisp/package.el (epg-signature-status):
11091 Fix declarations.
11092
11093 * lisp/play/gametree.el (gametree-show-children-and-entry)
11094 (gametree-apply-layout, gametree-mouse-show-subtree)
11095 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
11096
11097 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
11098 Handle cl-defgeneric, cl-defmethod.
11099
11100 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
11101
11102 Highlight both type and symbol name
11103 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
11104 Highlight both type and symbol name.
11105
11106 Insert, highlight and align line numbers in xref output
11107 * lisp/progmodes/etags.el (xref-location-line): Specialize for
11108 xref-etags-location.
11109 * lisp/progmodes/xref.el (xref-location-line): New generic method.
11110 (xref-file-location): Add reader for the line slot.
11111 (xref--location-at-point): Skip to the `xref-location' property.
11112 (xref--collect-reference): Drop the line number from description.
11113 (xref--insert-xrefs): Insert, highlight and align line numbers.
11114
11115 2015-05-04 Daniel Colascione <dancol@dancol.org>
11116
11117 Fix previous commit
11118
11119 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
11120
11121 Don't pulse the indentation, or the newline
11122 * lisp/cedet/pulse.el (pulse-lighten-highlight)
11123 (pulse-reset-face): Fall back to the inherited background
11124 attribute in FACE.
11125 (pulse-momentary-highlight-region): Add autoload cookie.
11126 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
11127 indentation, or the newline, if the line's non-empty
11128 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
11129
11130 2015-05-04 Daniel Colascione <dancol@dancol.org>
11131
11132 Add `save-mark-and-excursion', which has the old `save-excursion' behavior
11133 * doc/lispref/positions.texi (Excursions): Document
11134 `save-mark-and-excursion'.
11135 * lisp/font-lock.el (font-lock-fontify-block): Use
11136 `save-mark-and-excursion' instead of `save-excursion', restoring
11137 Emacs 24 behavior.
11138 * lisp/simple.el (save-mark-and-excursion--save)
11139 (save-mark-and-excursion--restore): New functions.
11140 (save-mark-and-excursion): New user macro.
11141 * src/editfns.c (Fsave_excursion): Mention
11142 `save-mark-and-excursion' in `save-excursion' documentation.
11143
11144 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
11145
11146 Classify lone symbol inside let varlist as variable
11147 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
11148 Classify lone symbol inside let varlist as variable.
11149 * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
11150 New test.
11151
11152 Add xref-pulse-on-jump
11153 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
11154 Add autoload cookie.
11155 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
11156 (xref--maybe-pulse): New function.
11157 (xref-pop-marker-stack, xref--pop-to-location)
11158 (xref--display-position): Use it.
11159 (xref--location-at-point): Use back-to-indentation.
11160
11161 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * lisp/org/org-{macs,list}.el: Fix lexical warnings
11164 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
11165 (org-list-get-next-item, org-list-get-prev-item)
11166 (org-list-get-children): Mark unused arg `struct'.
11167 (org-list-use-alpha-bul-p): Remove unused var `bul'.
11168 (org-toggle-checkbox): Mark unused var.
11169 (org-update-checkbox-count): Remove unused var `box-num'.
11170 (org-adapt-indentation): Declare.
11171 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
11172 (org-list-send-list): Remove unused var `txt'.
11173 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
11174 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
11175 * lisp/org/org-macs.el: Use `declare'.
11176 (org-with-limited-levels): Declare dyn-bound vars.
11177
11178 2015-05-04 Eli Zaretskii <eliz@gnu.org>
11179
11180 Fix minor issues with CEDET on MS-Windows
11181 * lisp/cedet/semantic/symref/idutils.el
11182 (semantic-symref-parse-tool-output-one-line): Fix the search
11183 regexp to match MS-Windows file names with drive letters.
11184 (Bug#19468)
11185 * lisp/cedet/semantic/symref/grep.el
11186 (semantic-symref-grep-use-template): Remove "--color=always" from
11187 Grep switches on MS-Windows.
11188 (semantic-symref-grep-shell): Use shell-file-name as the default
11189 value, so this works not only on Posix platforms.
11190 (semantic-symref-perform-search): Use shell-quote-argument instead
11191 of literal '..' for portable quoting of Grep command-line
11192 argument. Use shell-command-switch instead of a literal "-c".
11193 * lisp/cedet/semantic/bovine/gcc.el
11194 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
11195 for an absolute file name in a portable way.
11196
11197 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
11198
11199 * lisp/emacs-lisp/package.el: Remove `package--silence' variable
11200 (package-import-keyring, package-refresh-contents)
11201 (package-compute-transaction, package--save-selected-packages)
11202 (package-install-from-archive, package-delete)
11203 (package-menu--perform-transaction): Use `inhibit-message'
11204 instead.
11205 (package--compile): Set `warning-minimum-level' to :error.
11206
11207 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
11210 (terminal-init-screen): Use it (bug#20356).
11211 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
11212 (xterm--extra-capabilities-type): New const.
11213 (xterm-extra-capabilities): Use it.
11214 (xterm--version-handler): Lower the pseudo-version for `screen'.
11215
11216 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
11217
11218 xref--insert-xrefs: Tweak the faces
11219 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
11220 Always insert a newline at the end (to avoid mouse-face background
11221 tail at the last line).
11222
11223 elisp-completion-at-point: Prioritize being quoted over funpos
11224 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
11225 Only consider function position when not inside quoted form
11226 (bug#20425).
11227 * test/automated/elisp-mode-tests.el: New file.
11228
11229 Stop vc-print-log from jumping to the top
11230 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
11231 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
11232 is not specified.
11233 (vc-incoming-outgoing-internal): Always pass nil.
11234 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
11235 call it, and don't set vc-sentinel-movepoint (bug#15322).
11236 (vc-print-root-log): Don't fetch the root working revision, nor
11237 pass it to vc-print-log-internal.
11238
11239 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
11240
11241 Fix display of keyboard layouts for right-to-left scripts
11242 * lisp/international/quail.el (quail-insert-kbd-layout): Force
11243 left-to-right paragraph direction.
11244
11245 2015-05-02 K. Handa <handa@gnu.org>
11246
11247 * cmds.c (internal_self_insert): When we insert spaces for
11248 padding, set point before the padding spaces, not after them.
11249
11250 2015-05-02 Nicolas Petton <nicolas@petton.fr>
11251
11252 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
11253
11254 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
11255
11256 Fix etags-xref-find for references
11257 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
11258 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
11259 directory if no tags tables are loaded (bug#19468).
11260
11261 2015-05-02 Philipp Stephani <phst@google.com>
11262
11263 Update the options in whitespace-style defcustom
11264 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
11265 `repeat' because the option is really set-like. Add missing
11266 options. Reorder options to match the order in the
11267 documentation. (Bug#20346)
11268
11269 2015-05-02 Eli Zaretskii <eliz@gnu.org>
11270
11271 Fix error diagnostics of c-macro-expand
11272 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
11273 too early if no start-marker string was found -- that generally
11274 means cpp exited abnormally, and we still want to show its error
11275 messages to the user.
11276
11277 Don't require Texinfo 5.0 for Emacs documentation
11278 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
11279 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
11280 "@codequoteundirected on", respectively, to avoid requiring
11281 Texinfo 5.x for Emacs documentation.
11282
11283 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
11284
11285 * lisp/files.el (pwd):
11286 When called with a prefix argument, insert the current default
11287 directory at point.
11288
11289 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
11292 * lisp/isearch.el (isearch-mode-map): Don't inhibit
11293 function-key-map remapping for backspace (bug#20466).
11294
11295 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
11296
11297 Implement xref-find-references in etags and elisp-mode
11298 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
11299 (elisp-xref-find): Use it.
11300 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
11301 * lisp/progmodes/xref.el (xref-collect-references):
11302 (xref--collect-reference): New functions.
11303
11304 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
11305
11306 Prefer plain characters to Texinfo circumlocutions
11307 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
11308 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
11309
11310 Fix single-quoting style in PDF manuals
11311 The PDF versions of the GNU manuals used curved single quotes to
11312 represent grave accent and apostrophe, which made it a pain to cut
11313 and paste code examples from them. Fix the PDF versions to use
11314 grave accent and apostrophe for Lisp source code, keystrokes, etc.
11315 This change does not affect the info files, nor does it affect
11316 ordinary uses of curved single quotes in PDF.
11317 * doc/emacs/docstyle.texi: New file, which specifies treatment for
11318 grave accent and apostrophe, as well as the document encoding.
11319 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
11320 * doc/lispintro/emacs-lisp-intro.texi:
11321 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
11322 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
11323 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
11324 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
11325 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
11326 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
11327 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
11328 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
11329 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
11330 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
11331 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
11332 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
11333 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
11334 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
11335 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
11336 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
11337 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
11338 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
11339 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
11340 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
11341 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
11342 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
11343 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
11344 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
11345 * doc/misc/woman.texi:
11346 Use it instead of '@documentencoding UTF-8', to lessen the need for
11347 global changes like this in the future.
11348 * doc/emacs/Makefile.in (EMACS_XTRA):
11349 * doc/lispintro/Makefile.in (srcs):
11350 * doc/lispref/Makefile.in (srcs):
11351 Add dependency on docstyle.texi.
11352 * doc/misc/Makefile.in (style): New macro.
11353 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
11354 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
11355 Use it.
11356
11357 2015-05-01 Glenn Morris <rgm@gnu.org>
11358
11359 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
11360
11361 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
11362 (help-fns--signature): Declare.
11363
11364 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
11365
11366 2015-05-01 Nicolas Petton <nicolas@petton.fr>
11367
11368 New macro seq-let, providing destructuring support to seq.el
11369 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
11370 to `cl-destructuring-bind' but works on all sequence types supported
11371 by `seq.el'. Bump version number to 1.6.
11372 * test/automated/seq-tests.el: Add tests for seq-let.
11373 * doc/lispref/sequences.texi: Add documentation for seq-let.
11374
11375 2015-05-01 Pontus Michael <m.pontus@gmail.com>
11376
11377 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
11378
11379 2015-05-01 Glenn Morris <rgm@gnu.org>
11380
11381 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
11382
11383 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
11384
11385 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
11386 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
11387 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
11388 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
11389 (Bug#20445).
11390
11391 2015-05-01 K. Handa <handa@gnu.org>
11392
11393 * mule-cmds.el (input-method-use-echo-area): Change :type to
11394 'boolean.
11395
11396 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11397
11398 Start using proportional fonts in eww by default
11399 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
11400 it seems to work well.
11401
11402 Fix links in tables in shr
11403 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
11404 makes (some) links in tables not work.
11405
11406 2015-05-01 Jan D <jan.h.d@swipnet.se>
11407
11408 (ns-get-cut-buffer-internal): Remove this alias.
11409 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
11410
11411 2015-04-30 Glenn Morris <rgm@gnu.org>
11412
11413 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
11414 Update for 2015-02-08 change to indirect-function.
11415
11416 * lisp/term/ns-win.el (ns-get-selection-internal):
11417 Remove declaration for function deleted 2014-10-21.
11418
11419 * lisp/dom.el: Load subr-x when compiling, for when-let.
11420
11421 Silence some compilation warnings
11422 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
11423 * lisp/emulation/cua-base.el (delete-active-region):
11424 * lisp/net/net-utils.el (w32-get-console-output-codepage):
11425 * lisp/term/ns-win.el (ns-own-selection-internal)
11426 (ns-disown-selection-internal, ns-selection-owner-p)
11427 (ns-selection-exists-p, ns-get-selection):
11428 Declare for compiler..
11429
11430 Function declaration updates prompted by 'make check-declare'
11431 * lisp/emacs-lisp/package.el (lm-homepage):
11432 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
11433 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
11434 * lisp/gnus/mml.el (libxml-parse-html-region):
11435 * lisp/gnus/nnrss.el (libxml-parse-html-region):
11436 * lisp/net/eww.el (libxml-parse-html-region):
11437 * lisp/net/shr.el (libxml-parse-html-region):
11438 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
11439 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
11440 * lisp/vc/vc-git.el (vc-annotate-convert-time):
11441 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
11442 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
11443 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
11444 Update declaration.
11445
11446 Remove compatibility code for 20-year old function renaming
11447 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
11448 Make it an obsolete alias.
11449 (idlwave-shell-filter): Change all uses to comint-output-filter.
11450
11451 2015-04-30 Tassilo Horn <tsdh@gnu.org>
11452
11453 Add ace-window face config
11454 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
11455 configuration.
11456
11457 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
11458
11459 Unclutter 'make doc' output a bit
11460 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
11461 Use make subst rather than sh IFS to split target string apart.
11462 This makes 'make' output easier to follow.
11463
11464 Merge from gnulib
11465 * doc/misc/texinfo.tex: Update from gnulib.
11466
11467 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
11468
11469 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
11470 (package-menu--print-info): Obsolete.
11471 (package-menu--print-info-simple): New function.
11472 (package-menu--refresh): Use it, simplify code, and improve
11473 performance.
11474 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11475 Tiny performance improvement.
11476
11477 * lisp/emacs-lisp/package.el (package--message): inhibit-message
11478
11479 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
11480
11481 Omit -Wstrict-overflow workaround in GCC 5
11482 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
11483 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
11484
11485 Merge from gnulib
11486 This incorporates:
11487 2015-04-29 extern-inline: no need for workaround in GCC 5.1
11488 2015-04-26 file-has-acl: port to CentOS 6
11489 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
11490
11491 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
11492
11493 Set next-error-* in xref--xref-buffer-mode
11494 * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
11495 `next-error-last-buffer'.
11496 (xref--next-error-function): New function.
11497 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
11498
11499 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
11500
11501 python.el: Fix warnings on looking-back calls missing LIMIT
11502 * lisp/progmodes/python.el (python-shell-accept-process-output):
11503 Pass LIMIT arg to looking-back.
11504
11505 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
11506
11507 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
11508 (package--download-and-read-archives): Use pushnew instead of
11509 append. If something terrible happened during a previous
11510 download, simply refreshing should now make things work again.
11511
11512 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
11513
11514 Introduce etags-xref-find-definitions-tag-order
11515 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
11516 New variable.
11517 (etags--xref-find-definitions): Use it (bug#19468).
11518
11519 2015-04-29 Eli Zaretskii <eliz@gnu.org>
11520
11521 PATH- and completion-related fixes in Eshell on MS-Windows
11522 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
11523 MS-Windows, prepend "." to list of directories produced from PATH,
11524 as Windows always implicitly searches the current directory first.
11525 (eshell-force-execution): Make it have a non-nil default value on
11526 MS-Windows and MS-DOS.
11527 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
11528 eshell-force-execution is non-nil, complete on readable files and
11529 directories, not only executables. When running on MS-Windows,
11530 prepend "." to list of directories produced from PATH, as Windows
11531 always implicitly searches the current directory first.
11532
11533 2015-04-29 Sam Steingold <sds@gnu.org>
11534
11535 bury RCIRC buffers when there is no activity
11536 lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
11537 (rcirc-bury-buffers): new function
11538 (rcirc-next-active-buffer): when there is no new activity, use
11539 `rcirc-bury-buffers' to hide all RCIRC buffers
11540
11541 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
11542
11543 Fix DBUS query result parsing for secrets-search-items
11544 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
11545 parsing. The function assumed that return value of the
11546 SearchItems method called on a collection is a list of two lists,
11547 however this is true only when no collection is specified. GNOME
11548 had used to incorrectly return a list of two lists in both cases,
11549 but this was already fixed:
11550 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
11551 incorrect information in the secrets-search-items’ docstring.
11552 (Bug#20449)
11553
11554 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
11555
11556 * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
11557 (byte-compile--message): Use `inhibit-message' instead of hiding
11558 the previous message with (message nil).
11559
11560 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
11561
11562 Remove the deprecated INTERNAL_FIELD macro by expanding it
11563 * src/lisp.h (INTERNAL_FIELD): Remove.
11564 (DEFVAR_KBOARD): Modify accordingly.
11565 * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
11566 * syntax.c: Adjust users.
11567 * src/buffer.c (compact_buffer): Use BVAR.
11568
11569 2015-04-29 Glenn Morris <rgm@gnu.org>
11570
11571 Replace an obsolete function alias
11572 * lisp/isearch.el (isearch-yank-x-selection):
11573 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
11574 (mouse-drag-secondary-moving):
11575 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
11576 Replace obsolete alias x-get-selection with gui-get-selection.
11577
11578 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * lisp/mail/rmailsum.el: Use lexical-binding.
11581
11582 2015-04-29 Glenn Morris <rgm@gnu.org>
11583
11584 * test/automated/package-test.el (package-test-update-archives-async):
11585 Skip test on hydra.nixos.org.
11586
11587 2015-04-28 Glenn Morris <rgm@gnu.org>
11588
11589 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
11590 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
11591 (foldout-mouse-hide-or-exit): Use new names for outline functions.
11592
11593 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
11594 Update for 2014-06-26 hideif.el change.
11595
11596 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
11597 (rmail--decode-and-apply): New function.
11598 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
11599
11600 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
11601
11602 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
11603
11604 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
11605 (package-menu--refresh): Delegate obsolete-hiding to
11606 `package--remove-hidden'.
11607 (package--remove-hidden): Disregard high-priority package if it is
11608 older than the installed one.
11609
11610 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
11611
11612 Update source file encoding list
11613 Update admin/notes/unicode, along with coding system cookies in
11614 other files, so that the two match each other better.
11615 * admin/notes/unicode: lisp/language/ethio-util.el and
11616 lisp/language/ethiopic.el also use utf-8-emacs.
11617 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
11618 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
11619 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
11620 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
11621 * etc/refcards/sk-survival.tex:
11622 Add "coding: utf-8" so that this file is not mishandled in a
11623 Latin-1 or Big-5 locale.
11624 * lisp/international/robin.el, lisp/org/ox-ascii.el:
11625 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
11626 * lisp/language/ethio-util.el: Fix trailer.
11627
11628 2015-04-28 Eli Zaretskii <eliz@gnu.org>
11629
11630 Fix synchronous invocation of Ispell
11631 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
11632 value to ispell-process-directory before calling ispell-init-process.
11633 Don't call set-process-coding-system if ispell-async-processp is nil.
11634 (Bug#20448)
11635
11636 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
11637
11638 * lisp/emacs-lisp/package.el: Skip space and comments in init file
11639 (package--ensure-init-file): Insert snippet at first
11640 non-whitespace non-comments line. Respects local-vars at the top
11641 of the file.
11642
11643 2015-04-28 Glenn Morris <rgm@gnu.org>
11644
11645 * lisp/mail/rmail.el (rmail-copy-headers):
11646 Handle rmail-nonignored-headers being nil. (Bug#18878)
11647
11648 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
11649
11650 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
11651 Don't get confused by a bzrlib version mismatch warning.
11652
11653 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11654
11655 Change default location of EUDC options file
11656 * NEWS: Document change to EUDC options file's default location.
11657 * lisp/net/eudc-vars.el (eudc-options-file): Use
11658 `locate-user-emacs-file' to change default options file location.
11659
11660 2015-04-27 Glenn Morris <rgm@gnu.org>
11661
11662 * test/automated/package-test.el (package-test-update-archives-async):
11663 Try to handle the test server script dying.
11664
11665 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * lisp/saveplace.el (save-place-mode): New minor mode.
11668 (save-place): Redefine as an obsolete alias.
11669
11670 * lisp/midnight.el: Make it a minor mode. Allow predicates.
11671 * lisp/midnight.el: Use lexical-binding.
11672 (midnight-mode): Make it a proper minor mode.
11673 (midnight-buffer-display-time): Make arg non-optional.
11674 (midnight-find): Remove.
11675 (clean-buffer-list-kill-never-regexps)
11676 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
11677 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
11678 contain functions.
11679 (clean-buffer-list): Use cl-find.
11680 Allow clean-buffer-list-kill-never-regexps to contain functions.
11681
11682 2015-04-27 Nicolas Petton <nicolas@petton.fr>
11683
11684 Bump version of seq.el to 1.5
11685 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
11686 from seq-doseq. Bump version number of seq.el.
11687
11688 2015-04-27 Glenn Morris <rgm@gnu.org>
11689
11690 * lisp/mail/rmail.el (rmail-reply):
11691 Decode subject before matching "Re:" prefix. (Bug#20396)
11692
11693 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
11694
11695 * lisp/emacs-lisp/package.el: Small improvements
11696 (package--with-work-buffer-async): More informative error.
11697 (package-install-user-selected-packages): Rename to
11698 `package-install-selected-packages'.
11699
11700 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
11703 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
11704 (eieio--class-make): Remove leftover `tag'.
11705
11706 2015-04-27 Glenn Morris <rgm@gnu.org>
11707
11708 * lisp/gnus/message.el (gnus-extract-address-components):
11709 Remove bogus declaration that was masking previous problem.
11710
11711 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
11712
11713 * lisp/gnus/message.el (message-insert-formatted-citation-line):
11714 Fix typo. (Bug#20318)
11715
11716 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
11719
11720 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
11721 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
11722 the buffer in yet another frame.
11723 (reftex-toc-visit-location): Make sure toc-window has focus at the end
11724 when `final' is nil.
11725 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
11726 silence warnings. Use `--' to clarify that it's internal.
11727 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
11728 (reftex-toc-promote): Clarify unused argument.
11729 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
11730 Add `reftex--' prefix. Fix all users.
11731 (reftex-toc-promote-prepare): Use _ for dummy variable.
11732 (reftex-toc-restore-region): Rename `m
11733
11734 2015-04-27 Eli Zaretskii <eliz@gnu.org>
11735
11736 Fix a typo in bibtex.el
11737 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
11738 last change. (Bug#20429)
11739
11740 Fix redisplay of frame after loading new fonts
11741 * src/xdisp.c (redisplay_internal): When retrying redisplay of a
11742 frame because new fonts were loaded, disable all redisplay
11743 optimizations on that frame by calling SET_FRAME_GARBAGED.
11744 (Bug#20410)
11745
11746 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * lisp/info.el (Info-menu): Properly provide the `default'
11749 (Bug#20391)
11750
11751 * elisp-mode.el: Catch errors from `documentation'
11752 (Bug#20418)
11753 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
11754 Catch errors from documentation.
11755 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
11756
11757 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
11760 Remove redundant ":group 'package".
11761
11762 2015-04-26 Eli Zaretskii <eliz@gnu.org>
11763
11764 Fix a typo in rmail.el
11765 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
11766 last commit. (Bug#20429)
11767
11768 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
11769
11770 Introduce xref-prompt-for-identifier
11771 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
11772 (xref--read-identifier): Use it
11773 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
11774
11775 2015-04-26 João Távora <joaotavora@gmail.com>
11776
11777 `tex-insert-quote' after single `'' opens quotes instead of closing
11778 Without this, it's very hard to precede double quotes with the
11779 apostrophe character, i.e. insert the sequence '``
11780 (quote-backquote-backquote), commonly useful in portuguese, for
11781 instance.
11782 * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
11783 chars making `tex-insert-quote' be in the "opening" context.
11784
11785 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
11786
11787 Pass `id' to `completing-read' as def instead of initial input
11788 * xref.el (xref--read-identifier): Pass `id' to `completing-read'
11789 as the default value instead of initial input
11790 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
11791
11792 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
11793
11794 Don't freeze with unreadable processes
11795 Don't freeze if an exiting process can't be read from. (Bug#19860).
11796 This fixes a bug I introduced in
11797 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
11798 "* process.c: Add sanity checks for file descriptors."
11799 Dmitry Gutov did most of the legwork in finding the problem.
11800 * src/process.c (wait_reading_process_output):
11801 Treat non-running processes that can't be read from
11802 the same as other non-running processes.
11803
11804 2015-04-25 Alan Mackenzie <acm@muc.de>
11805
11806 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
11807 * lisp/subr.el (remove-yank-excluded-properties): put
11808 `with-silent-modifications' around only the last three lines of code.
11809
11810 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
11811
11812 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
11813 (package--all-keywords): Deleted variable.
11814
11815 * etc/NEWS: Document package-hiding functionality
11816
11817 2015-04-25 Eli Zaretskii <eliz@gnu.org>
11818
11819 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
11820
11821 Clarify the doc string of 'replace-regexp-in-string'
11822 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
11823
11824 Improve doc string of 'insert-buffer-substring'
11825 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
11826
11827 MS-Windows followup for the recent gnulib update
11828 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
11829 acl-internal.c.
11830
11831 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
11832
11833 Spelling fixes
11834
11835 Merge from gnulib
11836 This incorporates:
11837 2015-04-24 file-has-acl: new module, split from acl
11838 2015-04-24 manywarnings: add GCC 5.1 warnings
11839 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
11840 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
11841 2015-04-15 acl: On Linux, check for acls without libacl
11842 2015-04-14 tempname: avoid unused parameter warnings (trivial)
11843 * lib/acl-internal.c: New file, from gnulib.
11844 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
11845 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
11846 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
11847 Update from gnulib.
11848
11849 Port --enable-gcc-warnings to GCC 5.1 x86-64
11850 * lib-src/ebrowse.c (dump_sym):
11851 * lib-src/hexl.c (main):
11852 * src/ccl.c (ccl_driver):
11853 * src/character.c (string_escape_byte8):
11854 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
11855 * src/gnutls.c (Fgnutls_boot):
11856 * src/gtkutil.c (xg_check_special_colors):
11857 * src/image.c (x_build_heuristic_mask):
11858 * src/print.c (safe_debug_print, print_object):
11859 * src/term.c (produce_glyphless_glyph):
11860 * src/xdisp.c (get_next_display_element)
11861 (produce_glyphless_glyph):
11862 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
11863 Don't use a signed format to print an unsigned integer, or vice
11864 versa. GCC 5.1's new -Wformat-signedness option warns about this.
11865 * src/image.c (png_load_body, jpeg_load_body):
11866 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
11867
11868 2015-04-24 Tassilo Horn <tsdh@gnu.org>
11869
11870 Add new faces to tsdh-light-theme
11871 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
11872 definitions for Info-quoted, ace-jump-face-foreground,
11873 hl-paren-face, show-paren-match, and show-paren-mismatch.
11874
11875 2015-04-24 Nicolas Petton <nicolas@petton.fr>
11876
11877 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
11878
11879 2015-04-24 Glenn Morris <rgm@gnu.org>
11880
11881 * build-aux/gitlog-to-emacslog:
11882 Use raw log format rather than wrapped one.
11883
11884 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
11887 (seq-doseq): Fix out-of-scope binding.
11888 Don't call `seq-length at every iteration.
11889 Reduce `if's from 3 to 2 per iteration.
11890 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
11891
11892 2015-04-24 Glenn Morris <rgm@gnu.org>
11893
11894 * lisp/textmodes/text-mode.el (text-mode-hook):
11895 Move text-mode-hook-identify to default.
11896
11897 * lisp/mouse.el (minor-mode-menu-from-indicator):
11898 Handle non-function members of minor-mode-map-alist. (Bug#20201)
11899
11900 * lisp/help-fns.el (describe-function): More type checking.
11901 (describe-function-1): Handle changed symbol-function. (Bug#20201)
11902
11903 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
11904 (Bug#20325)
11905
11906 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
11907
11908 shr: strip leading whitespace when expanding URLs
11909 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
11910
11911 2015-04-24 Eli Zaretskii <eliz@gnu.org>
11912
11913 Clarify "co-authored" some more
11914
11915 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
11916
11917 Clarify doc strings of functions that search for properties
11918 * src/textprop.c (Fnext_char_property_change)
11919 (Fprevious_char_property_change)
11920 (Fnext_single_char_property_change)
11921 (Fprevious_single_char_property_change, Fnext_property_change)
11922 (Fnext_single_property_change, Fprevious_property_change)
11923 (Fprevious_single_property_change): Clarify doc strings wrt return
11924 value and the optional LIMIT argument. (Bug#20411)
11925
11926 2015-04-24 Glenn Morris <rgm@gnu.org>
11927
11928 * test/automated/message-mode-tests.el (message-mode-propertize):
11929 Handle non-writable HOME; eg on hydra.nixos.org.
11930
11931 2015-04-23 Eli Zaretskii <eliz@gnu.org>
11932
11933 Avoid starting threads by w32-shell-execute
11934 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
11935 local file names, before invoking ShellExecute. (Bug#20220)
11936
11937 2015-04-23 Martin Rudalics <rudalics@gmx.at>
11938
11939 Fix following doc-links in `widget-documentation-link-action'
11940 * lisp/wid-edit.el (widget-documentation-link-action): Make
11941 following doc-links less simplistic (Bug#20398).
11942
11943 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11944
11945 Improve EUDC manual
11946 * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
11947
11948 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
11949
11950 Omit needless "\ " after multibyte then newline
11951 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
11952 (print_object): When print-escape-multibyte is non-nil and a
11953 multibyte character is followed by a newline or formfeed, followed
11954 by a hex digit, don't output a needless "\ " before the hex digit.
11955 * test/automated/print-tests.el (print-hex-backslash): New test.
11956
11957 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
11958
11959 Add a new `inhibit-message' variable
11960 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
11961 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
11962 `inhibit_message' is non-zero.
11963 * etc/NEWS: Add an entry.
11964 * doc/lispref/display.texi: Add an entry for `inhibit-message',
11965 mention it in `message'.
11966
11967 2015-04-22 Martin Rudalics <rudalics@gmx.at>
11968
11969 Fix last fix in `display-buffer-record-window'.
11970 * lisp/window.el (display-buffer-record-window): Fix last fix.
11971
11972 2015-04-22 Eli Zaretskii <eliz@gnu.org>
11973
11974 Minor edits in CONTRIBUTE
11975 * CONTRIBUTE: Rearrange instructions about log messages.
11976 Use "Git" capitalized all over.
11977 Use 2 spaces between sentences.
11978
11979 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
11980
11981 * lisp/files.el (basic-save-buffer): Fix argument
11982
11983 * lisp/cus-edit.el (custom-file): Consider init-file-had-error
11984 In case `(and (null custom-file) init-file-had-error)' do the same
11985 thing we'd do if `(null user-init-file)', which is to either error out
11986 or return nil. This is in line with `custom-save-all' which would
11987 throw an error in that situation. (bug#20355)
11988
11989 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
11990 (package-menu-hide-low-priority): New variable, see its doc.
11991 (package-archive-priorities): Update doc.
11992 (package-desc-priority): New function.
11993 (package-desc-priority-version): Use it.
11994 (package--remove-hidden): New function.
11995 (package-menu--refresh): Use it.
11996
11997 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
11998 (package-menu--hide-obsolete): New variable.
11999 (package--remove-hidden): Use it.
12000 (package-menu-hide-obsolete): New interactive function to toggle
12001 the variable.
12002 (package--quick-help-keys): Document it.
12003 (package-menu-async): Add :version tag.
12004 (package-menu-mode-map): Bind package-menu-hide-obsolete.
12005 (package-desc-status): Indicate non-installed obsolete packages as
12006 avail-obso.
12007 (package-menu-mark-install): Allow installation of avail-obso.
12008 (package-menu--status-predicate): Sort avail-obso with available.
12009
12010 2015-04-22 Alan Mackenzie <acm@muc.de>
12011
12012 On C-y, stop some text property entries being written into buffer-undo-list
12013 lisp/subr.el (remove-yank-excluded-properties): enclose the code in
12014 `with-silent-modifications'.
12015
12016 2015-04-22 Martin Rudalics <rudalics@gmx.at>
12017
12018 In display-buffer-record-window record selected window if necessary.
12019 * lisp/window.el (display-buffer-record-window): Store selected window
12020 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
12021
12022 2015-04-22 Tassilo Horn <tsdh@gnu.org>
12023
12024 Fix reftex-citation bug
12025 * reftex-cite.el (reftex-extract-bib-entries): Fix
12026 `wrong-type-argument stringp nil' error that occurs when AUCTeX
12027 integration is enabled and there are no citations in the document
12028 so far.
12029
12030 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
12031
12032 Add or reset based on the presence of MERGE_HEAD
12033 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
12034 `vc-git-resolve-when-done' to `after-save-hook' in either case.
12035 (vc-git-conflicted-files): Add a TODO.
12036 (vc-git-resolve-when-done): Depending on the presence of
12037 MERGE_HEAD, either update the resolved file in the index, or
12038 remove it from there. (Bug#20292)
12039
12040 2015-04-21 Glenn Morris <rgm@gnu.org>
12041
12042 * lisp/custom.el (custom-declare-group): No need to purecopy
12043 custom-current-group-alist members following recent change to set
12044 it to nil before dumping.
12045
12046 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
12047 (Bug#20399)
12048
12049 2015-04-21 Daniel Colascione <dancol@dancol.org>
12050
12051 Unbreak no-op buffer save message
12052 * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
12053 (basic-save-buffer): Accept called-interactively as an argument instead of
12054 directly invoking called-interactively-p, which will always yield nil
12055 in that context.
12056
12057 2015-04-21 Alan Mackenzie <acm@muc.de>
12058
12059 CC Mode: Do nothing in before/after-change-functions for text property changes
12060 Fixes bug#20266.
12061 lisp/progmodes/cc-mode.el (c-basic-common-init): Make
12062 yank-handled-properties buffer local, and remove 'category from it.
12063 (c-called-from-text-property-change-p): New function.
12064 (c-before-change): Don't do anything if a call of the new function
12065 returns non-nil.
12066 (c-after-change): Don't do much if a call of the new function returns
12067 non-nil.
12068 (c-extend-after-change-region): Put changes to text property 'fontified
12069 inside c-save-buffer-state.
12070
12071 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 Fix byte-compiler warnings about looking-back.
12074 * lisp/vc/log-view.el (log-view-end-of-defun-1):
12075 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
12076 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
12077 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
12078 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
12079 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
12080 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
12081 * lisp/org/org.el (org-insert-heading, org-sort-entries):
12082 * lisp/org/org-mouse.el (org-mouse-end-headline)
12083 (org-mouse-context-menu):
12084 * lisp/org/org-clock.el (org-clock-cancel):
12085 * lisp/man.el (Man-default-man-entry):
12086 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
12087 (rmail-ensure-blank-line):
12088 * lisp/mail/footnote.el (Footnote-delete-footnote):
12089 * lisp/mail/emacsbug.el (report-emacs-bug):
12090 * lisp/info.el (Info-follow-reference, Info-fontify-node):
12091 * lisp/info-look.el (info-lookup-guess-custom-symbol):
12092 * lisp/help-fns.el (help-fns--key-bindings):
12093 * lisp/files.el (hack-local-variables):
12094 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
12095 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
12096 (viper-complete-filename-or-exit):
12097 * lisp/emulation/viper-cmd.el (viper-backward-indent):
12098 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
12099 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
12100 * lisp/cus-edit.el (custom-face-edit-value-create):
12101 * lisp/calendar/todo-mode.el (todo-set-item-priority)
12102 (todo-filter-items-1, todo-convert-legacy-files)
12103 (todo-prefix-overlays): Add explicit second arg to looking-back.
12104
12105 2015-04-20 Glenn Morris <rgm@gnu.org>
12106
12107 Avoid non-nil current-load-list at startup
12108 * src/process.c (init_process_emacs): Move Fprovide statement...
12109 (syms_of_process): ... to here.
12110
12111 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
12112
12113 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
12114
12115 2015-04-20 Ludovic Courtès <ludo@gnu.org>
12116
12117 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
12118 (Bug#20330)
12119
12120 2015-04-20 Glenn Morris <rgm@gnu.org>
12121
12122 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
12123
12124 Tweak exec-path in uninstalled case
12125 * src/callproc.c (init_callproc): If running uninstalled, do not
12126 include eventual installation libexec directory in exec-path.
12127
12128 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
12129
12130 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
12131 (package-menu-filter): Accept a list of keywords.
12132 (package--all-keywords): New variable to cache known keywords.
12133 (package-all-keywords): Populate it if necessary.
12134 (package-refresh-contents): Reset it.
12135
12136 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
12137 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
12138 as special keywords which match agains package archive and status
12139 respectively.
12140 * etc/NEWS: Document it.
12141
12142 2015-04-20 Eli Zaretskii <eliz@gnu.org>
12143
12144 Describe and index "empty overlays".
12145 * doc/lispref/display.texi (Overlays): Improve indexing.
12146 (Managing Overlays): Describe "empty" overlays.
12147 (Overlay Properties, Finding Overlays): Add cross-reference to
12148 where empty overlays are described.
12149
12150 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
12151
12152 Spelling fixes
12153
12154 Quote 'like this' in top-level files
12155 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
12156 Prefer to single-quote 'like this' (instead of the older style
12157 `like this').
12158 * configure.ac: Fix some space-before-tab problems that 'git commit'
12159 complained about.
12160
12161 Use bool for boolean in textprop.c, undo.c
12162 * src/textprop.c (soft, hard): Now constants instead of macros.
12163 (validate_plist): Rewrite to avoid need for boolean local.
12164 (interval_has_all_properties, interval_has_some_properties)
12165 (interval_has_some_properties_list, add_properties)
12166 (remove_properties, get_char_property_and_overlay)
12167 (Fnext_single_char_property_change)
12168 (Fprevious_single_char_property_change, add_text_properties_1)
12169 (Fremove_text_properties, Fremove_list_of_text_properties)
12170 (copy_text_properties):
12171 * src/tparam.c (tparam1):
12172 * src/undo.c (record_change, record_property_change)
12173 (syms_of_undo):
12174 Use 'true' and 'false' for booleans.
12175
12176 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
12177
12178 Call `smerge-start-session' even when dealing with a stash conflict
12179 * lisp/vc/vc-git.el (vc-git-find-file-hook):
12180 Call `smerge-start-session' even when dealing with a stash
12181 conflict (bug#20292).
12182
12183 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
12184
12185 Add option to eshell/clear to clear scrollback.
12186 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
12187 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
12188 scrollback contents are cleared.
12189 * etc/NEWS: Describe change.
12190 * doc/misc/eshell.texi: Add entry for `clear'.
12191
12192 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
12193
12194 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
12195 where either will do.
12196
12197 2015-04-19 Steve Purcell <steve@sanityinc.com>
12198
12199 Assume package archive-contents are UTF8-encoded
12200 * lisp/emacs-lisp/package.el (package--read-archive-file):
12201 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
12202 downloaded and cached archive-contents files, so that non-ASCII
12203 characters in package descriptions are displayed correctly in the
12204 `list-packages' menu. (Bug#20231)
12205
12206 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
12207
12208 Abort when looking at stashed changes
12209 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
12210 stashed changes (bug#20292).
12211
12212 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
12213
12214 Refactor low-level printing for simplicity
12215 * src/print.c (PRINTDECLARE): Remove. Move its contents into
12216 PRINTPREPARE; doable now that we assume C99. All callers changed.
12217 (PRINTCHAR): Remove, as it adds more mystery than clarity.
12218 All callers changed.
12219 (strout): Assume that caller computes length. All callers changed.
12220 (print_c_string): New function.
12221 (write_string, write_string_1): Compute length instead of asking
12222 the caller to compute it. All callers changed.
12223 (write_string): Simplify by using write_string_1.
12224 (write_string_1): Simplify by using print_c_string.
12225 (Fterpri): Compute default val more clearly.
12226 (Fprin1_to_string, print_object):
12227 Assume C99 to avoid unnecessary nesting.
12228 (print_object): Prefer print_c_string to multiple printchar, or
12229 to calling strout with -1 length. Coalesce into sprintf when
12230 this is easy.
12231
12232 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
12233
12234 Prefer "Bug#1234" in commit messages (Bug#20325)
12235 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
12236 as this isn't useful for Git.
12237 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
12238
12239 2015-04-18 Glenn Morris <rgm@gnu.org>
12240
12241 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
12242 (Bug#19506)
12243
12244 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
12245
12246 * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
12247 (Bug#19505)
12248
12249 2015-04-18 Glenn Morris <rgm@gnu.org>
12250
12251 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
12252
12253 * doc/emacs/misc.texi (Sorting): Small edit.
12254 (Bug#19896)
12255
12256 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
12257
12258 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
12259
12260 css-mode.el: Support multi-line comment filling
12261 (Bug#20256)
12262 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
12263 comment filling.
12264 (css-adaptive-fill): New function.
12265 (css-mode): Set `adaptive-fill-function'.
12266 (scss-mode): Set `comment-continue'.
12267
12268 2015-04-18 Nicolas Petton <nicolas@petton.fr>
12269
12270 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
12271
12272 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
12273
12274 Minor improvements in Bulgarian input methods
12275 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
12276 Replace U+042C with U+045D, as the former character is not used in
12277 the modern Bulgarian language.
12278 (Bug#20350)
12279
12280 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12281
12282 Improve EUDC manual
12283 * eudc.texi (LDAP Configuration): Mention simple and SASL
12284 authentication schemes. Add index items. Shorten example server
12285 name.
12286
12287 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
12288
12289 Don't show both feature and function with the same name
12290 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
12291 Don't show both feature and function with the same name.
12292
12293 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
12294 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
12295 Avoid returning both the variable and the function for the same
12296 minor mode.
12297
12298 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
12299
12300 Fix fontification of keywords clobbered by the prompt.
12301 * lisp/comint.el (comint-output-filter): Remove the uses of
12302 with-silent-modifications I introduced as part of the last change.
12303 This fixes, e.g., erratically missing highlighting when running
12304 ./configure --help; ./configure in a shell-mode buffer with
12305 compilation-shell-minor-mode turned on.
12306
12307 2015-04-17 Glenn Morris <rgm@gnu.org>
12308
12309 * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
12310
12311 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * lisp/indent.el (indent-region): Don't deactivate the mark
12314 (Bug#20357)
12315
12316 2015-04-17 Sam Steingold <sds@gnu.org>
12317
12318 lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
12319
12320 2015-04-16 Leo Liu <sdl.web@gmail.com>
12321
12322 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
12323
12324 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
12327
12328 2015-04-16 Glenn Morris <rgm@gnu.org>
12329
12330 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
12331
12332 2015-04-16 Eli Zaretskii <eliz@gnu.org>
12333
12334 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
12335 * configure.ac (LIBJPEG): Leave it empty for MinGW.
12336
12337 2015-04-16 Glenn Morris <rgm@gnu.org>
12338
12339 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
12340 to avoid rogue setting after startup.
12341
12342 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
12343
12344 Pre-4.6 GCC succeeds with unknown option
12345 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
12346 (Bug#20338)
12347
12348 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12349
12350 '[:graph:]' now excludes whitespace, not just ' '
12351 * doc/lispref/searching.texi (Char Classes):
12352 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
12353 sans whitespace (not sans space).
12354 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
12355 not just space.
12356 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
12357
12358 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 (looking-back): Make the second arg non-optional.
12361 * lisp/subr.el (substitute-key-definition-key, special-form-p)
12362 (macrop): Drop deprecated second arg to indirect-function.
12363 (looking-back): Make the second arg non-optional.
12364
12365 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
12366 command is actually sent to the shell.
12367
12368 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12369
12370 Port jpeg configuration to Solaris 10 with Sun C
12371 * configure.ac: Check for jpeglib 6b by trying to link it, instead
12372 of relying on cpp magic that has problems in practice. Check for
12373 both jpeglib.h and jerror.h features. Remove special case for
12374 mingw32, which should no longer be needed (and if it were needed,
12375 should now be addressable by hotwiring emacs_cv_jpeglib).
12376 (Bug#20332)
12377
12378 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
12381 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
12382 Move to elisp-mode.el.
12383 (lisp-mode-variables): (Re)move elisp-specific settings.
12384 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
12385 from lisp-mode-variables.
12386 (elisp--font-lock-flush-elisp-buffers): New function, moved from
12387 lisp-mode.el.
12388
12389 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
12390 Avoid pathological slowdown at top-level in large file.
12391
12392 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12393
12394 Standardize names of ChangeLog history files
12395 Suggested by Glenn Morris in:
12396 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
12397 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
12398 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
12399 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
12400 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
12401 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
12402 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
12403 Remove.
12404
12405 Split top-level entries into pre- and post-April 7
12406 This more clearly distingiushes pre-April-7 ChangeLog entries (which
12407 are for top-level files only) from post-April-7 entries (which are
12408 about files at all levels. Problem reported by Glenn Morris in:
12409 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
12410 * ChangeLog.1: Move post-April-7 entries from here ...
12411 * ChangeLog.2: ... to this new file.
12412 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
12413
12414 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 Fix recent cus-start changes that added customize-rogues
12417 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
12418 vars early.
12419 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
12420
12421 2015-04-15 Nicolas Petton <nicolas@petton.fr>
12422
12423 Define cl-concatenate as an alias to seq-concatenate
12424 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
12425 code by making cl-concatenate an alias to seq-concatenate.
12426
12427 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 * src/lread.c (intern_1): Make sure we'd find the symbol we add
12430 (Bug#20334)
12431 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
12432
12433 2015-04-15 Glenn Morris <rgm@gnu.org>
12434
12435 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
12436
12437 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12438
12439 Clean up gnus-uu saving code slightly
12440 * gnus-uu.el (gnus-uu-save-article): Make the
12441 save-restriction/widen calls make more sense.
12442
12443 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12444
12445 Make [:graph:] act like [:print:] sans space
12446 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
12447 [:graph:] so that it matches everything that [:print:] does,
12448 except for space.
12449 * doc/lispref/searching.texi (Char Classes):
12450 * etc/NEWS:
12451 * lisp/emacs-lisp/rx.el (rx):
12452 Document [:graph:] to be [:print:] sans ' '.
12453 * src/character.c, src/character.h (graphicp): New function.
12454 * src/regex.c (ISGRAPH) [emacs]: Use it.
12455 (BIT_GRAPH): New macro.
12456 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
12457 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
12458 Return BIT_GRAPH for RECC_GRAPH.
12459 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
12460 and ISPRINT if BIT_PRINT.
12461
12462 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12463
12464 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
12465 Don't use call-next-method in a cl-defmethod.
12466
12467 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
12468 (eieio--class-p): Remove, provided by cl-defstruct.
12469
12470 2015-04-14 Nicolas Petton <nicolas@petton.fr>
12471
12472 Add seq-intersection and seq-difference to the seq library
12473 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
12474 functions.
12475 * test/automated/seq-tests.el: Add tests for seq-intersection and
12476 seq-difference.
12477 * doc/lispref/sequences.texi: Add documentation for seq-intersection
12478 and seq-difference.
12479
12480 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
12483
12484 2015-04-14 Sam Steingold <sds@gnu.org>
12485
12486 package--ensure-init-file: widen requires save-restriction
12487
12488 2015-04-14 Eli Zaretskii <eliz@gnu.org>
12489
12490 Improve the commit-msg Git hook for unibyte environments
12491 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
12492 in unibyte environments. (Suggested by Paul Eggert
12493 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
12494 [:print:], based on UTF-8 sequences of the unprintable characters.
12495
12496 Describe problems with cursor caused by Windows Magnifier
12497 * etc/PROBLEMS: Describe the problem with cursor shape on
12498 MS-Windows due to Windows Magnifier.
12499 (Bug#20271)
12500
12501 Make [:print:] support non-ASCII characters correctly
12502 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
12503 (BIT_PRINT): New bit mask.
12504 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
12505 * src/character.c (printablep): New function.
12506 * src/character.h (printablep): Add prototype.
12507 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
12508 of 'print', 'alnum', and 'alphabetic'.
12509 * doc/lispref/searching.texi (Char Classes): Document the new
12510 behavior of [:print:].
12511 * etc/NEWS: Mention the new behavior of [:print:].
12512
12513 Assign correct general-category and names to surrogates
12514 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
12515 surrogates. This avoids assigning them the default
12516 general-category of 'Cn', i.e. unassigned codepoints.
12517 (unidata-get-name): Give surrogates synthetic names.
12518
12519 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
12520
12521 Assume C89 offsetof in xterm.c, xlwmenu.c
12522 * lwlib/xlwmenu.c (offset):
12523 * src/xterm.c (cvt_string_to_pixel_args):
12524 Use offsetof, not XtOffset.
12525
12526 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
12527
12528 Assume C89 offsetof in widget.c
12529 * src/widget.c (XtOffset): Remove; no longer needed.
12530 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
12531
12532 Fix think-o in previous patch
12533 * src/window.c (count_windows, get_leaf_windows):
12534 Don't optimize count_windows incorrectly.
12535
12536 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
12537
12538 Avoid some int overflows in window.c
12539 * src/print.c (print_object):
12540 * src/window.c (sequence_number):
12541 * src/window.h (struct window.sequence_number):
12542 Don't assume window sequence number fits in int.
12543 * src/window.c (window_select_count):
12544 * src/window.h (struct window.use_time, window_select_count):
12545 Don't assume window use time fits in int.
12546 * src/window.c (Fsplit_window_internal):
12547 Don't assume user-supplied integer, or sum, fits in int.
12548 (Fset_window_configuration, count_windows, get_leaf_windows)
12549 (save_window_save, Fcurrent_window_configuration):
12550 Use ptrdiff_t for object counts.
12551 (Fset_window_configuration): Omit unused local 'n'.
12552 (count_windows): Simplify by writing in terms of get_leaf_windows.
12553 (get_leaf_windows): Don't store through FLAT if it's null.
12554 (extract_dimension): New static function.
12555 (set_window_margins, set_window_fringes, set_window_scroll_bars):
12556 Use it to avoid undefined behavior when converting user-supplied
12557 integer to 'int'.
12558
12559 2015-04-13 Glenn Morris <rgm@gnu.org>
12560
12561 Minor doc copyedits
12562 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
12563 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
12564
12565 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
12566
12567 [Gnus] Catch the invalid-operation that idna.el will issue
12568 * lisp/gnus/gnus-art.el (gnus-use-idna):
12569 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
12570 * lisp/gnus/message.el (message-use-idna):
12571 Catch the invalid-operation that idna.el will issue.
12572
12573 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
12574
12575 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
12576
12577 2015-04-13 Sam Steingold <sds@gnu.org>
12578
12579 package--ensure-init-file: widen before looking for "(package-initialize)"
12580
12581 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
12582
12583 Change diff-switches default to `-u'
12584 (Bug#20290)
12585 * doc/emacs/files.texi (Comparing Files): Document the new default
12586 value of `diff-switches'.
12587 * doc/emacs/trouble.texi (Sending Patches): Document the preference
12588 for unified diff format. Escape the plus in the suggested `-F' regexp
12589 value.
12590 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
12591
12592 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 (gnus-group--setup-tool-bar-update): Fix last change
12595 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
12596 cursor-sensor-functions should be a list of functions.
12597
12598 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
12599
12600 Use gmm-called-interactively-p in Gnus
12601 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
12602
12603 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
12606 (Bug#20321)
12607 * lisp/cus-start.el (read-buffer-function): Don't advertize
12608 iswitchb-read-buffer any more.
12609 (iswitchb): Don't tweak this obsolete group any more.
12610
12611 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
12612
12613 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
12614
12615 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
12616 Adding a string after a constructor's argument list will use
12617 that string as the constructor function docstring. If this string
12618 is absent but the struct itself was given a docstring, use that as
12619 the constructor's docstring.
12620 Fixes (bug#17284).
12621
12622 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12623
12624 Deprecate `intangible' and `point-entered' properties
12625 * lisp/emacs-lisp/cursor-sensor.el: New file.
12626 * lisp/simple.el (pre-redisplay-functions): New hook.
12627 (redisplay--pre-redisplay-functions): New function.
12628 (pre-redisplay-function): Use it.
12629 (minibuffer-avoid-prompt): Mark obsolete.
12630 (redisplay--update-region-highlight): Adapt it to work as a function on
12631 pre-redisplay-functions.
12632 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
12633 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
12634 than point-entered to make the prompt intangible.
12635 * lisp/forms.el: Move `provide' calls to the end.
12636 (forms-mode): Don't use `run-hooks' on a local var.
12637 (forms--make-format, forms--make-format-elt-using-text-properties):
12638 Use cursor-intangible rather than `intangible'.
12639 (forms-mode): Enable cursor-intangible-mode.
12640 * lisp/isearch.el (isearch-mode): Use defvar-local.
12641 (cursor-sensor-inhibit): Declare.
12642 (isearch-mode): Set cursor-sensor-inhibit.
12643 (isearch-done): Set it back.
12644 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
12645 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
12646 any more.
12647 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
12648 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
12649 Add Edebug spec.
12650 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
12651 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
12652 inhibit-point-motion-hooks any more.
12653 (ses--cell-at-pos, ses--curcell): New functions, extracted from
12654 ses-set-curcell.
12655 (ses-set-curcell): Use them.
12656 (ses-print-cell, ses-setup): Use cursor-intangible instead of
12657 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
12658 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
12659 Use ses--cell-at-pos.
12660 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
12661 extracted from ses-command-hook. Make them work with multiple windows
12662 displaying the same buffer.
12663 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
12664 Enable cursor-intangible-mode.
12665 (ses-command-hook): Remove cell highlight and mode-line update code.
12666 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
12667 Update for new name of text-property holding the cell name.
12668 (ses-rename-cell): Don't mess with mode-line-process.
12669 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
12670 cursor-sensor-functions property instead of point-entered.
12671 (erc-insert-timestamp-right, erc-format-timestamp):
12672 Use cursor-intangible rather than `intangible'.
12673 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
12674 remove-from-invisibility-spec. Enable cursor-intangible-mode and
12675 cursor-sensor-mode if needed.
12676 (erc-echo-timestamp): Adapt to calling convention of
12677 cursor-sensor-functions.
12678 (erc-insert-timestamp-right): Remove unused vars `current-window' and
12679 `indent'.
12680 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
12681 (gnus-update-group-mark-positions): Remove unused `topic' var.
12682 (gnus-group-insert-group-line): Remove unused var `header'.
12683 (gnus-group--setup-tool-bar-update): New function.
12684 (gnus-group-insert-group-line): Use it.
12685 (gnus-group-update-eval-form): Declare local
12686 dynamically-bound variables.
12687 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
12688 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
12689 (gnus-group-prepare-topics, gnus-topic-update-topic)
12690 (gnus-topic-change-level, gnus-topic-catchup-articles)
12691 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
12692 Use inhibit-read-only.
12693 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
12694 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
12695 * lisp/textmodes/reftex-index.el (reftex-display-index):
12696 Use cursor-intangible-mode if available.
12697 (reftex-index-post-command-hook): Check cursor-intangible.
12698 * lisp/textmodes/reftex-toc.el (reftex-toc):
12699 Use cursor-intangible-mode if available.
12700 (reftex-toc-recenter, reftex-toc-post-command-hook):
12701 Check cursor-intangible.
12702 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
12703 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
12704 (sgml-tags-invisible): Use with-silent-modifications and
12705 inhibit-read-only. Enable cursor-sensor-mode.
12706 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
12707 calling convention of cursor-sensor-functions.
12708 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
12709 (table-point-entered-cell-hook, table-point-left-cell-hook):
12710 Don't autoload.
12711 (table-cell-entered-state): Remove var.
12712 (table--put-cell-point-entered/left-property)
12713 (table--remove-cell-properties):
12714 Use cursor-sensor-functions rather than point-entered/left.
12715 (table--point-entered/left-cell-function): Merge
12716 table--point-entered-cell-function and table--point-left-cell-function
12717 and adjust to calling convention of cursor-sensor-functions.
12718
12719 Update ldef-boots.el
12720
12721 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
12722
12723 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
12724
12725 Collapse successive char deletions in the undo log
12726 * src/cmds.c (remove_excessive_undo_boundaries): New function,
12727 extracted from Fself_insert_command.
12728 (Fdelete_char, Fself_insert_command): Use it.
12729 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
12730 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
12731
12732 xterm and OSC 52: Add NEWS entry, and tweak the code
12733 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
12734 top-level.
12735 (terminal-init-xterm-activate-set-selection): Set a terminal property.
12736 (xterm--set-selection): Use it instead of checking the value of
12737 `terminal-initted'. Don't use string-bytes.
12738
12739 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
12740
12741 xterm.el: Implement OSC-52 functionality for setting the X selection
12742 * lisp/term/xterm.el (xterm-max-cut-length): New var.
12743 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
12744 (terminal-init-xterm, xterm--version-handler): Use them.
12745
12746 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12747
12748 Remove left over code from when we used an obsolete/loaddefs.el file
12749 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
12750 we used an obsolete/loaddefs.el file.
12751
12752 * cedet/semantic/fw.el: Use declare.
12753 * cedet/semantic/fw.el (semantic-exit-on-input)
12754 (semanticdb-without-unloaded-file-searches): Use declare.
12755 (semantic-fw-add-edebug-spec): Remove.
12756
12757 (completion-lisp-mode-hook): Use completion-separator-chars
12758 * lisp/completion.el (completion-lisp-mode-hook):
12759 Use completion-separator-chars rather than local key binding.
12760
12761 * src/*.c: Set deactivate_mark buffer-locally
12762 (Bug#20260)
12763 * src/insdel.c (prepare_to_modify_buffer_1):
12764 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
12765 buffer-locally.
12766
12767 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
12768
12769 python.el: Keep symmetry on sexp navigation with parens
12770 (Bug#19954)
12771 * lisp/progmodes/python.el
12772 (python-nav--forward-sexp): Add argument skip-parens-p.
12773 (python-nav-forward-sexp, python-nav-backward-sexp)
12774 (python-nav-forward-sexp-safe)
12775 (python-nav-backward-sexp-safe): Use it.
12776 * test/automated/python-tests.el
12777 (python-nav-forward-sexp-1): Fix test.
12778
12779 2015-04-12 João Távora <joaotavora@gmail.com>
12780
12781 Don't use `setq-local' in Gnus code
12782 This might break upstream builds with older Emacsen
12783 * lisp/gnus/message.el (message-mode): Use `set' and
12784 `make-local-variable' instead of `setq-local'.
12785
12786 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
12787
12788 Update Makefile.in's .PHONY dependencies
12789 * Makefile.in (change-history-commit, master-branch-is-current)
12790 (no-ChangeLog): Now phony.
12791
12792 Remove configure's --with-mmdf option
12793 * configure.ac (MAIL_USE_MMDF): Remove.
12794 * etc/NEWS: Document this.
12795 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
12796 (Bug#20308)
12797
12798 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
12799 That way, 'make install' won't think it's a man page.
12800 Reported by Ashish SHUKLA in:
12801 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
12802
12803 Improve 'make change-history' prereq tests
12804 * Makefile.in (gen_origin): Fix to match what's in the master branch.
12805 (no-ChangeLog, master-branch-is-current): New rules.
12806 (change-history): Depend on them, to avoid similar future problems.
12807 Escape the local-variables string to pacify Emacs when editing
12808 Makefile.in.
12809
12810 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
12811
12812 * test/automated/package-test.el (with-package-test): Kill Packages buffer
12813
12814 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
12815 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
12816 "Upgrade" last, and use capitalized instead of all-caps.
12817
12818 * lisp/emacs-lisp/package.el: Completely silence async operations
12819 (package--make-autoloads-and-stuff): Silence autoloads.
12820 (package--save-selected-packages): New function, silences
12821 `customize-save-variable'.
12822 (package--user-selected-p, package-install-from-buffer)
12823 (package-delete, package-install): Use it.
12824 (package-install-from-archive)
12825 (package-menu--perform-transaction): Silence.
12826 (package-menu-execute): Feedback when operation starts.
12827
12828 Use delay-mode-hooks when visiting the init-file
12829 * lisp/emacs-lisp/package.el (package--ensure-init-file):
12830 delay-mode-hooks
12831 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
12832
12833 * lisp/files.el: Only message when saving if save-silently is nil
12834 (save-silently): New variable.
12835 (files--message): New function.
12836 (find-file-noselect, save-buffer, basic-save-buffer)
12837 (basic-save-buffer-2, save-some-buffers, not-modified)
12838 (append-to-file): Use them.
12839
12840 2015-04-12 Johan Bockgård <bojohan@gnu.org>
12841
12842 Support debug declarations in pcase macros
12843 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
12844 (pcase-UPAT): Use it. Remove "`".
12845 (pcase--edebug-match-macro): New function.
12846 (pcase-defmacro): Support debug declarations.
12847 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
12848 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
12849 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
12850
12851 pcase.el: Edebug support for `app' and vector patterns
12852 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
12853 (pcase-UPAT): Use it. Support `app' patterns.
12854 (pcase-QPAT): Support vector patterns.
12855
12856 edebug.el: Disambiguate vector specifications
12857 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
12858 `(vector ...)' as a vector specification, not as a sublist.
12859
12860 (gnus-summary-refer-thread): Don't clobber unread articles
12861 This fixes a bug where `A T' causes "random" articles to become marked
12862 as read.
12863 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
12864 gnus-newsgroup-unreads remains sorted.
12865
12866 mouse-sel.el: Fix mouse-sel-get-selection-function
12867 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
12868 Use gui--last-selected-text-primary instead of no longer existing
12869 gui-last-selected-text.
12870
12871 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
12872
12873 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
12874
12875 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
12876
12877 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
12878
12879 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
12880
12881 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
12882 (byte-compile--interactive): New var.
12883 (byte-compile--message): New function.
12884 (byte-compile-log-1, byte-force-recompile)
12885 (byte-recompile-directory, byte-recompile-file)
12886 (byte-compile-file, compile-defun)
12887 (byte-compile-file-form-defmumble, byte-compile)
12888 (byte-compile-file-form-defalias, display-call-tree): Use it.
12889
12890 * lisp/files.el: Don't message when nothing happened
12891 (save-some-buffers, basic-save-buffer): Before messaging to say
12892 "nothing was saved" check if (called-interactively-p 'any).
12893
12894 2015-04-12 João Távora <joaotavora@gmail.com>
12895
12896 Summary: Improve sexp-based movement in message-mode
12897 Works by giving citations and smileys a different syntax. This helps
12898 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
12899 sexp-based movement.
12900 * lisp/gnus/message.el (message--syntax-propertize): New function.
12901 (message-mode): Set syntax-related vars.
12902 (message-smileys): New variable.
12903 * test/automated/message-mode-tests.el: New file
12904
12905 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
12906
12907 Use bool for boolean in window.c
12908 * src/window.c: Omit unnecessary static function decls.
12909 (adjust_window_count, select_window, Fselect_window)
12910 (window_body_width, Fwindow_body_height, Fwindow_body_width)
12911 (set_window_hscroll, check_window_containing, Fwindow_at)
12912 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
12913 (unshow_buffer, replace_window, recombine_windows)
12914 (add_window_to_list, candidate_window_p, next_window)
12915 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
12916 (Fget_buffer_window, Fdelete_other_windows_internal)
12917 (replace_buffer_in_windows_safely, set_window_buffer)
12918 (Fset_window_buffer, Fforce_window_update)
12919 (temp_output_buffer_show, make_parent_window)
12920 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
12921 (resize_frame_windows, Fsplit_window_internal)
12922 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
12923 (Fresize_mini_window_internal, mark_window_cursors_off)
12924 (window_scroll, window_scroll_pixel_based)
12925 (window_scroll_line_based, scroll_command, Fscroll_other_window)
12926 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
12927 (Fmove_to_window_line, Fset_window_configuration)
12928 (delete_all_child_windows, apply_window_adjustment)
12929 (set_window_fringes, set_window_scroll_bars)
12930 (Fset_window_vscroll, foreach_window, foreach_window_1)
12931 (compare_window_configurations, Fcompare_window_configurations):
12932 Prefer 'bool', 'true', and 'false' for booleans.
12933 * src/window.h (WINDOW_MODE_LINE_LINES)
12934 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
12935
12936 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
12937
12938 Speed up byte-compilation and autoload generation by avoiding mode-hooks
12939 This prevents emacs-lisp-mode-hook from being run everytime an
12940 autoload file is generated, which can account for a fraction of
12941 package installation time depending on the hooks the user has
12942 configured.
12943 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
12944 * lisp/emacs-lisp/autoload.el (autoload-find-file)
12945 (autoload-find-generated-file): Use delay-mode-hooks.
12946
12947 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
12948 (package-menu-refresh): Respect async and do new package checking.
12949 (list-packages): Use `package-menu-refresh' instead of repeating code.
12950
12951 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
12952 (package--quick-help-keys): New variable.
12953 (package--prettify-quick-help-key): New function.
12954 (package-menu-quick-help): Use it.
12955
12956 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
12957 (package--build-compatibility-table): require finder
12958
12959 * test/automated/package-test.el: Fix new test
12960
12961 * lisp/emacs-lisp/package.el: Silence async operations
12962 (package--silence): New variable.
12963 (package--message): New function.
12964 (package-import-keyring, package-refresh-contents)
12965 (package-compute-transaction, package-install, package-delete)
12966 (package-menu--perform-transaction, package-menu-execute): Use it.
12967
12968 * test/automated/package-test.el: Test async functionality
12969 (package-test-update-archives-async): New test
12970
12971 2015-04-11 Daiki Ueno <ueno@gnu.org>
12972
12973 Utilize `make-process' in epg.el
12974 * lisp/epg.el (epg-error-output): Abolish.
12975 (epg-context): New slot `error-buffer'.
12976 (epg--start): Use `make-process' and `make-pipe-process'.
12977 (epg--process-filter): Remove code separating stderr from stdout.
12978 (epg-wait-for-completion): Simplify `error-output' handling.
12979 (epg-reset): Dispose error buffer.
12980
12981 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
12982
12983 * .gitignore: Ignore doc temps and outputs.
12984
12985 Port commit-msg to MSYS Bash+Gawk
12986 See Eli Zaretskii in:
12987 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
12988 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
12989 (cent_sign, print_at_sign, at_sign): Revert previous change.
12990 (print_at_sign): Prepend "BEGIN".
12991 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
12992
12993 Port commit-msg to broken MS-Windows shell
12994 * build-aux/git-hooks/commit-msg (cent_sign):
12995 Just use UTF-8 here rather than ASCII + printf, as the latter fails
12996 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
12997 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
12998
12999 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
13000
13001 Support GnuTLS v3.4 and later on MS-Windows
13002 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
13003 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
13004 GnuTLS DLL to load according to value of libgnutls-version.
13005 (Bug#20294)
13006
13007 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
13008
13009 Minor quoting etc. fixes to misc manuals
13010 Fix some minor quoting and spacing issues. Distinguish more
13011 clearly among grave accent and apostrophe (which are ASCII) and
13012 single quote (which is not). Prefer the standard terms
13013 "apostrophe" and "grave accent" to alternative names that can be
13014 confusing. Use apostrophes to single-quote ASCII text.
13015 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
13016 rather than approximating it in ASCII with grave accent.
13017
13018 2015-04-11 Daiki Ueno <ueno@gnu.org>
13019
13020 Respect more keyword args in `make-process'
13021 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
13022 keywords as documented.
13023
13024 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
13025
13026 Extract ChangeLog entries when committing a directory
13027 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
13028 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
13029 Add a FIXME comment.
13030 (log-edit-changelog-entries): Extract from
13031 `log-edit-changelog-entries', handle FILE being a directory
13032 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
13033
13034 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
13035
13036 Fix problems found by --enable-gcc-warnings
13037 * src/process.c (create_process, Fmake_pipe_process)
13038 (Fmake_network_process): Omit unused locals.
13039
13040 Fix commit-msg to handle scissors lines
13041 * build-aux/git-hooks/commit-msg:
13042 Ignore every line after a scissors line, such as a line generated
13043 by 'git commit -v'. Problem reported by Johan Bockgård in:
13044 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
13045
13046 port commit-msg to Gawk 3.0.4 (1999)
13047 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
13048 (print_at_sign, at_sign): New vars. Use them to avoid problems
13049 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
13050 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
13051
13052 Have commit-msg report commit failure
13053 * build-aux/git-hooks/commit-msg: If the commit is aborted,
13054 say so. Simplify by doing this at the end. Problem reported
13055 by Eli Zaretskii in:
13056 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
13057
13058 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
13059
13060 Clean up LDAP Configuration section of EUDC manual
13061 * doc/misc/eudc.texi: Combine indices.
13062 (LDAP Configuration): Use command markup. Add index entries.
13063 Change formatting. Wrap long lines. Add noindent markup.
13064
13065 2015-04-10 Daiki Ueno <ueno@gnu.org>
13066
13067 Add facility to collect stderr of async subprocess
13068 * src/w32.h (register_aux_fd): New function declaration.
13069 * src/w32.c (register_aux_fd): New function.
13070 * src/process.h (struct Lisp_Process): New member stderrproc.
13071 * src/process.c (PIPECONN_P): New macro.
13072 (PIPECONN1_P): New macro.
13073 (Fdelete_process, Fprocess_status, Fset_process_buffer)
13074 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
13075 (Fcontinue_process): Handle pipe process specially.
13076 (create_process): Respect p->stderrproc.
13077 (Fmake_pipe_process): New function.
13078 (Fmake_process): Add new keyword argument :stderr.
13079 (wait_reading_process_output): Specially handle a pipe process when
13080 it gets an EOF.
13081 (syms_of_process): Register Qpipe and Smake_pipe_process.
13082 * doc/lispref/processes.texi (Asynchronous Processes): Document
13083 `make-pipe-process' and `:stderr' keyword of `make-process'.
13084 * lisp/subr.el (start-process): Suggest to use `make-process' handle
13085 standard error separately.
13086 * test/automated/process-tests.el (process-test-stderr-buffer)
13087 (process-test-stderr-filter): New tests.
13088 * etc/NEWS: Mention new process type `pipe' and its usage with the
13089 `:stderr' keyword of `make-process'.
13090
13091 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
13092
13093 Minor quoting etc. fixes to lispref manual
13094 * doc/lispref/tips.texi (Documentation Tips):
13095 Distinguish more clearly among grave accent, apostrophe,
13096 and single quote.
13097 * doc/lispref/README, doc/lispref/buffers.texi:
13098 * doc/lispref/commands.texi, doc/lispref/control.texi:
13099 * doc/lispref/customize.texi, doc/lispref/display.texi:
13100 * doc/lispref/elisp.texi, doc/lispref/files.texi:
13101 * doc/lispref/frames.texi, doc/lispref/hash.texi:
13102 * doc/lispref/help.texi, doc/lispref/internals.texi:
13103 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
13104 * doc/lispref/markers.texi, doc/lispref/modes.texi:
13105 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
13106 * doc/lispref/os.texi, doc/lispref/positions.texi:
13107 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
13108 * doc/lispref/text.texi, doc/lispref/tips.texi:
13109 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
13110 Use American-style double quoting in ordinary text,
13111 and quote 'like this' when single-quoting in ASCII text.
13112 Also, fix some minor spacing issues.
13113
13114 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
13115
13116 Handle symlinked test directory in tramp-tests.el
13117 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
13118 (tramp--test-check-files): Use `file-truename' for directories.
13119
13120 2015-04-10 Eli Zaretskii <eliz@gnu.org>
13121
13122 Fix 'recenter' when visual-line-mode is turned on
13123 * src/window.c (Frecenter): Use the same code for GUI and TTY
13124 frames alike; use vmotion only for "initial" frames. This is
13125 because vmotion doesn't support visual-line-mode. Rewrite the
13126 'iarg >= 0' case to use move_it_* functions instead of using
13127 vmotion, for the same reason. Fix the clipping of the argument
13128 value to support scroll-margin in all cases and avoid unwarranted
13129 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
13130 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
13131 which see.
13132
13133 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
13134
13135 * abbrev.el (define-abbrev-table): Refine last change.
13136
13137 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
13138 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
13139 use of c[ad]+r", so as to keep the "cl-" prefix on all
13140 cl-lib definitions.
13141
13142 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
13143
13144 * lisp/cedet/semantic: Remove some dead code
13145 * lisp/cedet/semantic/util-modes.el
13146 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
13147 any more.
13148 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
13149 not supported any more.
13150 (semantic-safe): Use `declare'.
13151 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
13152 (semantic-tag-intangible-p): Remove unused functions.
13153 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
13154 Remove unused function.
13155
13156 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
13157 (gnus-article-hide-text, gnus-article-unhide-text)
13158 (gnus-article-unhide-text-type): Remove special handling of
13159 `intangible' since that property is not used any more.
13160 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
13161
13162 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
13163
13164 Use the VC root in `log-edit-listfun'
13165 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
13166 `log-edit-listfun'.
13167
13168 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
13169
13170 Fix description of Unix time, mention new function.
13171 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
13172 Unix time.
13173 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
13174 (Basic Operations on Units): Mention `calc-convert-exact-units'.
13175
13176 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
13177
13178 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
13179
13180 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
13181
13182 (log-edit-insert-changelog-entries): Don't add newline after the last entry
13183 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
13184 Don't add newline after the last entry.
13185
13186 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
13187
13188 css-mode.el: Add "not" pseudo-class
13189 (Bug#20267)
13190 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
13191 list of CSS pseudo-classes.
13192
13193 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
13194
13195 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
13196
13197 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
13198
13199 Stop messing with the EMACS env var
13200 * misc.texi (Interactive Shell): Remove description of EMACS env var.
13201
13202 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
13203
13204 Adapt 'make change-history' to coding cookie
13205 * Makefile.in (change-history): Adjust to change of format of
13206 ChangeLog file, which now has a coding cookie before an indented
13207 copyright notice.
13208
13209 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
13210
13211 Adapt 'make change-history' to coding cookie
13212 * Makefile.in (change-history): Adjust to change of format of
13213 ChangeLog file, which now has a coding cookie before an indented
13214 copyright notice.
13215
13216 gitlog-to-changelog coding cookie and mv -i
13217 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
13218 for copyright notice prototype, so that we get a proper "coding:"
13219 cookie. Use 'mv -i' to avoid unconditionally overwriting an
13220 existing ChangeLog. Problems reported by Eli Zaretskii in:
13221 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
13222
13223 Merge from gnulib
13224 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
13225 2015-04-09 gitlog-to-changelog: port to MS-Windows
13226
13227 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
13228
13229 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
13230 (Bug#20212)
13231
13232 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 Stop messing with the EMACS env var
13235 (Bug#20202)
13236 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
13237 * lisp/comint.el (comint-exec-1):
13238 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
13239 * lisp/progmodes/compile.el (compilation-start): Same and bring
13240 INSIDE_EMACS's format in line with other users.
13241
13242 css-mode.el (css-smie-rules): Fix indentation after complex selectors
13243 (Bug#20282)
13244 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
13245 inner structure of selectors.
13246
13247 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
13248
13249 python.el: Indent docstring lines to base-indent
13250 (Bug#19595)
13251 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
13252 an initial patch.
13253 * lisp/progmodes/python.el
13254 (python-indent-context): Add :inside-docstring context.
13255 (python-indent--calculate-indentation): Handle :inside-docstring.
13256 (python-indent-region): Re-indent docstrings.
13257 * test/automated/python-tests.el (python-indent-region-5)
13258 (python-indent-inside-string-2): Fix tests.
13259
13260 python.el: Increase native completion robustness
13261 (Bug#19755)
13262 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
13263 this and providing useful ideas.
13264 * lisp/progmodes/python.el
13265 (python-shell-completion-native-output-timeout): Increase value.
13266 (python-shell-completion-native-try-output-timeout): New var.
13267 (python-shell-completion-native-try): Use it.
13268 (python-shell-completion-native-setup): New readline setup avoids
13269 polluting current context, ensures output when no-completions are
13270 available and includes output end marker.
13271 (python-shell-completion-native-get-completions): Trigger with one
13272 tab only. Call accept-process-output until output end is found or
13273 python-shell-completion-native-output-timeout is exceeded.
13274
13275 2015-04-08 Samer Masterson <samer@samertm.com>
13276
13277 * lisp/eshell: Make backslash a no-op in front of normal chars
13278 (Bug#8531)
13279 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
13280 (eshell-parse-backslash): Return escaped character after backslash
13281 if it is special. Otherwise, if the backslash is not in a quoted
13282 string, ignore the backslash and return the character after; if
13283 the backslash is in a quoted string, return the backslash and the
13284 character after.
13285 * test/automated/eshell.el (eshell-test/escape-nonspecial)
13286 (eshell-test/escape-nonspecial-unicode)
13287 (eshell-test/escape-nonspecial-quoted)
13288 (eshell-test/escape-special-quoted): Add tests for new
13289 `eshell-parse-backslash' behavior.
13290
13291 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
13292
13293 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
13294 after the file name.
13295 (Bug#20276)
13296
13297 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
13298
13299 Minor quoting etc. fixes to Emacs manual
13300 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
13301 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
13302 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
13303 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
13304 * doc/emacs/indent.texi, doc/emacs/macos.texi:
13305 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
13306 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
13307 * doc/emacs/search.texi, doc/emacs/trouble.texi:
13308 * doc/emacs/vc1-xtra.texi:
13309 Use American-style double quoting in ordinary text,
13310 and quote 'like this' when single-quoting in ASCII text.
13311 Also, fix some minor spacing issues.
13312
13313 Minor quoting etc. fixes to elisp intro
13314 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
13315 American-style double quoting in ordinary text. In ASCII text,
13316 consistently quote 'like this' instead of `like this', unless
13317 Emacs requires the latter.
13318
13319 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
13320
13321 * CONTRIBUTE: Mention log-edit-insert-changelog.
13322
13323 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
13324
13325 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
13326
13327 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
13328
13329 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
13332 (Bug#20270)
13333 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
13334 Fix inheritance of initargs.
13335
13336 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
13337
13338 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
13339 while dowloading information.
13340
13341 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
13342 (package--ensure-init-file): Check file contents before visiting.
13343 (package-initialize): Call it.
13344 (package-install-from-buffer, package-install): Don't call it.
13345
13346 2015-04-08 Eli Zaretskii <eliz@gnu.org>
13347
13348 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
13349 (Bug#17517)
13350
13351 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
13352
13353 Fix nasty scoping bug in tramp-cache.el
13354 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
13355
13356 2015-04-08 Tassilo Horn <tsdh@gnu.org>
13357
13358 Add notice to visual commands section
13359 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
13360 such as git call less with its -F option which omits pagination if
13361 the contents is less than one page long. This interferes with
13362 eshell's visual (sub-)commands.
13363
13364 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
13365
13366 ffap: Support environment variable expansion in file names
13367 (Bug#19839)
13368 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
13369 environment variable expansion in file names.
13370
13371 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
13372
13373 Prefer double-quote to accent-grave in man pages
13374
13375 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 (Bug#20257)
13378 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
13379
13380 2015-04-07 Ivan Shmakov <ivan@siamics.net>
13381
13382 Update etc/PROBLEMS.
13383 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
13384 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
13385 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
13386 respectively); other minor updates and tweaks. (Bug#20011)
13387
13388 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
13389
13390 Add doc strings for some Isearch state vars
13391 * lisp/misearch.el (multi-isearch-buffer-list)
13392 (multi-isearch-file-list): Add doc strings.
13393 (Bug#20232)
13394
13395 2015-04-07 Alan Mackenzie <acm@muc.de>
13396
13397 Always mark "<" and ">" in #include directives with text properties.
13398 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
13399 matcher" with an invocation of c-make-font-lock-search-function to allow
13400 fontification when there's no trailing space on an "#include <..>" line.
13401
13402 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
13403
13404 Generate a ChangeLog file from commit logs
13405 * .gitignore: Add 'ChangeLog'.
13406 * build-aux/gitlog-to-changelog: New file, from Gnulib.
13407 * build-aux/gitlog-to-emacslog: New file.
13408 * CONTRIBUTE: Document the revised workflow.
13409 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
13410 instead of just special cases.
13411 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
13412 (ChangeLog, unchanged-history-files, change-history)
13413 (change-history-commit): New rules.
13414 * admin/admin.el (make-manuals-dist--1):
13415 Don't worry about doc/ChangeLog.
13416 * admin/authors.el: Add a FIXME.
13417 * admin/make-tarball.txt:
13418 * lisp/calendar/icalendar.el:
13419 * lisp/gnus/deuglify.el:
13420 * lisp/obsolete/gulp.el:
13421 * lwlib/README:
13422 Adjust to renamed ChangeLog history files.
13423 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
13424 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
13425 Remove obsolete discussion of merging ChangeLog files.
13426 New section "Maintaining ChangeLog history".
13427 * build-aux/git-hooks/pre-commit:
13428 Reject attempts to commit files named 'ChangeLog'.
13429 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
13430 * make-dist: Make and distribute top-level ChangeLog if there's a
13431 .git directory. Distribute the new ChangeLog history files
13432 instead of scattered ChangeLog files. Distribute the new files
13433 gitlog-to-changelog and gitlog-to-emacslog.
13434 (Bug#19113)
13435
13436 Rename ChangeLogs for gitlog-to-changelog
13437 This patch was implemented via the following shell commands:
13438 find * -name ChangeLog |
13439 sed 's,.*,git mv & &.1,
13440 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
13441 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
13442 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
13443 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
13444 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
13445 sh
13446 git commit -am"[this commit message]"
13447
13448 This file records repository revisions from
13449 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
13450 commit 00a65e3238a888fc92b0c2aab8cb5bda8bd99c29 (inclusive).
13451 See ChangeLog.1 for earlier changes.
13452
13453 ;; Local Variables:
13454 ;; coding: utf-8
13455 ;; End:
13456
13457 Copyright (C) 2015 Free Software Foundation, Inc.
13458
13459 This file is part of GNU Emacs.
13460
13461 GNU Emacs is free software: you can redistribute it and/or modify
13462 it under the terms of the GNU General Public License as published by
13463 the Free Software Foundation, either version 3 of the License, or
13464 (at your option) any later version.
13465
13466 GNU Emacs is distributed in the hope that it will be useful,
13467 but WITHOUT ANY WARRANTY; without even the implied warranty of
13468 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13469 GNU General Public License for more details.
13470
13471 You should have received a copy of the GNU General Public License
13472 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.