* lisp/rect.el (rectangle-preview): New custom.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * rect.el (rectangle-preview): New custom.
4 (rectangle): New group.
5 (rectangle--pos-cols): Add `window' argument.
6 (rectangle--string-preview-state, rectangle--string-preview-window):
7 New vars.
8 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9 (rectangle--space-to, rectangle--string-preview): New functions.
10 (string-rectangle): Use them.
11 (rectangle--inhibit-region-highlight): New var.
12 (rectangle--highlight-for-redisplay): Obey it. Make sure
13 `apply-on-region' uses the point-crutches of the right window.
14 Use :align-to rather than multiple spaces.
15
16 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
17
18 * ruler-mode.el (ruler-mode-window-col)
19 (ruler-mode-mouse-set-left-margin)
20 (ruler-mode-mouse-set-right-margin): Fix calculation of column
21 from mouse position (Bug#17768).
22
23 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
24
25 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
26 without varname or rhs causes crash.
27 (dun-ftp): Fix bug where blank ftp password is allowed, making it
28 impossible to win endgame.
29 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
30 rlogin is anymore.
31 (dun-help): Bump version number; update contact info.
32
33 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
34
35 Sync with Tramp 2.2.10.
36
37 * net/tramp.el (tramp-methods): Tweak docstring.
38 (tramp-handle-file-accessible-directory-p): Check for
39 `file-readable-p' instead of `file-executable-p'.
40 (tramp-check-cached-permissions):
41 Use `tramp-compat-file-attributes'.
42 (tramp-call-process): Add new argument VEC. Adapt callees in all
43 tramp*.el files.
44
45 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
46 (tramp-adb-maybe-open-connection): Don't set
47 `tramp-current-*' variables.
48
49 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
50 file properties of temporary buffers.
51
52 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
53
54 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
55 (tramp-gvfs-handle-delete-file): Flush file
56 properties, not directory properties.
57 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
58 reading "unix::mode".
59 (tramp-gvfs-handle-file-name-all-completions):
60 Use "-h" option for "gvfs-ls".
61 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
62 (tramp-gvfs-send-command): Simplify traces.
63
64 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
65 (vc-git-program, vc-hg-program): Declare.
66 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
67 (tramp-methods) <nc>: Add new method.
68 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
69 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
70 `tramp-login-args'.
71 (tramp-default-user-alist): Add "nc".
72 (top): Remove completion function for "sftp". Add completion
73 functions for "nc" and "psftp".
74 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
75 Implement support for "nc" method.
76 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
77 (tramp-remote-coding-commands, tramp-call-local-coding-command):
78 Tweak docstring.
79 (tramp-sh-handle-write-region): Tweak error message.
80 (tramp-sh-handle-vc-registered): Remove backends when the remote
81 binary does not exist.
82 (tramp-find-inline-encoding): Do not raise an error.
83 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
84 the "nc" case. Quote result also locally.
85
86 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
87 (tramp-smb-handle-set-file-acl): Use `start-process'.
88 (tramp-smb-handle-insert-directory): Use progress reporter.
89 (tramp-smb-handle-rename-file): Flush also file properties of
90 FILENAME.
91
92 * net/trampver.el: Update release number.
93
94 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
97 add-to-list.
98 (ses-localvars): Remove ses--local-printer-list, unused.
99 (ses--metaprogramming): New macro. Use it to defvar variables.
100 (ses-set-localvars): Simplify.
101 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
102 property-list into an alist.
103 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
104 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
105 Remove; use defstruct accessors/setters instead.
106 (ses-cell-formula-aset, ses-cell-printer-aset)
107 (ses-cell-references-aset): Remove, use setf instead.
108 (ses--alist-get): New function.
109 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
110 Use an alist instead of a plist and don't do move-to-front since the
111 list is always short.
112 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
113 (ses-cell-property-set-fun, ses-cell-property-set)
114 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
115 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
116 (ses--letref): New macro.
117 (ses-cell-property-pop): Rewrite.
118 (ses--cell): Rename from ses-cell and make it into a function.
119 Make `formula' fallback on `value' if nil.
120 (ses--local-printer): Rename from ses-local-printer and make it into
121 a function.
122 (ses-set-cell): Turn it into a macro so finding the accessor from the
123 field name is done at compile time.
124 (ses-repair-cell-reference-all): Test presence of `sym' rather than
125 `ref' before adding `sym' to :ses-repair-reference.
126 (ses-calculate-cell): Use ses--letref rather than
127 ses-cell-property-get-handle.
128 (ses-write-cells): Use a single prin1-to-string.
129 (ses-setter-with-undo): New function.
130 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
131 (ses-unset-with-undo): Remove.
132 (ses-load): Prefer apply' over `eval'.
133 (ses-read-printer, ses-set-column-width): Use standard "(default
134 foo)" format.
135
136 2014-06-15 Glenn Morris <rgm@gnu.org>
137
138 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
139
140 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
141 Replace delete-duplicates and mapcan by cl- versions throughout.
142 And cl-macroexpand-all by macroexpand-all.
143 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
144
145 2014-06-15 Eli Zaretskii <eliz@gnu.org>
146
147 * subr.el (posn-col-row): Doc fix. (Bug#17768)
148
149 2014-06-15 Juri Linkov <juri@jurta.org>
150
151 * bindings.el: Put `ascii-character' property on keypad keys
152 mapped to characters. (Bug#17759)
153
154 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
157 bumping forward into a closing paren (bug#17761).
158
159 * term/xterm.el (xterm--version-handler): Work around for OSX
160 Terminal.app (bug#17607).
161
162 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
163
164 * play/dunnet.el (dun-describe-room, dun-mode):
165 If a lamp is in the room, you won't be eaten by a grue.
166
167 2014-06-13 Glenn Morris <rgm@gnu.org>
168
169 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
170 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
171 (compile-always): GNU make automatically passes
172 command-line arguments to sub-makes.
173
174 * calendar/calendar.el (calendar-generate-window):
175 Remove pointless call to font-lock-fontify-buffer.
176
177 2014-06-13 Matthias Meulien <orontee@gmail.com>
178
179 * simple.el (completion-list-mode-map): Navigate with tab and backtab
180 (bug#17767).
181
182 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * simple.el (set-mark-command): Simplify a bit.
185
186 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
187
188 * help.el (help--key-binding-keymap): New function.
189 (help--binding-locus): New function.
190 (describe-key): Mention the keymap in which the binding was
191 found. (bug#13948)
192
193 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * hippie-exp.el (he--all-buffers): New function.
196 (try-expand-line-all-buffers, try-expand-list-all-buffers)
197 (try-expand-dabbrev-all-buffers): Use it.
198
199 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
200
201 * hippie-exp.el (try-expand-line-all-buffers)
202 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
203 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
204 original buffer, in case they're buffer-local.
205
206 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
207
208 * ses.el (ses-initial-global-parameters-re): New defconst, a
209 specific regexp is needed now that ses.el can handle both
210 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
211 local printers.
212 (ses-localvars): Add local variables needed for local printer handling.
213 (ses-set-localvars): Handle hashmap initialisation.
214 (ses-paramlines-plist): Add param-line for number of local printers.
215 (ses-paramfmt-plist): New defconst, needed for code factorization
216 between functions `ses-set-parameter' and
217 `ses-file-format-extend-paramter-list'
218 (ses-make-local-printer-info): New defsubst.
219 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
220 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
221 (ses-cell-printer-aset): New defmacro.
222 (ses-local-printer-compile): New defun.
223 (ses-local-printer): New defmacro.
224 (ses-printer-validate, ses-call-printer): Add support for local
225 printer functions.
226 (ses-file-format-extend-paramter-list): New defun.
227 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
228 factorization.
229 (ses-load): Add support for local printer functions.
230 (ses-read-printer): Update docstring and add support for local printer
231 functions.
232 (ses-refresh-local-printer, ses-define-local-printer): New defun.
233 (ses-safe-printer): Add support for local printer functions.
234
235 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
236
237 * ffap.el (ffap-lax-url): New var (bug#17723).
238 (ffap-url-at-point): Use it.
239 (ffap-file-at-point): Avoid returning just "/".
240
241 2014-06-12 Matthias Meulien <orontee@gmail.com>
242
243 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
244 (python-mode-map): Bind it.
245
246 * progmodes/python.el (class skeleton): Don't erase last char of class
247 name (bug#17683).
248
249 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
250
251 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
252
253 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
254
255 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
256 (bug#17745).
257
258 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * international/mule-cmds.el: Use lexical-binding.
261 (ucs-names): Simplify.
262
263 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
264
265 * progmodes/python.el (run-python): Use read-shell-command.
266
267 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * rect.el: Make it possible to move bounds past EOL or into TABs.
270 (operate-on-rectangle): Use apply-on-rectangle.
271 (rectangle--mark-crutches): New var.
272 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
273 (rectangle--crutches, rectangle--reset-crutches): New functions.
274 (apply-on-rectangle): Obey crutches. Avoid setq.
275 Fix missing final iteration if end is at EOB&BOL.
276 (rectangle-mark-mode-map): Add remap bindings for
277 exchange-point-and-mark and char/line movements.
278 (rectangle--*-char): New function.
279 (rectangle-exchange-point-and-mark, rectangle-right-char)
280 (rectangle-left-char, rectangle-forward-char)
281 (rectangle-backward-char, rectangle-next-line)
282 (rectangle-previous-line): New commands.
283 (rectangle--place-cursor): New function.
284 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
285
286 2014-06-08 Glenn Morris <rgm@gnu.org>
287
288 * startup.el (initial-buffer-choice): Doc fix.
289 Reset :version (adding an option does not merit a :version bump).
290
291 * bookmark.el (bookmark-load):
292 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
293
294 2014-06-08 Juri Linkov <juri@jurta.org>
295
296 * desktop.el: Activate auto-saving on window configuration changes.
297 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
298 `desktop-auto-save-set-timer' to/from
299 `window-configuration-change-hook'.
300 (desktop-auto-save-set-timer): Change REPEAT arg of
301 `run-with-idle-timer' from t to nil.
302 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
303
304 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
305
306 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
307 vc-hg-command (bug#17570).
308
309 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * international/mule-cmds.el (ucs-names): Add special entry for BEL
312 (bug#17702).
313
314 2014-06-08 Glenn Morris <rgm@gnu.org>
315
316 * startup.el (window-setup-hook): Doc fix.
317
318 * emacs-lisp/package.el (package-check-signature)
319 (package-unsigned-archives): Doc fixes.
320
321 2014-06-08 Martin Rudalics <rudalics@gmx.at>
322
323 * window.el (display-buffer-use-some-window): Don't make window
324 used smaller than it was before (Bug#17671).
325
326 2014-06-08 Eli Zaretskii <eliz@gnu.org>
327
328 * menu-bar.el (menu-bar-open): Fix last change: use the PC
329 'redisplay' instead of '(sit-for 0)'.
330
331 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
332
333 * net/tramp.el (tramp-ssh-controlmaster-options):
334 Improve search regexp. (Bug#17653)
335
336 2014-06-08 Glenn Morris <rgm@gnu.org>
337
338 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
339
340 2014-06-08 Eli Zaretskii <eliz@gnu.org>
341
342 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
343
344 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
345
346 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
347 (bug#17586).
348
349 * vc/vc-hg.el (vc-hg-log-graph): New var.
350 (vc-hg-print-log): Use it.
351 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
352 graph output (bug#17515).
353
354 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * mouse.el (mouse-posn-property): Ignore buffer position info when the
357 even happened elsewhere.
358
359 2014-06-06 Mario Lang <mlang@delysid.org>
360
361 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
362 `recenter' if `current-buffer' is equal to `window-buffer'.
363
364 2014-06-05 Leo Liu <sdl.web@gmail.com>
365
366 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
367
368 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
369
370 * textmodes/tildify.el (tildify-foreach-region-outside-env):
371 New function which calls a callback on portions of the buffer that are
372 outside of ignored environments.
373 (tildify-build-regexp): Remove function since it is now
374 incorporated in `tildify-foreach-region-outside-env' where it is
375 optimised and simplified by the use of `mapconcat'.
376 (tildify-tildify): Return number of substitutions made so that…
377 (tildify-count): …can be removed.
378 (tildify-find-env): Accept a new PAIRS argument which was
379 previously looked up in `tildify-ignored-environments-alist' each
380 time the function was called. With this change, the lookup is
381 performed only once in `tildify-foreach-region-outside-env'.
382 (tildify-region): Greatly simplify the function since now most of
383 the work is done by `tildify-foreach-region-outside-env'.
384 (tildify-mode-alist): Simplify slightly by avoiding if and setq
385 and instead using or.
386
387 * textmodes/tildify.el (tildify-ignored-environments-alist):
388 Optimise environments regexes
389
390 Each time beginning of an environment to ignore is found,
391 `tildify-find-env' needs to identify regexp for the ending
392 of the environment. This is done by trying all the opening
393 regexes on matched text in a loop, so to speed that up, this
394 loop should have fewer things to match, which can be done by
395 using alternatives in the opening regexes.
396
397 Coincidentally, this should make matching of the opening
398 regexp faster as well thanks to the use of `regexp-opt' and
399 having common prefix pulled from many regexes.
400
401 * textmodes/tildify.el (tildify-string-alist)
402 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
403 of supported modes since `xml-mode' is no longer a thing but just
404 an alias to the former. Also include comments and insides of tags
405 in `tildify-ignored-environments-alist' for XML modes. Finally,
406 since XML does not define “&nbsp;”[1], use a numeric reference for
407 a no-break space (namely “&#160;”)
408
409 [1] XML specification defines only a handful of predefined entities.
410 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
411 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
412 >, &, ' and " respectively). This is in contrast to HTML and even
413 XHTML which defined a whole bunch of entities including “&nbsp;”.
414
415 * textmodes/tildify.el (tildify-pattern-alist)
416 (tildify-string-alist, tildify-ignored-environments-alist):
417 Improve defcustom's types by adding more tags explaining what each
418 value means and replace “sexp” used in
419 `tildify-ignored-environments-alist' with a full type declaration.
420
421 * textmodes/tildify.el (tildify-find-env): Fix matched group
422 indexes in end-regex building
423
424 When looking for a start of an ignore-environment, the regex is built
425 by concatenating regexes of all the environments configured in
426 `tildify-ignored-environments-alist'. So for example, the following
427 list could be used to match TeX's \verb and \verb* commands:
428
429 (("\\\\verb\\(.\\)" . (1))
430 ("\\\\verb\\*\\(.\\)" . (1)))
431
432 This would result in the following regex being used to find the start
433 of any of the variants of the \verb command:
434
435 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
436
437 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
438 won't match anything, and thus (match-string 1) will be nil, which
439 will cause building of the end-matching regex to fail.
440
441 Fix this by using capture groups from the time when the opening
442 regexes are matched individually.
443
444 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
445 in `tildify-find-env'
446
447 The `tildify-ignored-environments-alist' allows the end-regex to
448 be provided not as a static string but mix of strings and indexes
449 of groups matched the begin-regex. For example, the “\verb!…!”
450 TeX-command (where “!” is an arbitrary character) is handled
451 using:
452
453 ("\\\\verb\\*?\\(.\\)" . (1))
454
455 In the same way, the following should be supported as well:
456
457 ("open-\\(.\\)" . ("end-" 1))
458
459 However the tildify-find-env function fails at
460
461 (concat result
462 (if (stringp (setq aux (car expression)))
463 expression ; BUG: expression is a list
464 (regexp-quote (match-string aux))))
465
466 where the string part is handled incorrectly.
467
468 The most trivial fix would be to replace `expression' in the
469 true-part of the if-statement with `aux', but instead, this commit
470 optimises `tildify-find-env' by changing it to use `mapconcat'
471 rather than open-coded while-loop.
472
473 2014-06-05 Mario Lang <mlang@delysid.org>
474
475 * woman.el (woman-mapcan): Remove.
476 (woman-parse-colon-path): Use cl-mapcan instead.
477
478 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
479
480 * register.el: Add link to Emacs manual in Commentary.
481
482 2014-06-02 Sam Steingold <sds@gnu.org>
483
484 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
485 (popup-menu): ...here.
486 (menu-bar-open): Use it to avoid an error when `lookup-key'
487 returns a number.
488
489 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
490
491 * net/tramp.el (tramp-call-process): Add traces.
492 (tramp-handle-unhandled-file-name-directory): Return "/".
493
494 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
495
496 Sync with upstream verilog-mode revision 3cd8144.
497 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
498 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
499 (verilog-type-font-keywords): Add nor.
500 (verilog-batch-execute-func): Force reading of Local Variables.
501 Fix printing "no changes to be saved" with verilog-batch.
502 (verilog-auto-arg-ports): Doc fix.
503 Add verilog-auto-arg-format to support newlines in AUTOARG.
504 (verilog-auto-arg): Doc fix.
505
506 2014-06-02 Glenn Morris <rgm@gnu.org>
507
508 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
509 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
510 * emulation/ws-mode.el: Move to obsolete/.
511 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
512
513 2014-06-02 Eli Zaretskii <eliz@gnu.org>
514
515 * simple.el (keyboard-quit): Force update of mode lines, to remove
516 the "Def" indicator, if we were defining a macro. (Bug#17615)
517
518 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * minibuffer.el (minibuffer-force-complete-and-exit):
521 Obey minibuffer-default (bug#17545).
522
523 * progmodes/js.el (js-indent-line): Don't mix columns and chars
524 (bug#17619).
525
526 * subr.el (set-transient-map): Don't wait for some "nested"
527 transient-map to finish if we're only supposed to be active for
528 the next command (bug#17642).
529
530 2014-06-02 Leo Liu <sdl.web@gmail.com>
531
532 * emacs-lisp/gv.el (window-buffer, window-display-table)
533 (window-dedicated-p, window-hscroll, window-point, window-start):
534 Fix gv-expander. (Bug#17630)
535
536 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
539 clicks (bug#17633).
540
541 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
542 for the single comma, since ", " is *very* common in normal French text
543 (bug#17643).
544
545 2014-06-02 Glenn Morris <rgm@gnu.org>
546
547 * emacs-lisp/package.el (package-check-signature)
548 (package-unsigned-archives): Fix :version.
549
550 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * subr.el (sit-for): Don't run input-methods (bug#15614).
553
554 2014-06-02 Glenn Morris <rgm@gnu.org>
555
556 * cus-start.el: Fix some :version numbers.
557
558 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * simple.el (deactivate-mark): Set mark-active to nil even if
561 deactivation is done via setting transient-mark-mode to nil,
562 since one is buffer-local and the other is global.
563
564 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
565 there can't be more than 2 arguments (bug#17584).
566
567 2014-06-02 Glenn Morris <rgm@gnu.org>
568
569 * simple.el (filter-buffer-substring-functions)
570 (filter-buffer-substring-function, buffer-substring-filters)
571 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
572
573 * minibuffer.el (completion-in-region-functions, completion-in-region)
574 (completion--in-region): Doc fixes.
575
576 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
577 (expand-abbrev, abbrev--default-expand): Doc fixes.
578
579 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
580
581 Include sources used to create macuvs.h.
582 * international/README: Refer to the Unicode Terms of Use rather
583 than copying it bodily here, as that simplifies maintenance.
584
585 2014-06-01 Glenn Morris <rgm@gnu.org>
586
587 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
588
589 2014-05-31 Glenn Morris <rgm@gnu.org>
590
591 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
592
593 2014-05-30 Glenn Morris <rgm@gnu.org>
594
595 * loadup.el: Treat `command-line-args' more flexibly.
596
597 2014-05-30 Alan Mackenzie <acm@muc.de>
598
599 Guard (looking-at "\\s!") from XEmacs.
600 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
601
602 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
603
604 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
605 The argument COUNT is now optional, to be more backward-compatible.
606 Doc fix. (Bug#17560)
607
608 2014-05-29 Reuben Thomas <rrt@sc3d.org>
609
610 * whitespace.el (whitespace-report-region):
611 Simplify documentation.
612 (whitespace-report-region): Allow report-if-bogus to take the
613 value `never', for non-interactive use.
614 (whitespace-report): Refer to whitespace-report-region's
615 documentation.
616
617 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * whitespace.el: Use font-lock-flush. Minimize refontifications.
620 Side benefit: it works without jit-lock.
621 (whitespace-point--used): New buffer-local var.
622 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
623 (whitespace-color-off): Use font-lock-flush.
624 (whitespace-point--used, whitespace-point--flush-used): New functions.
625 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
626 (whitespace-empty-at-eob-regexp): Use them.
627 (whitespace-post-command-hook): Rewrite.
628
629 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
630 (font-lock-fontify-buffer): Mark interactive-only.
631 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
632 Make buffer-local.
633 (font-lock-specified-p): Remove redundant boundp check.
634 (font-lock-flush-function, font-lock-ensure-function): New vars.
635 (font-lock-turn-on-thing-lock): Set them.
636 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
637 (font-lock-after-change-function): Make `old-len' optional.
638 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
639 Call font-lock-flush, just in case.
640 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
641 recent Emacsen.
642 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
643 (vera-mode-map, vera-mode-menu): Remove bindings to it.
644 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
645 and with-syntax-table.
646 * textmodes/conf-mode.el (conf-quote-normal):
647 * progmodes/sh-script.el (sh-set-shell):
648 * progmodes/prog-mode.el (prettify-symbols-mode):
649 * progmodes/f90.el (f90-font-lock-n):
650 * progmodes/cwarn.el (cwarn-mode):
651 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
652 * progmodes/compile.el (compilation-setup, compilation--unsetup):
653 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
654 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
655 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
656 font-lock-fontify-buffer-function and
657 font-lock-unfontify-buffer-function.
658 (rmail-unfontify-buffer-function, rmail-fontify-message):
659 Use with-silent-modifications.
660 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
661 and font-lock-ensure.
662 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
663
664 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
665
666 * emacs-lisp/package.el (package-generate-autoloads):
667 Inhibit backup files.
668
669 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
672 (bug#17608).
673
674 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
675
676 * textmodes/tildify.el (tildify-buffer, tildify-region):
677 Add dont-ask option.
678
679 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
682 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
683
684 * subr.el (internal--funcall-interactively): New.
685 (internal--call-interactively): Remove.
686 (called-interactively-p): Detect funcall-interactively instead of
687 call-interactively.
688 * simple.el (repeat-complex-command): Use funcall-interactively.
689 (repeat-complex-command--called-interactively-skip): Remove.
690
691 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * register.el (register-read-with-preview): Don't burp on
694 frame switches (e.g. due to the frame we just popped).
695
696 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
697 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
698
699 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
700
701 * cus-face.el (custom-face-attributes): Add :distant-foreground.
702
703 2014-05-26 Martin Rudalics <rudalics@gmx.at>
704
705 * window.el (window--dump-frame): Remove interactive specification.
706
707 2014-05-26 Glenn Morris <rgm@gnu.org>
708
709 * hippie-exp.el (he-line-search-regexp):
710 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
711
712 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
713
714 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
715 to avoid errors when trying to create or visit a file foo.todo
716 located outside to todo-directory, and to allow having such files
717 without them being tied to Todo mode (bug#17482).
718 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
719 (todo-archive-done-item, todo-find-filtered-items-file)
720 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
721 (todo-category-completions, todo-read-category): When visiting a
722 Todo file, make sure we're in the right mode and the buffer local
723 variables are set.
724 (todo-make-categories-list, todo-reset-nondiary-marker)
725 (todo-reset-done-string, todo-reset-comment-string):
726 After processing all Todo files, kill the buffers of those files that
727 weren't being visited before the processing.
728 (todo-display-as-todo-file, todo-add-to-buffer-list)
729 (todo-visit-files-commands): Comment out.
730 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
731 (auto-mode-alist): Remove add-to-list calls making Todo file
732 extensions unrestrictedly tied to Todo modes.
733
734 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
737 (advice-function-member-p): Tell it to check both names and functions
738 (bug#17531).
739 (advice--add-function): Adjust call accordingly.
740
741 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
742
743 * calendar/todo-mode.el: Miscellaneous bug fixes.
744 (todo-delete-file): When deleting an archive but not its todo
745 file, make sure to update the todo file's category sexp.
746 (todo-move-category): Keep the moved category's name unless the
747 file moved to already has a category with that name. If the
748 numerically last category of the source file was moved, make the
749 first category current to avoid selecting a nonexisting category.
750 (todo-merge-category): Fix implementation to make merging to a
751 category in another file work as documented. Eliminate now
752 insufficient and unnecessary renaming of archive category, correct
753 document string accordingly, and clarify it. If the numerically
754 last category of the source file was merged, make the first
755 category current to avoid selecting a nonexisting category.
756 (todo-archive-done-item): When there are marked items and point
757 happens to be on an unmarked item, ignore the latter. Don't leave
758 point below last item after archiving marked items.
759 (todo-unarchive-items): Fix logic to ensure unarchiving an item
760 from an archive with only one category deletes the archive only
761 when the category is empty after unarchiving. Make sure the todo
762 file's category sexp is updated.
763 (todo-read-file-name): Allow an existing file name even when it is
764 not required (todo-move-category needs this to work as documented).
765 (todo-add-file): Call todo-validate-name to reject the name of an
766 existing todo file (needed due to fix in todo-read-file-name).
767 (todo-reset-nondiary-marker): Also reset in filtered items files.
768 (todo-reset-done-string, todo-reset-comment-string): Also reset in
769 regexp filtered items files.
770 (todo-reset-highlight-item): Also reset in filtered items files.
771 Fix incorrect variable reference in document string.
772
773 2014-05-26 Glenn Morris <rgm@gnu.org>
774
775 * window.el (window--dump-frame): Avoid error in --without-x builds.
776
777 2014-05-26 Glenn Morris <rgm@gnu.org>
778
779 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
780
781 2014-05-26 Eli Zaretskii <eliz@gnu.org>
782
783 * frame.el (set-frame-font): Doc fix.
784
785 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
786
787 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
788
789 * emacs-lisp/package.el (package--download-one-archive):
790 Use `write-region' instead of `save-buffer' to avoid running various
791 hooks. (Bug#17155)
792 (describe-package-1): Same. Insert newline at the end of the
793 buffer if appropriate.
794
795 2014-05-26 Juri Linkov <juri@jurta.org>
796
797 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
798 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
799 Add more modifiers: meta, control, shift, hyper, super, alt.
800 (Bug#17439)
801
802 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
803 to allow changing its value with `set-variable'.
804
805 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
808 #; comments.
809 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
810 New functions.
811 (scheme-mode-variables): Set syntax-propertize-function instead of
812 font-lock-syntactic-face-function.
813 (scheme-font-lock-syntactic-face-function): Delete.
814
815 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
816
817 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
818 (bug#17392).
819
820 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
823 for a temporary file name.
824
825 2014-05-26 Eli Zaretskii <eliz@gnu.org>
826
827 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
828
829 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/dbus.el (dbus-init-bus, dbus-call-method)
832 (dbus-call-method-asynchronously, dbus-send-signal)
833 (dbus-method-return-internal, dbus-method-error-internal):
834 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
835
836 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
837
838 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
839 methods which do not have a doc string. (Bug#17490)
840
841 2014-05-25 Tassilo Horn <tsdh@gnu.org>
842
843 * textmodes/reftex-ref.el (reftex-format-special): Make it work
844 also for AMS Math's \eqref macro.
845
846 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
847
848 Arrange to never byte-compile the generated -pkg.el file.
849
850 * emacs-lisp/package.el (package-generate-description-file):
851 Output first-line comment to set buffer-local var `no-byte-compile'.
852 Suggested by Dmitry Gutov:
853 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
854
855 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
856
857 Fix bug: Properly quote args to generated -pkg.el `define-package'.
858
859 * emacs-lisp/package.el (package-generate-description-file):
860 Inline `package--alist-to-plist'; rewrite to selectively
861 quote alist values that are not self-quoting.
862 (package--alist-to-plist): Delete func.
863
864 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
865
866 * term/xterm.el (xterm-function-map): Add mapping for shifted
867 keypad keys.
868
869 2014-05-24 Daniel Colascione <dancol@dancol.org>
870
871 * progmodes/subword.el (subword-find-word-boundary): Move point to
872 correct spot before search. (Bug#17580)
873
874 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
875 breaking the build.
876
877 2014-05-24 Leo Liu <sdl.web@gmail.com>
878
879 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
880
881 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * minibuffer.el (completion--sreverse): Remove.
884 (completion--common-suffix): Use `reverse' instead.
885 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
886
887 2014-05-22 Glenn Morris <rgm@gnu.org>
888
889 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
890
891 2014-05-21 Daniel Colascione <dancol@dancol.org>
892
893 * files.el (interpreter-mode-alist): Add mksh.
894
895 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
896 derivative.
897 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
898 mksh. Improve custom spec; allow regular expressions.
899 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
900 (sh-after-hack-local-variables): New function.
901 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
902 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
903 the normalization.
904 (sh-canonicalize-shell): Rewrite to support regexes.
905
906 2014-05-21 Leo Liu <sdl.web@gmail.com>
907
908 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
909
910 2014-05-19 Leo Liu <sdl.web@gmail.com>
911
912 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
913
914 2014-05-18 Glenn Morris <rgm@gnu.org>
915
916 * loadup.el:
917 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
918
919 2014-05-14 Sam Steingold <sds@gnu.org>
920
921 * progmodes/python.el (python-shell-get-or-create-process):
922 Do not bind `current-prefix-arg' so that C-c C-z does not talk
923 back unless requested.
924
925 2014-05-14 Glenn Morris <rgm@gnu.org>
926
927 * subr.el (with-file-modes): New macro.
928 * printing.el (pr-save-file-modes): Make obsolete.
929 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
930 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
931 Add with-file-modes.
932 * doc-view.el (doc-view-make-safe-dir):
933 * epg.el (epg--start):
934 * files.el (locate-user-emacs-file, make-temp-file)
935 (backup-buffer-copy, move-file-to-trash):
936 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
937 * eshell/esh-util.el (eshell-with-private-file-modes)
938 (eshell-make-private-directory):
939 * net/browse-url.el (browse-url-mosaic):
940 * obsolete/mailpost.el (post-mail-send-it):
941 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
942 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
943 Use with-file-modes.
944
945 * vc/emerge.el (emerge-make-temp-file): Simplify.
946
947 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
948 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
951 suffix (bug#15419).
952
953 2014-05-14 Glenn Morris <rgm@gnu.org>
954
955 * vc/emerge.el (emerge-temp-file-prefix):
956 Make pointless option obsolete.
957 (emerge-temp-file-mode): Make non-functional option obsolete.
958
959 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
960
961 * net/browse-url.el (browse-url):
962 Use `unhandled-file-name-directory' when setting `default-directory',
963 in order to circumvent stalled remote connections. (Bug#17425)
964
965 2014-05-14 Glenn Morris <rgm@gnu.org>
966
967 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
968 Optimize on Emacs, which has the relevant functions for ages.
969
970 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * simple.el (undo-make-selective-list): Obey undo-no-redo.
973
974 2014-05-12 Sam Steingold <sds@gnu.org>
975
976 * calendar/time-date.el (seconds-to-string): New function to
977 pretty print time delay in seconds.
978
979 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * mpc.el (mpc-format): Trim Date to the year.
982 (mpc-songs-hashcons): Shorten the Date field.
983
984 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
985 into autoloading just because of a silly indirection.
986
987 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
988
989 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
990
991 2014-05-12 Glenn Morris <rgm@gnu.org>
992
993 * emacs-lisp/find-gc.el: Move to ../admin.
994
995 * printing.el (pr-version):
996 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
997
998 * net/browse-url.el (browse-url-mosaic):
999 Create /tmp/Mosaic.PID as a private file.
1000
1001 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1004 (advice--member-p): If name is given, only compare the name.
1005 (advice--remove-function): Don't stop at the first match.
1006 (advice--normalize-place): New function.
1007 (add-function, remove-function): Use it.
1008 (advice--add-function): Pass the name, if any, to
1009 advice--remove-function.
1010
1011 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1012
1013 * electric.el (electric-indent-post-self-insert-function): Don't use
1014 `pos' after modifying the buffer (bug#17449).
1015
1016 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1017
1018 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1019 Correct argument list to conform to todo-insert-item--basic.
1020
1021 2014-05-12 Glenn Morris <rgm@gnu.org>
1022
1023 * files.el (cd-absolute): Test if directory is accessible
1024 rather than executable. (Bug#17330)
1025
1026 * progmodes/compile.el (recompile):
1027 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1028
1029 * net/browse-url.el (browse-url-mosaic):
1030 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1031 This is CVE-2014-3423.
1032
1033 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * mouse.el: Use the normal toplevel loop while dragging.
1036 (mouse-set-point): Handle multi-clicks.
1037 (mouse-set-region): Handle multi-clicks for drags.
1038 (mouse-drag-region): Update call accordingly.
1039 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1040 Use the normal event loop instead of a local while/read-event loop.
1041 (global-map): Remove redundant bindings for double/triple-mouse-1.
1042 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1043 Generate synthetic down events when the protocol only sends up events.
1044 (xterm-mouse-last): Remove.
1045 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1046 terminal parameter instead.
1047 (xterm-mouse--set-click-count): New function.
1048 (xterm-mouse-event): Detect/generate double/triple clicks.
1049 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1050
1051 * info.el (Info-quoted): New face.
1052 (Info-mode-font-lock-keywords): New var.
1053 (Info-mode): Use it.
1054
1055 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1056 are a hindrance for C-x C-e.
1057
1058 2014-05-11 Leo Liu <sdl.web@gmail.com>
1059
1060 * net/rcirc.el (rcirc-sentinel): Fix last change.
1061
1062 2014-05-08 Sam Steingold <sds@gnu.org>
1063
1064 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1065 (rcirc-sentinel): Auto-reconnect to the server if
1066 `rcirc-reconnect-delay' is non-0 (but not more often than its
1067 value in case the host is off-line).
1068
1069 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1070
1071 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1072
1073 2014-05-09 Glenn Morris <rgm@gnu.org>
1074
1075 * files.el (file-expand-wildcards):
1076 * man.el (Man-support-local-filenames):
1077 * printing.el (pr-i-directory, pr-interface-directory):
1078 * progmodes/grep.el (lgrep, rgrep):
1079 * textmodes/ispell.el (ispell-call-process)
1080 (ispell-call-process-region, ispell-start-process)
1081 (ispell-init-process): Use file-accessible-directory-p.
1082
1083 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1086 (xterm-mouse--read-event-sequence-1000): Return nil if something
1087 looks fishy.
1088 (xterm-mouse-event): Propagate it.
1089 (xterm-mouse-translate-1): Handle it.
1090
1091 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1092
1093 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1094 four slots of the parameter list are filled, make sure to pass it
1095 to the argument list of todo-insert-item--basic.
1096
1097 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1100 Add optional `seen' argument to detect and break infinite loops.
1101
1102 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1103
1104 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1105 (trace-unsafe, trace-use-tree): Make parentheses style be
1106 according to Emacs style.
1107
1108 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * net/tramp-sh.el (tramp-remote-process-environment):
1111 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1112 Add :version entry.
1113 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1114 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1115 extra "PSx=..." commands.
1116 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1117 (Bug#17295)
1118
1119 (tramp-uudecode): Replace the hard-coded temporary file name by a
1120 format specifier.
1121 (tramp-remote-coding-commands): Enhance docstring.
1122 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1123 name. (Bug#17415)
1124 This is CVE-2014-3424.
1125
1126 2014-05-08 Glenn Morris <rgm@gnu.org>
1127
1128 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1129 (find-gc-source-files): Update some names.
1130 (trace-call-tree): Simplify and update.
1131 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1132 This is CVE-2014-3422.
1133
1134 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * minibuffer.el (completion--try-word-completion): Revert fix for
1137 Bug#15980 (bug#17375).
1138
1139 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1140 Always store button numbers in the same way in xterm-mouse-last;
1141 Don't burp is xterm-mouse-last is not set as expected.
1142 Never return negative indices.
1143
1144 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1145
1146 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1147 Backtrack one char if the global/char-literal var matcher hits
1148 inside a string. The next char could be the beginning of an
1149 expression expansion.
1150
1151 2014-05-08 Glenn Morris <rgm@gnu.org>
1152
1153 * help-fns.el (describe-function-1): Test for an autoload before a
1154 macro, since `macrop' works on autoloads. (Bug#17410)
1155
1156 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1159
1160 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1161 Make sure the new point we return is within the new string (bug#17239).
1162
1163 2014-05-05 Daniel Colascione <dancol@dancol.org>
1164
1165 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1166 Port `gnu' pattern to rx.
1167
1168 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1169
1170 Remove unneeded prompt when closing a buffer with active
1171 emacsclient ("Buffer ... still has clients"), #16548.
1172 * server.el (server-start): Remove the only call to:
1173 (server-kill-buffer-query-function): Remove.
1174
1175 2014-05-04 Leo Liu <sdl.web@gmail.com>
1176
1177 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1178 Defvar to pacify compiler.
1179
1180 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1181
1182 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1183
1184 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1187 Use nil rather than `default' for the "default" appearance (bug#17388).
1188 * vc/ediff-util.el (ediff-inferior-compare-regions)
1189 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1190 a misleading `default' value when it's really a boolean.
1191 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1192 overlay is not visible.
1193
1194 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1195
1196 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1197 (todo-menu): Uncomment and update.
1198
1199 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1200
1201 * calendar/todo-mode.el: Reimplement item editing to have the same
1202 basic user interface as item insertion, and make small UI and
1203 larger internal improvements to the latter.
1204 (todo-insert-item): Add reference to the Todo mode user manual to
1205 the documentation string.
1206 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1207 adjust all callers. Change signature to combine diary and
1208 nonmarking arguments. Incorporate functionality of deleted item
1209 copying command and add error checking. Remove detailed
1210 descriptions of the arguments from the documentation string, since
1211 this is treated in the Todo mode user manual.
1212 (todo-copy-item, todo-edit-multiline-item)
1213 (todo-edit-done-item-comment, todo-edit-item-header)
1214 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1215 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1216 (todo-edit-item-date-year, todo-edit-item-date-month)
1217 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1218 Remove.
1219 (todo-edit-item): Reimplement as wrapper command for
1220 todo-edit-item--next-key and make it distinguish done and not done
1221 todo items.
1222 (todo-edit-item--text): New function, replacing old command
1223 todo-edit-item and incorporating deleted commands
1224 todo-edit-multiline-item and todo-edit-done-item-comment.
1225 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1226 Use only numeric value of prefix argument. Remove detailed
1227 descriptions of the arguments from the documentation string, since
1228 this is treated in the Todo mode user manual.
1229 (todo-edit-item--diary-inclusion): New function, replacing old
1230 command todo-edit-item-diary-inclusion and incorporating and fixing
1231 functionality of deleted command todo-edit-item-diary-nonmarking,
1232 making sure to remove todo-nondiary-marker when adding
1233 diary-nonmarking-symbol.
1234 (todo-edit-category-diary-inclusion): Make sure to delete
1235 diary-nonmarking-symbol when adding todo-nondiary-marker.
1236 (todo-edit-category-diary-nonmarking): Fix indentation.
1237 (todo-insert-item--parameters): Group diary and nonmarking
1238 parameters together.
1239 (todo-insert-item--apply-args): Adjust to signature of
1240 todo-insert-item--basic and incorporate copy parameter.
1241 Make small code improvements.
1242 (todo-insert-item--next-param): Improve prompt and adjust it to
1243 new parameter grouping. Remove obsolete code.
1244 (todo-edit-item--param-key-alist)
1245 (todo-edit-item--date-param-key-alist)
1246 (todo-edit-done-item--param-key-alist): New defconsts.
1247 (todo-edit-item--prompt): New variable.
1248 (todo-edit-item--next-key): New function.
1249 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1250 Remove bindings of deleted commands.
1251
1252 2014-05-04 Leo Liu <sdl.web@gmail.com>
1253
1254 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1255
1256 2014-05-04 Glenn Morris <rgm@gnu.org>
1257
1258 * allout-widgets.el (allout-widgets-tally)
1259 (allout-decorate-item-guides):
1260 * menu-bar.el (menu-bar-positive-p):
1261 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1262 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1263 * progmodes/js.el (js--inside-param-list-p)
1264 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1265 * progmodes/prolog.el (region-exists-p):
1266 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1267 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1268 Doc fixes (replace `iff').
1269
1270 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1273
1274 2014-05-04 Leo Liu <sdl.web@gmail.com>
1275
1276 Support Chinese diary entries in calendar and diary. (Bug#17393)
1277 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1278 (calendar-chinese-from-absolute-for-diary)
1279 (calendar-chinese-to-absolute-for-diary)
1280 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1281 (diary-chinese-list-entries): New functions to list and mark
1282 Chinese diary entries in the calendar window.
1283 (diary-chinese-anniversary)
1284 (diary-chinese-insert-anniversary-entry)
1285 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1286 (diary-chinese-insert-yearly-entry): New commands to insert
1287 Chinese diary entries.
1288
1289 * calendar/diary-lib.el (diary-font-lock-keywords):
1290 Support font-locking Chinese dates.
1291
1292 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1293 inserting Chinese diary entries.
1294
1295 * calendar/calendar.el (diary-chinese-entry-symbol):
1296 New customizable variable.
1297 (calendar-mode-map): Add bindings for inserting Chinese diary
1298 entries.
1299
1300 2014-05-03 Juri Linkov <juri@jurta.org>
1301
1302 * dired.el (dired-check-switches, dired-switches-recursive-p):
1303 New functions. (Bug#17218)
1304 (dired-switches-escape-p, dired-move-to-end-of-filename):
1305 Use `dired-check-switches'.
1306 (dired-insert-old-subdirs, dired-build-subdir-alist)
1307 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1308
1309 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1310
1311 * simple.el (undo-make-selective-list): New algorithm fixes
1312 incorrectness of position adjustments when undoing in region.
1313 (Bug#17235)
1314 (undo-elt-crosses-region): Make obsolete.
1315 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1316 New functions to adjust positions using undo-deltas.
1317
1318 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1321 the last consecutive closing paren (bug#17345).
1322
1323 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1324
1325 * dired.el (dired-mode): make terminology for eXpunge command
1326 consistent. (Bug#17276)
1327
1328 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1329
1330 * dired.el (dired-initial-position-hook, dired-initial-position):
1331 Doc string fixes.
1332
1333 2014-04-30 Glenn Morris <rgm@gnu.org>
1334
1335 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1336
1337 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1338
1339 * faces.el (face-spec-recalc): Apply X resources only after the
1340 defface spec has been applied. Thus, X resources are no longer
1341 overriden by the defface spec which also fixes issues on win32 where
1342 the toolbar coloring was wrong because it is set through X resources
1343 and was (wrongfully) overriden. (Bug#16694)
1344
1345 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * textmodes/rst.el (electric-pair-pairs): Declare.
1348 (rst-mode): Set it (bug#17131).
1349
1350 2014-04-30 Juri Linkov <juri@jurta.org>
1351
1352 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1353 and `print-level' to nil. (Bug#17351)
1354
1355 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1356
1357 * battery.el (battery-update): Handle the case where battery
1358 status is "N/A" (bug#17319).
1359
1360 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1361
1362 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1363 to syntax-propertize.
1364 (ps-mode-auto-indent): Mark as obsolete.
1365 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1366 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1367 word regexp operators.
1368 (ps-mode-map): Move initialization into declaration. Remove binding
1369 for TAB, RET, >, ], and }.
1370 (ps-mode-syntax-table): Move initialization into declaration.
1371 Don't give word syntax to non-word chars.
1372 (ps-run-mode-map): Move initialization into declaration.
1373 (ps-mode-menu-main): Remove auto-indent entry.
1374 (ps-mode-smie-rules): New function.
1375 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1376 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1377 (ps-mode--string-syntax-table): New const.
1378 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1379 New functions.
1380 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1381 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1382
1383 2014-04-27 Daniel Colascione <dancol@dancol.org>
1384
1385 * term/xterm.el (xterm-paste): Use large finite timeout when
1386 reading event to avoid putting keys in this-command-keys.
1387
1388 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1391 (perl-syntax-propertize-function): Use it. Extend handling of
1392 here-docs to the unquoted case.
1393
1394 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1395
1396 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1397 Use equal-including-properties to compare help-echo strings (bug#17331).
1398
1399 2014-04-25 Leo Liu <sdl.web@gmail.com>
1400
1401 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1402 Fix syntax for @. (Bug#17325)
1403
1404 2014-04-25 Daniel Colascione <dancol@dancol.org>
1405
1406 * emacs-lisp/cl.el (gv): Require gv early to break eager
1407 macro-expansion cycles.
1408
1409 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * simple.el (region-active-p): Check there's a mark (bug#17324).
1412
1413 * simple.el (completion-list-mode-map): Use choose-completion for the
1414 mouse binding as well (bug#17302).
1415 (completion-list-mode, completion-setup-function): Adjust docstring and
1416 echo area message accordingly.
1417 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1418 calling convention of choose-completion.
1419 * comint.el (comint-dynamic-list-completions):
1420 * term.el (term-dynamic-list-completions): Accept choose-completion.
1421
1422 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1423 &, |, +, - and * can't be a division (bug#17317).
1424
1425 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1426 features on gnome-terminal (bug#16988).
1427
1428 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1429
1430 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1431
1432 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1433 the declared object, ignore zero or more parens, not zero or one.
1434
1435 2014-04-24 Leo Liu <sdl.web@gmail.com>
1436
1437 * progmodes/xscheme.el (xscheme-expressions-ring)
1438 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1439 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1440 (xscheme-allow-output-p, xscheme-prompt)
1441 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1442
1443 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1444 Comment out unused functions.
1445
1446 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * info.el: Use lexical-binding and cl-lib.
1449 Use defvar-local and setq-local instead of make-local-variable.
1450 (Info-apropos-matches): Avoid add-to-list.
1451 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1452
1453 2014-04-24 Daniel Colascione <dancol@dancol.org>
1454
1455 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1456
1457 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1460
1461 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1462
1463 * dired.el (dired-insert-set-properties): Do not consider
1464 subdirectory headings and empty lines to be information that
1465 `dired-hide-details-mode' should hide. (Bug#17228)
1466
1467 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1468
1469 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1470 Remove test messages.
1471 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1472 and `target' twice.
1473
1474 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1477 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1478
1479 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1480
1481 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1482
1483 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1484 Set "IFS=" when using read builtin, in order to preserve spaces in
1485 the file name. Add test messages for hunting a bug on hydra.
1486 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1487
1488 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1491 Don't prettify a word within a symbol.
1492
1493 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1496 possible.
1497
1498 2014-04-22 Daniel Colascione <dancol@dancol.org>
1499
1500 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1501 use defun to define `function-put'.
1502
1503 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1506 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1507 (lisp-mode-variables): Set font-lock-extra-managed-props.
1508
1509 * emacs-lisp/byte-run.el (function-put): New function.
1510 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1511 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1512 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1513 Use them.
1514
1515 2014-04-22 Daniel Colascione <dancol@dancol.org>
1516
1517 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1518 Add `full-p' parameter; when nil, call `macroexpand' instead of
1519 `macroexpand-all'.
1520
1521 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1522 Improve docstrings.
1523
1524 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1525 Use lambda function values, not quoted lambdas.
1526 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1527
1528 * emacs-lisp/cl-macs.el
1529 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1530 (cl-struct-slot-value): Conditionally use aref or nth so that the
1531 compiler produces optimal code.
1532
1533 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1536 (inline): Don't inline cl--set-elt.
1537 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1538 Define as inlinable instead.
1539 (cl-struct-set-slot-value): Remove.
1540
1541 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1542 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1543 Use setf instead.
1544
1545 2014-04-21 Daniel Colascione <dancol@dancol.org>
1546
1547 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1548 last two parameters after all.
1549 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1550 (cl--compiler-macro-assoc,cl-struct-slot-value)
1551 (cl-struct-set-slot-value): Stop using them.
1552
1553 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1556 entry in image-mode-winprops-alist.
1557
1558 2014-04-21 Daniel Colascione <dancol@dancol.org>
1559
1560 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1561 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1562 (byte-compile-toplevel-file-form): Use it.
1563
1564 * emacs-lisp/cl-macs.el:
1565 (cl--loop-let): Properly destructure `while' clauses.
1566
1567 2014-04-20 Daniel Colascione <dancol@dancol.org>
1568
1569 * vc/vc.el (vc-root-dir): New public autoloaded function for
1570 generically finding the current VC root.
1571 * vc/vc-hooks.el (vc-not-supported): New error.
1572 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1573
1574 2014-04-20 Daniel Colascione <dancol@dancol.org>
1575
1576 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1577 argument.
1578 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1579 argument in case we're inside a symbol-macrolet.
1580 (cl--do-arglist, cl--compiler-macro-typep)
1581 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1582 environment to `cl--const-expr-val'.
1583 (cl-struct-sequence-type,cl-struct-slot-info)
1584 (cl-struct-slot-offset, cl-struct-slot-value)
1585 (cl-struct-set-slot-value): New functions.
1586
1587 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1590 assignments such as "case=hello" (bug#17297).
1591
1592 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1593
1594 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1595 Do not autoload.
1596 (tramp-file-name-handler, tramp-completion-file-name-handler):
1597 Revert patch from 2014-04-10, it isn't necessary anymore.
1598 (tramp-autoload-file-name-handler)
1599 (tramp-register-autoload-file-name-handlers): New defuns.
1600 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1601 (tramp-register-file-name-handlers): Remove also
1602 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1603 Do not autoload its invocation, but eval it after loading of 'tramp.
1604
1605 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1606
1607 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1608
1609 2014-04-17 Daniel Colascione <dancol@dancol.org>
1610
1611 Add support for bracketed paste mode; add infrastructure for
1612 managing terminal mode enabling and disabling automatically.
1613
1614 * xt-mouse.el:
1615 (xterm-mouse-mode): Simplify.
1616 (xterm-mouse-tracking-enable-sequence)
1617 (xterm-mouse-tracking-disable-sequence): New constants.
1618 (turn-on-xterm-mouse-tracking-on-terminal)
1619 (turn-off-xterm-mouse-tracking-on-terminal):
1620 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1621 parameters instead of random hooks.
1622 (turn-on-xterm-mouse-tracking)
1623 (turn-off-xterm-mouse-tracking): Delete.
1624
1625 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1626 (xterm-paste-ending-sequence): New constant.
1627 (xterm-paste): New command used for bracketed paste support.
1628
1629 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1630 (terminal-init-xterm-bracketed-paste-mode): New function.
1631 (terminal-init-xterm): Call it.
1632 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1633 and tty-mode-reset-strings instead of random hooks.
1634 (xterm-turn-on-modify-other-keys)
1635 (xterm-turn-off-modify-other-keys)
1636 (xterm-remove-modify-other-keys): Delete obsolete functions.
1637
1638 * term/screen.el: Rewrite to just use the xterm code.
1639 Add copyright notice. Mention tmux.
1640
1641 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1642
1643 * image-mode.el (image-mode-window-put): Also update the property of
1644 the "default window".
1645 * doc-view.el (doc-view-new-window-function): If no window
1646 exists, move to the last known page.
1647
1648 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1651 here-documents (bug#17262).
1652
1653 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1654
1655 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1656 Provide doc strings, as required by snarf-documentation.
1657
1658 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1661 arg of overlays-at. Use `invisible-p'.
1662
1663 * obsolete/lucid.el (extent-at):
1664 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1665 overlays-at.
1666 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1667
1668 2014-04-16 João Távora <joaotavora@gmail.com>
1669
1670 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1671 links. (Bug#17217).
1672
1673 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1674
1675 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1676 Use mapc to loop over a vector. (Bug#17257).
1677
1678 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1679
1680 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1681 patch, there are new problems with file names containing spaces.
1682 Get rid of backticks. (Bug#17238)
1683
1684 2014-04-16 João Távora <joaotavora@gmail.com>
1685
1686 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1687 possible bug.
1688
1689 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1690
1691 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1692 (blink-cursor-mode): Mention customization variables and the
1693 effect of 'blink-cursor-blinks'.
1694
1695 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1696
1697 * simple.el (undo): Prevent insertion of identity mapping into
1698 undo-equiv-table so as undo-only does not inf loop in the presence
1699 of consecutive nils in undo list.
1700
1701 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1702
1703 * faces.el (make-face): Deprecate optional argument as it is no
1704 longer needed/used since the conditional X resources handling
1705 has been pushed down to make-face-x-resource-internal itself.
1706 (make-empty-face): Don't pass optional argument to make-face.
1707
1708 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1709
1710 * savehist.el (savehist-save): Remove workaround for a read-passwd
1711 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1712 noticing that the shim was still present.
1713
1714 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1717
1718 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1719
1720 * faces.el (face-set-after-frame-default): Remove unused local variable.
1721
1722 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * progmodes/grep.el: Use lexical-binding.
1725 (grep-expand-template): Pass explicit lexical env to `eval'.
1726 (zrgrep): Let-bind grep-find-template explicitly.
1727
1728 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1729 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1730
1731 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1732
1733 * international/characters.el <standard-case-table>: Add entries
1734 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1735 Set category of Coptic characters be 'g' (Greek).
1736
1737 2014-04-12 Leo Liu <sdl.web@gmail.com>
1738
1739 * progmodes/octave.el (completion-table-with-cache):
1740 Define if not available.
1741 (octave-goto-function-definition, octave-sync-function-file-names)
1742 (octave-find-definition-default-filename):
1743 Backquote upattern for compatibility.
1744
1745 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1748 name twice due to backticks. (Bug#17238)
1749
1750 2014-04-12 Glenn Morris <rgm@gnu.org>
1751
1752 * term/w32-win.el (x-win-suspend-error):
1753 * term/x-win.el (x-win-suspend-error): Sync docs.
1754
1755 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1756
1757 * faces.el (make-face): Remove deprecated optional argument.
1758 The conditional application of X resources is handled directly by
1759 make-face-x-resource-internal since Emacs 24.4.
1760 (make-empty-face): Don't pass optional argument to make-face.
1761
1762 2014-04-11 Glenn Morris <rgm@gnu.org>
1763
1764 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1765
1766 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 Ediff's overlay priorities cause more trouble than they solve.
1769 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1770 (ediff-highest-priority): Remove function (bug#17234).
1771 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1772 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1773 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1774 overlay priorities.
1775
1776 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1777
1778 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1779 entry; use symbol boundaries to avoid mis-matches.
1780
1781 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1782
1783 * net/tramp.el (tramp-file-name-handler)
1784 (tramp-completion-file-name-handler): Avoid recursive loading.
1785
1786 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1787 Quote result also locally.
1788
1789 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1792 Remove left-over code.
1793
1794 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1795 Reuse the previous comment's indentation unconditionally if it's on its
1796 own line.
1797
1798 2014-04-09 Daniel Colascione <dancol@dancol.org>
1799
1800 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1801 `no-syntax-crossing' arguments. Forward to `up-list'.
1802 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1803 Implement logic for escaping from strings. Use narrowing to deal
1804 with corner cases.
1805
1806 2014-04-09 Leo Liu <sdl.web@gmail.com>
1807
1808 * net/rcirc.el (rcirc-connection-info): New variable.
1809 (rcirc-connect): Use it to store connection info.
1810 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1811 for killed process.
1812 (rcirc-cmd-reconnect): New command. (Bug#17045)
1813 (rcirc-mode, set-rcirc-encode-coding-system)
1814 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1815
1816 2014-04-09 Daniel Colascione <dancol@dancol.org>
1817
1818 * emacs-lisp/cl-indent.el: Add comment claiming
1819 facility is also good for elisp.
1820 (lisp-indent-find-method): New function.
1821 (common-lisp-indent-function): Recognize cl-loop.
1822 (common-lisp-indent-function-1): Recognize cl constructs; use
1823 `lisp-indent-find-method' instead of `get' directly.
1824 (if): Use else-body style for elisp.
1825
1826 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1827
1828 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1829 Module methods. (Bug#17216)
1830
1831 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1834 (describe-bindings-internal): Mark obsolete.
1835
1836 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1839 buffer-file-name, and buffer-file-truename any more.
1840
1841 2014-04-08 Leo Liu <sdl.web@gmail.com>
1842
1843 Use lexical-binding and require cl-lib.
1844 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1845 (rcirc-handler-generic, rcirc-fill-paragraph)
1846 (rcirc-format-response-string, rcirc-target-buffer)
1847 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1848 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1849 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1850 (rcirc-markup-timestamp, rcirc-markup-attributes)
1851 (rcirc-markup-my-nick, rcirc-markup-urls)
1852 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1853 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1854 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1855 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1856 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1857 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1858 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1859 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1860 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1861 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1862 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1863 use cl-lib.
1864
1865 2014-04-07 João Távora <joaotavora@gmail.com>
1866
1867 * elec-pair.el (electric-pair--syntax-ppss):
1868 When inside comments parse from comment beginning.
1869 (electric-pair--balance-info): Fix typo in comment.
1870 (electric-pair--in-unterminated-string-p): Delete.
1871 (electric-pair--unbalanced-strings-p): New function.
1872 (electric-pair-string-bound-function): New var.
1873 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1874 according to `electric-pair--in-unterminated-string-p'
1875
1876 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1877 Inhibit quote pairing if point-max is inside an unterminated string.
1878 (electric-pair--looking-at-unterminated-string-p): Delete.
1879 (electric-pair--in-unterminated-string-p): New function.
1880
1881 2014-04-07 Glenn Morris <rgm@gnu.org>
1882
1883 * shell.el (shell-directory-tracker):
1884 Go back to just ignoring failures. (Bug#17159)
1885
1886 2014-04-07 João Távora <joaotavora@gmail.com>
1887
1888 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1889 backspace. (bug#16981)
1890 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1891 (electric-pair-backward-delete-char-untabify): Delete.
1892 (electric-pair-mode-map): Bind backspace to a menu item filtering
1893 a new `electric-pair-delete-pair' command.
1894 (electric-pair-delete-pair): New command.
1895
1896 * progmodes/python.el (python-electric-pair-string-delimiter):
1897 Fix triple-quoting electricity. (Bug#17192)
1898
1899 * elec-pair.el (electric-pair-post-self-insert-function):
1900 Don't skip whitespace when `electric-pair-text-pairs' and
1901 `electric-pair-pairs' were used. syntax to
1902 electric-pair--skip-whitespace. (Bug#17183)
1903
1904 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1905
1906 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1907 "<F>". (Bug#17199)
1908
1909 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1912 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1913
1914 2014-04-07 Glenn Morris <rgm@gnu.org>
1915
1916 * help.el (view-lossage): Doc tweak.
1917
1918 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1919
1920 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1921 only when inhibit-x-resources is nil, and do that earlier in the
1922 function. Doc fix. (Bug#16694)
1923 (face-spec-choose): Accept additional optional argument, whose
1924 value is returned if no matching attributes are found.
1925 (face-spec-recalc): Use the new optional argument when calling
1926 face-spec-choose. (Bug#16378)
1927 (make-face-x-resource-internal): Do nothing when
1928 inhibit-x-resources is non-nil. Don't touch the default face if
1929 reversed video is given--as was done in previous versions of Emacs.
1930 (face-set-after-frame-default): Don't call
1931 make-face-x-resource-internal here. (Bug#16434)
1932
1933 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1934
1935 * doc-view.el (doc-view-bookmark-jump):
1936 Use `bookmark-after-jump-hook' to jump to the right page after the
1937 buffer is shown in a window. (bug#16090)
1938
1939 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1940
1941 * international/characters.el (mirroring): Fix last change:
1942 instead of loading uni-mirrored.el explicitly, do that implicitly
1943 by creating the 'mirroring' uniprop table. This avoids announcing
1944 the loading of uni-mirrored.el.
1945
1946 2014-04-07 Glenn Morris <rgm@gnu.org>
1947
1948 * files.el (buffer-stale--default-function)
1949 (buffer-stale-function, revert-buffer--default):
1950 * autorevert.el (auto-revert-buffers): Doc tweaks.
1951
1952 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1953
1954 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1955
1956 2014-04-07 Glenn Morris <rgm@gnu.org>
1957
1958 * files.el (make-backup-file-name-function)
1959 (make-backup-file-name, make-backup-file-name--default-function)
1960 (make-backup-file-name-1, find-backup-file-name)
1961 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1962 (buffer-stale--default-function, buffer-stale-function)
1963 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1964 (revert-buffer, revert-buffer--default)
1965 (revert-buffer-insert-file-contents--default-function):
1966 Doc fixes related to defaults no longer being nil.
1967 (make-backup-file-name-function): Bump :version.
1968 Restore nil as a valid but deprecated custom type.
1969
1970 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1973 Handle $' used as a variable (bug#17174).
1974
1975 * progmodes/perl-mode.el (perl-indent-new-calculate):
1976 Handle forward-sexp failure (bug#16985).
1977 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1978 modifiers introducing expressions (bug#17116).
1979
1980 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1983
1984 2014-04-05 Leo Liu <sdl.web@gmail.com>
1985
1986 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1987 Add define-compilation-mode.
1988
1989 2014-04-04 João Távora <joaotavora@gmail.com>
1990
1991 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1992 parse from comment beginning.
1993 (electric-pair--balance-info): Fix typo in comment.
1994 (electric-pair--in-unterminated-string-p): Delete.
1995 (electric-pair--unbalanced-strings-p): New function.
1996 (electric-pair-string-bound-function): New var.
1997 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1998 according to `electric-pair--in-unterminated-string-p'.
1999
2000 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2003 Move declaration before first use.
2004 (reftex-move-to-next-arg): Silence compiler warning.
2005
2006 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2007
2008 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2009 Use `window-total-width' instead of `window-width'.
2010
2011 2014-04-03 Daniel Colascione <dancol@dancol.org>
2012
2013 * subr.el (set-transient-map): Remove rms's workaround entirely;
2014 use new `suspicious-object' subr to mark our lambda for closer
2015 scrutiny during gc.
2016
2017 2014-04-02 Richard Stallman <rms@gnu.org>
2018
2019 * subr.el (set-transient-map): Comment out previous change.
2020
2021 2014-04-02 Glenn Morris <rgm@gnu.org>
2022
2023 * menu-bar.el (menu-bar-file-menu):
2024 * vc/ediff.el (ediff-current-file):
2025 Update for revert-buffer-function no longer being nil by default.
2026
2027 * simple.el (command-execute): Respect nil disabled-command-function.
2028
2029 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2030
2031 * simple.el (command-execute): Do not execute the command when it
2032 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2033
2034 2014-04-02 Juri Linkov <juri@jurta.org>
2035
2036 * dired-aux.el (dired-compress-file): Don't use string-match-p
2037 because its match data is used afterwards.
2038
2039 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2042 0 like nil.
2043
2044 2014-04-02 João Távora <joaotavora@gmail.com>
2045
2046 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2047 Inhibit quote pairing if point-max is inside an unterminated string.
2048 (electric-pair--looking-at-unterminated-string-p):
2049 Delete.
2050 (electric-pair--in-unterminated-string-p): New function.
2051
2052 2014-04-01 Daniel Colascione <dancol@dancol.org>
2053
2054 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2055 when trying to complete the prompt.
2056
2057 2014-03-31 Leo Liu <sdl.web@gmail.com>
2058
2059 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2060 Refactor out eldoc-documentation-function-default.
2061 (eldoc-documentation-function-default): New function.
2062 (eldoc-documentation-function): Change value.
2063
2064 2014-03-31 Glenn Morris <rgm@gnu.org>
2065
2066 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2067
2068 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2069 (vhdl-compose-components-package, vhdl-compose-configuration):
2070 Abbreviate default-directory (missing from some previous upstream sync).
2071
2072 2014-03-31 Reto Zimmermann <reto@gnu.org>
2073
2074 Sync with upstream vhdl mode v3.35.2.
2075 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2076 (top-level): No longer require assoc.
2077 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2078 New functions. Use throughout to replace aget etc.
2079 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2080 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2081 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2082 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2083 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2084 except `vhdl-compiler'.
2085 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2086 when appropriate.
2087
2088 2014-03-31 Glenn Morris <rgm@gnu.org>
2089
2090 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2091 Revert 2014-03-26 merge goof; go back to using defalias.
2092
2093 2014-03-30 Daniel Colascione <dancol@dancol.org>
2094
2095 * comint.el (comint-send-input):
2096 Deactivate completion-in-region-mode before we send comint input.
2097 (Bug#17139).
2098
2099 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2100 on keyboard-quit.
2101
2102 2014-03-29 Glenn Morris <rgm@gnu.org>
2103
2104 * textmodes/reftex.el: Manage most autoloads automatically.
2105 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2106 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2107 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2108 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2109 * textmodes/reftex-toc.el: Set generated-autoload-file,
2110 and add autoload cookies for reftex.el.
2111 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2112
2113 2014-03-28 Glenn Morris <rgm@gnu.org>
2114
2115 * cus-start.el (report-emacs-bug-address): Set custom properties.
2116 * mail/emacsbug.el (report-emacs-bug-address):
2117 Variable is now defined in emacs.c.
2118
2119 * mail/emacsbug.el (report-emacs-bug):
2120 Include system-configuration-features.
2121
2122 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2123
2124 * simple.el (cycle-spacing): Never delete spaces on first run by
2125 default, but do so in a new 'fast mode and if there are already
2126 N spaces (the previous behavior).
2127 Compare N with its value in previous invocation so that changing
2128 prefix argument restarts `cycle-spacing' sequence.
2129 The idea is that with this change, binding M-SPC to
2130 `cycle-spacing' should not introduce any changes in behavior of
2131 the binding so long as users do not type M-SPC twice in a raw with
2132 the same prefix argument or lack thereof.
2133
2134 2014-03-28 Glenn Morris <rgm@gnu.org>
2135
2136 * faces.el (term-file-aliases): New variable.
2137 (tty-run-terminal-initialization): Respect term-file-aliases.
2138 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2139 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2140 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2141
2142 2014-03-27 Glenn Morris <rgm@gnu.org>
2143
2144 * startup.el (inhibit-startup-hooks): Doc tweak.
2145 (normal-top-level): Simplify running of hooks.
2146 For window-setup-hook, respect inhibit-startup-hooks.
2147 (command-line-1): Don't set window-setup-hook to nil.
2148
2149 Allow selective autoloading from obsolete/ directory.
2150 * Makefile.in (obsolete-autoloads): New rule.
2151 (autoloads): Run obsolete-autoloads.
2152 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2153 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2154
2155 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2156
2157 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2158 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2159
2160 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2161 Don't propertize `?' or `!' as symbol constituent when after
2162 colon. (Bug#17097)
2163
2164 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2165
2166 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2167 which is no longer needed and causes trouble in GTK builds (bug#17046).
2168
2169 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2170 Use url-insert-file-contents; package-handle-response no longer exists.
2171
2172 2014-03-26 Daniel Colascione <dancol@dancol.org>
2173
2174 * simple.el (process-menu-mode-map): New variable.
2175 (process-menu-delete-process): New command.
2176
2177 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2178
2179 * emacs-lisp/package.el: Fix bug#16733 (again).
2180 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2181 (url-http-target-url): Remove unused declarations.
2182 (package-handle-response): Remove.
2183 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2184 (package--download-one-archive): Use current-buffer instead of
2185 dynamic binding of `buffer'.
2186 (describe-package-1): Do not decode readme-string.
2187
2188 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2189
2190 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2191
2192 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2193 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2194 `remote-file-name-inhibit-cache' to nil in the second pass.
2195 (tramp-find-executable): Do not call "which" on SunOS.
2196 (tramp-send-command-and-check): Fix docstring.
2197 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2198 check whether source directory has set the sticky bit.
2199
2200 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2201
2202 * simple.el (primitive-undo): Only process marker adjustments
2203 validated against their corresponding (TEXT . POS). Issue warning
2204 for lone marker adjustments in undo history. (Bug#16818)
2205 (undo-make-selective-list): Add marker adjustments to selective
2206 undo list based on whether their corresponding (TEXT . POS) is in
2207 the region. Remove variable adjusted-markers, which was unused
2208 and only non nil during undo-make-selective-list.
2209 (undo-elt-in-region): Return nil when passed a marker adjustment
2210 and explain in function doc.
2211
2212 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2213
2214 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2215
2216 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2217
2218 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2219 Match special global variables without curlies, too.
2220 (ruby-font-lock-keywords): Simplify the matcher for special global
2221 variables. Don't require a non-word character after the variable.
2222 (Bug#17057)
2223
2224 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * simple.el (redisplay-highlight-region-function): Increase priority of
2227 overlay to make sure boundaries are visible (bug#15899).
2228
2229 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2232 (frameset-restore): Compare display strings with equal.
2233
2234 * frame.el (make-frame): Don't quote display name in error message,
2235 it is already a string.
2236
2237 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2238
2239 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2240 the password.
2241
2242 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2243
2244 * emacs-lisp/package.el (package--add-to-archive-contents):
2245 Include already installed and built-in packages in
2246 `package-archive-contents'.
2247 (package-install): Don't include already installed packages in the
2248 options during interactive invocation. (Bug#16762)
2249 (package-show-package-list): If the buffer is already displayed in
2250 another window, switch to that window.
2251
2252 2014-03-26 Reto Zimmermann <reto@gnu.org>
2253
2254 Sync with upstream vhdl mode v3.35.1.
2255 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2256 (vhdl-compiler-alist): Doc fix.
2257 (vhdl-goto-line): Remove.
2258 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2259 (vhdl-mode) <paragraph-start>: Fix value.
2260 (vhdl-fix-statement-region): Not `for' in wait-statement.
2261 (vhdl-beautify-region): Also (un)tabify.
2262 (vhdl-get-visible-signals):
2263 Scan declarative part of generate statements.
2264 (vhdl-template-record): Fix indentation for record type declaration.
2265 (vhdl-expand-abbrev, vhdl-expand-paren):
2266 Revert to using fset again rather than defalias.
2267 (vhdl-scan-directory-contents): Tweak.
2268 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2269 (vhdl-compose-components-package):
2270 Replace vhdl-goto-line with forward-line.
2271 (top-level): Tweak speedbar frame selection.
2272 (vhdl-generate-makefile-1): Support for compilers with no
2273 unit-to-file name mapping (create directory with dummy files).
2274
2275 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2276
2277 Sync with upstream verilog-mode revision 702457d.
2278 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2279 (create-lockfiles): Declare.
2280 (verilog-read-decls): Fix module header imports, bug709.
2281 Reported by Victor Lau.
2282 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2283 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2284 interface-only modules, bug721. Reported by Dean Hoyt.
2285
2286 2014-03-26 Glenn Morris <rgm@gnu.org>
2287
2288 * obsolete/gulp.el: Move here from emacs-lisp/.
2289
2290 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2291 Remove fallback aliases, since they are always defined now.
2292
2293 2014-03-24 Daniel Colascione <dancol@dancol.org>
2294
2295 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2296 instead of cl-loop search function.
2297
2298 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2299
2300 * calendar/parse-time.el (parse-time-iso8601-regexp)
2301 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2302 it more generally.
2303
2304 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2305
2306 * net/dns.el (network-interface-list): Define for XEmacs.
2307
2308 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2309
2310 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2311 the network interfaces changed.
2312 (dns-query): Use it to flush the data.
2313
2314 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2315
2316 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2317
2318 2014-03-23 Daniel Colascione <dancol@dancol.org>
2319
2320 Change subword-mode to use `find-word-boundary-function-table' and
2321 replace `capitalized-words-mode'. Also, convert to lexical
2322 binding.
2323
2324 * progmodes/cap-words.el: Delete now-obsolete file.
2325 * progmodes/subword.el: Reimplement using
2326 `find-word-boundary-function-table'.
2327 (subword-mode-map): Hollow out.
2328 (capitalized-words-mode): Define as obsolete alias for
2329 `subword-mode'.
2330 (subword-mode, superword-mode): Tweak documentation to reflect new
2331 implementation; call `subword-setup-buffer'.
2332 (subword-forward, subword-capitalize): Add underscore to indicate
2333 unused variable.
2334 (subword-find-word-boundary-function-table): New constant.
2335 (subword-empty-char-table): New constant.
2336 (subword-setup-buffer): New function.
2337 (subword-find-word-boundary): New function.
2338
2339 2014-03-23 Daniel Colascione <dancol@dancol.org>
2340
2341 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2342 list to look for keyword arguments instead of `memq', fixing
2343 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2344 Please make bootstrap.
2345
2346 2014-03-22 Glenn Morris <rgm@gnu.org>
2347
2348 * dired.el (dired-read-regexp): Make obsolete.
2349 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2350 (dired-flag-files-regexp):
2351 * dired-aux.el (dired-mark-read-regexp):
2352 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2353
2354 * startup.el (fancy-startup-text):
2355 * help.el (describe-gnu-project): Visit online info about GNU project.
2356
2357 * help-fns.el (help-fns--interactive-only): New function.
2358 (help-fns-describe-function-functions): Add the above function.
2359 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2360 (next-line, previous-line): Remove hand-written interactive-only
2361 information from doc strings, it is auto-generated now.
2362 * bookmark.el (bookmark-write):
2363 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2364 (epa-mail-import-keys): Mark interactive-only,
2365 and remove hand-written interactive-only information from doc strings.
2366 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2367 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2368 * files.el (not-modified):
2369 * simple.el (mark-whole-buffer): Mark interactive-only.
2370
2371 * emacs-lisp/byte-run.el (defun-declarations-alist):
2372 Add interactive-only. Doc tweak.
2373 (macro-declarations-alist): Doc tweak.
2374 * subr.el (declare): Doc tweak (add xref to manual).
2375 * comint.el (comint-run):
2376 * files.el (insert-file-literally, insert-file):
2377 * replace.el (replace-string, replace-regexp):
2378 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2379 (delete-forward-char, goto-line, insert-buffer, next-line)
2380 (previous-line): Set interactive-only via declare.
2381
2382 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2383
2384 * emacs-lisp/package.el (package-desc): Use the contents of the
2385 quoted form, not its cdr. (Bug#16873)
2386
2387 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2388
2389 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2390 benefit of doc.c; change parameter profile to match the X function.
2391
2392 2014-03-22 Leo Liu <sdl.web@gmail.com>
2393
2394 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2395 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2396
2397 2014-03-21 Richard Stallman <rms@gnu.org>
2398
2399 * battery.el (battery-linux-sysfs): Search for each field
2400 from the beginning of the buffer.
2401
2402 * subr.el (set-transient-map): Clear out function and value
2403 of the temporary symbol when we're done with it.
2404
2405 * mail/rmailsum.el (rmail-summary-delete-forward):
2406 Optimize case of reaching end and handling count.
2407 (rmail-summary-mark-deleted): Optimize when N is current msg.
2408 Don't create new summary line.
2409 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2410 (rmail-summary-undelete-many): Rewrite for speed.
2411 (rmail-summary-msg-number): New function.
2412
2413 * mail/rmail.el (rmail-delete-message): Update summary.
2414 (rmail-undelete-previous-message): Handle repeat count arg.
2415 (rmail-delete-backward, rmail-delete-forward): Likewise.
2416
2417 2014-03-21 Daniel Colascione <dancol@dancol.org>
2418
2419 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2420 information in bug reports.
2421
2422 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2425 and `tramp-copy-env'.
2426
2427 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2428 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2429
2430 2014-03-21 Glenn Morris <rgm@gnu.org>
2431
2432 * electric.el (electric-indent-post-self-insert-function): Add doc.
2433
2434 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2435
2436 * emacs-lisp/package.el (package-compute-transaction):
2437 Use `version-list-<=' to compare the requirement version against
2438 the version of package already to be installed. Update the error
2439 message. (Bug#16826)
2440
2441 * progmodes/ruby-mode.el (ruby-smie-rules):
2442 Add indentation rule for ` @ '. (Bug#17050)
2443
2444 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * align.el (align-regexp): Remove superfluous backslash.
2447
2448 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2449 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2450 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2451 Fix docstring typos.
2452 (ffap-next): Use C-u in docstring.
2453 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2454 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2455 Remove superfluous backslashes.
2456 (ffap-string-at-point): Reflow docstring.
2457
2458 * server.el (server-host): Reflow docstring.
2459 (server-unload-function): Fix docstring typo.
2460 (server-eval-at): Remove superfluous backslash.
2461
2462 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2463 (skeleton-insert): Doc fix.
2464 (skeleton-insert): Reflow docstring.
2465
2466 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2467 (tty-color-approximate, tty-color-by-index, tty-color-values)
2468 (tty-color-desc): Remove superfluous backslashes.
2469
2470 2014-03-21 Glenn Morris <rgm@gnu.org>
2471
2472 * cus-start.el (history-length): Bump :version.
2473
2474 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2475 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2476 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2477 Don't set `make-backup-files'.
2478
2479 * info.el (info--prettify-description): New function,
2480 to give info-finder descriptions consistent case, punctuation.
2481 (Info-finder-find-node): Use it. Sort packages.
2482 Refer to "description" rather than "commentary".
2483
2484 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * frameset.el (frameset--print-register): New function.
2487 (frameset-to-register): Use it.
2488
2489 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2490
2491 * progmodes/hideif.el (hif-string-to-number): New function.
2492 (hif-tokenize): Use it to understand non-decimal floats.
2493
2494 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2495
2496 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2497
2498 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * electric.el (electric-newline-and-maybe-indent): New command.
2501 Bind it globally to C-j.
2502 (electric-indent-mode): Don't mess with the global map any more.
2503 Don't drop the post-self-insert-hook is some buffer is still using it
2504 (bug#16770).
2505
2506 * bindings.el (global-map): Remove C-j binding.
2507
2508 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2509 the docstring of functions advised before dumping (bug#16993).
2510
2511 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2512
2513 * ps-print.el (ps-generate-postscript-with-faces):
2514 Explicitly deactivate the mark (bug#16866).
2515 * simple.el (deactivate-mark): Update region highlight.
2516
2517 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2518
2519 * emacs-lisp/package.el (describe-package-1):
2520 Decode commentary (bug#16733).
2521
2522 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2523
2524 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2525 modification of the value argument of :set (bug#16755).
2526
2527 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * simple.el (newline-and-indent): Do autofill (bug#17031).
2530
2531 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2532
2533 * newcomment.el (comment-normalize-vars): Only add escaping check
2534 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2535 (comment-beginning): Use `narrow-to-region' instead of moving back
2536 one character.
2537 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2538 (comment-start-skip): Update the docstring.
2539
2540 2014-03-18 Richard Stallman <rms@gnu.org>
2541
2542 * dired.el (dired-display-file): Force use of other window.
2543
2544 2014-03-18 Daniel Colascione <dancol@dancol.org>
2545
2546 * startup.el (tty-handle-args): Remove debug message from 2007.
2547
2548 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2551 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2552 (advice--make-1, advice-add, advice-remove):
2553 Remove braindead :advice-pending hack.
2554
2555 2014-03-17 Glenn Morris <rgm@gnu.org>
2556
2557 * calendar/calendar.el (calendar-generate-month): Apply weekend
2558 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2559
2560 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2563 (tramp-call-process): Trace also DESTINATION.
2564
2565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2566 Quote file names when they are local. Remove superfluous trace.
2567
2568 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2569
2570 * newcomment.el (comment-beginning): If `comment-start-skip'
2571 doesn't match, move back one char and try again. (Bug#16971)
2572
2573 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2574 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2575 Set `comment-start-skip' to a simpler value that doesn't try to
2576 check if the semicolon is escaped (this is handled by
2577 `syntax-ppss' now). (Bug#16971)
2578
2579 * progmodes/scheme.el (scheme-mode-variables): Same.
2580
2581 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2582
2583 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2584 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2585 current (Bug#16816, Bug#17007).
2586 (with-current-buffer-window): New macro doing the same as
2587 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2588 * help.el (help-print-return-message): Warn in doc-string to not
2589 use this in `with-help-window'.
2590 (describe-bindings-internal): Call `describe-buffer-bindings'
2591 from within help buffer. See Juanma's scenario in (Bug#16816).
2592 (with-help-window): Update doc-string.
2593 * dired.el (dired-mark-pop-up):
2594 * files.el (save-buffers-kill-emacs):
2595 * register.el (register-preview): Use `with-current-buffer-window'
2596 instead of `with-temp-buffer-window'.
2597
2598 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2599
2600 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2601 Implement inserting into current buffer, documented in their docstrings.
2602 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2603 (rst-section-tree-point, rst-forward-section, rst-indent)
2604 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2605 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2606 (rst-font-lock-handle-adornment-pre-match-form)
2607 (rst-repeat-last-character): Reflow docstrings.
2608 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2609 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2610 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2611 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2612 Fix docstring typos.
2613 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2614 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2615 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2616
2617 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2618
2619 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2620 for compatibility with other ports.
2621 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2622 from the -xrm command line argument, but in the Nextstep port its value
2623 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2624
2625 * progmodes/python.el (defconst, python-syntax-count-quotes)
2626 (python-indent-region, python-indent-shift-right)
2627 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2628 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2629 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2630 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2631 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2632 (python-shell-buffer-substring, python-shell-send-buffer)
2633 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2634 (python-completion-complete-at-point, python-fill-docstring-style)
2635 (python-eldoc-function, python-imenu-format-item-label)
2636 (python-imenu-format-parent-item-label)
2637 (python-imenu-format-parent-item-jump-label)
2638 (python-imenu--build-tree, python-imenu-create-index)
2639 (python-imenu-create-flat-index): Fix docstring typos.
2640 (python-indent-context, python-shell-prompt-regexp, run-python):
2641 Remove superfluous backslashes.
2642 (python-indent-line, python-nav-beginning-of-defun)
2643 (python-shell-get-buffer, python-shell-get-process)
2644 (python-info-current-defun, python-info-current-line-comment-p)
2645 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2646 (python-indent-post-self-insert-function, python-shell-send-file)
2647 (python-shell-completion-get-completions)
2648 (python-shell-completion-complete-or-indent)
2649 (python-eldoc--get-doc-at-point): Reflow docstrings.
2650
2651 2014-03-14 Glenn Morris <rgm@gnu.org>
2652
2653 * emacs-lisp/package.el (package-menu-mode-map):
2654 Replace use of obsolete function alias. Tweak menu item text.
2655
2656 * info.el (Info-finder-find-node):
2657 Ignore the `emacs' metapackage. (Bug#10813)
2658
2659 * finder.el (finder-list-matches): Include unversioned packages
2660 in the result of a keyword search.
2661
2662 * finder.el (finder--builtins-descriptions): New constant.
2663 (finder-compile-keywords): Use finder--builtins-descriptions.
2664
2665 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2666
2667 * simple.el (blink-matching-paren): Describe the new value,
2668 `jump', enabling the old behavior.
2669 (blink-matching-open): Use that value. (Bug#17008)
2670
2671 2014-03-14 Glenn Morris <rgm@gnu.org>
2672
2673 * finder.el (finder-no-scan-regexp): Add leim-list.
2674 (finder-compile-keywords):
2675 Don't skip files with same basename. (Bug#14010)
2676 * Makefile.in (setwins_finder): New, excluding leim.
2677 (finder-data): Use setwins_finder.
2678
2679 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2680 (help-function-arglist, help-make-usage): Move from here...
2681 * help.el (help-split-fundoc, help-add-fundoc-usage)
2682 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2683 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2684
2685 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2686
2687 * net/socks.el (socks, socks-override-functions)
2688 (socks-find-services-entry):
2689 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2690 (hif-find-ifdef-block):
2691 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2692
2693 * net/tls.el (tls-program): Reflow docstring.
2694
2695 * progmodes/pascal.el (pascal-mode-abbrev-table)
2696 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2697 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2698 (pascal-outline-mode): Fix docstring typos.
2699 (pascal-mode): Let define-derived-mode document mode hook.
2700 (pascal-uncomment-area): Reflow.
2701 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2702
2703 * progmodes/opascal.el (opascal-compound-block-indent)
2704 (opascal-case-label-indent): Fix docstring typos.
2705 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2706
2707 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2710 Fontify multiple adjacent negation chars. (Bug#17004)
2711
2712 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2713
2714 * emacs-lisp/package.el (package--prepare-dependencies):
2715 Accept requirements without explicit version (bug#14941).
2716
2717 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * register.el (register-separator, copy-to-register): Doc fixes.
2720 (register-preview-default): Remove unnecessary call to concat.
2721
2722 * frameset.el (frameset-restore): When checking for a visible frame,
2723 use the action map instead of calling visible-frame-list.
2724
2725 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2726
2727 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2728
2729 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2730
2731 * window.el (fit-frame-to-buffer): Get maximum width from
2732 display's width instead of height.
2733
2734 2014-03-12 Glenn Morris <rgm@gnu.org>
2735
2736 * desktop.el (desktop-restore-frames)
2737 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2738 (desktop-restore-reuses-frames): Doc tweaks.
2739
2740 * electric.el (electric-indent-mode): Doc fix.
2741
2742 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2743
2744 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2745 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2746 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2747 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2748 (cvs-dired-use-hook): Fix docstring typos.
2749 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2750 Doc fixes.
2751
2752 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2753 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2754 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2755 (cvs-execute-single-dir): Fix docstring typos.
2756
2757 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2758 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2759
2760 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2761
2762 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2763 Fix docstring typos.
2764
2765 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2766
2767 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2768 called from jump-to-register after unloading the frameset package.
2769
2770 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2773 (bug#16975). Deactivate the mark before setting it to nil.
2774 (activate-mark): Do nothing if region is already active.
2775
2776 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2777
2778 * frameset.el (frameset--target-display): Remove definition; declare.
2779 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2780
2781 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2784 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2785 when the advice is pending.
2786 (advice-remove): Remove this marker when not needed any more.
2787
2788 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * frameset.el: Separate options for reusing frames and cleaning up.
2791 (frameset--reuse-list): Remove definition; declare.
2792 (frameset--action-map): Declare.
2793 (frameset--find-frame-if): Doc fix.
2794 (frameset--restore-frame): Cache frame action.
2795 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2796 how to clean up the frame list after restoring. Remove cleaning
2797 options from REUSE-FRAMES. Change all keyword values to symbols.
2798 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2799
2800 * desktop.el (desktop-restore-forces-onscreen)
2801 (desktop-restore-reuses-frames): Use non-keyword values.
2802 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2803
2804 2014-03-10 Glenn Morris <rgm@gnu.org>
2805
2806 * files.el (find-file): Doc fix: update info node name.
2807
2808 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2809 Doc fix: remove references to deleted info nodes.
2810
2811 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2814 Do not add `nil' to the environment, when there's no remote `locale'.
2815 (tramp-find-inline-encoding): Check, that the remote host has
2816 installed perl, before sending scripts.
2817
2818 2014-03-10 Leo Liu <sdl.web@gmail.com>
2819
2820 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2821 Clear eldoc-last-message. (Bug#16920)
2822
2823 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2824
2825 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2826 (bug#14430).
2827
2828 2014-03-09 Juri Linkov <juri@jurta.org>
2829
2830 * ansi-color.el (ansi-color-names-vector): Copy default colors
2831 from `xterm-standard-colors' that look well on the default white
2832 background (and also on the black background) to avoid illegible
2833 color combinations like yellow-on-white and white-on-white.
2834 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2835
2836 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2837
2838 * frameset.el (frameset-restore): When no frame is visible, do not
2839 generate a list of frames, just make visible the selected one.
2840
2841 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2842
2843 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2844 it only contains the repository root. (Bug#16897)
2845
2846 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2849 only when `remote-file-name-inhibit-cache' is nil.
2850 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2851
2852 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2853
2854 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2855 Fix doc-strings.
2856 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2857 fit-frame-to-buffer variable. Fix doc-string.
2858 (fit-window-to-buffer): Set ONLY argument in call of
2859 fit-frame-to-buffer. Fix doc-string.
2860
2861 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2862
2863 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2864 (tramp-action-password): Clear password cache if needed.
2865 (tramp-read-passwd): Do not clear password cache.
2866
2867 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2868 cache unless it is the first password request.
2869
2870 2014-03-06 Glenn Morris <rgm@gnu.org>
2871
2872 * simple.el (newline): Doc tweak.
2873
2874 * emacs-lisp/shadow.el (load-path-shadows-find):
2875 Ignore dir-locals. (Bug#12357)
2876
2877 2014-03-05 Glenn Morris <rgm@gnu.org>
2878
2879 * files.el (interpreter-mode-alist):
2880 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2881
2882 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2883
2884 * frameset.el (frameset--initial-params): Filter out null entries.
2885
2886 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2887
2888 * window.el (window-min-height, window-min-width):
2889 Rewrite doc-strings.
2890 (window-body-size): Add PIXELWISE argument to make it consistent
2891 with its callees.
2892
2893 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2894
2895 * finder.el (finder-mode-map, finder-mode-syntax-table):
2896 Revert part of 2014-02-28 change.
2897
2898 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2899
2900 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2901 (eww-setup-buffer): Clear next/prev/etc more reliably.
2902 (eww-textarea-map): [tab] doesn't work on tty.
2903 Reported by Mario Lang.
2904
2905 * net/shr.el (shr-map): Ditto.
2906
2907 2014-03-04 Glenn Morris <rgm@gnu.org>
2908
2909 * minibuffer.el (completion-hilit-commonality):
2910 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2911
2912 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2913
2914 * hilit-chg.el (hilit-chg-unload-function): New function.
2915 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2916 (hilit-chg-map-changes): Prefer cardinal number to digit.
2917 (hilit-chg-display-changes): Reflow docstring.
2918 (highlight-changes-rotate-faces): Remove superfluous backslash.
2919
2920 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2923 `tramp-send-command-and-check'.
2924
2925 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2926
2927 * hexl.el (hexl-address-region, hexl-ascii-region)
2928 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2929 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2930 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2931 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2932 (hexl-mode): Doc fix.
2933 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2934 (hexl-mode-ruler): Fix typos in docstrings.
2935
2936 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2937 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2938 Remove superfluous backslashes.
2939 (strokes-last-stroke, strokes-global-map, strokes-mode):
2940 Reflow docstrings.
2941 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2942 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2943 (strokes-distance-squared, strokes-global-set-stroke)
2944 (strokes-global-set-stroke-string): Doc fixes.
2945 (strokes-help): Fix typos; reflow docstring.
2946
2947 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2948
2949 * window.el (window-in-direction): Fix doc-string.
2950
2951 2014-03-04 Glenn Morris <rgm@gnu.org>
2952
2953 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2954 Explicit error if no grammar.
2955 (smie-config-save): Doc fix. Fix quote typo.
2956
2957 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2960 electric-indent-mode-hook if we obey electric-indent-mode.
2961 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2962 decide whether we obey electric-indent-mode.
2963 (c-change-set-fl-decl-start, c-extend-after-change-region):
2964 Silence warnings.
2965 (c-electric-indent-mode-hook): Assume we do want to obey
2966 electric-indent-mode.
2967
2968 * electric.el (electric-indent-mode-has-been-called): Remove.
2969 (electric-indent-mode): Fix accordingly.
2970
2971 * files.el (hack-local-variables): Mention file name in warning.
2972
2973 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2974
2975 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2976
2977 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2978 * simple.el (delete-forward-char): Mark as interactive-only.
2979
2980 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * icomplete.el (icomplete-completions):
2983 Follow-up to 2014-03-01 change.
2984
2985 * icomplete.el: Miscellaneous doc fixes.
2986 Use Icomplete everywhere instead of icomplete for consistency.
2987 (icomplete-max-delay-chars): Fix typo.
2988 (icomplete-mode): Use \[].
2989 (icomplete-tidy, icomplete-exhibit): Reflow.
2990 (icomplete-minibuffer-setup-hook, icomplete-completions):
2991 Remove superfluous backlashes.
2992
2993 * ido.el: Miscellaneous doc fixes.
2994 Use Ido everywhere instead of ido or `ido' for consistency.
2995 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2996 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2997 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2998 (ido-separator): Extract obsolescence info from docstring and declare
2999 with make-obsolete-variable.
3000 (ido-minibuffer-setup-hook): Simplify example.
3001 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3002 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3003 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3004 (ido-everywhere): Reflow docstring.
3005 (ido-toggle-vc): Doc fix.
3006 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3007 of long list of keybindings.
3008
3009 2014-03-03 Glenn Morris <rgm@gnu.org>
3010
3011 * frame.el (display-pixel-height, display-pixel-width)
3012 (display-mm-dimensions-alist, display-mm-height)
3013 (display-mm-width): Doc tweaks.
3014
3015 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3016
3017 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3018 case of undo in region.
3019
3020 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3021
3022 * window.el (fit-window-to-buffer): Fix argument in window-size
3023 call when window is horizontally combined.
3024
3025 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3026
3027 * icomplete.el (icomplete-completions): Use string-width.
3028 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3029
3030 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3031
3032 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3033 Highlight regexp options. (Bug#16914)
3034
3035 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3036
3037 * window.el (window--max-delta-1): Round down when calculating
3038 how many lines/columns we can get from a window.
3039
3040 2014-03-01 Glenn Morris <rgm@gnu.org>
3041
3042 * isearch.el (search-invisible): Doc fix.
3043
3044 * minibuffer.el (completion-hilit-commonality):
3045 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3046 * comint.el (comint-dynamic-list-completions): Doc fix.
3047 * comint.el (comint-dynamic-list-completions):
3048 * filecache.el (file-cache-minibuffer-complete):
3049 * tempo.el (tempo-display-completions):
3050 * eshell/em-hist.el (eshell-list-history):
3051 Replace use of obsolete argument of display-completion-list.
3052
3053 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3054
3055 * icomplete.el (icomplete-completions):
3056 Revert back to using "..." when ?… cannot be displayed.
3057
3058 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3059
3060 * finder.el (finder-unload-function): New function.
3061
3062 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3063
3064 * dframe.el (dframe-detach):
3065 * find-dired.el (find-dired, find-name-dired):
3066 * finder.el (finder-mode-map, finder-mode-syntax-table)
3067 (finder-headmark, finder-select, finder-mouse-select):
3068 Fix docstring typos.
3069
3070 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3071
3072 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3073 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3074 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3075 Fix doc-string based on a suggestion by Nicolas Richard
3076 <theonewiththeevillook@yahoo.fr>.
3077 * help.el (with-help-window): Fix doc-string.
3078
3079 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3080
3081 * net/shr.el (shr-image-animate): New option.
3082 (shr-put-image): Respect shr-image-animate.
3083
3084 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * net/tramp-adb.el (tramp-adb-parse-device-names):
3087 Use `accept-process-output'.
3088 (tramp-adb-handle-file-truename): Cache the localname only.
3089 (tramp-adb-handle-make-directory)
3090 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3091 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3092 modes cannot be changed.
3093
3094 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3095 file properties of symlinks.
3096
3097 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3098
3099 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3100 required/optional fields to match development biblatex. (Bug#16781)
3101
3102 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3103
3104 * saveplace.el (toggle-save-place):
3105 Fix argument handling. (Bug#16673)
3106
3107 2014-02-28 Glenn Morris <rgm@gnu.org>
3108
3109 * minibuffer.el (completions-first-difference)
3110 (completions-common-part, completion-hilit-commonality): Doc fixes.
3111
3112 2014-02-28 Karl Berry <karl@gnu.org>
3113
3114 * info.el (Info-mode-map): Add H for describe-mode,
3115 to synchronize with standalone Info.
3116
3117 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3118
3119 * progmodes/sql.el (sql-interactive-mode):
3120 Avoid setting global comint-input-ring-separator. (Bug#16814)
3121
3122 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3123
3124 * net/dbus.el (dbus--init-bus): Declare function.
3125 (dbus-path-local, dbus-interface-local): New defconst.
3126 (dbus-init-bus): Use them.
3127 (dbus-return-values-table): Extend doc.
3128 (dbus-handle-bus-disconnect): Extend error message.
3129
3130 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3131
3132 * subr.el (y-or-n-p): Fix double space issue in message.
3133
3134 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3135
3136 * net/tramp.el (tramp-call-process): Improve trace message.
3137 (tramp-handle-insert-file-contents): Trace error case.
3138
3139 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3140 <insert-directory>: Use `tramp-handle-insert-directory'.
3141 (tramp-adb-handle-insert-directory): Remove function.
3142 (tramp-adb-send-command-and-check): New defun, replacing
3143 `tramp-adb-command-exit-status'. Change all callees.
3144 (tramp-adb-handle-file-attributes)
3145 (tramp-adb-handle-directory-files-and-attributes): Use it.
3146 (tramp-adb-ls-output-name-less-p):
3147 Use `directory-listing-before-filename-regexp'.
3148 (tramp-adb-handle-delete-directory): Flush also file properties of
3149 the truename of directory.
3150 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3151 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3152 (tramp-adb-handle-write-region): Implement APPEND.
3153 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3154 properties correctly.
3155 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3156 variables. Check for connected devices only when needed.
3157
3158 2014-02-27 Glenn Morris <rgm@gnu.org>
3159
3160 * minibuffer.el (completion-table-dynamic)
3161 (completion-table-with-cache): Doc fixes.
3162
3163 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3164 (completing-read-multiple): Doc fixes.
3165
3166 2014-02-27 Daniel Colascione <dancol@dancol.org>
3167
3168 * minibuffer.el (completion--nth-completion): Fix indentation.
3169
3170 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3171 explicit tramp path is empty.
3172
3173 2014-02-27 Glenn Morris <rgm@gnu.org>
3174
3175 * emacs-lisp/crm.el (completing-read-multiple):
3176 Empower help-enable-auto-load.
3177
3178 2014-02-26 Glenn Morris <rgm@gnu.org>
3179
3180 * startup.el (command-line): Don't init the tty in daemon mode.
3181
3182 Avoid calling tty-setup-hook twice, eg if a term file
3183 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3184 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3185 (tty-create-frame-with-faces): Use it.
3186 * startup.el (command-line): Pass run-hook argument
3187 to tty-run-terminal-initialization.
3188
3189 * dired.el (dired-restore-desktop-buffer): Demote errors;
3190 eg in case a glob match fails. (Bug#16884)
3191
3192 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3193
3194 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3195 error from `read-from-string'. (Bug#16850)
3196
3197 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3198 result of `completing-read' in the interactive form. (Bug#16854)
3199
3200 2014-02-25 Glenn Morris <rgm@gnu.org>
3201
3202 * image.el (image-animate, image-animate-timeout):
3203 Stop animating images in dead buffers. (Bug#16878)
3204
3205 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3206
3207 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3208 Doc fixes.
3209 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3210 * term/sun.el (sun-raw-prefix-hooks):
3211 Use tty-setup-hook instead of term-setup-hook.
3212 (terminal-init-sun): Construct message from bytecomp plist.
3213 * term/wyse50.el (enable-arrow-keys): Doc fix.
3214
3215 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3216
3217 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3218 Fix docstring typos.
3219
3220 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3223
3224 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3225
3226 * minibuffer.el (completion--try-word-completion):
3227 Fix error when completing M-x commands (bug#16808).
3228
3229 2014-02-24 Leo Liu <sdl.web@gmail.com>
3230
3231 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3232
3233 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3234
3235 * apropos.el (apropos-print): Avoid formatting error when
3236 apropos-do-all and apropos-compact-layout are both t.
3237
3238 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3239
3240 * apropos.el (apropos-property, apropos-all-words-regexp)
3241 (apropos-true-hit, apropos-variable, apropos-print):
3242 Fix docstring typos, and remove obsolete comment.
3243
3244 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3247 Preserve trailing "/". (Bug#16851)
3248
3249 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3250
3251 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3252 after `=>' (bug#16811).
3253 (ruby-smie-rules): Handle the inconsistent second element of the
3254 list returned by `smie-indent--parent'.
3255 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3256 method call.
3257
3258 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * elec-pair.el (electric-pair-text-syntax-table)
3261 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3262 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3263 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3264 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3265
3266 2014-02-22 Glenn Morris <rgm@gnu.org>
3267
3268 * imenu.el (imenu--generic-function): Doc fix.
3269
3270 * register.el (frame-configuration-to-register): Make obsolete.
3271
3272 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * desktop.el (desktop-save-buffer-p): Do not fail when
3275 desktop-files-not-to-save is nil. Return t for true result
3276 as the doc says.
3277
3278 2014-02-22 Daniel Colascione <dancol@dancol.org>
3279
3280 * net/secrets.el (secrets-create-item, secrets-search-items):
3281 Check that attribute values are strings, avoiding the construction
3282 of invalid dbus messages.
3283
3284 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3285
3286 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3287 defun-declarations-alist.
3288
3289 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3292 (bug#16829).
3293
3294 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3297 (whitespace-newline, whitespace-trailing, whitespace-line)
3298 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3299 (whitespace-space-after-tab): Fix typo in docstrings.
3300
3301 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3302
3303 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3304
3305 * electric.el (electric-indent-functions-without-reindent):
3306 Add `yaml-indent-line'.
3307
3308 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3309
3310 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3311 It has done nothing for years; should be removed after the release.
3312
3313 * simple.el (choose-completion): Fix docstring typo.
3314 (read-quoted-char-radix): Remove unneeded * in docstring.
3315 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3316 Don't escape parentheses unnecessarily in docstrings.
3317
3318 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3319
3320 Fix handling of window-min-height/-width (Bug#16738).
3321 * window.el (window--dump-window, window--dump-frame):
3322 New functions.
3323 (window--min-size-1): Account for window dividers.
3324 When window-resize-pixelwise is nil, delay rounding till after the
3325 sum of the window components has been calculated.
3326 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3327 nil make sure at least one text line and two text columns remain
3328 fully visible.
3329 (window-resize): Signal an error when window-resize-apply fails.
3330 (window--resize-child-windows): Fix calculation of by how many
3331 pixels a window can still be shrunk via window-new-normal.
3332 (adjust-window-trailing-edge): Call window--resizable with
3333 correct TRAIL argument.
3334
3335 (with-temp-buffer-window): Don't evaluate BODY within
3336 with-current-buffer (Bug#16816).
3337
3338 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3339
3340 * net/tramp.el (tramp-check-cached-permissions):
3341 Call `file-attributes' with `suffix' being a symbol but a string.
3342
3343 2014-02-21 Daniel Colascione <dancol@dancol.org>
3344
3345 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3346 (dbus-init-bus): New function: call into dbus-init-bus-1
3347 and installs a handler for the disconnect signal.
3348 (dbus-call-method): Rewrite to look for result in cons.
3349 (dbus-call-method-handler): Store result in cons.
3350 (dbus-check-event): Recognize events with nil sender as valid.
3351 (dbus-handle-bus-disconnect): New function. React to bus
3352 disconnection signal by synthesizing dbus error for each
3353 pending synchronous or asynchronous call.
3354 (dbus-notice-synchronous-call-errors): New function.
3355 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3356 is true, not all the time.
3357
3358 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3359
3360 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3361 Remove obsolescence declarations, these variables do not exist anymore.
3362
3363 * savehist.el (savehist-save-minibuffer-history)
3364 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3365 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3366 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3367 mostly, refer to "Savehist mode" when talking about the mode,
3368 and not the function.
3369
3370 * saveplace.el (save-place): Remove redundant info in docstring.
3371 (save-place-forget-unreadable-files, toggle-save-place)
3372 (save-place-forget-unreadable-files, save-place-dired-hook):
3373 Fix typos and remove unneeded backslashes.
3374
3375 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3376
3377 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3378 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3379
3380 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3381 <insert-directory>: Use `tramp-handle-insert-directory'.
3382 (tramp-gvfs-handle-insert-directory): Remove function.
3383
3384 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3385 Call `tramp-handle-insert-directory'.
3386
3387 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3388
3389 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3390 before the start of buffer/region (bug#16799).
3391
3392 2014-02-20 Glenn Morris <rgm@gnu.org>
3393
3394 * isearch.el (search-invisible): Doc fix.
3395
3396 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3397
3398 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3399 (bug#16657).
3400
3401 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3402
3403 * frameset.el (frameset-restore): Delay removing an old frame's
3404 duplicate id until the new frame has been correctly created.
3405
3406 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3407
3408 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3409 (tramp-check-cached-permissions): Call `file-attributes' if the
3410 cache is empty.
3411
3412 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3413 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3414
3415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3416 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3417 (tramp-gvfs-maybe-open-connection): Set always connection
3418 properties, even if target is mounted already.
3419
3420 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3421 Set tramp-autoload cookie.
3422 (tramp-get-remote-touch): New defun.
3423 (tramp-sh-handle-set-file-times): Use it.
3424 (tramp-sh-handle-directory-files-and-attributes):
3425 Use `tramp-handle-directory-files-and-attributes' if neither stat
3426 nor perl are available on the remote host.
3427
3428 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3429 "/". Write long listing only when "l" belongs to the switches.
3430
3431 * net/trampver.el: Update release number.
3432
3433 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3434
3435 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3436
3437 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3438
3439 * window.el (window-state-put): Allow WINDOW to refer to an
3440 internal window (Bug#16793).
3441
3442 2014-02-19 Glenn Morris <rgm@gnu.org>
3443
3444 * textmodes/remember.el: Move provide statement to end.
3445 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3446 (remember-notes): Doc fixes.
3447
3448 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * delsel.el (delete-char): Restore incorrectly erased property
3451 (bug#16795).
3452
3453 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * frameset.el (frameset--restore-frame): When a frame is being reused
3456 and its root window is not alive, delete all the frame's windows before
3457 restoring the window state. This works around the issue in bug#16793.
3458
3459 2014-02-18 Glenn Morris <rgm@gnu.org>
3460
3461 * textmodes/remember.el (remember-data-directory)
3462 (remember-directory-file-name-format, remember-store-in-files)
3463 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3464 (remember-notes-save-and-bury-buffer)
3465 (remember-notes--kill-buffer-query): Doc fixes.
3466
3467 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3468
3469 2014-02-17 Alan Mackenzie <acm@muc.de>
3470
3471 Connect electric-indent-mode up with CC Mode. Bug #15478.
3472 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3473 to electric-indent-{,local-}-mode.
3474 (c-basic-common-init): Set electric-indent-inhibit.
3475 Initialise c-electric-flag from electric-indent-mode.
3476 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3477 New hook functions which propagate electric-indent-mode to CC mode.
3478
3479 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3480 hit, toggle electric-indent-local-mode.
3481
3482 * electric.el (electric-indent-mode-has-been-called):
3483 New variable.
3484
3485 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * frameset.el (frameset-cfg-id): New function.
3488 (frameset--reuse-frame, frameset-restore): Use it.
3489 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3490
3491 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * ido.el (ido-file-internal): Remove unused var `d'.
3494 Use \` for to match BoS. Fit within 80n columns.
3495
3496 2014-02-17 Daniel Colascione <dancol@dancol.org>
3497
3498 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3499 dbus-call-method check for completion using a busy-wait loop with
3500 gradual backoff.
3501
3502 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3503
3504 Sync with Tramp 2.2.9.
3505
3506 * net/trampver.el: Update release number.
3507
3508 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3509
3510 * ido.el (ido-file-internal): Don't add the name of an existing
3511 directory twice. (Bug#16747)
3512
3513 2014-02-16 Glenn Morris <rgm@gnu.org>
3514
3515 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3516 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3517
3518 2014-02-15 Michael R. Mauger <michael@mauger.com>
3519
3520 * progmodes/sql.el: Version 3.4
3521 (sql-oracle-options): New default value ("-L").
3522 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3523 (sql-placeholders-filter): Correct placeholder pattern.
3524 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3525 (sql-login-delay): New variable.
3526 (sql-product-interactive): Use it.
3527
3528 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3529
3530 * frameset.el (frameset--jump-to-register): Check that buffer is live
3531 (bug#16749).
3532
3533 2014-02-15 Glenn Morris <rgm@gnu.org>
3534
3535 * info.el (info-initialize): Revert 2014-01-10 change.
3536
3537 2014-02-14 Glenn Morris <rgm@gnu.org>
3538
3539 * replace.el (map-query-replace-regexp)
3540 (read-regexp-defaults-function, read-regexp): Doc fixes.
3541
3542 * dired.el (dired-read-regexp):
3543 * faces.el (list-faces-display):
3544 * misearch.el (multi-isearch-read-matching-buffers)
3545 (multi-isearch-read-matching-files):
3546 * play/cookie1.el (cookie-apropos):
3547 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3548
3549 * textmodes/remember.el (remember): Use frameset-to-register
3550 rather than frame-configuration-to-register.
3551
3552 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3553
3554 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3555 incorrect keybinding.
3556
3557 2014-02-13 Daniel Colascione <dancol@dancol.org>
3558
3559 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3560 when adding overlays so that line numbers from compiler match line
3561 numbers we use.
3562
3563 2014-02-13 Glenn Morris <rgm@gnu.org>
3564
3565 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3566
3567 * jit-lock.el (jit-lock-mode): Doc fix.
3568
3569 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * apropos.el (apropos-read-pattern): When the user passes an empty
3572 string, give a more helpful error message than "Wrong type
3573 argument: stringp, nil".
3574
3575 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3578
3579 2014-02-13 Glenn Morris <rgm@gnu.org>
3580
3581 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3582
3583 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3586 shift-select commands.
3587
3588 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3589
3590 * progmodes/js.el (js-indent-line): Don't widen.
3591 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3592
3593 2014-02-12 Glenn Morris <rgm@gnu.org>
3594
3595 * icomplete.el (icomplete): Add info-link to defgroup.
3596 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3597 (icomplete-minibuffer-map, icomplete-mode)
3598 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3599
3600 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3601 (package-menu-filter): Rename from package-menu-filter-interactive.
3602 Doc fix.
3603
3604 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3605
3606 * frameset.el (frameset--jump-to-register): Select the required
3607 window and buffer before restoring position (bug#16696).
3608
3609 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3610
3611 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3612
3613 2014-02-10 Glenn Morris <rgm@gnu.org>
3614
3615 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3616
3617 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3618
3619 * w32-common-fns.el (x-get-selection): Doc fix.
3620 * select.el (x-get-selection): Doc fix. (Bug#15109)
3621
3622 * face-remap.el (face-remap-add-relative)
3623 (face-remap-remove-relative, face-remap-reset-base)
3624 (face-remap-set-base): Call force-mode-line-update to redisplay
3625 the current buffer due to potential change in faces. (Bug#16709)
3626
3627 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3628
3629 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3630 script more robustly.
3631
3632 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3633
3634 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3635
3636 * simple.el (choose-completion): Doc fix (bug#14160).
3637
3638 * subr.el (event-start): Say what a nil EVENT value means.
3639
3640 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3641 (bug#14197).
3642
3643 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3644
3645 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3646
3647 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3648
3649 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3650 predicate function (bug#15455).
3651
3652 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3653
3654 * ielm.el (inferior-emacs-lisp-mode): Instead of
3655 `comment-use-global-state', set `comment-use-syntax'.
3656
3657 2014-02-10 Glenn Morris <rgm@gnu.org>
3658
3659 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3660
3661 2014-02-09 Alan Mackenzie <acm@muc.de>
3662
3663 Fix c-invalidate-state-cache on narrowed buffers.
3664 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3665 Widen when setting and clearing the CPP delimiter properties.
3666
3667 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3668
3669 * help.el (describe-bindings): Doc fix (bug#9888).
3670
3671 * files.el (save-buffer): Use ARG as the parameter name for
3672 consistency (bug#10346).
3673 (save-buffer): Clarify the 0 argument (bug#10346).
3674
3675 * cus-edit.el (customize-apropos): Fix error string.
3676 (custom-buffer-create): Doc fix (bug#11122).
3677 (custom-sort-items): Doc fix (bug#11121).
3678
3679 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3680
3681 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3682 (icomplete-simple-completing-p): Mention the previous variable.
3683
3684 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3685 meaning of the parameter (bug#12282).
3686
3687 * files.el (find-file-noselect): Clarify prompt when changing
3688 readedness (bug#13261).
3689 (locate-file): Suffixes aren't returned, so don't say that they
3690 are (bug#12674).
3691 (backup-inhibited): Doc clarification (bug#12525).
3692
3693 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3694 before we actually start to delete things (bug#16331).
3695
3696 * subr.el (event-start): Doc fix (bug#14228).
3697 (event-end): Ditto.
3698
3699 2014-02-09 Glenn Morris <rgm@gnu.org>
3700
3701 * emacs-lisp/warnings.el (lwarn):
3702 Empower help-enable-auto-load. (Bug#15940)
3703
3704 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3705
3706 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3707 (Bug#16690)
3708
3709 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3710
3711 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3712 Insert output at end of buffer. (Bug#16120)
3713
3714 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3715
3716 * simple.el (choose-completion-string-functions): Document new
3717 calling convention (bug#14153).
3718 (execute-extended-command): Clarify doc string (bug#13373).
3719
3720 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3721
3722 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3723 (find-grep-dired): Doc fix (bug#14288).
3724
3725 2014-02-08 Juri Linkov <juri@jurta.org>
3726
3727 * isearch.el (isearch-quote-char): Check character validity
3728 like in `quoted-insert' (bug#16677).
3729
3730 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3731
3732 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3733
3734 * isearch.el (isearch-hide-immediately): Doc clarification
3735 (bug#14723).
3736
3737 * simple.el (line-move): Document utility function used many
3738 places in the Emacs sources (bug#14843).
3739
3740 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3741 (dired-prev-marked-file): Doc fix (bug#14855).
3742 (dired-up-directory): Doc fix (bug#14848).
3743
3744 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3745
3746 * files.el (file-relative-name): Doc fix (bug#15159).
3747
3748 * fringe.el (fringe-styles): Doc fix (bug#15239).
3749
3750 * isearch.el (isearch-filter-predicate): Documentation typo fix
3751 (bug#15474).
3752
3753 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3754
3755 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3756
3757 * replace.el (replace-match-maybe-edit): Doc clarification
3758 (bug#15632).
3759
3760 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3761
3762 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3763
3764 2014-02-08 Glenn Morris <rgm@gnu.org>
3765
3766 * help-fns.el (describe-variable):
3767 Check {file,dir}-local-variables-alist, and buffer-file-name,
3768 in the correct buffer.
3769
3770 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3771
3772 * help-fns.el (describe-variable): Fix the case where
3773 a value is directory-local with no dir-locals file. (Bug#16635)
3774
3775 2014-02-08 Glenn Morris <rgm@gnu.org>
3776
3777 * abbrev.el (edit-abbrevs-mode):
3778 Derive from fundamental-mode. (Bug#16682)
3779
3780 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3781
3782 * simple.el (quoted-insert): Check character validity (bug#16677).
3783
3784 2014-02-07 Juri Linkov <juri@jurta.org>
3785
3786 * desktop.el (desktop-read): Claim the lock when the owner is not
3787 the current process. (Bug#16157)
3788
3789 2014-02-07 Juri Linkov <juri@jurta.org>
3790
3791 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3792 to "\\` ". (Bug#16651)
3793
3794 2014-02-07 Juri Linkov <juri@jurta.org>
3795
3796 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3797 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3798 (desktop-auto-save-cancel-timer): New function with some code from
3799 `desktop-auto-save-set-timer'.
3800 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3801 Instead of setting `desktop-save-mode' to nil, call
3802 `desktop-save-mode' with arg 0. (Bug#16630)
3803
3804 2014-02-07 Glenn Morris <rgm@gnu.org>
3805
3806 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3807 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3808 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3809
3810 * obsolete/iswitchb.el: Move to obsolete/.
3811 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3812 since obsolete/ is not scanned for autoloads.
3813 * emacs-lisp/authors.el (authors-valid-file-names):
3814 Add iswitchb.el.
3815
3816 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3817 Disable now non-functional find-file-hook.
3818
3819 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3820
3821 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3822 instead of ";" in order to avoid additional prompts. Let heredoc
3823 scripts read from tty. (Bug#16582)
3824 (tramp-send-command): No special handling of heredocs, it isn't
3825 necessary anymore.
3826
3827 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3830 with a space (bug#16664). Limit the symbols considered to the ones
3831 that are bound or fbound (bug#16646).
3832
3833 2014-02-06 Glenn Morris <rgm@gnu.org>
3834
3835 * epa.el (epa-mail-aliases): Doc fix.
3836
3837 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3838
3839 * emacs-lisp/lisp.el (lisp-completion-at-point):
3840 Use `completion-table-merge' instead of `completion-table-in-turn'
3841 (bug#16604).
3842
3843 * minibuffer.el (completion-table-merge): New function.
3844
3845 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3846
3847 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3848 (tramp-sh-handle-set-file-acl)
3849 (tramp-sh-handle-start-file-process)
3850 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3851 (tramp-find-executable, tramp-send-command): Use it.
3852
3853 2014-02-05 Glenn Morris <rgm@gnu.org>
3854
3855 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3856
3857 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3858
3859 * progmodes/python.el (python-shell-send-string)
3860 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3861
3862 2014-02-04 Anders Lindgren <andlind@gmail.com>
3863
3864 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3865 the names (bug#16620).
3866
3867 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3868
3869 * faces.el (window-divider): New default value. Rewrite doc-string.
3870 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3871
3872 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3873
3874 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3875 `protected' and `public' can also be called without arguments.
3876
3877 2014-02-03 Glenn Morris <rgm@gnu.org>
3878
3879 * register.el (window-configuration-to-register)
3880 (frame-configuration-to-register): Unadvertise unused argument.
3881 * frameset.el (frameset-to-register): Remove unused argument.
3882
3883 * frameset.el (frameset-to-register):
3884 * kmacro.el (kmacro-to-register):
3885 * register.el (increment-register):
3886 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3887 (calc-append-to-register, calc-prepend-to-register):
3888 * play/gametree.el (gametree-layout-to-register)
3889 (gametree-apply-register-layout):
3890 * textmodes/picture.el (picture-clear-rectangle-to-register)
3891 (picture-yank-rectangle-from-register):
3892 * vc/emerge.el (emerge-combine-versions-register):
3893 Use register-read-with-preview to read registers.
3894
3895 2014-02-03 João Távora <joaotavora@gmail.com>
3896
3897 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3898 when at beginning of (possibly narrowed) buffer.
3899
3900 2014-02-02 Daniel Colascione <dancol@dancol.org>
3901
3902 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3903 Also try to display local help from just before point.
3904
3905 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3906
3907 c-parse-state. Don't "append-lower-brace-pair" in certain
3908 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3909 recognised as a comment.
3910
3911 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3912 as well as normal comment starter.
3913 (c-parse-state-get-strategy): Extra return possibility
3914 'back-and-forward.
3915 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3916 return value list to indicate replacement of a brace-pair cons
3917 with its car.
3918 (c-parse-state-1): With 'back-and-forward, only call
3919 c-append-lower-brace-pair-to state-cache when cons-separated.
3920
3921 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3922
3923 * term/ns-win.el (ns-suspend-error): New function.
3924 (ns-initialize-window-system): Add ns-suspend-error to
3925 suspend-hook (Bug#16612).
3926
3927 2014-02-02 Daniel Colascione <dancol@dancol.org>
3928
3929 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3930 Make loading cc-mode silent.
3931
3932 2014-02-02 Daniel Colascione <dancol@dancol.org>
3933
3934 * comint.el (comint-prompt-read-only): Change doc to suggest
3935 remap keybinding.
3936
3937 2014-02-02 Glenn Morris <rgm@gnu.org>
3938
3939 * register.el (register-read-with-preview, point-to-register)
3940 (window-configuration-to-register, frame-configuration-to-register)
3941 (jump-to-register, number-to-register, view-register, insert-register)
3942 (copy-to-register, append-to-register, prepend-to-register)
3943 (copy-rectangle-to-register): Doc fixes.
3944
3945 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3948 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3949 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3950 * help-fns.el (describe-function-1): Use it.
3951
3952 2014-02-02 Glenn Morris <rgm@gnu.org>
3953
3954 * register.el (register-preview-default): New function,
3955 split from register-preview.
3956 (register-preview-function): Rename from register-preview-functions,
3957 make it not a hook.
3958 (register-preview): Use register-preview-function.
3959 (register-read-with-preview): Error on non-character event. (Bug#16595)
3960
3961 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3964 `:' before binary operators (bug#16609). Don't check for `:'
3965 before `[' and `(', or their syntax status. A percent literal
3966 can't end with either.
3967 (ruby-font-lock-keywords): For built-ins that require arguments,
3968 check that they're followed by something that looks like argument
3969 (bug#16610).
3970
3971 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3972
3973 * subr.el (butlast): Document what an omitted N means (bug#13437).
3974 (nbutlast): Ditto.
3975
3976 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3977
3978 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3979 depth shallower (bug#16587).
3980 (shr-tag-svg): Respect `shr-inhibit-images'.
3981 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3982
3983 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3984
3985 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3986 (ruby-smie-grammar): Make "." right-associative. Make its priority
3987 lower than the ternary and all binary operators.
3988 (ruby-smie-rules): Indent "(" relative to the first non-"."
3989 parent, or the first "." parent at indentation.
3990 Use `ruby-align-chained-calls' for indentation of "." tokens.
3991 (Bug#16593)
3992
3993 2014-01-31 Juri Linkov <juri@jurta.org>
3994
3995 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3996 from `make-hash-table'.
3997
3998 * textmodes/ispell.el (ispell-init-process): Change message format
3999 to be consistent with other messages.
4000
4001 2014-01-31 Glenn Morris <rgm@gnu.org>
4002
4003 * delsel.el (delete-selection-mode): Doc fix.
4004
4005 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4006 (trace-function-background): Doc fixes.
4007
4008 * ido.el (ido-use-virtual-buffers): Doc fix.
4009 Reset :version, since the default value has not changed.
4010
4011 * register.el (register-preview-delay, register-read-with-preview):
4012 Doc fixes.
4013
4014 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4015 do not mess with mail-buffer position (fixes 2009-11-03 change).
4016 * progmodes/cc-mode.el (c-submit-bug-report):
4017 Check auto-fill-mode is bound. (Bug#16592)
4018
4019 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4020
4021 * startup.el (fancy-splash-image-file): New function,
4022 split from fancy-splash-head.
4023 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4024 so that we are both using the same image. (Bug#16574)
4025
4026 2014-01-30 Glenn Morris <rgm@gnu.org>
4027
4028 * simple.el (eval-expression): Doc fix.
4029
4030 * hexl.el (hexl-mode-hook):
4031 * ielm.el (ielm-mode-hook):
4032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4033 (lisp-interaction-mode-hook):
4034 * progmodes/cfengine.el (cfengine3-documentation-function):
4035 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4036
4037 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4038
4039 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4040 is a symbol (bug#16584).
4041
4042 2014-01-30 Glenn Morris <rgm@gnu.org>
4043
4044 * help.el (help-for-help-internal): Add "P" to text.
4045
4046 2014-01-29 Glenn Morris <rgm@gnu.org>
4047
4048 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4049
4050 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4051
4052 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4053 height constraints.
4054
4055 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4056
4057 * progmodes/hideif.el: Extend to full CPP expression syntax.
4058 (hif-token-alist): Add missing tokens.
4059 (hif-token-regexp): Add support for float/octal/hex immediates.
4060 (hif-string-literal-regexp): New const.
4061 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4062 (hif-exprlist): New function.
4063 (hif-parse-if-exp): Use it.
4064 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4065 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4066 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4067 (hif-logxor, hif-comma): New functions.
4068
4069 2014-01-28 Glenn Morris <rgm@gnu.org>
4070
4071 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4072
4073 * indent.el (tab-stop-list): Doc fix. Add :version.
4074
4075 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4076 (cvs-append-to-ignore): Add compatibility alias.
4077
4078 2014-01-27 Glenn Morris <rgm@gnu.org>
4079
4080 * dired.el (dired-hide-details-mode): Don't autoload it,
4081 since it cannot be used outside Dired buffers anyway.
4082
4083 * emulation/cua-base.el (cua-mode): Doc fix.
4084
4085 * dired.el (dired-hide-details-hide-symlink-targets)
4086 (dired-hide-details-hide-information-lines)
4087 (dired-hide-details-mode): Doc fixes.
4088
4089 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4090 * strokes.el (strokes-file): Doc fix. Bump :version.
4091 (strokes-help): Doc fix.
4092 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4093 * emulation/viper.el (viper): Doc fix for custom group.
4094 (top-level): Remove oh-so-no-longer-relevant text about vip.
4095 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4096
4097 * ido.el (ido-save-directory-list-file):
4098 * saveplace.el (save-place-file):
4099 * calendar/timeclock.el (timeclock-file):
4100 * net/quickurl.el (quickurl-url-file):
4101 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4102 * progmodes/idlwave.el (idlwave-config-directory):
4103 * textmodes/remember.el (remember-data-file):
4104 Bump :version.
4105
4106 2014-01-26 Glenn Morris <rgm@gnu.org>
4107
4108 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4109 Doc fix. Make obsolete.
4110 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4111
4112 * sort.el (delete-duplicate-lines): Doc fix.
4113
4114 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4115
4116 * progmodes/ada-mode.el (ada):
4117 * woman.el (woman): Link to info manual and Commentary section.
4118
4119 * progmodes/flymake.el (flymake):
4120 * nxml/nxml-mode.el (nxml):
4121 * net/eww.el (eww):
4122 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4123 * htmlfontify.el (htmlfontify):
4124 * ses.el (ses):
4125 * epa.el (epa):
4126 * ido.el (ido): Link to info manual.
4127
4128 2014-01-25 Leo Liu <sdl.web@gmail.com>
4129
4130 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4131
4132 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4133
4134 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4135 (bug#16537).
4136
4137 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4138
4139 * net/eww.el (eww-download-callback):
4140 Fix reference to eww-download-directory.
4141
4142 * emacs-lisp/bytecomp.el (byte-compile-file):
4143 Remove unused local variable `file-name'.
4144
4145 2014-01-24 Glenn Morris <rgm@gnu.org>
4146
4147 * woman.el (woman-default-faces, woman-monochrome-faces):
4148 Fix obsolescence specification.
4149
4150 * subr.el (with-demoted-errors): Doc fix.
4151
4152 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4155 (cl--macroexp-fboundp): New function.
4156 (cl--make-type-test): Use it.
4157
4158 2014-01-23 Glenn Morris <rgm@gnu.org>
4159
4160 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4161 * simple.el (eval-expression): Doc fixes.
4162
4163 2014-01-22 Glenn Morris <rgm@gnu.org>
4164
4165 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4166
4167 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * emacs-lisp/package.el: Write files silently.
4170 (package-autoload-ensure-default-file, package--write-file-no-coding)
4171 (package-generate-description-file, package--download-one-archive)
4172 (package-install-from-archive): Tell `write-region' to stay quiet.
4173 (package-menu-mode, package-menu--print-info): Omit the Archive column
4174 if there's only one archive.
4175 (package-all-keywords, package--has-keyword-p): Remove dead code.
4176
4177 2014-01-22 Glenn Morris <rgm@gnu.org>
4178
4179 * version.el (emacs-bzr-version-bzr): Fix typo.
4180
4181 * version.el (emacs-repository-get-version):
4182 Check either .bzr or .git, but not both.
4183 Make the git case actually use the DIR argument, and return nil
4184 rather than the empty string.
4185 Avoid error if .git exists but the git executable is not found.
4186
4187 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4188
4189 Fixes in window size functions around Bug#16430 and Bug#16470.
4190 * window.el (window-total-size, window-size): New argument ROUND.
4191 (window--min-delta-1, window-min-delta, window--max-delta-1):
4192 Be more conservative when calculating the numbers of lines or
4193 columns a window can shrink (Bug#16430).
4194 (fit-window-to-buffer): Simplify code.
4195 * term.el (term-window-width): Call window-body-width again.
4196
4197 2014-01-22 Glenn Morris <rgm@gnu.org>
4198
4199 * image.el (image-format-suffixes): Doc fix.
4200
4201 * international/quail.el (quail-define-package): Doc fix.
4202
4203 * emacs-lisp/authors.el (authors-valid-file-names)
4204 (authors-renamed-files-alist): Additions.
4205
4206 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4207 reverts 2014-01-09 change. (Bug#16422)
4208
4209 * calc/calc-embed.el (thing-at-point-looking-at):
4210 * emacs-lisp/map-ynp.el (x-popup-dialog):
4211 * obsolete/lmenu.el (x-popup-dialog):
4212 * emacs-lisp/package.el (url-recreate-url):
4213 * mail/mailclient.el (clipboard-kill-ring-save):
4214 * subr.el (x-popup-dialog): Update declaration.
4215 * mail/rmail.el (rmail-mime-message-p):
4216 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4217
4218 2014-01-21 Daniel Colascione <dancol@dancol.org>
4219
4220 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4221 Correctly detect when we're inside an arithmetic expansion form
4222 containing nested parenthesis.
4223 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4224 to detect cases where we shouldn't expand "<<" to a heredoc
4225 skeleton.
4226
4227 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4230 (eldoc--message-command-p): New function.
4231 (eldoc-display-message-p): Use it.
4232 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4233 message is not automatically erased for us.
4234 (eldoc-print-current-symbol-info): Erase previous message, if any.
4235
4236 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4237
4238 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4239 specify it's an interactive function.
4240
4241 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4242 Fix regex used for scanning for citation keys which failed for
4243 citations with optional arguments.
4244
4245 2014-01-21 Leo Liu <sdl.web@gmail.com>
4246
4247 * simple.el (read--expression): Don't enable eldoc-mode.
4248
4249 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * simple.el (move-beginning-of-line): Make sure we don't move forward
4252 (bug#16497).
4253
4254 2014-01-20 Juri Linkov <juri@jurta.org>
4255
4256 * saveplace.el (toggle-save-place, save-place-to-alist)
4257 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4258 'dired-mode) before checking for dired-directory. (Bug#16477)
4259
4260 2014-01-20 Juri Linkov <juri@jurta.org>
4261
4262 * indent.el (indent-line-to): Use backward-to-indentation
4263 instead of back-to-indentation. (Bug#16461)
4264
4265 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4266
4267 Revert some of the CANNOT_DUMP fix (Bug#16494).
4268 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4269 but fixing this can wait until after the next release.
4270 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4271
4272 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4275 Use `password-word-equivalents'.
4276 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4277 to t. (Bug#5664, Bug#13124)
4278
4279 2014-01-19 Alan Mackenzie <acm@muc.de>
4280
4281 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4282 points.
4283 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4284 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4285 * progmodes/cc-mode.el (c-before-change, c-after-change)
4286 (c-font-lock-fontify-region): Bind it here.
4287
4288 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4289
4290 * term.el (term-window-width): Call window-text-width instead of
4291 window-width (Bug#16470).
4292
4293 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4294
4295 * simple.el (password-word-equivalents): Remove duplicates.
4296 Sort, to make this easier next time.
4297 Downcase. Omit ": " after "jelszó".
4298
4299 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4300
4301 * term/common-win.el (saved-region-selection): Defvar it.
4302 (x-select-text): Set saved-region-selection (Bug#16382).
4303
4304 2014-01-18 Glenn Morris <rgm@gnu.org>
4305
4306 * emacs-lisp/authors.el (authors-aliases)
4307 (authors-renamed-files-alist): Add some entries.
4308
4309 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * net/tramp.el (tramp-password-prompt-regexp):
4312 Use `password-word-equivalents' if available.
4313 (tramp-action-password, tramp-process-one-action)
4314 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4315
4316 2014-01-17 Chong Yidong <cyd@gnu.org>
4317
4318 * simple.el (password-word-equivalents): New defcustom.
4319 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4320 to 24.4.
4321 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4322 to t. (Bug#13124)
4323
4324 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4325
4326 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4327 (ruby-align-to-stmt-keywords): Change the default value.
4328 Use `ruby-alignable-keywords' to generate the possible customization
4329 choices.
4330 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4331 keywords, check against the value of `ruby-alignable-keywords'
4332 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4333
4334 2014-01-17 Glenn Morris <rgm@gnu.org>
4335
4336 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4337
4338 Make M-x authors return zero *Authors Errors* from current logs.
4339 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4340 (authors-ignored-files): Add some entries, remove others.
4341 (authors-ambiguous-files, authors-valid-file-names):
4342 Add some entries.
4343 (authors-renamed-files-alist): Add, remove, and adjust entries.
4344 (authors-renamed-files-regexps): Add some entries.
4345 Remove some very broad ones. Make some entries `lax'.
4346 (authors-lax-changelogs): New constant.
4347 (authors-disambiguate-file-name): Treat top-level specially.
4348 (authors-lax-changelog-p): New function.
4349 (authors-canonical-file-name): Check file as written against
4350 authors-valid-file-names. Do not special-case etc/.
4351 Handle `lax' logs and authors-renamed-files-regexps elements.
4352
4353 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4354
4355 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4356 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4357 callers.
4358
4359 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4362 Assume we're already in the proper buffer.
4363 Inspired by Anders Lindgren <andlind@gmail.com>.
4364 (follow-post-command-hook): Call it from the right buffer.
4365 (follow-comint-scroll-to-bottom): Adjust call.
4366 (follow-all-followers): Use get-buffer-window-list.
4367
4368 2014-01-15 Daniel Colascione <dancol@dancol.org>
4369
4370 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4371 `buffer-file-name' in interactive-form so that we don't leave
4372 pathless file names in `file-name-history'.
4373
4374 2014-01-15 Juri Linkov <juri@jurta.org>
4375
4376 * indent.el (indent-rigidly): Set deactivate-mark to nil
4377 in transient indentation mode. (Bug#16438)
4378
4379 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4380
4381 * emacs-lisp/package.el (package-desc-keywords): New function
4382 (Bug#16222).
4383 (describe-package-1, package-all-keywords)
4384 (package--has-keyword-p): Use it.
4385
4386 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4387
4388 * simple.el (define-alternatives): When creating the
4389 COMMAND-alternatives variable, assign COMMAND as its definition
4390 name so that `describe-variable' can relocate it.
4391
4392 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4393
4394 * font-lock.el (font-lock-keywords): Fix typo in docstring
4395 (bug#16307).
4396
4397 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4398
4399 * ispell.el (ispell-region): Reset `in-comment' for new line
4400 instead of wrongly reset `add-coment' (bug#13577).
4401
4402 2014-01-14 Daiki Ueno <ueno@gnu.org>
4403
4404 * epa-file.el (epa-file-write-region): Encode the region according
4405 to `buffer-file-format'. Problem reported at:
4406 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4407
4408 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4411 so it applies in the right buffer (bug#16410).
4412
4413 2014-01-13 Daniel Colascione <dancol@dancol.org>
4414
4415 * textmodes/rst.el (rst-define-key): Provide deprecated
4416 keybindings through named functions instead of anonymous ones so
4417 that "??" doesn't appear in describe-mode output.
4418
4419 2014-01-13 Bastien Guerry <bzg@gnu.org>
4420
4421 * simple.el (define-alternatives): Call the selected command
4422 interactively. When setting `COMMAND--implementation' for the
4423 first time, tell the user how to chose another implementation.
4424 Enhance the docstring.
4425
4426 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4429 (log-edit--match-first-line): New function.
4430 (log-edit-font-lock-keywords): Use it.
4431 (log-edit-mode): Make jit-lock-defer-multiline work.
4432
4433 2014-01-13 Bastien Guerry <bzg@gnu.org>
4434
4435 * rect.el (rectangle-mark-mode): When the region is not active,
4436 display a message saying that the mark as been set and that
4437 rectangle mode is in use.
4438 (rectangle--highlight-for-redisplay): Only put an overlay with a
4439 visible vertical bar when (display-graphic-p) is non-nil.
4440 This partially fixes Bug#16403.
4441
4442 2014-01-13 Juri Linkov <juri@jurta.org>
4443
4444 * info.el (Info-find-file): Go to DIR before displaying the error
4445 about a nonexistent file if no previous Info file is visited.
4446 Use `user-error' instead of `error' for "Info file %s does not exist".
4447 (Info-find-node-2): In case of a nonexistent node in unwind forms
4448 go to the Top node if there is no previous node to revert to.
4449 (Bug#16405)
4450
4451 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4452
4453 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4454 * window.el (fit-frame-to-buffer): Fix doc-string.
4455 Respect window-min-height/-width. Fit pixelwise when
4456 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4457 when avoiding that frame goes partially off-screen.
4458 (fit-window-to-buffer): Respect window-min-height/-width
4459 (Bug#14096).
4460
4461 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4464 after an empty line.
4465
4466 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * net/shr.el (shr-render-region): Autoload.
4469
4470 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4471
4472 * net/eww.el (eww-download-directory): Rename from
4473 `eww-download-path' (Bug#16419).
4474
4475 2014-01-12 Leo Liu <sdl.web@gmail.com>
4476
4477 * dired-x.el (dired-mode-map): Fix last change.
4478
4479 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4480
4481 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4482
4483 Spelling fixes.
4484 * emacs-lisp/generic.el (generic--normalize-comments):
4485 Rename from generic--normalise-comments. All uses changed.
4486 * play/bubbles.el (bubbles--neighborhood-score)
4487 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4488 (bubbles--neighborhood-available)
4489 (bubbles--update-neighborhood-score):
4490 Rename from names with 'neighbourhood'. All uses changed.
4491
4492 2014-01-12 Leo Liu <sdl.web@gmail.com>
4493
4494 Re-implement the feature of showing eldoc info after editing.
4495 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4496 (eldoc-edit-message-commands): New function.
4497 (eldoc-print-after-edit): New variable.
4498 (eldoc-pre-command-refresh-echo-area): Emit message only by
4499 eldoc-message-commands.
4500 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4501 if eldoc-print-after-edit is set. (Bug#16346)
4502 * simple.el (read--expression): Enable eldoc-mode.
4503 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4504
4505 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4506 Eric S. Raymond <esr@thyrsus.com>
4507
4508 * version.el (emacs-repository-get-version): Enhance so the
4509 function works correctly in either a Bazaar or Git repo.
4510
4511 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4512
4513 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4514 Goes with removal of the joke manpages from /etc.
4515
4516 2014-01-10 Kenichi Handa <handa@gnu.org>
4517
4518 * mail/rmail.el (rmail-get-coding-system):
4519 Check rmail-get-coding-function before "funcall"ing it.
4520
4521 2014-01-10 Glenn Morris <rgm@gnu.org>
4522
4523 * emacs-lisp/authors.el (authors-fixed-entries):
4524 Update for files that no longer exist.
4525
4526 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4527
4528 * version.el (emacs-bzr-get-version): Restore compatibilty with
4529 24.3 (Tested).
4530
4531 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4532
4533 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4534 and Podfile.
4535
4536 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4537
4538 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4539
4540 2014-01-10 Chong Yidong <cyd@gnu.org>
4541
4542 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4543
4544 2014-01-10 Anders Lindgren <andlind@gmail.com>
4545
4546 * follow.el (follow-cache-command-list): Include right-char and
4547 left-char.
4548
4549 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4550
4551 Spelling fixes.
4552 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4553 * woman.el (woman-mark-horizontal-position):
4554 Rename from woman-mark-horizonal-position. Use changed.
4555
4556 2014-01-10 Glenn Morris <rgm@gnu.org>
4557
4558 * info.el (info-initialize): If running uninstalled, ensure our
4559 own info files are always found first, even if INFOPATH is set.
4560
4561 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4562
4563 2014-01-09 David Engster <deng@randomsample.de>
4564
4565 * emacs-lisp/eieio-custom.el:
4566 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4567 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4568 * emacs-lisp/eieio.el: Regenerate autoloads.
4569
4570 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4571
4572 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4573 following renames. (Bug#8756)
4574
4575 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4578 (bug#16382).
4579 (activate-mark): Add `no-tmm' argument.
4580 (set-mark, push-mark-command): Use it instead of running
4581 activate-mark-hook by hand.
4582
4583 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4584
4585 In preparation for the move to git, sanitize out some
4586 Bazaar-specific names.
4587
4588 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4589
4590 * version.el (emacs-bzr-version): Name changed to
4591 emacs-repository-version. Obsolete-variable alias made.
4592 * loadup.el: Follow through on this name change.
4593 * mail/emacsbug.el (report-emacs-bug): Factor out any
4594 assumption about the version control system in use.
4595
4596 2014-01-08 David Engster <deng@randomsample.de>
4597
4598 * help-fns.el (help-fns-describe-function-functions):
4599 New variable to call functions for augmenting help buffers.
4600 (describe-function-1): Remove explicit calls to
4601 `help-fns--compiler-macro', `help-fns--parent-mode' and
4602 `help-fns--obsolete'. Put them in above new variable instead, and
4603 call them through `run-hook-with-args'.
4604 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4605 `eieio-describe-class'. Not meant for interactive use anymore,
4606 but to augment existing help buffers. Remove optional second
4607 argument. Create proper button for file location.
4608 Rewrite function to use `insert' instead of `princ' and `prin1' where
4609 possible.
4610 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4611 (eieio-method-def, eieio-class-def): Move further up.
4612 (describe-method, describe-generic, eieio-describe-method):
4613 Remove aliases.
4614 (eieio-help-constructor, eieio-help-generic): Rename from
4615 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4616 Rewrite to use `insert' in the current buffer and use proper help
4617 buttons.
4618 (eieio-help-find-method-definition)
4619 (eieio-help-find-class-definition): Also accept symbols as
4620 arguments.
4621 (eieio-help-mode-augmentation-maybee): Remove.
4622 (eieio-describe-class-sb): Use `describe-function'.
4623 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4624 Add `eieio-help-generic' and `eieio-help-constructor'.
4625
4626 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4627
4628 Spelling fixes.
4629 * language/china-util.el (hz-ascii-designation):
4630 Rename from hz-ascii-designnation.
4631 (hz-ascii-designation): Rename from hz-ascii-designnation.
4632 All uses changed.
4633
4634 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4637 package-alist.
4638
4639 2014-01-08 Bastien Guerry <bzg@gnu.org>
4640
4641 * emacs-lisp/package.el (package-delete):
4642 Correctly delete the package from package-alist.
4643
4644 2014-01-08 Daiki Ueno <ueno@gnu.org>
4645
4646 * emacs-lisp/package.el (url-recreate-url): Declare.
4647 (url-http-target-url): Declare.
4648 (package-handle-response): Include requested URL in the error message.
4649 (package--check-signature): Don't re-signal errors from
4650 package--with-work-buffer. Suggested by Stefan Monnier.
4651
4652 2014-01-07 Bastien Guerry <bzg@gnu.org>
4653
4654 * minibuffer.el (completion--try-word-completion): When both a
4655 hyphen and a space are possible candidates for the character
4656 following a word, display both candidates. (Bug#15980)
4657
4658 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4659
4660 * window.el (balance-windows-2): While rounding don't give a
4661 window more than the remainder. Bug#16351, bug#16383.
4662
4663 2014-01-07 Glenn Morris <rgm@gnu.org>
4664
4665 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4666 (menu-bar-help-menu): Use view-external-packages instead.
4667
4668 2014-01-07 Bastien Guerry <bzg@gnu.org>
4669
4670 * emacs-lisp/package.el (package-delete): Also delete the package
4671 name from `package-alist', not its description only.
4672
4673 2014-01-07 Glenn Morris <rgm@gnu.org>
4674
4675 * help.el (view-external-packages):
4676 * menu-bar.el (menu-bar-help-extra-packages):
4677 Visit efaq.info rather than etc/MORE.STUFF.
4678
4679 2014-01-07 Juri Linkov <juri@jurta.org>
4680
4681 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4682 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4683
4684 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4685 that shadows RET. (Bug#16342)
4686
4687 2014-01-07 Chong Yidong <cyd@gnu.org>
4688
4689 * isearch.el (isearch-yank-char, isearch-yank-word)
4690 (isearch-yank-line): Doc fix.
4691
4692 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4695 * emacs-lisp/elint.el (elint-find-builtins):
4696 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4697 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4698 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4699 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4700 * apropos.el (apropos-safe-documentation):
4701 * subr.el (symbol-file): Remove redundant fboundp.
4702 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4703
4704 2014-01-06 Bastien Guerry <bzg@gnu.org>
4705
4706 * hl-line.el (global-hl-line-overlay): Make a local variable.
4707 (global-hl-line-overlays): New variable to store all overlays.
4708 (global-hl-line-mode): Don't delete overlays from the current
4709 buffer when `global-hl-line-sticky-flag' is non-nil.
4710 (global-hl-line-highlight): Add new overlays to
4711 `global-hl-line-overlays'.
4712 (global-hl-line-unhighlight-all): New function to delete all
4713 overlays when turning off `global-hl-line-mode'.
4714 This fixes Bug#16183.
4715
4716 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * subr.el (set-transient-map): Fix nested case and docstring.
4719
4720 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4721
4722 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4723 `Texinfo' entry.
4724
4725 2014-01-06 Daniel Colascione <dancol@dancol.org>
4726
4727 Fix defun navigation in vc log view.
4728
4729 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4730 like `beginning-of-defun'.
4731 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4732 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4733 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4734 (log-view-extract-comment): Call `log-view-current-entry' directly
4735 instead of relying on broken `log-view-beginning-of-defun' behavior.
4736
4737 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4738
4739 Spelling fixes.
4740 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4741 * emacs-lisp/debug.el (cancel-debug-on-entry):
4742 * epg.el (epg-error-to-string):
4743 * files.el (recover-file):
4744 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4745 * mail/emacsbug.el (report-emacs-bug-hook):
4746 * mail/sendmail.el (mail-recover):
4747 * ses.el (ses-yank-resize):
4748 * term/ns-win.el (ns-print-buffer):
4749 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4750 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4751 All uses changed.
4752 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4753
4754 2014-01-06 Leo Liu <sdl.web@gmail.com>
4755
4756 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4757 to avoid shadowing global key. (Bug#16354)
4758
4759 2014-01-06 Daniel Colascione <dancol@dancol.org>
4760
4761 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4762 rst-mode.
4763
4764 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4765
4766 * window.el (balance-windows): Add mising t to fix Bug#16351.
4767
4768 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769
4770 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4771 (bug#16285).
4772 (shr-insert): If we have a word that's longer than `shr-width',
4773 break after it anyway. Otherwise we'll do no breaking once we get
4774 such a long word.
4775
4776 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4777
4778 * net/eww.el (eww): Support single/double quote for search.
4779 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4780 (eww-history-quit): Delete and use quit-window.
4781 (eww-history-kill): Delete, because it doesn't work well and
4782 not necessary.
4783 (eww-history-mode-map): Delete some keys and add easy-menu.
4784
4785 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4786
4787 Fix misspelling of 'chinese' in rx (Bug#16237).
4788 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4789 chinese-two-byte.
4790
4791 Change subword regexps back to vars (Bug#16296).
4792 * progmodes/subword.el (subword-forward-regexp)
4793 (subword-backward-regexp): Change these back to variables.
4794
4795 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4798 syntax-begin-function (bug#16247).
4799
4800 2014-01-03 Chong Yidong <cyd@gnu.org>
4801
4802 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4803 (advice--docstring): Delete variable.
4804 (advice--make-1): Leave the docstring empty.
4805 (advice-add): Use function-documentation for advised docstring.
4806
4807 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4808 Ignore function-documentation property when getting documentation.
4809 (ad-activate-advised-definition): Use function-documentation
4810 generate the docstring.
4811 (ad-make-advised-definition): Don't call
4812 ad-make-advised-definition-docstring.
4813 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4814 Delete functions.
4815
4816 * progmodes/sql.el (sql-help): Use function-documentation instead
4817 of dynamic-docstring-function property. No need to autoload now.
4818 (sql--help-docstring): New variable.
4819 (sql--make-help-docstring): Use it.
4820
4821 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * ielm.el (ielm-tab): Retarget.
4824 (ielm-map): Use ielm-tab for tab.
4825 (ielm-complete-filename): Use comint-filename-completion.
4826 (ielm-complete-symbol): Remove.
4827 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4828 remove ielm-tab from completion-at-point-functions (bug#16224).
4829
4830 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4831 Beware signals raised by predicates (bug#16201).
4832
4833 2014-01-02 Richard Stallman <rms@gnu.org>
4834
4835 * dired-aux.el (dired-do-print): Handle printer-name.
4836
4837 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4838 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4839 (rmail-epa-decrypt): Turn off mime processing.
4840
4841 * mail/rmail.el (rmail-make-in-reply-to-field):
4842 Add parens in message-id.
4843
4844 * mail/rmail.el (rmail-get-coding-function): Variable.
4845 (rmail-get-coding-system): Use it.
4846
4847 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4848
4849 * international/mule-conf.el: Unify the charset indian-is13194.
4850 (indian-is13194): Specify unify-map.
4851
4852 2013-12-31 Leo Liu <sdl.web@gmail.com>
4853
4854 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4855
4856 2013-12-30 Daniel Colascione <dancol@dancol.org>
4857
4858 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4859 of printing a useless when we resume from sleep.
4860
4861 * progmodes/sh-script.el
4862 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4863 in indentation code. (Bug#16233)
4864
4865 2013-12-28 João Távora <joaotavora@gmail.com>
4866
4867 * elec-pair.el (electric-pair-post-self-insert-function):
4868 Don't open extra newlines at beginning of buffer. (Bug#16272)
4869
4870 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4871
4872 * frame.el (window-system-for-display): Don't allow to create a
4873 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4874
4875 2013-12-28 Glenn Morris <rgm@gnu.org>
4876
4877 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4878 Update callers.
4879
4880 * apropos.el (apropos-match-face):
4881 * calculator.el (calculator-displayer):
4882 * dabbrev.el (dabbrev-search-these-buffers-only):
4883 * face-remap.el (buffer-face-mode-face):
4884 * simple.el (yank-handled-properties):
4885 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4886 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4887 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4888 (hashcash-double-spend-database):
4889 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4890 (ruby-deep-indent-paren-style):
4891 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4892 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4893 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4894 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4895 Specify custom types.
4896
4897 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4898 * bookmark.el (bookmark-bmenu-use-header-line):
4899 * doc-view.el (doc-view-scale-internally):
4900 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4901 * register.el (register-preview-delay):
4902 * net/shr.el (shr-bullet):
4903 * progmodes/cfengine.el (cfengine-cf-promises)
4904 (cfengine-parameters-indent):
4905 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4906 * textmodes/reftex-vars.el (reftex-label-regexps):
4907 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4908
4909 * net/tls.el (tls-certtool-program): Fix default value.
4910
4911 * desktop.el (desktop-restore-in-current-display):
4912 * newcomment.el (comment-empty-lines):
4913 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4914 (idlwave-pad-keyword):
4915 * progmodes/tcl.el (tcl-tab-always-indent):
4916 * textmodes/reftex-vars.el (reftex-index-default-tag):
4917 * elec-pair.el (electric-pair-skip-whitespace):
4918 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4919
4920 * emacs-lisp/authors.el (authors-ignored-files)
4921 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4922
4923 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4924
4925 * shell.el (shell-dynamic-complete-command): Doc fix.
4926 (shell--command-completion-data): Shell completion now matches
4927 executable filenames from the current buffer's directory, on
4928 systems in which this behavior is the default (windows-nt, ms-dos).
4929
4930 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4931
4932 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4933
4934 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4937 (bug#16251).
4938
4939 * electric.el: Move all electric-pair-* to elec-pair.el.
4940 * elec-pair.el: New file, split from electric.el.
4941
4942 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4943
4944 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4945 indentation level is larger than the width, because that will
4946 infloop.
4947 (shr-insert): Fill repeatedly long texts, so that Japanese is
4948 formatted correctly (bug#16263).
4949 (shr-find-fill-point): Off by one error in comparison with the
4950 indentation.
4951
4952 2013-12-26 João Távora <joaotavora@gmail.com>
4953
4954 * electric.el (electric-pair-mode): More flexible engine for skip-
4955 and inhibit predicates, new options for pairing-related functionality.
4956 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4957 if that keeps or improves their balance in buffers.
4958 (electric-pair-delete-adjacent-pairs): Delete the pair when
4959 backspacing over adjacent matched delimiters.
4960 (electric-pair-open-extra-newline): Open extra newline when
4961 inserting newlines between adjacent matched delimiters.
4962 (electric--sort-post-self-insertion-hook):
4963 Sort post-self-insert-hook according to priority values when
4964 minor-modes are activated.
4965 * simple.el (newline-and-indent): Call newline with interactive
4966 set to t.
4967 (blink-paren-post-self-insert-function): Set priority to 100.
4968 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4969 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4970 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4971 electric-pair-open-newline-between-pairs to nil.
4972
4973 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4974
4975 * progmodes/python.el: Use lexical-binding.
4976 (python-nav-beginning-of-defun): Stop searching ASAP.
4977
4978 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4979
4980 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4981 Fix interactive spec. Doc fix. (Bug#15754)
4982
4983 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4984
4985 * emacs-lisp/byte-run.el (eval-when-compile):
4986 * progmodes/cc-defs.el (cc-eval-when-compile):
4987 Fix edebug spec (bug#16184).
4988
4989 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4990
4991 * net/shr.el (shr-visit-file): Remove debugging function.
4992 (shr-insert): Don't infloop if we can't find a good place to break
4993 the line (bug#16256).
4994
4995 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4996
4997 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4998 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4999 python-nav-lisp-forward-sexp-safe.
5000 (python-nav--forward-sexp): New argument SAFE allows switching
5001 forward sexp movement behavior for parens.
5002 (python-nav-forward-sexp): Throw errors on unterminated parens
5003 (Bug#16191).
5004 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5005 (python-nav-backward-sexp-safe): New functions.
5006 (python-shell-buffer-substring):
5007 Use `python-nav-forward-sexp-safe'.
5008
5009 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5010
5011 * net/shr.el (shr-find-fill-point): Don't break lines before a
5012 quotation mark.
5013 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5014 (shr-find-fill-point): Remove the special checks for the quotation
5015 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5016
5017 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5018
5019 * net/eww.el (eww-form-textarea): Use a different face for
5020 textareas than text input since they have different keymaps
5021 (bug#16142).
5022
5023 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5024
5025 * progmodes/python.el (python-nav-beginning-of-statement):
5026 Speed up (Bug#15295).
5027
5028 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5029
5030 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5031 the window configuration.
5032
5033 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5034
5035 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5036 we run on MS-Windows or MS-DOS.
5037
5038 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5039
5040 * window.el (balance-windows-area): Call window-size instead of
5041 window-height and window-width. Bug#16241.
5042
5043 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5044
5045 * net/eww.el (eww-bookmark-quit): Remove.
5046 (eww-bookmark-browse): Restore the window configuration when you
5047 choose a bookmark (bug#16144).
5048
5049 2013-12-24 Daniel Colascione <dancol@dancol.org>
5050
5051 * icomplete.el: Remove redundant :group arguments to `defcustom'
5052 throughout.
5053 (icomplete-show-matches-on-no-input): New customizable variable.
5054 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5055 we have something to show.
5056 (icomplete-exhibit): Compute completions even if we have no user input.
5057
5058 2013-12-23 Daniel Colascione <dancol@dancol.org>
5059
5060 * icomplete.el: Move `provide' to end of file.
5061
5062 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5063
5064 * net/gnutls.el (gnutls-verify-error): Add version tag.
5065
5066 2013-12-23 Chong Yidong <cyd@gnu.org>
5067
5068 * subr.el (set-transient-map): Rename from
5069 set-temporary-overlay-map. Doc fix.
5070
5071 * face-remap.el (text-scale-adjust):
5072 * indent.el (indent-rigidly):
5073 * kmacro.el (kmacro-call-macro):
5074 * minibuffer.el (minibuffer-force-complete):
5075 * repeat.el (repeat):
5076 * simple.el (universal-argument--mode):
5077 * calendar/todo-mode.el (todo-insert-item--next-param):
5078 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5079
5080 * indent.el (indent-rigidly): Use substitute-command-keys.
5081
5082 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5083
5084 * net/eww.el (eww-tag-select): Add text-property to jump to next
5085 select field.
5086 (eww): Add non-supported ftp error.
5087
5088 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5089
5090 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5091 comments. Handle electric indent after typing `?' and `!'.
5092
5093 2013-12-22 Chong Yidong <cyd@gnu.org>
5094
5095 * faces.el (face-spec-recalc): If the theme specs are not
5096 applicable to a frame, fall back on the defface spec.
5097 This prevents themes from obliterating faces on low-color terminals.
5098
5099 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5100
5101 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5102 after `{'. We need it after block openers, and it doesn't seem
5103 to hurt after hash openers.
5104
5105 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5106
5107 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5108 extracted from `ruby-smie-rules'.
5109 (ruby--electric-indent-chars): New variable.
5110 (ruby--electric-indent-p): New function.
5111 (ruby-mode): Use `electric-indent-functions' instead of
5112 `electric-indent-chars'.
5113
5114 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5115
5116 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5117 docstring.
5118 (ruby-smie-rules): Indent plus one level after `=>'.
5119
5120 2013-12-21 Richard Stallman <rms@gnu.org>
5121
5122 * simple.el (newline): Doc fix.
5123
5124 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5125
5126 * net/eww.el (eww-list-histories, eww-list-histories)
5127 (eww-history-browse, eww-history-quit, eww-history-kill)
5128 (eww-history-mode-map, eww-history-mode): New command and
5129 functions to list browser histories.
5130 (eww-form-text): Support text form with disabled
5131 and readonly attributes.
5132 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5133
5134 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5135
5136 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5137 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5138 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5139 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5140 Use `user-error'.
5141 (eww-bookmark-mode-map): Add menu.
5142 (eww-render, eww-mode): Use `setq-local'.
5143 (eww-tool-bar-map): New variable.
5144 (eww-mode): Set `tool-bar-map'.
5145 (eww-view-source): Check for `html-mode' with `fboundp'.
5146
5147 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
5149 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5150 elements with text inside. Also remove debugging.
5151
5152 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5153
5154 * cus-start.el (all): Add ns-use-srgb-colorspace.
5155
5156 2013-12-21 Chong Yidong <cyd@gnu.org>
5157
5158 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5159 undefined. Thus, theme settings for undefined faces do not take
5160 effect until the faces are defined with defface, the same as with
5161 theme variables.
5162
5163 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5164 (face-spec-reset-face): Don't assign extra properties in temacs.
5165 (face-spec-recalc): Apply X resources too.
5166
5167 2013-12-21 Chong Yidong <cyd@gnu.org>
5168
5169 * faces.el (face-spec-set):
5170 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5171 * custom.el (defface): Doc fixes (Bug#16203).
5172
5173 * indent.el (indent-rigidly-map): Add docstring, and move commands
5174 into named functions.
5175 (indent-rigidly-left, indent-rigidly-right)
5176 (indent-rigidly-left-to-tab-stop)
5177 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5178 indentation direction based on bidi direction, and accumulate
5179 sequential commands in a single undo boundary.
5180 (indent-rigidly--pop-undo): New utility function.
5181
5182 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * faces.el (read-face-name): Require crm.el when using crm-separator.
5185
5186 2013-12-20 Daniel Colascione <dancol@dancol.org>
5187
5188 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5189 so that we don't reflow comments into the shebang line.
5190
5191 2013-12-20 Juri Linkov <juri@jurta.org>
5192
5193 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5194 a position when `dired-directory' is non-nil. Check integer
5195 positions with `integerp'.
5196 (toggle-save-place, save-places-to-alist): Add check for
5197 `dired-directory'.
5198 (save-place-find-file-hook): Check integer positions with
5199 `integerp'.
5200 (save-place-dired-hook): Use `dired-goto-file' when
5201 `dired-filename' is found in the assoc list. Check integer
5202 positions with `integerp'.
5203 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5204
5205 * dired.el (dired-initial-position-hook): Rename back from
5206 `dired-initial-point-hook'.
5207 (dired-initial-position): Rename `dired-initial-point-hook' to
5208 `dired-initial-position-hook'.
5209 (dired-file-name-at-point): Doc fix. (Bug#15329)
5210
5211 2013-12-20 Juri Linkov <juri@jurta.org>
5212
5213 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5214 (read-regexp-suggestions): New function.
5215 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5216 Use `read-regexp-suggestions'. Add non-empty default to history
5217 for empty input.
5218 (occur-read-regexp-defaults-function): Remove function.
5219 (occur-read-primary-args): Use `regexp-history-last' instead of
5220 `occur-read-regexp-defaults-function'.
5221
5222 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5223 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5224 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5225 `hi-lock-read-regexp-defaults-function'. Doc fix.
5226 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5227 with `find-tag-default-as-symbol-regexp'. Doc fix.
5228 (hi-lock-read-regexp-defaults): Remove function.
5229 (hi-lock-regexp-okay): Add check for null.
5230
5231 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5232 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5233
5234 * subr.el (find-tag-default-as-symbol-regexp): New function.
5235 (find-tag-default-as-regexp): Move symbol regexp formatting to
5236 `find-tag-default-as-symbol-regexp'.
5237
5238 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5239
5240 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5241 (Bug#14179)
5242
5243 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5244
5245 * calendar/todo-mode.el: New implementation of item insertion
5246 commands and key bindings.
5247 (todo-key-prompt): New face.
5248 (todo-insert-item): New command.
5249 (todo-insert-item--parameters): New defconst, replacing defvar
5250 todo-insertion-commands-args-genlist.
5251 (todo-insert-item--param-key-alist): New defconst, replacing
5252 defvar todo-insertion-commands-arg-key-list.
5253 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5254 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5255 (todo-insert-item--next-param): New functions.
5256 (todo-insert-item--args, todo-insert-item--argleft)
5257 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5258 New variables.
5259 (todo-key-bindings-t): Change binding of "i" from
5260 todo-insertion-map to todo-insert-item.
5261 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5262 (todo-insertion-command-name, todo-insertion-commands-names)
5263 (todo-define-insertion-command, todo-insertion-commands)
5264 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5265
5266 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5267
5268 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5269 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5270 eval-when-compile.
5271 (todo-move-category): Allow choosing a non-existing todo file to
5272 move the category to, and create that file.
5273 (todo-default-priority): New user option.
5274 (todo-set-item-priority): Use it.
5275 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5276 (desktop-restore-file-buffer): Declare.
5277 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5278 (todo-modes-set-2): Locally set desktop-save-buffer to
5279 todo-desktop-save-buffer.
5280 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5281 (auto-mode-alist): Add autoload cookie.
5282
5283 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5284
5285 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5286 helpers.el was a poor choice of name.
5287 (string-remove-prefix): New function.
5288 (string-remove-suffix): New function.
5289
5290 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5291
5292 Fix assignment for new window total sizes.
5293 * window.el (window--pixel-to-size): Remove function.
5294 (window--pixel-to-total-1, window--pixel-to-total):
5295 Fix calculation of new total sizes.
5296
5297 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5298
5299 * comint.el (comint-output-filter): Fix rear-nonsticky property
5300 placement (Bug#16010).
5301
5302 2013-12-20 Chong Yidong <cyd@gnu.org>
5303
5304 * faces.el (read-color): Minor fix for completion function.
5305
5306 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5307
5308 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5309 New option. (Bug#16182)
5310 (ruby-smie--indent-to-stmt-p): Use it.
5311 (ruby-smie-rules): Revert the logic in the handling of `when'.
5312 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5313 (ruby-deep-arglist, ruby-deep-indent-paren)
5314 (ruby-deep-indent-paren-style): Update docstrings to note that the
5315 vars don't have any effect with SMIE.
5316
5317 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5318
5319 * calc/calc.el (calc-enter, calc-pop): Use the variable
5320 `calc-context-sensitive-enter'.
5321
5322 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5323
5324 * net/shr.el (shr-insert): Protect against infloops in degenerate
5325 tables.
5326
5327 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5328
5329 * progmodes/octave.el (octave): Add link to manual and octave
5330 homepage.
5331 (octave-mode-menu): Link to octave-mode manual.
5332
5333 2013-12-20 Leo Liu <sdl.web@gmail.com>
5334
5335 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5336 insertion using skeleton-end-newline. (Bug#16138)
5337
5338 2013-12-20 Juri Linkov <juri@jurta.org>
5339
5340 * replace.el (occur-engine): Use `add-face-text-property'
5341 to add the face property to matches and titles. (Bug#14645)
5342
5343 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5344 the palette of other hi-lock colors.
5345 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5346
5347 2013-12-19 Juri Linkov <juri@jurta.org>
5348
5349 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5350 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5351 (minibuffer-history-symbol): Move variable declaration closer to
5352 its usage.
5353
5354 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5355 (Bug#14785)
5356
5357 2013-12-19 Juri Linkov <juri@jurta.org>
5358
5359 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5360 New function.
5361 (log-edit-hook): Add it to :options. (Bug#16170)
5362
5363 2013-12-19 Juri Linkov <juri@jurta.org>
5364
5365 * simple.el (eval-expression-print-format): Don't check for
5366 command names and the last command. Always display additional
5367 formats of the integer result in the echo area, and insert them
5368 to the current buffer only with a zero prefix arg.
5369 Display character when char-displayable-p is non-nil.
5370 (eval-expression): With a zero prefix arg, set `print-length' and
5371 `print-level' to nil, and insert the integer values from
5372 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5373
5374 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5375 `eval-last-sexp-arg-internal'. Doc fix.
5376 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5377 `eval-last-sexp-print-value'. Doc fix.
5378 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5379 Set `print-length' and `print-level' to nil when arg is zero.
5380 (eval-last-sexp): Doc fix.
5381 (eval-defun-2): Print the integer values from
5382 `eval-expression-print-format' at the end.
5383
5384 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5385 values from `eval-expression-print-format' at the end.
5386
5387 * ielm.el (ielm-eval-input): Print the integer
5388 values from `eval-expression-print-format' at the end.
5389
5390 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5391
5392 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5393 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5394
5395 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5398 (hl-line-highlight, global-hl-line-highlight): Use it.
5399 (hl-line-overlay): Use defvar-local.
5400
5401 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5402
5403 * term/ns-win.el: Require dnd.
5404 (global-map): Remove drag items.
5405 (ns-insert-text, ns-set-foreground-at-mouse)
5406 (ns-set-background-at-mouse):
5407 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5408 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5409 New functions.
5410
5411 2013-12-19 Glenn Morris <rgm@gnu.org>
5412
5413 * emacs-lisp/ert.el (ert-select-tests):
5414 Fix string/symbol mixup. (Bug#16121)
5415
5416 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5417
5418 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5419 keywords to their parent.
5420
5421 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5422
5423 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5424 first arg to be a string (fixed dead code), or an operator symbol.
5425 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5426 operator symbols.
5427 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5428 did nothing. Don't respond to `(:after ".")', it will be called
5429 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5430 change anything. Only return indentation for binary operators
5431 when they are hanging. De-dent opening paren when its parent is
5432 `.', otherwise it looks bad when the dot is not at bol or eol
5433 (bug#16182).
5434
5435 2013-12-19 Juri Linkov <juri@jurta.org>
5436
5437 * replace.el (query-replace-read-args): Split a non-negative arg
5438 and a negative arg into separate elements.
5439 (query-replace, query-replace-regexp, replace-string)
5440 (replace-regexp): Add arg `backward'. Doc fix.
5441 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5442 move point to the beginning of the match.
5443 (replace-search, replace-highlight): Use new arg `backward'
5444 to set the value of `isearch-forward'.
5445 (perform-replace): Add arg `backward' and use it to perform
5446 replacement backward. (Bug#14979)
5447
5448 * isearch.el (isearch-query-replace): Use a negative prefix arg
5449 to call `perform-replace' with a non-nil arg `backward'.
5450
5451 2013-12-18 Juri Linkov <juri@jurta.org>
5452
5453 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5454 to the default list. Move `log-edit-show-files' to the end.
5455 Add more available functions to options.
5456 (log-edit): Move default specific settings to
5457 `log-edit-insert-message-template'. Don't move point.
5458 (log-edit-insert-message-template): New function.
5459 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5460 (Bug#16170)
5461
5462 2013-12-18 Juri Linkov <juri@jurta.org>
5463
5464 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5465 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5466
5467 2013-12-18 Leo Liu <sdl.web@gmail.com>
5468
5469 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5470 (Bug#16186)
5471
5472 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5473
5474 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5475 formats for displaying file sizes when the -s switch is given.
5476 Instead, compute a separate format for displaying the size in
5477 blocks, which is displayed in addition to the "regular" size.
5478 When -h is given in addition to -s, produce size in blocks in
5479 human-readable form as well. (Bug#16179)
5480
5481 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5482
5483 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5484 Reference tables with ~\ref{...} instead of only \ref{...}.
5485
5486 2013-12-18 Chong Yidong <cyd@gnu.org>
5487
5488 * cus-edit.el (custom-magic-alist): Fix "themed" description
5489 (Bug#14348).
5490
5491 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5492 is non-nil, do not create a new entry in the symbol's theme-value
5493 or theme-face property; update theme-settings only (Bug#14664).
5494 (custom-available-themes): Doc fix.
5495
5496 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5497 (Bug#15674).
5498
5499 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5500
5501 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5502
5503 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5504 (Bug#13914).
5505
5506 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5507
5508 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5509
5510 2013-12-18 Glenn Morris <rgm@gnu.org>
5511
5512 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5513 * cus-start.el (load-prefer-newer): New option.
5514
5515 2013-12-18 Le Wang <l26wang@gmail.com>
5516
5517 * comint.el (comint-previous-matching-input-from-input):
5518 Retain point (Bug#13404).
5519
5520 2013-12-18 Chong Yidong <cyd@gnu.org>
5521
5522 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5523
5524 2013-12-18 Glenn Morris <rgm@gnu.org>
5525
5526 * mail/emacsbug.el (report-emacs-bug):
5527 Only mention enable-multibyte-characters if non-standard.
5528
5529 2013-12-17 Juri Linkov <juri@jurta.org>
5530
5531 * arc-mode.el (archive-extract-by-file): Check if directory exists
5532 before deletion to not show irrelevant errors if it doesn't exist.
5533
5534 2013-12-17 Juri Linkov <juri@jurta.org>
5535
5536 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5537 (Bug#14751)
5538
5539 * net/eww.el (browse-web): Add alias to `eww'.
5540 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5541 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5542
5543 * net/browse-url.el (browse-url-browser-function): Move `eww'
5544 closer to similar functions.
5545
5546 * startup.el (fancy-startup-screen, fancy-about-screen):
5547 Set browse-url-browser-function to eww-browse-url locally.
5548 (Bug#14751)
5549
5550 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * window.el (window--pixel-to-total): Remove unused `mini' var.
5553 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5554 (split-window): Remove unused `new' var.
5555 (window--display-buffer): Remove unused `frame' and `delta' vars.
5556 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5557 and display-width'.
5558
5559 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5560
5561 * dired.el (dired-mark-pop-up):
5562 * register.el (register-preview): Don't bind
5563 split-height-threshold here since it's now done in
5564 display-buffer-below-selected.
5565
5566 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5567
5568 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5569 xterm-rgb-convert-to-16bit.
5570 (rxvt-register-default-colors): Standardize with
5571 xterm-register-default-colors (Bug#14078).
5572
5573 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5574
5575 * simple.el (kill-region): Pass mark first, then point, so that
5576 kill-append works right (Bug#12819).
5577 (copy-region-as-kill, kill-ring-save): Likewise.
5578
5579 2013-12-17 Leo Liu <sdl.web@gmail.com>
5580
5581 * net/rcirc.el (rcirc-add-face):
5582 * eshell/em-prompt.el (eshell-emit-prompt):
5583 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5584 (Bug#16167)
5585
5586 2013-12-17 Chong Yidong <cyd@gnu.org>
5587
5588 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5589 Suggested by Xue Fuqiao.
5590
5591 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5592
5593 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5594
5595 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * net/shr.el (shr-insert-document): Remove unused var
5598 `shr-preliminary-table-render'.
5599 (shr-rescale-image): Remove unused arg `force'.
5600 (shr-put-image): Update calls accordingly.
5601 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5602
5603 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5604
5605 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5606 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5607 :close-all, to see which indentation method to use (Bug#16116).
5608 (smie-rules-function): Document the method :close-all.
5609
5610 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5611
5612 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5613
5614 * net/eww.el (eww-display-html): If we can't find the anchor we're
5615 looking for, then go to point-min.
5616
5617 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5618
5619 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5620 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5621 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5622 Expand dir too, in case it's relative.
5623
5624 2013-12-16 Juri Linkov <juri@jurta.org>
5625
5626 * desktop.el (desktop-auto-save-timeout): Change default to
5627 `auto-save-timeout'. Doc fix.
5628 (desktop-save): Skip the timestamp in desktop-saved-frameset
5629 when checking for auto-save changes.
5630 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5631 `desktop-auto-save' is called repeatedly by the idle timer.
5632 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5633 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5634 (Bug#15331)
5635
5636 2013-12-16 Juri Linkov <juri@jurta.org>
5637
5638 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5639 (Bug#16035)
5640 (isearch-pre-command-hook): Check `this-command' for symbolp.
5641
5642 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5645
5646 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5647
5648 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5649 (cfengine3--current-function): Bring in the current-function
5650 functionality from `cfengine3--current-word'.
5651 (cfengine3-completion-function): Bring in the
5652 bounds-of-current-word functionality from
5653 `cfengine3--current-word'.
5654
5655 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5656
5657 * window.el (display-buffer-below-selected):
5658 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5659
5660 2013-12-16 Leo Liu <sdl.web@gmail.com>
5661
5662 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5663 Remove NOMSG arg and all uses changed.
5664
5665 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5668 (cua--deactivate-rectangle): Don't deactivate the mark.
5669 (cua-set-rectangle-mark): Don't set mark-active since
5670 cua--activate-rectangle already does it for us.
5671 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5672 non-rectangular region.
5673
5674 * emulation/cua-base.el (cua-repeat-replace-region):
5675 Use with-current-buffer.
5676
5677 * net/gnutls.el: Use cl-lib.
5678 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5679
5680 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5681
5682 * emacs-lisp/package.el (package-built-in-p): Support both
5683 built-in and the package.el converted package descriptions.
5684 (package-show-package-list): Allow keywords.
5685 (package-keyword-button-action): Use it instead of
5686 `finder-list-matches'.
5687 (package-menu-filter-interactive): Interactive filtering (by
5688 keyword) function.
5689 (package-menu--generate): Support keywords and change keymappings
5690 and headers when they are given.
5691 (package--has-keyword-p): Helper function.
5692 (package-menu--refresh): Use it.
5693 (package--mapc): Helper function.
5694 (package-all-keywords): Use it.
5695 (package-menu-mode-map): Set up menu items and keybindings to
5696 provide a filtering UI.
5697
5698 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5699
5700 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5701 the behavior when a certificate fails validation. Defaults to
5702 old behavior: never abort, just warn.
5703 (gnutls-negotiate): Use it.
5704
5705 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5706
5707 * window.el (display-buffer-below-selected): Never split window
5708 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5709
5710 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5711
5712 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5713 (package-buffer-info): Use it (bug#15108).
5714
5715 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * icomplete.el (icomplete-completions): Make sure the prefix is already
5718 displayed elsewhere before hiding it (bug#16219).
5719
5720 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5721
5722 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5723 open-paren tokens when preceded by a open-paren, too.
5724 (ruby-smie-rules): Handle virtual indentation after open-paren
5725 tokens specially. If there is code between it and eol, return the
5726 column where is starts (Bug#16118).
5727
5728 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5729
5730 * progmodes/cfengine.el: Fix `add-hook' doc.
5731 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5732 (cfengine3--current-word): Fix parameters.
5733 (cfengine3-make-syntax-cache): Simplify further.
5734 (cfengine3-completion-function, cfengine3--current-function):
5735 Use `assq' for symbols.
5736 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5737
5738 2013-12-13 Glenn Morris <rgm@gnu.org>
5739
5740 * loadup.el (load-path): Warn if site-load or site-init changes it.
5741 No more need to reset it when bootstrapping.
5742
5743 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5744
5745 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5746 locations for cf-promises.
5747 (cfengine-mode-syntax-functions-regex): New caching variable.
5748 (cfengine3-fallback-syntax): Fallback syntax for cases where
5749 cf-promises doesn't run.
5750 (cfengine3--current-word): Reimplement using
5751 `cfengine-mode-syntax-functions-regex'.
5752 (cfengine3-completion-function, cfengine3--current-function):
5753 Use `cfengine3-make-syntax-cache' directly.
5754 (cfengine3-clear-syntax-cache): New function.
5755 (cfengine3-make-syntax-cache): Simplify and create
5756 `cfengine-mode-syntax-functions-regex' on demand.
5757 (cfengine3-format-function-docstring): Don't call
5758 `cfengine3-make-syntax-cache' explicitly.
5759
5760 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5761
5762 Fix windmove-find-other-window broken after pixelwise resizing
5763 (Bug#16017).
5764 * windmove.el (windmove-other-window-loc): Revert change from
5765 2013-12-04.
5766 (windmove-find-other-window): Call window-in-direction.
5767 * window.el (window-in-direction): New arguments SIGN, WRAP and
5768 MINI to emulate original windmove-find-other-window behavior.
5769
5770 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5771
5772 * simple.el (blink-matching--overlay): New variable.
5773 (blink-matching-open): Instead of moving point, highlight the
5774 matching paren with an overlay
5775 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5776
5777 * faces.el (paren-showing-faces, show-paren-match)
5778 (show-paren-mismatch): Move from paren.el.
5779
5780 2013-12-13 Leo Liu <sdl.web@gmail.com>
5781
5782 * indent.el (indent-region): Disable progress reporter in
5783 minibuffer. (Bug#16108)
5784
5785 * bindings.el (visual-order-cursor-movement): Fix version.
5786
5787 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5788
5789 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5790 Also match after beginning of line.
5791 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5792 files. Thanks to Russell Sim. (Bug#15378)
5793
5794 2013-12-13 Juri Linkov <juri@jurta.org>
5795
5796 * simple.el <Keypad support>: Remove key bindings duplicated
5797 with bindings.el. (Bug#14397)
5798
5799 2013-12-13 Juri Linkov <juri@jurta.org>
5800
5801 * comint.el (comint-mode-map): Replace `delete-char' with
5802 `delete-forward-char'. (Bug#16109)
5803
5804 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5805
5806 * progmodes/python.el (python-indent-calculate-indentation):
5807 Fix de-denters cornercase. (Bug#15731)
5808
5809 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5812 (advice--make): Pay attention to `depth'.
5813 (advice--make-1): Don't autoload commands eagerly.
5814 * emacs-lisp/elp.el (elp-instrument-function):
5815 * emacs-lisp/trace.el (trace-function-internal):
5816 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5817
5818 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5819
5820 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5821
5822 * term/w32-win.el (w32-handle-dropped-file):
5823 * startup.el (normal-top-level):
5824 * net/browse-url.el (browse-url-file-url):
5825 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5826 decode file names using 'utf-8' rather than
5827 file-name-coding-system.
5828
5829 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5830
5831 * progmodes/python.el (python-indent-context)
5832 (python-indent-calculate-indentation): Fix auto-identation
5833 behavior for comment blocks. (Bug#15916)
5834
5835 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5836
5837 * progmodes/python.el (python-indent-calculate-indentation):
5838 When determining indentation, don't treat "return", "pass", etc., as
5839 operators when they are just string constituents. (Bug#15812)
5840
5841 2013-12-12 Juri Linkov <juri@jurta.org>
5842
5843 * uniquify.el (uniquify-buffer-name-style): Change default to
5844 `post-forward-angle-brackets'.
5845
5846 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5847 `uniquify'. Change default to `post-forward-angle-brackets'.
5848
5849 2013-12-11 Glenn Morris <rgm@gnu.org>
5850
5851 * emacs-lisp/package.el (finder-list-matches):
5852 Autoload rather than falsely declaring.
5853
5854 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5855
5856 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5857 (eww-mode-map): Use them.
5858
5859 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5860
5861 * window.el (display-buffer-in-side-window): Fix doc-string
5862 (Bug#16115).
5863
5864 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5865
5866 * vc/vc-git.el: Silence byte-compiler warnings.
5867 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5868 (log-edit-set-header): Declare.
5869
5870 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5871
5872 * Makefile.in (custom-deps, finder-data): Run output file names
5873 through unmsys--file-name. (Bug#16099)
5874
5875 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5878 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5879
5880 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5881 instead of deleting the selection "by hand" (bug#16098).
5882 Rely on insert-for-yank to yank rectangles.
5883 (cua-highlight-region-shift-only): Mark obsolete.
5884 (cua-mode): Don't enable/disable transient-mark-mode,
5885 shift-select-mode (cua-mode works both with and without them), and
5886 pc-selection-mode (obsolete).
5887 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5888 (cua--deactivate-rectangle): Deactivate it.
5889
5890 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5891 (delete-selection-helper): Make sure yank starts at the top of the
5892 deleted region.
5893 (minibuffer-keyboard-quit): Use region-active-p.
5894
5895 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5896
5897 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5898 to `delete' (bug#16109).
5899
5900 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5901
5902 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5903 info manual and show keybindings and set `:group' keyword.
5904
5905 2013-12-11 Juri Linkov <juri@jurta.org>
5906
5907 * delsel.el (delete-active-region): Let-bind `this-command'
5908 to prevent `kill-region' from changing its original value.
5909 (delete-selection-helper): Handle `overwrite-mode' for the type
5910 `kill' exactly the same way as for the type `t'.
5911 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5912 Support more commands. (Bug#13312)
5913
5914 2013-12-11 Juri Linkov <juri@jurta.org>
5915
5916 * bindings.el: Map kp keys to non-kp keys systematically
5917 with basic modifiers control, meta and shift. (Bug#14397)
5918
5919 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5920
5921 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5922 "Close browser" menu items. Fix wrong function of "List
5923 bookmarks".
5924
5925 2013-12-11 Juri Linkov <juri@jurta.org>
5926
5927 * misearch.el (multi-isearch-buffers): Set the value of
5928 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5929 arg of isearch-forward to t.
5930 (multi-isearch-buffers-regexp): Set the value of
5931 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5932 arg of isearch-forward-regexp to t.
5933 (multi-isearch-files): Set the value of
5934 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5935 arg of isearch-forward to t.
5936 (multi-isearch-files-regexp): Set the value of
5937 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5938 arg of isearch-forward-regexp to t. (Bug#16035)
5939
5940 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5941 arg of isearch-forward to t.
5942 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5943 arg of isearch-forward-regexp to t.
5944 (dired-isearch-filter-filenames): Remove unnecessary check for
5945 `dired-isearch-filenames'.
5946
5947 * comint.el (comint-history-isearch-backward):
5948 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5949 (comint-history-isearch-backward-regexp):
5950 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5951
5952 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5953
5954 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5955 unmsys--file-name. (Bug#16099)
5956
5957 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5958
5959 * emacs-lisp/package.el (package-keyword-button-action):
5960 Remove finder.el require dependency.
5961
5962 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5963
5964 * emacs-lisp/package.el: Require finder.el.
5965 (describe-package-1): Add keyword buttons.
5966 (package-make-button): New convenience function.
5967 (package-keyword-button-action): Keyword button action using
5968 `finder-list-matches'.
5969
5970 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5971
5972 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5973 last commit.
5974
5975 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5976
5977 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5978 symlinked files.
5979
5980 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5981
5982 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5983 after the end of a percent literal.
5984
5985 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5986
5987 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5988 Handle caret-delimited strings (Bug#16079).
5989
5990 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5991
5992 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5993 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5994 `ruby-parse-partial' (Bug#16078).
5995
5996 2013-12-09 Leo Liu <sdl.web@gmail.com>
5997
5998 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5999
6000 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6001
6002 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6003 (js-switch-indent-offset): New option.
6004 (js--proper-indentation): Use it. And handle the case when
6005 "default" is actually a key in an object literal.
6006 (js--same-line): New function.
6007 (js--multi-line-declaration-indentation): Use it.
6008 (js--indent-in-array-comp, js--array-comp-indentation):
6009 New functions.
6010 (js--proper-indentation): Use them, to handle array comprehension
6011 continuations.
6012
6013 2013-12-08 Leo Liu <sdl.web@gmail.com>
6014
6015 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6016 (flymake-make-overlay): Remove arg MOUSE-FACE.
6017 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6018
6019 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6022 New function.
6023 (redisplay-highlight-region-function): Use it.
6024
6025 * emulation/cua-base.el (cua--explicit-region-start)
6026 (cua--last-region-shifted): Remove.
6027 (cua--deactivate): Use deactivate-mark.
6028 (cua--pre-command-handler-1): Don't handle shift-selection.
6029 (cua--post-command-handler-1): Don't change transient-mark-mode.
6030 (cua--select-keymaps): Use region-active-p rather than
6031 cua--explicit-region-start or cua--last-region-shifted.
6032 (cua-mode): Enable shift-select-mode.
6033
6034 2013-12-08 Leo Liu <sdl.web@gmail.com>
6035
6036 * progmodes/flymake.el (flymake-popup-current-error-menu):
6037 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6038 (flymake-posn-at-point-as-event, flymake-popup-menu)
6039 (flymake-make-emacs-menu): Remove. (Bug#16077)
6040
6041 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * rect.el (rectangle-mark-mode): Activate mark even if
6044 transient-mark-mode is off (bug#16066).
6045 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6046 is > mark and at bolp.
6047
6048 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6049 (region-extract-function): Use it.
6050 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6051 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6052 Delete functions.
6053 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6054 kill-ring-save, kill-region, delete-char, delete-forward-char.
6055 Ignore self-insert-iso.
6056
6057 * emulation/cua-gmrk.el (cua--init-global-mark):
6058 Ignore `self-insert-iso'.
6059
6060 * emulation/cua-base.el (cua--prefix-copy-handler)
6061 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6062 checking cua--rectangle.
6063 (cua-delete-region): Use region-extract-function.
6064 (cua-replace-region): Delete function.
6065 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6066 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6067 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6068 (cua--init-keymaps): Don't remap delete-selection commands.
6069 (cua-mode): Use delete-selection-mode instead of rolling our own
6070 (bug#16085).
6071
6072 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6073 Obey region-extract-function.
6074
6075 Make registers and delete-selection-mode work on rectangles.
6076 * register.el (describe-register-1): Don't modify the register's value.
6077 (copy-to-register): Obey region-extract-function.
6078 * delsel.el (delete-active-region): Obey region-extract-function.
6079
6080 2013-12-08 Leo Liu <sdl.web@gmail.com>
6081
6082 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6083 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6084 (flymake-compilation-prevents-syntax-check)
6085 (flymake-start-syntax-check-on-newline)
6086 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6087 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6088 (flymake-xml-program, flymake-master-file-dirs)
6089 (flymake-master-file-count-limit)
6090 (flymake-allowed-file-name-masks): Relocate.
6091 (flymake-makehash, flymake-float-time)
6092 (flymake-replace-regexp-in-string, flymake-split-string)
6093 (flymake-get-temp-dir): Remove.
6094 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6095 (flymake-current-row, flymake-selected-frame)
6096 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6097 related functions. (Bug#16077)
6098
6099 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6100
6101 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6102
6103 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6104
6105 * help-fns.el (describe-function-1): Use new advice-* functions
6106 rather than old ad-* functions. Fix function type description and
6107 source links for advised functions and subrs.
6108
6109 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6110
6111 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6112
6113 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6114
6115 * progmodes/compile.el (compilation-start):
6116 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6117
6118 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6119 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6120
6121 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6122
6123 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6124 Touch up the last change.
6125
6126 2013-12-06 Leo Liu <sdl.web@gmail.com>
6127
6128 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6129 (inferior-octave-startup): Always use "octave> " for prompt.
6130 (octave-goto-function-definition)
6131 (octave-sync-function-file-names)
6132 (octave-find-definition-default-filename): Remove redundant backquotes.
6133
6134 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6135
6136 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6137 syntax for `?'.
6138 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6139 where appropriate already.
6140 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6141 end of method names (Bug#15874).
6142
6143 2013-12-06 Juri Linkov <juri@jurta.org>
6144
6145 * isearch.el (isearch--saved-overriding-local-map):
6146 New internal variable.
6147 (isearch-mode): Set it to the initial value of
6148 `overriding-terminal-local-map'.
6149 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6150 with `isearch--saved-overriding-local-map'. (Bug#16035)
6151
6152 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6153
6154 * progmodes/octave.el (inferior-octave-completion-table):
6155 Turn back into function, use `completion-table-with-cache'
6156 (Bug#11906). Update all references.
6157
6158 * minibuffer.el (completion-table-with-cache): New function.
6159
6160 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6161
6162 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6163
6164 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6165
6166 * net/eww.el (eww-current-source): New variable to store page
6167 source.
6168 (eww-display-html, eww-mode, eww-save-history)
6169 (eww-restore-history): Use it.
6170 (eww-view-source): New command to view page source.
6171 Opportunistically uses `html-mode' to highlight the buffer.
6172 (eww-mode-map): Install it.
6173
6174 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6175
6176 * net/dbus.el (dbus-unregister-service)
6177 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6178 Fix docstring.
6179 (dbus-unregister-service): Skip :serial entries in
6180 `dbus-registered-objects-table'.
6181 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6182
6183 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6184
6185 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6186 around keywords with extra `split-string' argument.
6187
6188 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6189
6190 * windmove.el (windmove-other-window-loc): Handle navigation
6191 between windows (excluding the minibuffer window - Bug#16017).
6192
6193 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6194
6195 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6196 in D-Bus type syntax.
6197 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6198 preserve unibyte strings. (Bug#16048)
6199
6200 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6203 Call force-mode-line-update is the proper buffer (bug#16042).
6204
6205 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6206
6207 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6208 `log-edit-remember-comment', make argument optional. Adjust all
6209 callers.
6210 (log-edit-mode): Add `log-edit-remember-comment' to
6211 `kill-buffer-hook' locally.
6212 (log-edit-kill-buffer): Don't remember comment explicitly since
6213 the buffer is killed anyway.
6214
6215 2013-12-04 Juri Linkov <juri@jurta.org>
6216
6217 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6218 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6219
6220 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6221
6222 * notifications.el (notifications-close-notification): Call the
6223 D-Bus method with ID being a `:uint32'. (Bug#16030)
6224
6225 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6226
6227 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6228
6229 2013-12-03 Juri Linkov <juri@jurta.org>
6230
6231 * progmodes/compile.el (compilation-start): Rename window alist
6232 entry `no-display-ok' to `allow-no-window'.
6233
6234 * simple.el (shell-command): Add window alist entry
6235 `allow-no-window' to `display-buffer'.
6236 (async-shell-command): Doc fix.
6237
6238 * window.el (display-buffer-no-window): New action function.
6239 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6240
6241 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6242
6243 * vc/log-edit.el (log-edit-set-header): Extract from
6244 `log-edit-toggle-header'.
6245 (log-edit-extract-headers): Separate the summary, when extracted
6246 from header, from the rest of the message with an empty line.
6247
6248 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6249 line, if present, to the Summary header.
6250
6251 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6254 in current-buffer (bug#16029).
6255
6256 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6257
6258 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6259 (debugger-mode-map): Bind it.
6260 (debugger--backtrace-base): New function.
6261 (debugger-eval-expression): Use it.
6262 (debugger-frame-number): Skip local vars when present.
6263 (debugger--locals-visible-p, debugger--insert-locals)
6264 (debugger--show-locals, debugger--hide-locals): New functions.
6265
6266 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6267
6268 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6269 "LC_ALL".
6270 (tramp-get-remote-locale): New defun.
6271 (tramp-open-connection-setup-interactive-shell): Use it.
6272
6273 2013-12-02 Leo Liu <sdl.web@gmail.com>
6274
6275 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6276
6277 * progmodes/sh-script.el (sh-shell-process):
6278 * progmodes/octave.el (inferior-octave-process-live-p):
6279 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6280 (gdb-inferior-io-sentinel):
6281 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6282
6283 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6284
6285 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6286 `save-selected-window' to `log-edit-hide-buf'. This makes
6287 `log-edit-show-files' idempotent.
6288 (log-edit-show-files): Mark the new window as dedicated.
6289
6290 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6291
6292 * vc/log-edit.el (log-edit-mode-map): Add binding for
6293 `log-edit-kill-biffer'.
6294 (log-edit-hide-buf): Add a FIXME comment.
6295 (log-edit-add-new-comment): New function, extracted from
6296 `log-edit-done'.
6297 (log-edit-done, log-edit-add-to-changelog): Use it.
6298 (log-edit-kill-buffer): New command.
6299
6300 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
6302 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6303 instead of killing the buffer.
6304
6305 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6308
6309 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6310
6311 * net/eww.el (eww-form-checkbox-selected-symbol)
6312 (eww-form-checkbox-symbol): New customizable variable.
6313 (eww-form-checkbox, eww-toggle-checkbox):
6314 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6315
6316 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6317 (shr--get-media-pref, shr--extract-best-source): New function.
6318 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6319 no :src tag was specified.
6320
6321 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6322 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6323 Use \\` to match beginning of string instead of ^.
6324 (eww-browse-with-external-browser): Provide optional URL parameter.
6325 (eww-render): Set `eww-current-title' back to "".
6326
6327 * net/shr.el (shr-tag-video): Display content for video if no
6328 poster is available.
6329 (shr-tag-audio): Add support for <audio> tag.
6330
6331 * net/eww.el (eww-text-input-types): New const.
6332 (eww-process-text-input): Treat input types in
6333 `eww-text-input-types' as text.
6334
6335 * net/shr.el (shr-tag-table): Fix comment typo.
6336
6337 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6338
6339 * net/eww.el (eww-follow-link): New command to avoid reloading
6340 pages when we follow #target links (bug#15243).
6341 (eww-quit): Special mode buffers shouldn't query before exiting.
6342
6343 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6344
6345 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6346 forms.
6347
6348 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6349
6350 * net/eww.el (eww-restore-history): Update the window title after
6351 moving in the history.
6352 (eww-current-dom): New variable used to save the current DOM.
6353
6354 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6355
6356 * vc/log-edit.el (log-edit-mode-map): Add binding for
6357 `log-edit-beginning-of-line'.
6358 (log-edit-setup-add-author): New user option.
6359 (log-edit-beginning-of-line): New command.
6360 (log-edit): Move major mode call above the contents setup so that
6361 the local variable values are already applied.
6362 (log-edit): Only insert "Author: " when
6363 `log-edit-setup-add-author' is non-nil.
6364 (log-edit): When SETUP is non-nil, position point after ": "
6365 instead of point-min.
6366
6367 2013-12-01 Glenn Morris <rgm@gnu.org>
6368
6369 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6370
6371 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6372
6373 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6374 redisplay to make sure the initial frame gets a chance to become
6375 visible. (Bug#16014)
6376
6377 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6378
6379 Support resizing frames and windows pixelwise.
6380 * cus-start.el (frame-resize-pixelwise)
6381 (window-resize-pixelwise): New entries.
6382 * emacs-lisp/debug.el (debug): Use window-total-height instead
6383 of window-total-size.
6384 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6385 * help.el (describe-bindings-internal): Use help-buffer as
6386 argument for with-help-window.
6387 (temp-buffer-max-width): New option.
6388 (resize-temp-buffer-window, help-window-setup)
6389 (with-help-window): Rewrite.
6390 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6391 dragging dividers.
6392 * window.el (frame-char-size, window-min-pixel-height)
6393 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6394 (window-min-pixel-width, window-safe-min-pixel-size)
6395 (window-combination-p, window-safe-min-size)
6396 (window-resizable-p, window--size-to-pixel)
6397 (window--pixel-to-size, window--resize-apply-p): New functions.
6398 (window-safe-min-height): Fix doc-string.
6399 (window-size, window-min-size, window--min-size-1)
6400 (window-sizable, window-sizable-p, window--min-delta-1)
6401 (window-min-delta, window--max-delta-1, window-max-delta)
6402 (window--resizable, window--resizable-p, window-resizable)
6403 (window-full-height-p, window-full-width-p, window-at-side-p)
6404 (window--in-direction-2, window-in-direction)
6405 (window--resize-reset-1, window--resize-mini-window)
6406 (window-resize, window-resize-no-error)
6407 (window--resize-child-windows-normal)
6408 (window--resize-child-windows, window--resize-siblings)
6409 (window--resize-this-window, window--resize-root-window)
6410 (window--resize-root-window-vertically)
6411 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6412 (maximize-window, minimize-window, delete-window)
6413 (quit-restore-window, window-split-min-size, split-window)
6414 (balance-windows-2, balance-windows)
6415 (balance-windows-area-adjust, balance-windows-area)
6416 (window--state-get-1, window-state-get, window--state-put-1)
6417 (window--state-put-2, window-state-put)
6418 (display-buffer-record-window, window--display-buffer):
6419 Make functions handle pixelwise sizing of windows.
6420 (display-buffer--action-function-custom-type)
6421 (display-buffer-fallback-action):
6422 Add display-buffer-in-previous-window.
6423 (display-buffer-use-some-window): Resize window to height it had
6424 before.
6425 (fit-window-to-buffer-horizontally): New option.
6426 (fit-frame-to-buffer): Describe new values.
6427 (fit-frame-to-buffer-bottom-margin): Replace with
6428 fit-frame-to-buffer-margins.
6429 (window--sanitize-margin): New function.
6430 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6431 using window-text-pixel-size.
6432
6433 2013-11-30 Glenn Morris <rgm@gnu.org>
6434
6435 * emacs-lisp/bytecomp.el (byte-compile-form):
6436 Make the `interactive-only' warning like the `obsolete' one.
6437 * comint.el (comint-run):
6438 * files.el (insert-file-literally, insert-file):
6439 * replace.el (replace-string, replace-regexp):
6440 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6441 (goto-line, insert-buffer, next-line, previous-line):
6442 Tweak `interactive-only' spec.
6443
6444 Stop keeping (most) generated cedet grammar files in the repository.
6445 * Makefile.in (semantic): New.
6446 (compile-main): Depend on semantic.
6447
6448 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6451 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6452
6453 * uniquify.el (uniquify-buffer-name-style): Change default.
6454
6455 * loadup.el: Preload "uniquify".
6456
6457 * time.el (display-time-update): Update all mode lines (bug#15999).
6458
6459 * electric.el (electric-indent-mode): Enable by default.
6460 * loadup.el: Preload "electric".
6461
6462 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6463
6464 * emacs-lisp/helpers.el (string-empty-p): New function.
6465 (string-blank-p): New function.
6466
6467 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6468
6469 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6470 (Bug#14029).
6471
6472 2013-11-29 Andreas Politz <politza@fh-trier.de>
6473 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6474 allow non-lambda lists as functions.
6475 (imenu--in-alist): Don't recurse into non-subalists.
6476 (imenu): Don't pass function itself as an argument (Bug#14029).
6477
6478 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * progmodes/python.el (python-mode-map): Remove binding for ":".
6481 (python-indent-electric-colon): Remove command.
6482 (python-indent-post-self-insert-function): Integrate the previous code
6483 of python-indent-electric-colon. Make it conditional on
6484 electric-indent-mode.
6485 (python-mode): Add ?: to electric-indent-chars.
6486 Move python-indent-post-self-insert-function to the end of
6487 post-self-insert-hook.
6488
6489 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * doc-view.el (doc-view-goto-page): Update mode-line.
6492
6493 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6494
6495 2013-11-27 Glenn Morris <rgm@gnu.org>
6496
6497 * international/charprop.el, international/uni-bidi.el:
6498 * international/uni-category.el, international/uni-combining.el:
6499 * international/uni-comment.el, international/uni-decimal.el:
6500 * international/uni-decomposition.el, international/uni-digit.el:
6501 * international/uni-lowercase.el, international/uni-mirrored.el:
6502 * international/uni-name.el, international/uni-numeric.el:
6503 * international/uni-old-name.el, international/uni-titlecase.el:
6504 * international/uni-uppercase.el:
6505 Remove generated files from VCS repository.
6506
6507 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6508
6509 * filenotify.el (file-notify-add-watch): Don't special-case
6510 w32notify when computing the directory to watch.
6511
6512 2013-11-27 Glenn Morris <rgm@gnu.org>
6513
6514 Make bootstrap without generated uni-*.el files possible again.
6515 * loadup.el: Update command-line-args checking for unidata-gen.
6516 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6517 * composite.el, international/characters.el:
6518 Handle unicode tables being undefined.
6519
6520 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6521 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6522 (compile-main): Depend on leim rule.
6523 (leim): New rule.
6524 * loadup.el: Move leim-list.el to leim/ subdirectory.
6525 * startup.el (normal-top-level): No more leim directory.
6526 * international/ja-dic-cnv.el (skkdic-convert):
6527 Disable version-control and autoloads in output files.
6528 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6529 Disable version-control and autoloads in output files.
6530 * leim/quail: Move here from ../leim.
6531 * leim/quail/hangul.el (hangul-input-method-activate):
6532 Add autoload cookie.
6533 (generated-autoload-load-name): Set file-local value.
6534 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6535 (generated-autoload-load-name): Set file-local value.
6536
6537 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6538
6539 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6540 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6541 (eww-quit): Ask confirmation before quitting eww.
6542
6543 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6544
6545 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6546 reading output from Diff on MS-Windows and MS-DOS.
6547
6548 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6549
6550 * emacs-lisp/helpers.el (string-reverse): New function.
6551
6552 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6553
6554 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6555 names on MS Windows, like "/[::1]:".
6556
6557 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6558 SWITCHES.
6559
6560 2013-11-26 Glenn Morris <rgm@gnu.org>
6561
6562 * progmodes/python.el (python-indent-guess-indent-offset):
6563 Avoid corner-case error. (Bug#15975)
6564
6565 Preload leim-list.el. (Bug#4789)
6566 * loadup.el: Load leim-list.el when found.
6567 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6568
6569 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6570
6571 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6572
6573 * emacs-lisp/helpers.el (string-join): New function.
6574
6575 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6576
6577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6578 Mark as obsolete and replace it with a symbol property.
6579 (byte-compile-form): Use new 'interactive-only property.
6580 * comint.el, files.el, replace.el, simple.el:
6581 Apply new 'interactive-only properly.
6582
6583 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6584
6585 * window.el (display-buffer-at-bottom): Make sure that
6586 split-window-sensibly creates the new window on bottom
6587 (Bug#15961).
6588
6589 2013-11-23 David Kastrup <dak@gnu.org>
6590
6591 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6592 on the conflict markers when available.
6593 (smerge--get-marker): New function.
6594 (smerge-end-re, smerge-base-re): Add subgroup.
6595
6596 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * frame.el (handle-focus-in, handle-focus-out): Add missing
6599 interactive spec.
6600
6601 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6604 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6605
6606 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6609 (gomoku--last-pos): New var.
6610 (gomoku--intangible-chars): New const.
6611 (gomoku--intangible): New function.
6612 (gomoku-mode): Use it. Derive from special-mode.
6613 (gomoku-move-up): Adjust line count.
6614 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6615 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6616 Simplify accordingly.
6617
6618 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6619 Remove blink-cursor code.
6620 (blink-cursor-timer-function, blink-cursor-suspend):
6621 Don't special-case GUIs.
6622 (blink-cursor-mode): Use focus-in/out-hook.
6623
6624 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6625
6626 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6627 work when annotation is invisible (Bug#13886).
6628
6629 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6630
6631 * json.el (json-alist-p): Only return non-nil if the alist has
6632 simple keys (Bug#13518).
6633
6634 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6635
6636 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6637 when control-statement is the first statement in a buffer (Bug#15956).
6638
6639 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6640
6641 * imenu.el (imenu-generic-skip-comments-and-strings):
6642 New option (Bug#15560).
6643 (imenu--generic-function): Use it.
6644
6645 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6646
6647 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6648 (Bug#13898)
6649
6650 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6651
6652 * emacs-lisp/helpers.el: Add some string helpers.
6653 (string-trim-left): Removes leading whitespace.
6654 (string-trim-right): Removes trailing whitespace.
6655 (string-trim): Removes leading and trailing whitespace.
6656
6657 * subr.el (string-suffix-p): New function.
6658
6659 2013-11-23 Glenn Morris <rgm@gnu.org>
6660
6661 * progmodes/python.el (python-shell-send-file):
6662 Add option to delete file when done. (Bug#15647)
6663 (python-shell-send-string, python-shell-send-region): Use it.
6664
6665 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6666
6667 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6668 to set buffer-read-only to t, never to nil. (Bug#15938)
6669
6670 * textmodes/tex-mode.el (latex-noindent-environments):
6671 Add safe-local-variable property. (Bug#15936)
6672
6673 2013-11-23 Glenn Morris <rgm@gnu.org>
6674
6675 * textmodes/enriched.el (enriched-mode): Doc fix.
6676 * emacs-lisp/authors.el (authors-renamed-files-alist):
6677 Add enriched.doc -> enriched.txt.
6678
6679 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6680
6681 2013-11-22 Leo Liu <sdl.web@gmail.com>
6682
6683 * progmodes/octave.el (inferior-octave-startup): Spit out error
6684 message.
6685
6686 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6687
6688 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6689 Improve docstring.
6690 Add :version.
6691 (ruby-encoding-magic-comment-style): Add :version.
6692
6693 2013-11-22 Leo Liu <sdl.web@gmail.com>
6694
6695 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6696 (Bug#15076)
6697 (octave-help-mode): Adapt to change to help-mode-finish to use
6698 derived-mode-p on 2013-09-17.
6699 (inferior-octave-prompt): Also match octave-gui.
6700 (octave-kill-process): Don't ask twice. (Bug#10564)
6701
6702 2013-11-22 Leo Liu <sdl.web@gmail.com>
6703
6704 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6705 (inferior-octave-startup, inferior-octave-check-process)
6706 (inferior-octave-track-window-width-change)
6707 (octave-completion-at-point, octave-eldoc-function): Use it.
6708 (octave-kill-process): Provide confirmation. (Bug#10564)
6709
6710 2013-11-21 Leo Liu <sdl.web@gmail.com>
6711
6712 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6713 Fix obsolete variable comment-use-global-state.
6714
6715 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6716
6717 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6718 Add `octave-source-file'.
6719 (octave-source-file): New function. (Bug#15935)
6720
6721 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6722
6723 * net/eww.el (eww-local-regex): New variable.
6724 (eww): Use it to detect localhost and similar.
6725
6726 2013-11-21 Leo Liu <sdl.web@gmail.com>
6727
6728 Add completion for command `ag'.
6729 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6730 (pcomplete/ag): New function.
6731 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6732
6733 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6736 (bug#14646).
6737 (make-obsolete): Remove interactive spec.
6738
6739 2013-11-21 Glenn Morris <rgm@gnu.org>
6740
6741 * startup.el (command-line-1): Use path-separator with -L.
6742
6743 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6744
6745 * emacs-lisp/package.el (describe-package-1): Add package archive
6746 to shown fields.
6747
6748 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6749
6750 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6751 Change default to "# encoding: %s" to differentiate it from the
6752 default Ruby encoding comment template.
6753
6754 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6755
6756 * ses.el (ses-mode): Doc fix. (Bug#14748)
6757
6758 2013-11-20 Leo Liu <sdl.web@gmail.com>
6759
6760 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6761
6762 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6763
6764 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6765 when rebase or bisect are in progress.
6766
6767 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6768
6769 * filenotify.el (file-notify-add-watch): Doc fix.
6770
6771 2013-11-19 Leo Liu <sdl.web@gmail.com>
6772
6773 * obsolete/rcompile.el: Mark obsolete.
6774
6775 * progmodes/compile.el (compilation-start)
6776 (compilation-goto-locus, compilation-find-file):
6777 Pass no-display-ok and handle nil value from display-buffer.
6778 (Bug#13594)
6779
6780 * window.el (display-buffer-alist, display-buffer): Document the
6781 new parameter no-display-ok. Return either a window or nil
6782 but never a non-window value.
6783
6784 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * electric.el (electric-indent-mode-map): Remove.
6787 (electric-indent-mode): Change the global-map instead (bug#15915).
6788
6789 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6790 Use add-function.
6791
6792 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * emacs-lisp/nadvice.el (remove-function): Align with
6795 add-function's behavior.
6796
6797 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6798 (gdb--string-regexp): New constant.
6799 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6800 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6801 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6802 submatch 1.
6803 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6804 Adjust use accordingly.
6805 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6806
6807 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6808
6809 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6810 interpolation curlies (Bug#15914).
6811
6812 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6813
6814 * calc/calc.el (calc-context-sensitive-enter): New variable.
6815 (calc-enter): Use `calc-context-sensitive-enter'.
6816
6817 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6818
6819 * progmodes/cfengine.el: Version bump.
6820 (cfengine-cf-promises): New defcustom to locate cf-promises.
6821 (cfengine3-vartypes): Add new "data" type.
6822 (cfengine3--current-word): New function to get current name-like
6823 word or its bounds.
6824 (cfengine3--current-function): New function to look up a CFEngine
6825 function's definition.
6826 (cfengine3-format-function-docstring): New function.
6827 (cfengine3-make-syntax-cache): New function.
6828 (cfengine3-documentation-function): New function: ElDoc glue.
6829 (cfengine3-completion-function): New function: completion glue.
6830 (cfengine3-mode): Set `compile-command',
6831 `eldoc-documentation-function', and add to
6832 `completion-at-point-functions'.
6833
6834 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6835
6836 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6837 `tramp-current-connection'.
6838
6839 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6840
6841 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6842 nil/self/true/false with "end of symbol".
6843
6844 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6845
6846 * subr.el (version-regexp-alist): Fix a typo.
6847
6848 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6849
6850 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6851 "en_US.utf8" and "LC_CTYPE" to "".
6852 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6853 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6854
6855 2013-11-15 Leo Liu <sdl.web@gmail.com>
6856
6857 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6858
6859 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * progmodes/gud.el (ctl-x-map):
6862 Remove C-x SPC binding. (Bug#12342)
6863 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6864
6865 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6866
6867 * subr.el (version-regexp-alist):
6868 Recognize hg, svn and darcs versions as snapshot versions.
6869
6870 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6871 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6872 (ruby--encoding-comment-required-p): Extract from
6873 `ruby-mode-set-encoding'.
6874 (ruby-mode-set-encoding): Add the ability to always insert an
6875 utf-8 encoding comment. Fix and simplify coding comment update
6876 logic.
6877
6878 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6879
6880 * net/tramp-gvfs.el (top): Run init code only when
6881 `tramp-gvfs-enabled' is not nil.
6882 (tramp-gvfs-enabled): Check also :system bus.
6883
6884 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 Sync with upstream verilog-mode revision 78e66ba.
6887 * progmodes/verilog-mode.el (verilog-end-of-defun)
6888 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6889 (verilog-get-end-of-defun): Remove unused argument.
6890 (verilog-comment-depth): Remove unused local `e'.
6891 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6892 Don't pass arg to verilog-get-end-of-defun.
6893
6894 2013-11-14 Glenn Morris <rgm@gnu.org>
6895
6896 * obsolete/assoc.el (aget): Prefix dynamic variable.
6897
6898 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6899
6900 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6901
6902 * widget.el, hfy-cmap.el: Remove bogus package version number.
6903
6904 2013-11-13 Glenn Morris <rgm@gnu.org>
6905
6906 * replace.el (replace-eval-replacement):
6907 Try to give more helpful error message. (Bug#15836)
6908
6909 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6910 (archive-7z-update): Avoid custom type mismatches.
6911
6912 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6913
6914 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6915
6916 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6917 address can be empty.
6918
6919 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6920 Accept nil SWITCHES.
6921 (tramp-gvfs-handle-write-region): Implement APPEND.
6922
6923 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6924
6925 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6926 binary "|" operator and closing block args delimiter.
6927 Remove FIXME comment referring to Ruby 1.8-only syntax.
6928 (ruby-smie--implicit-semi-p): Not after "|" operator.
6929 (ruby-smie--closing-pipe-p): New function.
6930 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6931 (ruby-smie-rules): Indent after "|".
6932
6933 2013-11-12 Glenn Morris <rgm@gnu.org>
6934
6935 * ps-print.el (ps-face-attribute-list):
6936 Handle anonymous faces. (Bug#15827)
6937
6938 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6939
6940 * window.el (display-buffer-other-frame): Fix doc-string.
6941 (Bug#15868)
6942
6943 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6946
6947 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6948
6949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6950 (tramp-sh-handle-file-local-copy): Don't write a message when
6951 saving temporary files.
6952
6953 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6954 both directories are remote.
6955 (tramp-smb-handle-directory-files): Do not return double entries.
6956 Do not expand full file names.
6957 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6958 (tramp-smb-handle-write-region): Implement APPEND.
6959 (tramp-smb-get-stat-capability): Fix a stupid bug.
6960
6961 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6964
6965 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6966
6967 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6968 throwing error over malformed let/let* (bug#15814).
6969
6970 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * iswitchb.el (iswitchb-mode): Mark obsolete.
6973
6974 2013-11-11 Glenn Morris <rgm@gnu.org>
6975
6976 * international/uni-bidi.el, international/uni-category.el:
6977 * international/uni-name.el, international/uni-numeric.el:
6978 Regenerate for Unicode 6.3.0.
6979
6980 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6981
6982 * net/tramp.el (tramp-methods):
6983 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6984 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6985
6986 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6987
6988 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6989 Force highlighting text after Summary keyword in doc face for rpm.
6990
6991 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6992
6993 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6994 available and the word has no wildcards, append one to the grep pattern.
6995 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6996 (ispell-complete-word): Call `ispell-lookup-words' with the value
6997 independent of `ispell-look-p'.
6998
6999 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7000
7001 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7002 Not after "||".
7003 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7004 their parent.
7005
7006 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7009 (ruby-font-lock-keywords): Use backquote.
7010
7011 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7012
7013 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7014 (ruby-smie--backward-token): Only consider full-string matches.
7015
7016 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7017
7018 * faces.el (describe-face): Add distant-foreground.
7019
7020 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7021
7022 * progmodes/ruby-mode.el: Improve encoding comment handling.
7023 (ruby-encoding-magic-comment-style): New option.
7024 (ruby-custom-encoding-magic-comment-template): New option.
7025 (ruby--insert-coding-comment, ruby--detect-encoding):
7026 New functions extracted from `ruby-mode-set-encoding'.
7027 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7028 to control the style of the auto-inserted encoding comment.
7029
7030 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7031
7032 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7033 Use `smie-backward-sexp' with token argument.
7034
7035 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7036
7037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7038 Remove instrumentation code.
7039
7040 2013-11-08 Glenn Morris <rgm@gnu.org>
7041
7042 * progmodes/autoconf.el (autoconf-mode):
7043 Tweak comment-start-skip. (Bug#15822)
7044
7045 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7048 at bobp (bug#15826).
7049 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7050
7051 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7052
7053 * man.el (Man-start-calling): New macro, extracted from
7054 Man-getpage-in-background.
7055 (Man-getpage-in-background): Use it.
7056 (Man-update-manpage): New command.
7057 (Man-mode-map): Bind it.
7058
7059 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7060
7061 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7062 of "and", "or", "&&" and "||".
7063 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7064 argument. Prohibit opening curly brace because it could only be a
7065 block opener in that position.
7066 (ruby-smie--forward-token, ruby-smie--backward-token):
7067 Separate "|" from "&" or "*" going after it. That can happen in block
7068 arguments.
7069 (ruby-smie--indent-to-stmt): New function, seeks the end of
7070 previous statement or beginning of buffer.
7071 (ruby-smie-rules): Use it.
7072 (ruby-smie-rules): Check if there's a ":" before a curly block
7073 opener candidate; if there is, it's a hash.
7074
7075 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7078 (cl--block-wrapper): Fix last accidental change.
7079
7080 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7081
7082 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7083 Instrument, in order to hunt failure on hydra.
7084
7085 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7086
7087 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7088 malformed bindings form (bug#15814).
7089
7090 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7091
7092 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7093 "." compared to " @ ". This incidentally fixes some indentation
7094 examples with "do".
7095 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7096 (ruby-smie-grammar): New tokens: "and" and "or".
7097 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7098 Exclude "and" and "or". Remove "do" in order to work around token
7099 priorities.
7100 (ruby-smie-rules): Add all infix tokens. Handle the case of
7101 beginning-of-buffer.
7102
7103 2013-11-06 Glenn Morris <rgm@gnu.org>
7104
7105 * Makefile.in (setwins_almost, setwins_for_subdirs):
7106 Avoid accidental matches.
7107
7108 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * menu-bar.el (popup-menu): Use key-binding.
7111
7112 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7113
7114 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7115 menus, support also the menus produced by minor modes.
7116 (Bug#15817)
7117
7118 2013-11-06 Leo Liu <sdl.web@gmail.com>
7119
7120 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7121 DISTANCE to bound the search. All uses changed. (Bug#15808)
7122
7123 2013-11-06 Glenn Morris <rgm@gnu.org>
7124
7125 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7126 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7127 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7128
7129 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * electric.el (electric-indent-just-newline): New command.
7132 (electric-indent-mode-map): New keymap.
7133 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7134 Re-add :group which weren't redundant.
7135
7136 * electric.el (electric-indent-local-mode): New minor mode.
7137 (electric-indent-functions-without-reindent): New var.
7138 (electric-indent-post-self-insert-function): Use it.
7139 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7140
7141 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7142
7143 * international/quail.el (quail-help): Be more explicit about the
7144 meaning of the labels shown on the keys. (Bug#15800)
7145
7146 * startup.el (normal-top-level): Load the subdirs.el files before
7147 setting the locale environment. (Bug#15805)
7148
7149 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7152 via arguments so as to get the right ones (bug#15418).
7153
7154 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7155
7156 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7157
7158 Fix problems found while writing a test suite.
7159
7160 * net/tramp-compat.el (tramp-compat-load): New defun.
7161 * net/tramp.el (tramp-handle-load): Use it.
7162
7163 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7164 "(numberp ok-if-already-exists)" correctly.
7165
7166 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7167
7168 * international/characters.el (glyphless-char-display-control):
7169 Add usage note.
7170
7171 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7172
7173 * progmodes/python.el (python-mode):
7174 * progmodes/scheme.el (scheme-mode):
7175 * progmodes/prolog.el (prolog-mode):
7176 * progmodes/ruby-mode.el (ruby-mode):
7177 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7178 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7179
7180 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * rect.el (rectangle--highlight-for-redisplay):
7183 * emacs-lisp/smie.el (smie--next-indent-change):
7184 Use buffer-chars-modified-tick.
7185
7186 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7187
7188 * electric.el (electric-indent-post-self-insert-function):
7189 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7190
7191 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7192
7193 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7194
7195 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7196
7197 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7198 (bug#15786).
7199
7200 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7203
7204 * progmodes/python.el: Fix up last change.
7205 (python-shell--save-temp-file): New function.
7206 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7207 `string' comes from the current buffer.
7208 (python-shell-send-string-no-output): Remove `msg' arg.
7209 (python--use-fake-loc): New var.
7210 (python-shell-buffer-substring): Obey it. Try to compensate for the
7211 extra coding line added by python-shell--save-temp-file.
7212 (python-shell-send-region): Use python-shell--save-temp-file and
7213 python-shell-send-file directly. Add `nomain' argument.
7214 (python-shell-send-buffer): Use python-shell-send-region.
7215 (python-electric-pair-string-delimiter): New function.
7216 (python-mode): Use it.
7217
7218 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7219
7220 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7221 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7222 environment and decoding all of the default-directory's to here
7223 from command-line.
7224 (command-line): Decode also argv[0].
7225
7226 * loadup.el: Error out if default-directory is a multibyte string
7227 when we are dumping.
7228
7229 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7230
7231 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7232
7233 * emacs-lisp/package.el (package-menu-mode)
7234 (package-menu--print-info, package-menu--archive-predicate):
7235 Add Archive column to package list.
7236
7237 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7238
7239 Fix problems found while writing a test suite.
7240
7241 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7242 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7243 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7244 to nil when running original file name handler. Otherwise,
7245 there are problems with constructs like "$$FOO".
7246
7247 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7248 for `localname'.
7249
7250 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7251
7252 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7253
7254 * subr.el (version<, version<=, version=):
7255 Update docstrings with information for snapshot versions.
7256
7257 * helpers.el: New library for misc helper functions.
7258 (hash-table-keys): New function returning a list of hash keys.
7259 (hash-table-values): New function returning a list of hash values.
7260
7261 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7262
7263 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7264 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7265
7266 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7267
7268 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7269 checking whether point is after a 1-letter word.
7270
7271 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7272
7273 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7274 Don't infloop when expanding region over `multiline' syntax-type that
7275 begins a line (bug#15778).
7276
7277 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7280 Make it into a proper minor mode.
7281 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7282 (rectangle-mark-mode-map): New keymap.
7283 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7284
7285 2013-11-04 Glenn Morris <rgm@gnu.org>
7286
7287 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7288
7289 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7292 (ruby-smie-rules): Use smie-rule-parent instead.
7293
7294 * emacs-lisp/smie.el (smie-rule-parent): Always call
7295 smie-indent-virtual rather than only for hanging tokens.
7296 (smie--next-indent-change): New helper command.
7297
7298 2013-11-03 Glenn Morris <rgm@gnu.org>
7299
7300 * Makefile.in (abs_srcdir): Remove.
7301 (emacs): Unset EMACSLOADPATH.
7302
7303 2013-11-02 Glenn Morris <rgm@gnu.org>
7304
7305 * Makefile.in (EMACS): Use a relative filename.
7306 (abs_top_builddir): Remove.
7307 (custom-deps, finder-data, autoloads): Use --chdir.
7308
7309 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7310
7311 Use relative filenames in TAGS files.
7312 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7313 (lisptagsfiles4, TAGS): Use relative file names.
7314 (TAGS-LISP): Remove.
7315 (maintainer-clean): No more TAGS-LISP file.
7316
7317 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7318 (lisptagsfiles4): Use absolute filenames again.
7319 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7320 Remove all *loaddefs files, not just the first. Remove esh-groups.
7321 (maintainer-clean): Delete TAGS, TAGS-LISP.
7322
7323 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7324
7325 * emacs-lisp/package.el (package-version-join):
7326 Recognize snapshot versions.
7327
7328 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7329
7330 * subr.el (version-regexp-alist): Add support for snapshot versions.
7331
7332 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7333
7334 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7335 New function, replacement for `smie-rule-parent' for when we want to
7336 skip over our direct parent if it's an assignment token..
7337 (ruby-smie-rules): Use it.
7338
7339 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7340
7341 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7342 unconditionally. Remove now unnecessary forward declarations.
7343 Remove XEmacs-specific setup.
7344 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7345 (ruby-font-lock-syntactic-keywords)
7346 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7347 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7348 (ruby-here-doc-end-syntax): Remove.
7349 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7350 defined as function.
7351
7352 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7353
7354 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7355
7356 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7357
7358 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7359 table and abbrev table, `define-derived-mode' does that for us
7360 anyway.
7361
7362 2013-11-01 Glenn Morris <rgm@gnu.org>
7363
7364 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7365 files is atomic for some time, so no parallel compilation issues).
7366
7367 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7368
7369 * faces.el (face-x-resources): Add :distant-foreground.
7370 (region): Use :distant-foreground for gtk and ns.
7371
7372 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7373
7374 Allow multiple bibliographies when BibLaTeX is used rather than
7375 BibTeX.
7376 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7377 (reftex-locate-bibliography-files): Us it.
7378
7379 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7380
7381 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7382 allow comments in pbm files.
7383
7384 * term/w32-win.el (dynamic-library-alist): Support newer versions
7385 of libjpeg starting with v7: look only for the DLL from the
7386 version against which Emacs was built.
7387 Support versions of libpng beyond 1.4.x.
7388 Support libtiff v4.x.
7389
7390 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7391
7392 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7393 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7394 Add property :safe.
7395 (ruby-deep-arglist): Add property :type.
7396
7397 2013-10-31 Glenn Morris <rgm@gnu.org>
7398
7399 * Makefile.in (custom-deps, finder-data): No need to setq the target
7400 variables, we are in the right directory and the defaults work fine.
7401
7402 2013-10-30 Glenn Morris <rgm@gnu.org>
7403
7404 * Makefile.in (autoloads): Do not use abs_lisp.
7405
7406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7407 `newline' does not respect `standard-output', so use `princ'.
7408
7409 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7410
7411 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7412 * buff-menu.el (Buffer-menu--unmark): New function.
7413 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7414
7415 2013-10-30 Glenn Morris <rgm@gnu.org>
7416
7417 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7418
7419 * emacs-lisp/package.el (lm-homepage): Declare.
7420
7421 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7422 Fix doc typos.
7423
7424 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7425
7426 * Makefile.in (finder-data, autoloads, update-subdirs)
7427 (compile-main, compile-clean, compile-always, bootstrap-clean):
7428 Check return value of cd.
7429 (compile-calc): Remove.
7430
7431 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7434
7435 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7436 (byte-compile-and-folded): New function.
7437 (=, <, >, <=, >=): Use it.
7438
7439 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7440 (path-separator, null-device, buffer-file-coding-system)
7441 (lpr-headers-switches): Check system-type before modifying them.
7442 (find-buffer-file-type-coding-system): Mark obsolete.
7443 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7444 find-file-not-found-set-buffer-file-coding-system.
7445 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7446 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7447 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7448 (w32-direct-print-region-helper, w32-direct-print-region-function)
7449 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7450 * startup.el (normal-top-level-add-subdirs-to-load-path):
7451 * ps-print.el (ps-print-region-function):
7452 * lpr.el (print-region-function): Use new name.
7453
7454 * subr.el (custom-declare-variable-early): Remove function.
7455 (custom-declare-variable-list): Remove var.
7456 (error, user-error): Remove `while' loop.
7457 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7458 (user-emacs-directory-warning, locate-user-emacs-file):
7459 Move to files.el.
7460 * simple.el (read-quoted-char-radix, read-quoted-char):
7461 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7462 Move from subr.el.
7463 * custom.el (custom-declare-variable-list): Don't process
7464 custom-declare-variable-list.
7465
7466 * progmodes/python.el (python-shell-get-buffer): New function.
7467 (python-shell-get-process): Use it.
7468 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7469 Python which encoding was used. Don't split-string since we only care
7470 about the first line. Return the temp-file, if applicable.
7471 (python-shell-send-region): Tell compile.el how to turn locations in
7472 the temp-file into locations in the source buffer.
7473
7474 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * subr.el (undefined): Add missing behavior from the C code for
7477 unbound keys.
7478
7479 * rect.el: Use lexical-binding. Add new rectangular region support.
7480 (rectangle-mark): New command.
7481 (rectangle--region): New var.
7482 (deactivate-mark-hook): Reset rectangle--region.
7483 (rectangle--extract-region, rectangle--insert-for-yank)
7484 (rectangle--highlight-for-redisplay)
7485 (rectangle--unhighlight-for-redisplay): New functions.
7486 (region-extract-function, redisplay-unhighlight-region-function)
7487 (redisplay-highlight-region-function): Use them to handle
7488 rectangular region.
7489 * simple.el (region-extract-function): New var.
7490 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7491 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7492 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7493 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7494 (redisplay-unhighlight-region-function)
7495 (redisplay-highlight-region-function): New vars.
7496 (redisplay--update-region-highlight): New function.
7497 (pre-redisplay-function): Use it.
7498 (exchange-point-and-mark): Don't deactivate the mark before
7499 reactivate-it anyway.
7500 * comint.el (comint-kill-region): Remove yank-handler argument.
7501 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7502 (delete-char): Remove property, since it's now part of their
7503 default behavior.
7504 (self-insert-iso): Remove property since this command doesn't exist.
7505
7506 * emacs-lisp/package.el (package--download-one-archive)
7507 (describe-package-1): Don't query the user about final newline.
7508
7509 2013-10-29 Daniel Colascione <dancol@dancol.org>
7510
7511 * net/tramp.el (tramp-methods): Document new functionality.
7512 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7513 tramp-hostname-checker if method provides one instead of scanning
7514 argument list for "%h" to decide hostname acceptability.
7515
7516 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7517
7518 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7519 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7520 Handle COPY-CONTENTS. (Bug#15737)
7521
7522 2013-10-28 Daiki Ueno <ueno@gnu.org>
7523
7524 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7525 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7526
7527 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7528
7529 * image.el (defimage, image-load-path): Doc fixes.
7530
7531 2013-10-27 Alan Mackenzie <acm@muc.de>
7532
7533 Indent statements in macros following "##" correctly.
7534 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7535 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7536
7537 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7538
7539 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7540
7541 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7542
7543 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7544 after `=' is probably a new expression.
7545
7546 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7547
7548 * man.el (man-imenu-title): New option.
7549 (Man-mode-map): Add menu. (Bug#15722)
7550 (Man-mode): Add imenu to menu.
7551
7552 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7553
7554 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7555 specific in what the first arg can be: a non-keyword word,
7556 string/regexp/percent literal opener, opening paren, or unary
7557 operator followed directly by word.
7558
7559 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7562 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7563 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7564 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7565 Remove vars, they do not apply any more.
7566 (prolog-mode-abbrev-table): Remove redundant declaration.
7567 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7568 (prolog-use-smie): Remove.
7569 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7570 supported by prolog-electric-if-then-else-flag.
7571 (prolog-mode-variables, prolog-menu): Use setq-local.
7572 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7573 Remove binding to `Backspace' since this key doesn't exist anyway.
7574 Remove bindings for electric self-inserting keys.
7575 (prog-mode): Assume it's defined.
7576 (prolog-post-self-insert): New function.
7577 (prolog-mode): Use it.
7578 (prolog-indent-line, prolog-indent-level)
7579 (prolog-find-indent-of-matching-paren)
7580 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7581 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7582 (prolog-goto-next-paren, prolog-in-string-or-comment)
7583 (prolog-tokenize, prolog-inside-mline-comment)
7584 (prolog-find-start-of-mline-comment): Remove functions.
7585 (prolog-find-unmatched-paren, prolog-clause-end)
7586 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7587 (prolog-electric--if-then-else): Rename from
7588 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7589 (prolog-tokenize-searchkey): Remove const.
7590 (prolog-clause-info): Use forward-sexp.
7591 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7592 (prolog-electric-if-then-else): Remove commands.
7593 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7594 for use in post-self-insert-hook.
7595 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7596 for use in post-self-insert-hook.
7597 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7598 for use in post-self-insert-hook.
7599 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7600 adapt it for use in post-self-insert-hook.
7601
7602 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * emacs-lisp/ert.el (ert-run-tests-interactively):
7605 Use `completing-read'. (Bug#9756)
7606
7607 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7608
7609 * simple.el (line-move): Call line-move-1 instead of
7610 line-move-visual when the current window hscroll is zero, but
7611 temporary-goal-column indicates we will need to hscroll as result
7612 of the movement. (Bug#15712)
7613
7614 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7615
7616 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7617 capitalization. Use :visible instead of :active.
7618 Fix `ruby-indent-exp' reference. Add menu items for the generic
7619 commands that are used with SMIE.
7620 (ruby-do-end-to-brace): Insert space after `{'.
7621
7622 2013-10-25 John Anthony <john@jo.hnanthony.com>
7623
7624 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7625
7626 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7627
7628 2013-10-25 Glenn Morris <rgm@gnu.org>
7629
7630 * vc/vc.el (vc-print-log): Don't use a working revision unless
7631 one was explicitly specified. (Bug#15322)
7632
7633 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * subr.el (add-to-list): Preserve return value in compiler-macro
7636 (bug#15692).
7637
7638 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7639
7640 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7641 result. Ask user to retry using '-all' flag. (Bug#15701)
7642
7643 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * emacs-lisp/smie.el: New smie-config system.
7646 (smie-config): New defcustom.
7647 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7648 (smie-config-guess, smie-config-save): New commands.
7649 (smie-config--mode-local, smie-config--buffer-local)
7650 (smie-config--trace, smie-config--modefuns): New vars.
7651 (smie-config--advice, smie-config--mode-hook)
7652 (smie-config--setter, smie-config-local, smie-config--get-trace)
7653 (smie-config--guess-value, smie-config--guess): New functions.
7654 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7655 text properties. Treat "string fence" syntax like string syntax.
7656
7657 * progmodes/sh-script.el (sh-use-smie): Change default.
7658 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7659 (sh-var-value): Simplify by CSE.
7660 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7661 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7662 is used.
7663 (sh-guess-basic-offset): Use cl-incf.
7664 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7665
7666 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7667
7668 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7669 (bug#15699).
7670
7671 2013-10-24 Glenn Morris <rgm@gnu.org>
7672
7673 * Makefile.in (abs_top_srcdir): Remove.
7674 (update-subdirs): Use relative path to update-subdirs.
7675
7676 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7677
7678 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7679 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7680 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7681 Call unmsys--file-name before expand-file-name, not after it.
7682
7683 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7684
7685 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7686 (ert-test-skipped): New error.
7687 (ert-skip, ert-stats-skipped): New defuns.
7688 (ert--skip-unless): New macro.
7689 (ert-test-skipped): New struct.
7690 (ert--run-test-debugger, ert-test-result-type-p)
7691 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7692 (ert--stats-set-test-and-result, ert-char-for-test-result)
7693 (ert-string-for-test-result, ert-run-tests-batch)
7694 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7695 Handle skipped tests. (Bug#9803)
7696
7697 2013-10-24 Glenn Morris <rgm@gnu.org>
7698
7699 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7700
7701 * Makefile.in (abs_top_srcdir): New, set by configure.
7702 (update-subdirs): Correct build-aux location.
7703
7704 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7705
7706 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7707 value, whether we could auto-deduce `backend', or not.
7708
7709 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7710 with parameters" example. Simplify the "is it block or is it
7711 hash" check, but also make it more thorough.
7712
7713 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7714
7715 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7716
7717 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7720 { if it is hanging.
7721
7722 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7723 :before ";".
7724
7725 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7726
7727 * progmodes/compile.el (compilation-directory-matcher)
7728 (compilation-page-delimiter):
7729 Support GNU Make-4.0 directory quoting. (Bug#15678)
7730
7731 2013-10-23 Leo Liu <sdl.web@gmail.com>
7732
7733 * ido.el (ido-tidy): Handle read-only text.
7734
7735 2013-10-23 Glenn Morris <rgm@gnu.org>
7736
7737 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7738 (emacs, compile, compile-always):
7739 Quote entities that might contain whitespace.
7740 (custom-deps, finder-data, autoloads): Use abs_lisp.
7741 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7742 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7743 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7744
7745 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7746
7747 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7748 Use `following-char'.
7749
7750 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7753 * progmodes/ruby-mode.el (ruby-smie-rules):
7754 Remove corresponding workaround. Fix indentation rule of ";" so it
7755 also applies when ";" is the parent.
7756
7757 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7758
7759 * frame.el (display-screens, display-pixel-height)
7760 (display-pixel-width, display-mm-width, display-backing-store)
7761 (display-save-under, display-planes, display-color-cells)
7762 (display-visual-class, display-monitor-attributes-list):
7763 Mention the optional ‘display’ argument in doc strings.
7764
7765 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7766
7767 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7768 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7769
7770 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7771
7772 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7773 TODO. Add "." after " @ ".
7774 (ruby-smie--at-dot-call): New function. Checks if point at method
7775 call with explicit target.
7776 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7777 to the method name tokens when it precedes them.
7778 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7779 (ruby-smie-rules): Add rule for indentation before and after "."
7780 token.
7781
7782 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * textmodes/remember.el (remember-diary-extract-entries):
7785 Avoid add-to-list.
7786
7787 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7788 an instruction.
7789
7790 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7791
7792 * progmodes/ruby-mode.el (ruby-smie-grammar):
7793 Add (almost) all infix operators.
7794 (ruby-smie--implicit-semi-p): Add new operator chars.
7795
7796 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7797 `smie-down-list'.
7798 (ruby-smie--args-separator-p): Check that there's no newline
7799 between method call and its arguments.
7800
7801 2013-10-20 Alan Mackenzie <acm@muc.de>
7802
7803 Allow comma separated lists after Java "implements".
7804
7805 * progmodes/cc-engine.el (c-backward-over-enum-header):
7806 Parse commas.
7807 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7808 from a "disallowed" list in enum fontification.
7809
7810 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7811
7812 * startup.el (default-frame-background-mode): Remove unused defvar.
7813
7814 * progmodes/verilog-mode.el (verilog-mode): Don't set
7815 comment-indent-function globally.
7816
7817 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7818
7819 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7820 Move Info menu item creation to ns-win.el.
7821
7822 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7823 in menu bar.
7824
7825 * menu-bar.el: Move GNUstep specific menus...
7826
7827 * term/ns-win.el (ns-initialize-window-system): ... to here.
7828
7829 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * simple.el (newline): Only run post-self-insert-hook when
7832 called interactively.
7833
7834 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7835
7836 * icomplete.el (icomplete-with-completion-tables): Add :version.
7837
7838 2013-10-19 Alan Mackenzie <acm@muc.de>
7839
7840 Fix fontification bugs with constructors and const.
7841
7842 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7843 CASE 2) Remove the check for the absence of a suffix construct
7844 after a function declaration with only types (no identifiers) in
7845 the parentheses. Also, accept a function declaration with just a
7846 type inside the parentheses, if this type can be positively
7847 recognised as such, or if a prefix keyword like "explicit" nails
7848 down the construct as a declaration.
7849
7850 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7851
7852 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7853 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7854 the problem whereby selecting a menu item that leads to a
7855 minibuffer prompt moves the cursor out of the minibuffer window,
7856 making it hard to type at the prompt. Suggested by Stefan Monnier
7857 <monnier@iro.umontreal.ca>.
7858
7859 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7860
7861 * menu-bar.el: Don't make Services menu.
7862
7863 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7864
7865 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7866 (ffap-alist): Use ffap-c++-mode for c++-mode.
7867 (ffap-c++-path): New variable.
7868 (ffap-c++-mode): New function.
7869
7870 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7871
7872 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7873
7874 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7875
7876 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7877 introduced on 2013-09-08, which results in an infinite loop
7878 requesting a password.
7879
7880 2013-10-18 Glenn Morris <rgm@gnu.org>
7881
7882 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7883
7884 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7885
7886 Sync with upstream verilog-mode revision 1a6ecec7.
7887 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7888 (verilog-mode-release-date): Remove.
7889 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7890 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7891 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7892 (verilog-auto-tieoff-ignore-regexp)
7893 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7894 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7895 (verilog-signals-with, verilog-dir-cache-preserving)
7896 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7897 Doc fixes.
7898 (verilog-case-fold): New option, to control case folding in
7899 regexp searches, bug597.
7900 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7901 (verilog-string-match-fold, verilog-in-paren-count)
7902 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7903 (verilog-at-close-struct-p): New functions.
7904 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7905 (verilog-forward-sexp, verilog-set-auto-endcomments)
7906 (verilog-leap-to-case-head): Handle "unique0" case.
7907 (verilog-in-constraint-re): New constant.
7908 (verilog-keywords, verilog-type-font-keywords):
7909 Add some SystemVerilog 1800-2012 keywords.
7910 (verilog-label-be): Remove unimplemented argument, bug669.
7911 (verilog-batch-execute-func): When batch expanding clear
7912 create-lockfiles to prevent spurious user locks when a file ends
7913 up not changing.
7914 (verilog-calculate-indent, verilog-calc-1)
7915 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7916 (verilog-do-indent): Fix indentation of nested constraints
7917 and structures.
7918 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7919 (verilog-auto-inst-param): Use verilog-string-match-fold.
7920 (verilog-read-inst-module-matcher):
7921 Fix AUTOINST on gate primitives with #1.
7922 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7923 Reads all user-defined typed variables.
7924 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7925 (verilog-signals-matching-regexp)
7926 (verilog-signals-not-matching-regexp, verilog-auto):
7927 Respect verilog-case-fold.
7928 (verilog-diff-report): Fix line count.
7929 (verilog-auto-assign-modport): Remove unused local `modi'.
7930 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7931 better handle multidimensional arrays.
7932 Fix packed array ports misadding bit index in AUTOINST, bug637.
7933 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7934 to not double-declare existing outputs and inputs, respectively.
7935 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7936 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7937 (verilog-sk-uvm-component): New skeleton.
7938 (verilog-submit-bug-report): Add verilog-case-fold,
7939 remove verilog-mode-release-date.
7940
7941 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7942
7943 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7944 as before.
7945
7946 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7947
7948 * textmodes/remember.el (remember): Set buffer-offer-save in
7949 remember buffers (bug#13566).
7950
7951 2013-10-18 Daniel Colascione <dancol@dancol.org>
7952
7953 When evaluating forms in ielm, direct standard output to ielm
7954 buffer. Add new ielm-return-for-effect command. Remove trailing
7955 whitespace throughout.
7956
7957 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7958 (ielm-return-for-effect): New command.
7959 (ielm-send-input): Accept optional `for-effect' parameter.
7960 (ielm-eval-input): Accept optional `for-effect' parameter.
7961 Bind `standard-output' to stream we create using
7962 `ielm-standard-output-impl'. Suppress printing result when
7963 `for-effect'.
7964 (ielm-standard-output-impl): New function.
7965 (inferior-emacs-lisp-mode): Explain new features in documentation.
7966
7967 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7968
7969 Code cleanup.
7970
7971 * net/tramp.el (tramp-debug-message): Do not check for connection
7972 buffer.
7973 (tramp-message): Use "vector" connection property.
7974
7975 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7976 (tramp-equal-remote, tramp-eshell-directory-change)
7977 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7978 (tramp-adb-handle-rename-file)
7979 * net/tramp-cmds.el (tramp-list-remote-buffers)
7980 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7981 * net/tramp-compat.el (tramp-compat-process-running-p)
7982 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7983 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7984 (tramp-gvfs-handle-rename-file)
7985 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7986 (tramp-set-file-uid-gid)
7987 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7988 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7989 of `file-remote-p'.
7990
7991 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7992 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7993 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7994 (tramp-gw-open-network-stream): Suppress unrelated traces.
7995
7996 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7997 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7999 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8000 connection property.
8001
8002 * net/tramp-cache.el (top): Suppress traces when reading
8003 persistency file.
8004
8005 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8006 Refactor common code. Improve debug message.
8007 (tramp-maybe-open-connection)
8008 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8009 connection buffer too early.
8010
8011 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8012 from `tramp-smb-actions-with-acl'.
8013 (tramp-smb-actions-set-acl): New defconst.
8014 (tramp-smb-handle-copy-directory)
8015 (tramp-smb-action-get-acl): New defun, renamed from
8016 `tramp-smb-action-with-acl'.
8017 (tramp-smb-action-set-acl): New defun.
8018 (tramp-smb-handle-set-file-acl): Rewrite.
8019
8020 2013-10-17 Glenn Morris <rgm@gnu.org>
8021
8022 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8023
8024 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * skeleton.el (skeleton-newline): Remove.
8027 (skeleton-internal-1): Use (insert "\n") instead.
8028
8029 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8030 let-bindings.
8031
8032 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8033 forward-sexp-function while we redo its job (bug#15613).
8034
8035 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8036
8037 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8038 represented by lists.
8039
8040 2013-10-16 Glenn Morris <rgm@gnu.org>
8041
8042 * tmm.el (tmm--history): New dynamic variable.
8043 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8044
8045 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8046
8047 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8048 (tramp-smb-errors): Add error messages.
8049 (tramp-smb-actions-with-acl): New defconst.
8050 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8051 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8052 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8053 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8054 (tramp-smb-get-stat-capability): Fix tests.
8055
8056 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8057
8058 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8059 (bug#15580).
8060
8061 2013-10-16 Glenn Morris <rgm@gnu.org>
8062
8063 * ansi-color.el (ansi-color-drop-regexp):
8064 Add 1J, 1K, 2K. (Bug#15617)
8065
8066 * files.el (hack-local-variables--warned-lexical): New.
8067 (hack-local-variables):
8068 Warn about misplaced lexical-binding. (Bug#15616)
8069
8070 * net/eww.el (eww-render): Always set eww-current-url,
8071 and update header line. (Bug#15622)
8072 (eww-display-html): ... Rather than just doing it here.
8073
8074 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8075
8076 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8077 menu navigations commands.
8078
8079 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8080
8081 * progmodes/subword.el (subword-capitalize): Be careful when
8082 the search for [[:alpha:]] fails (bug#15580).
8083
8084 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8085
8086 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8087 to commands that scroll the menu.
8088
8089 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8090
8091 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8092 Handle methods ending with `?' and `!'.
8093
8094 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8095
8096 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8097 `japanese-cp932' to `cp932' to fix the problem where saving a
8098 source file written in Shift_JIS twice would end up having
8099 `coding: japanese-cp932' which Ruby could not recognize.
8100 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8101 in `ruby-encoding-map'.
8102 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8103 doesn't need to be explicitly declared in magic comment.
8104 (ruby-encoding-map): Add type declaration for better customize UI.
8105
8106 2013-10-13 Glenn Morris <rgm@gnu.org>
8107
8108 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8109 Occur buffers are read-only. http://bugs.debian.org/720775
8110
8111 * emacs-lisp/authors.el (authors-fixed-entries):
8112 Comment out old alpha stuff.
8113
8114 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8115
8116 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8117 to `after-save-hook' instead of `before-save-hook'.
8118 (ruby-mode-set-encoding): Use the value of coding system used to
8119 write the file. Call `basic-save-buffer-1' after modifying the
8120 buffer.
8121
8122 2013-10-13 Alan Mackenzie <acm@muc.de>
8123
8124 Fix indentation/fontification of Java enum with
8125 "implements"/generic.
8126
8127 * progmodes/cc-engine.el (c-backward-over-enum-header):
8128 Extracted from the three other places and enhanced to handle generics.
8129 (c-inside-bracelist-p): Uses new function above.
8130 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8131 function above.
8132 (c-font-lock-enum-tail): Uses new function above.
8133
8134 2013-10-13 Kenichi Handa <handa@gnu.org>
8135
8136 * international/mule-cmds.el (select-safe-coding-system): Remove a
8137 superfluous condition in chekcing whether a coding system is safe
8138 or not.
8139
8140 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8141
8142 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8143
8144 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8145
8146 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8147
8148 2013-10-13 Glenn Morris <rgm@gnu.org>
8149
8150 * menu-bar.el (menu-bar-update-buffers):
8151 Unify Buffers menu prompt string. (Bug#15576)
8152
8153 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8154
8155 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8156 Add some entries.
8157 (authors-fixed-entries): Use accented form of name.
8158
8159 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8162 method calls (bug#15594).
8163 (ruby-smie--args-separator-p): New function.
8164 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8165 recognize paren-free method calls.
8166
8167 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8168 internals of universal-argument.
8169
8170 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8171
8172 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8173 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8174 dropped menu on second mouse click on the menu bar.
8175
8176 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8179 (explicit-shell-file-name): Declare.
8180 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8181 (sh-completion-at-point-function): New function.
8182 (sh-mode): Use it.
8183 (sh-smie--keyword-p): Remove unused argument.
8184 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8185 vars.
8186 (sh-set-shell): Always setup SMIE, even if we use the
8187 old indentation code.
8188
8189 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8190
8191 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8192 cases of ? and =.
8193 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8194 predicate would return nil are almost non-existent.
8195 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8196
8197 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8198 cache also after commands that modify the buffer but don't move
8199 point.
8200
8201 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * env.el (substitute-env-in-file-name): New function.
8204 (substitute-env-vars): Extend the meaning of the optional arg.
8205
8206 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8207
8208 * term/w32-win.el (dynamic-library-alist): Define separate lists
8209 of GIF DLLs for versions before and after 5.0.0 of giflib.
8210 (Bug#15531)
8211
8212 2013-10-10 João Távora <joaotavora@gmail.com>
8213
8214 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8215 not locked, use last revision and current source as
8216 defaults. (Bug#15569)
8217
8218 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8219
8220 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8221 menu-bar is hidden.
8222
8223 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8224
8225 * window.el (pop-to-buffer-same-window): Fix doc-string.
8226 (Bug#15492)
8227
8228 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8231
8232 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8233
8234 * calendar/icalendar.el (icalendar-import-file):
8235 Fix interactive spec. (Bug#15482)
8236
8237 2013-10-10 Glenn Morris <rgm@gnu.org>
8238
8239 * desktop.el (desktop-save): Default to saving in .emacs.d,
8240 since PWD is no longer in desktop-path by default. (Bug#15319)
8241
8242 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8243 now that text mode has a menu with the same entry.
8244 (menu-bar-text-mode-auto-fill): Remove now unused func.
8245 * textmodes/text-mode.el (text-mode-map):
8246 Use auto-fill help text from menu-bar.el.
8247
8248 2013-10-10 John Anthony <john@jo.hnanthony.com>
8249
8250 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8251
8252 2013-10-09 Juri Linkov <juri@jurta.org>
8253
8254 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8255 instead of this-command-keys. Add universal-argument-more and
8256 universal-argument-minus to the list of prefix commands. (Bug#15568)
8257
8258 2013-10-09 Glenn Morris <rgm@gnu.org>
8259
8260 * vc/vc-svn.el (vc-svn-create-repo):
8261 Expand paths in file://... url. (Bug#15446)
8262
8263 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8264 Add some entries.
8265 (authors): Remove unused local variables.
8266
8267 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * profiler.el: Create a more coherent calltree from partial backtraces.
8270 (profiler-format): Hide the tail with `invisible' so that C-s can still
8271 find the hidden elements.
8272 (profiler-calltree-depth): Don't recurse so enthusiastically.
8273 (profiler-function-equal): New hash-table-test.
8274 (profiler-calltree-build-unified): New function.
8275 (profiler-calltree-build): Use it.
8276 (profiler-report-make-name-part): Indent the calltree less.
8277 (profiler-report-mode): Add visibility specs for profiler-format.
8278 (profiler-report-expand-entry, profiler-report-toggle-entry):
8279 Expand the whole subtree when provided with a prefix arg.
8280
8281 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8282
8283 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8284 iuwu-mod token.
8285 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8286 hanging iuwu-mod token.
8287 (ruby-smie--forward-token): Do not include a dot after a token in
8288 that token.
8289 (ruby-smie--backward-token): Likewise.
8290
8291 2013-10-08 Juri Linkov <juri@jurta.org>
8292
8293 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8294 to isearch-other-control-char.
8295 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8296 and isearch-post-command-hook to post-command-hook.
8297 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8298 and isearch-post-command-hook from post-command-hook.
8299 (isearch-unread-key-sequence)
8300 (isearch-reread-key-sequence-naturally)
8301 (isearch-lookup-scroll-key, isearch-other-control-char)
8302 (isearch-other-meta-char): Remove functions.
8303 (isearch-pre-command-hook, isearch-post-command-hook):
8304 New functions based on isearch-other-meta-char rewritten
8305 relying on the new behavior of overriding-terminal-local-map
8306 that does not replace the local keymaps any more. (Bug#15200)
8307
8308 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8309
8310 Support menus on text-mode terminals.
8311 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8312 functionality.
8313
8314 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8315
8316 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8317 Move here from mouse.el.
8318 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8319 and arrow keys.
8320 (tty-menu-navigation-map): New map for TTY menu navigation.
8321
8322 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8323
8324 * frame.el (display-mouse-p): Report text-mode mouse as available
8325 on w32.
8326 (display-popup-menus-p): Report availability if mouse is
8327 available; don't condition on window-system.
8328
8329 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8330 (tty-menu-selected-face): New faces.
8331
8332 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8335 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8336 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8337 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8338 New constants.
8339 (lisp-mode-variables): New `elisp' argument.
8340 (emacs-lisp-mode): Use it.
8341 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8342 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8343
8344 * indent.el: Use lexical-binding.
8345 (indent-region): Add progress reporter.
8346 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8347 last step.
8348 (indent--next-tab-stop): New function to implement this behavior.
8349 (tab-to-tab-stop, move-to-tab-stop): Use it.
8350
8351 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8352
8353 * indent.el (indent-rigidly--current-indentation): New function.
8354 (indent-rigidly-map): New var.
8355 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8356
8357 2013-10-08 Bastien Guerry <bzg@gnu.org>
8358
8359 * register.el (insert-register): Fix 2013-10-07 change.
8360
8361 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * progmodes/perl-mode.el: Use lexical-binding.
8364 Remove redundant :group args.
8365 (perl-nochange): Change default to be closer to other major modes's
8366 standard behavior.
8367 (perl-indent-line): Don't consider text on current line as a
8368 valid beginning of function from which to indent.
8369
8370 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8371 with more than one argument (bug#15538).
8372
8373 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8374
8375 * vc/pcvs.el: Use lexical-binding.
8376 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8377 environment of `eval'.
8378 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8379 than a list of expressions. Adjust callers.
8380 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8381
8382 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8383
8384 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8385 case of the dot in a chained method call being on the following line.
8386
8387 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * electric.el (electric-indent-inhibit): New var.
8390 (electric-indent-post-self-insert-function): Use it.
8391 * progmodes/python.el (python-mode): Set it.
8392
8393 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8394 open braces.
8395
8396 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8397
8398 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8399 (css-mode): Use electric-indent-chars.
8400
8401 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8402 (font-lock-beg, font-lock-end): Move before first use.
8403 (nxml-mode): Use syntax-propertize-function.
8404 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8405 (nxml-extend-after-change-region): Remove.
8406 * nxml/xmltok.el: Use lexical-binding.
8407 (xmltok-save): Use `declare'.
8408 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8409 * nxml/nxml-util.el: Use lexical-binding.
8410 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8411 Use `declare'.
8412 * nxml/nxml-ns.el: Use lexical-binding.
8413 (nxml-ns-save): Use `declare'.
8414 (nxml-ns-prefixes-for): Avoid add-to-list.
8415 * nxml/rng-match.el: Use lexical-binding.
8416 (rng--ipattern): Use cl-defstruct.
8417 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8418 (rng-cons-group-after, rng-subst-group-after)
8419 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8420 Use closures instead of `(lambda...).
8421
8422 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8423
8424 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8425 of BEG and END.
8426
8427 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8428 Use `tramp-handle-insert-file-contents'.
8429 (tramp-gvfs-handle-insert-file-contents): Remove function.
8430
8431 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8432 Use `save-restriction' in order to keep markers.
8433
8434 * net/trampver.el: Update release number.
8435
8436 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * progmodes/compile.el (compilation-parse-errors):
8439 Use compilation--put-prop.
8440 (compilation--ensure-parse): Check compilation-multiline.
8441
8442 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8443
8444 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8445 lexical-binding.
8446
8447 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8448
8449 * progmodes/ruby-mode.el: Fix recently added tests.
8450 (ruby-smie-grammar): Add - and +.
8451 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8452 (ruby-smie--backward-id): New functions.
8453 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8454 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8455 any more.
8456
8457 2013-10-07 Leo Liu <sdl.web@gmail.com>
8458
8459 * register.el (register-preview-delay)
8460 (register-preview-functions): New variables.
8461 (register-read-with-preview, register-preview)
8462 (register-describe-oneline): New functions.
8463 (point-to-register, window-configuration-to-register)
8464 (frame-configuration-to-register, jump-to-register)
8465 (number-to-register, view-register, insert-register)
8466 (copy-to-register, append-to-register, prepend-to-register)
8467 (copy-rectangle-to-register): Use register-read-with-preview to
8468 read register. (Bug#15525)
8469
8470 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8471
8472 * net/network-stream.el (network-stream-open-starttls): Don't add
8473 --insecure if it's already present, because that gnutls-cli
8474 rejects getting that parameter twice.
8475
8476 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8477
8478 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8479 keyword, too.
8480
8481 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8482
8483 * newcomment.el (comment-use-global-state): Change default value
8484 to t, mark obsolete (Bug#15251).
8485 (comment-beginning): In addition to `comment-to-syntax', check the
8486 value of `comment-use-global-state'.
8487
8488 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8489
8490 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8491 (ruby-comment-column): Follow the global default, by default.
8492 (ruby-smie-grammar): Add assignment syntax.
8493 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8494 open-paren, a comma, or a \.
8495 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8496 and line continuations.
8497 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8498 followed by implicit semi-colons. Add rule for string concatenation
8499 and for indentation at BOB.
8500 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8501
8502 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8503 calling next-sexp, since next-token may have skipped chars which
8504 next-sexp doesn't know should be skipped!
8505
8506 2013-10-05 Leo Liu <sdl.web@gmail.com>
8507
8508 * progmodes/octave.el (octave-send-region):
8509 Call compilation-forget-errors.
8510
8511 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8512
8513 * vc/vc-svn.el (vc-svn-find-admin-dir):
8514 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8515 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8516 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8517 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8518
8519 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8522
8523 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * subr.el (read-passwd): Hide chars even when called within a context
8526 where after-change-functions is disabled (bug#15501).
8527 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8528 until we removed ourself from overriding-terminal-local-map.
8529
8530 2013-10-04 Leo Liu <sdl.web@gmail.com>
8531
8532 * progmodes/octave.el (inferior-octave-mode):
8533 Call compilation-forget-errors.
8534
8535 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8536
8537 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8538
8539 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8540
8541 * net/secrets.el (secrets-create-collection): Add optional
8542 argument ALIAS. Use proper Label keyword. Append ALIAS as
8543 dbus-call-method argument. (Bug#15516)
8544
8545 2013-10-04 Leo Liu <sdl.web@gmail.com>
8546
8547 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8548 (inferior-octave-compilation-font-lock-keywords): New variables.
8549 (compilation-error-regexp-alist)
8550 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8551 (inferior-octave-mode): Use compilation-shell-minor-mode.
8552
8553 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8554
8555 * minibuffer.el (completion--replace): Be careful that `end' might be
8556 a marker.
8557
8558 2013-10-03 Daiki Ueno <ueno@gnu.org>
8559
8560 Add support for package signature checking.
8561 * emacs-lisp/package.el (url-http-file-exists-p)
8562 (epg-make-context, epg-context-set-home-directory)
8563 (epg-verify-string, epg-context-result-for)
8564 (epg-signature-status, epg-signature-to-string)
8565 (epg-check-configuration, epg-configuration)
8566 (epg-import-keys-from-file): Declare.
8567 (package-check-signature): New user option.
8568 (package-unsigned-archives): New user option.
8569 (package-desc): Add `signed' field.
8570 (package-load-descriptor): Set `signed' field if .signed file exists.
8571 (package--archive-file-exists-p): New function.
8572 (package--check-signature): New function.
8573 (package-install-from-archive): Check package signature.
8574 (package--download-one-archive): Check archive signature.
8575 (package-delete): Remove .signed file.
8576 (package-import-keyring): New command.
8577 (package-refresh-contents): Import default keyring.
8578 (package-desc-status): Add "unsigned" status.
8579 (describe-package-1, package-menu--print-info)
8580 (package-menu-mark-delete, package-menu--find-upgrades)
8581 (package-menu--status-predicate): Support "unsigned" status.
8582
8583 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8586 the new compilation scheme using the new byte-codes.
8587
8588 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8589 (byte-pophandler): New byte codes.
8590 (byte-goto-ops): Adjust accordingly.
8591 (byte-compile--use-old-handlers): New var.
8592 (byte-compile-catch): Use new byte codes depending on
8593 byte-compile--use-old-handlers.
8594 (byte-compile-condition-case--old): Rename from
8595 byte-compile-condition-case.
8596 (byte-compile-condition-case--new): New function.
8597 (byte-compile-condition-case): New function that dispatches depending
8598 on byte-compile--use-old-handlers.
8599 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8600 when we can.
8601
8602 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8603 Optimize under `condition-case' and `catch' if
8604 byte-compile--use-old-handlers is nil.
8605 (disassemble-offset): Handle new bytecodes.
8606
8607 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * subr.el (error): Use `declare'.
8610 (decode-char, encode-char): Use advertised-calling-convention instead
8611 of the docstring to discourage use of the `restriction' arg.
8612
8613 2013-10-03 Daiki Ueno <ueno@gnu.org>
8614
8615 * epg.el (epg-verify-file): Add a comment saying that it does not
8616 notify verification error as a return value nor a signal.
8617 (epg-verify-string): Ditto.
8618
8619 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8620
8621 * progmodes/compile.el (compilation-start): Try globbing the arg to
8622 `cd' (bug#15417).
8623
8624 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8625
8626 Sync with Tramp 2.2.8.
8627
8628 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8629 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8630 * net/trampver.el: Update release number.
8631
8632 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8633
8634 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8635 and default-process-coding-system for darwin only.
8636
8637 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8640
8641 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8642
8643 * vc/vc-git.el (vc-git-grep): Disable pager.
8644
8645 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8646
8647 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8648 Use :url instead of :homepage, as per
8649 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8650
8651 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8652 non-nil, use `syntax-ppss' (Bug#15251).
8653
8654 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8655
8656 * progmodes/octave.el (inferior-octave-startup-file):
8657 Prefer ~/.emacs.d/init_octave.m.
8658
8659 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8660
8661 * emacs-lisp/package.el (package-desc-from-define):
8662 Accept additional arguments as plist, convert them to an alist and store
8663 them in the `extras' slot.
8664 (package-generate-description-file): Convert extras alist back to
8665 plist and append to the `define-package' form arguments.
8666 (package--alist-to-plist): New function.
8667 (package--ac-desc): Add `extras' slot.
8668 (package--add-to-archive-contents): Check if the archive-contents
8669 vector is long enough, and if it is, pass its `extras' slot value
8670 to `package-desc-create'.
8671 (package-buffer-info): Call `lm-homepage', pass the returned value
8672 to `package-desc-from-define'.
8673 (describe-package-1): Render the homepage button (Bug#13291).
8674
8675 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8676 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8677
8678 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8679
8680 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8681 and default-process-coding-system to utf-8-unix (Bug#15402).
8682
8683 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8684
8685 * subr.el (looking-back): Do not recommend using looking-back.
8686
8687 2013-09-28 Alan Mackenzie <acm@muc.de>
8688
8689 Fix indentation/fontification of Java enum with "implements".
8690
8691 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8692 regexp which matches "implements", etc., in Java.
8693 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8694 specifier clauses coming after "enum".
8695 * progmodes/cc-fonts.el (c-font-lock-declarations)
8696 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8697 after "enum".
8698
8699 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8700
8701 * faces.el (region): Change ns_selection_color to
8702 ns_selection_fg_color, add ns_selection_bg_color.
8703
8704 2013-09-28 Leo Liu <sdl.web@gmail.com>
8705
8706 * progmodes/octave.el (inferior-octave-completion-table)
8707 (inferior-octave-completion-at-point): Minor tweaks.
8708
8709 * textmodes/ispell.el (ispell-lookup-words): Rename from
8710 lookup-words. (Bug#15460)
8711 (lookup-words): Obsolete.
8712 (ispell-complete-word, ispell-command-loop): All uses changed.
8713
8714 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8715
8716 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8717 (octave-mode-menu): Add octave-send-buffer.
8718 (octave-send-buffer): New function.
8719
8720 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8721
8722 * progmodes/octave.el (octave-mode-map): Add key binding for
8723 octave-lookfor.
8724 (octave-mode-menu): Add octave-lookfor.
8725 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8726 octave-lookfor.
8727 (octave-lookfor): New function.
8728
8729 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8732 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8733 its convention.
8734 (cl--loop-set-iterator-function): New function.
8735 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8736 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8737 Bind `it' with `let' instead of substituting it with `cl-subst'.
8738 (cl--unused-var-p): New function.
8739 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8740 Eliminate some unused variable warnings (bug#15326).
8741
8742 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8743
8744 * doc-view.el (doc-view-scale-reset): Rename from
8745 `doc-view-reset-zoom-level'.
8746 (doc-view-scale-adjust): New command.
8747 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8748 `doc-view-scale-adjust'.
8749
8750 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8751
8752 * doc-view.el (doc-view-reset-zoom-level): New command.
8753 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8754 zoom commands (bug#15466).
8755
8756 2013-09-26 Kenichi Handa <handa@gnu.org>
8757
8758 * international/quail.el (quail-help): Make it not a command.
8759
8760 2013-09-26 Leo Liu <sdl.web@gmail.com>
8761
8762 * minibuffer.el (completion-all-sorted-completions): Make args
8763 optional as they are.
8764
8765 2013-09-25 Daniel Colascione <dancol@dancol.org>
8766
8767 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8768 specs are and that they're not evaluated.
8769
8770 2013-09-24 Sam Steingold <sds@gnu.org>
8771
8772 * midnight.el (clean-buffer-list-kill-regexps)
8773 (clean-buffer-list-kill-buffer-names): Update for the new Man
8774 buffer naming which includes the object name.
8775
8776 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8779 (eshell-parse-command, eshell-parse-pipeline): Use it since
8780 eshell-separate-commands requires a dynamic scoped var.
8781 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8782
8783 2013-09-23 Leo Liu <sdl.web@gmail.com>
8784
8785 * autoinsert.el (auto-insert-alist): Make the value of
8786 lexical-binding match its file setting.
8787
8788 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8789
8790 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8791
8792 * autoarg.el (autoarg-kp-digit-argument):
8793 * electric.el (Electric-command-loop):
8794 * kmacro.el (kmacro-step-edit-insert):
8795 Do not set universal-argument-num-events.
8796
8797 2013-09-22 Leo Liu <sdl.web@gmail.com>
8798
8799 * files.el (interpreter-mode-alist): Add octave.
8800
8801 2013-09-21 Alan Mackenzie <acm@muc.de>
8802
8803 C++: fontify identifier in declaration following "public:" correctly.
8804 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8805 to match "public", etc.
8806 (c-decl-prefix-re): Add ":" into the C++ value.
8807 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8808 bit. Add a check for a ":" preceded by "public", etc.
8809
8810 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8811
8812 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8813 recognized by GDB 7.5 and later.
8814
8815 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8816
8817 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8818
8819 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * subr.el (internal--call-interactively): New const.
8822 (called-interactively-p): Use it (bug#3984).
8823
8824 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8825
8826 * vc/pcvs.el (cvs-mode-ignore):
8827 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8828 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8829
8830 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8833 (eshell-ls-orig-insert-directory): Remove.
8834 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8835 (eshell-ls-use-in-dired): Use advice-add/remove.
8836 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8837 Add `orig-fun' arg for use in :around advice.
8838 Make it check (redundantly) eshell-ls-use-in-dired.
8839
8840 2013-09-19 Glenn Morris <rgm@gnu.org>
8841
8842 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8843
8844 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8845
8846 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8847
8848 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8849
8850 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8851 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8852 (tramp-get-remote-python): New defuns.
8853 (tramp-get-remote-uid-with-perl)
8854 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8855 contributed by yary <not.com@gmail.com> (tiny change).
8856 (tramp-get-remote-uid-with-python)
8857 (tramp-get-remote-gid-with-python): New defuns. Python code
8858 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8859 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8860
8861 2013-09-19 Glenn Morris <rgm@gnu.org>
8862
8863 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8864
8865 * eshell/em-unix.el (eshell-remove-entries):
8866 Rename argument to avoid name-clash with global `top-level'.
8867
8868 * eshell/esh-proc.el (eshell-kill-process-function):
8869 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8870 (eshell-reset-after-proc): Remove unused arg `proc'.
8871
8872 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8873 (directory-files-and-attributes): Mark unused arg.
8874
8875 * eshell/em-unix.el (eshell-remove-entries):
8876 Remove unused arg `path'. Update callers.
8877
8878 * eshell/em-hist.el (eshell-hist-parse-arguments):
8879 Remove unused arg `silent'. Update callers.
8880
8881 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8882 Fix (f)boundp mix-up.
8883
8884 * eshell/em-smart.el (eshell-smart-scroll-window)
8885 (eshell-disable-after-change):
8886 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8887
8888 2013-09-18 Alan Mackenzie <acm@muc.de>
8889
8890 Fix fontification of type when followed by "const".
8891 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8892 "known" types from fontification.
8893
8894 2013-09-18 Glenn Morris <rgm@gnu.org>
8895
8896 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8897 (chart-face-list): Drop Emacsen without display-color-p.
8898
8899 * net/eww.el (libxml-parse-html-region): Declare.
8900 (eww-display-html): Explicit error if no libxml2 support.
8901
8902 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8903
8904 * image.el (image-type-from-buffer, image-multi-frame-p):
8905 Remove --without-x warning/error.
8906
8907 * mouse.el (mouse-yank-primary):
8908 * term.el (term-mouse-paste):
8909 Reorder to silence --without-x compilation.
8910
8911 * mpc.el (doc-view-mode): Silence --without-x compilation.
8912
8913 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8914 Silence --without-x compilation.
8915
8916 * progmodes/gud.el (gud-find-file, gud-mode):
8917 Silence --without-x compilation.
8918 (tooltip-mode): Declare.
8919
8920 * wdired.el (dired-backup-overwrite): Remove declaration.
8921 (wdired-mode-map): Add doc string.
8922
8923 * custom.el (x-get-resource): Declare.
8924
8925 * eshell/em-glob.el (ange-cache):
8926 * eshell/em-unix.el (ange-cache): Declare.
8927
8928 * faces.el (x-display-list, x-open-connection, x-get-resource):
8929 Declare.
8930
8931 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8932 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8933 Declare.
8934
8935 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8936
8937 * net/gnutls.el (gnutls-log-level): Declare.
8938
8939 * net/shr.el (image-size, image-animate): Declare.
8940
8941 * simple.el (font-info): Declare.
8942
8943 * subr.el (x-popup-dialog): Declare.
8944
8945 * term/common-win.el (x-select-enable-primary)
8946 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8947 Declare.
8948
8949 * term/ns-win.el (x-handle-args): Declare.
8950
8951 * term/x-win.el (x-select-enable-clipboard): Declare.
8952
8953 * term/w32-win.el (create-default-fontset): Declare.
8954
8955 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8956 Declare.
8957
8958 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8959 (fit-frame-to-buffer): Explicit error if --without-x.
8960 (mouse-autoselect-window-select): Silence compiler.
8961
8962 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8963
8964 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8965 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8966 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8967 * eshell/esh-util.el (eshell-sublist):
8968 Remove unused local variables.
8969
8970 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8971
8972 * textmodes/two-column.el: Make 2C-split work for --without-x.
8973 (scroll-bar-columns): Autoload.
8974 (top-level): Require fringe when compiling.
8975
8976 2013-09-18 Leo Liu <sdl.web@gmail.com>
8977
8978 * subr.el (add-hook): Robustify to handle closure as well.
8979
8980 2013-09-17 Glenn Morris <rgm@gnu.org>
8981
8982 * simple.el (messages-buffer-mode-map): Unbind "g".
8983
8984 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * help-mode.el (help-mode-finish): Use derived-mode-p.
8987 Remove obsolete highlighting.
8988
8989 * play/life.el (life-mode): Use define-derived-mode. Derive from
8990 special-mode.
8991 (life): Let-bind inhibit-read-only.
8992 (life-setup): Avoid `setq'. Use `life-mode'.
8993
8994 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8995 which should not be needed any more.
8996 (package-menu-refresh, package-menu-describe-package): Use user-error.
8997
8998 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8999 (eshell-post-rewrite-command-hook): Make obsolete.
9000 (eshell-parse-command): Simplify.
9001 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9002 (eshell--cmd): Declare.
9003 (eshell-parse-pipeline): Remove unused var `final-p'.
9004 Pass a dynvar to eshell-post-rewrite-command-hook.
9005 Implement the new eshell-post-rewrite-command-function.
9006 (eshell-invoke-directly): Remove unused arg `input'.
9007 * eshell/esh-io.el (eshell-io-initialize):
9008 Use eshell-post-rewrite-command-function (bug#15399).
9009 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9010 adjust to new calling convention.
9011 (eshell-create-handles): Rename args to avoid clashing with dynvar
9012 `standard-output'.
9013
9014 2013-09-17 Glenn Morris <rgm@gnu.org>
9015
9016 * simple.el (messages-buffer-mode): New major mode.
9017 (messages-buffer): New function.
9018 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9019 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9020 (ert-run-test): Use `messages-buffer' function.
9021 (ert--force-message-log-buffer-truncation): Ignore read-only.
9022 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9023 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9024
9025 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9028
9029 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9030
9031 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * icomplete.el (icomplete-in-buffer): New var.
9034 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9035 vars and replace them with functions.
9036 (icomplete-minibuffer-setup): Adjust accordingly.
9037 (icomplete--completion-table, icomplete--completion-predicate)
9038 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9039 New functions.
9040 (icomplete-forward-completions, icomplete-backward-completions)
9041 (icomplete-simple-completing-p, icomplete-exhibit)
9042 (icomplete-completions): Use them.
9043 (icomplete--in-region-buffer): New var.
9044 (icomplete--in-region-setup): New function.
9045 (icomplete-mode): Use it.
9046
9047 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9048 (bug#15379).
9049 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9050 return args and options.
9051 (eshell-eval-using-options): Use the new return value of
9052 eshell--do-opts to set the options's vars in their scope.
9053 (eshell--set-option): Rename from eshell-set-option.
9054 Add arg `opt-vals'.
9055 (eshell--process-option): Rename from eshell-process-option.
9056 Add arg `opt-vals'.
9057 (eshell--process-args): Use an `opt-vals' alist to store the options's
9058 values during their processing and return them additionally to the
9059 remaining args.
9060
9061 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9062
9063 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9064 continuation character an operator, as far as indentation is
9065 concerned (Bug#15369).
9066
9067 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9068
9069 * window.el (window--state-put-2): Don't process buffer state
9070 when buffer doesn't exist any more (Bug#15382).
9071
9072 2013-09-15 Glenn Morris <rgm@gnu.org>
9073
9074 * eshell/em-unix.el (eshell/rm):
9075 Make -f ignore missing files. (Bug#15373)
9076
9077 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9078 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9079 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9080
9081 2013-09-14 Glenn Morris <rgm@gnu.org>
9082
9083 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9084
9085 2013-09-13 Glenn Morris <rgm@gnu.org>
9086
9087 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9088 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9089
9090 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9091
9092 * frame.el (x-focus-frame): Mark as declared in frame.c.
9093
9094 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * ls-lisp.el: Use advice-add.
9097 (original-insert-directory): Remove.
9098 (ls-lisp--insert-directory): Rename from insert-directory; add
9099 `orig-fun' argument.
9100 (insert-directory): Advise.
9101
9102 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9103
9104 * term.el (term-emulate-terminal): Decode the command string
9105 before passing it to term-command-hook. (Bug#15337)
9106
9107 2013-09-13 Glenn Morris <rgm@gnu.org>
9108
9109 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9110
9111 * eshell/esh-ext.el (eshell-search-path): Declare.
9112
9113 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9114 Otherwise an error occurs if eshell-dirs module not loaded.
9115
9116 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9117
9118 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9119
9120 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9121 `tramp-check-proper-host'. Check for a valid method name.
9122
9123 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9124 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9125 * net/tramp-sh.el (tramp-maybe-open-connection):
9126 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9127
9128 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9129 also for hash values.
9130
9131 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * term/ns-win.el (parameters): Don't declare as dynamic.
9134 (before-make-frame-hook): Don't add ineffective function.
9135
9136 * eshell/*.el: Use lexical-binding (bug#15231).
9137
9138 2013-09-12 Kenichi Handa <handa@gnu.org>
9139
9140 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9141
9142 2013-09-12 Glenn Morris <rgm@gnu.org>
9143
9144 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9145 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9146
9147 * subr.el (do-after-load-evaluation): Also give compiler warnings
9148 when obsolete files are used (except by obsolete files).
9149
9150 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9151 in the status output, assume `filename' is the first. (Bug#15322)
9152
9153 * vc/vc.el (vc-deduce-fileset): Doc fix.
9154
9155 * calc/calc-help.el (Info-goto-node):
9156 * progmodes/cperl-mode.el (Info-find-node):
9157 * vc/ediff.el (Info-goto-node): Update declarations.
9158
9159 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9160
9161 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9162 (vc-bzr-pull): Require vc-dispatcher.
9163 * vc/vc-git.el (vc-compilation-mode): Declare.
9164 (vc-git-pull): Require vc-dispatcher.
9165
9166 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9167
9168 * progmodes/octave.el (help-button-action): Declare.
9169
9170 * shell.el (shell-directory-tracker): Output error as a message
9171 rather than just returning it as a string.
9172 (shell-process-pushd): Remove useless use of message.
9173
9174 * dframe.el (dframe-timer-fn):
9175 * files.el (dir-locals-read-from-file):
9176 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9177 (mpc-format):
9178 * reveal.el (reveal-post-command):
9179 * saveplace.el (load-save-place-alist-from-file):
9180 * shell.el (shell-resync-dirs):
9181 * w32-common-fns.el (x-get-selection-value):
9182 * emacs-lisp/copyright.el (copyright-find-copyright):
9183 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9184 * emulation/tpu-edt.el (tpu-copy-keyfile):
9185 * play/bubbles.el (bubbles--mark-neighbourhood):
9186 * progmodes/executable.el
9187 (executable-make-buffer-file-executable-if-script-p):
9188 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9189
9190 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 Cleanup Eshell to rely less on dynamic scoping.
9193 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9194 last-value, and ext-command here. Bind `args' closer to `body'.
9195 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9196 (eshell--args): Declare new dynamic var.
9197 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9198 last-value, and ext-command. Pass `args' to `body'.
9199 (eshell-process-args): Bind eshell--args.
9200 (eshell-set-option): Use eshell--args.
9201 * eshell/eshell.el (eshell): Use derived-mode-p.
9202 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9203 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9204 (eshell-glob-function): Declare.
9205 * eshell/esh-util.el: Require cl-lib.
9206 (eshell-read-hosts-file): Avoid add-to-list.
9207 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9208 `err'.
9209 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9210 Declare.
9211 (eshell/diff): Remove unused var `err'.
9212 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9213 `killflag'.
9214 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9215 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9216 first use.
9217 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9218 Move declaration before first use.
9219 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9220 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9221 rely on cl-return.
9222
9223 2013-09-12 Glenn Morris <rgm@gnu.org>
9224
9225 * term/ns-win.el (global-map): Remove binding for ispell-next,
9226 deleted 1999-05-29. (Bug#15357)
9227
9228 2013-09-11 Glenn Morris <rgm@gnu.org>
9229
9230 * echistory.el (electric-command-history): Remove call to deleted func.
9231
9232 * play/landmark.el (landmark-mode): Fix typos.
9233
9234 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9235 Check cvs-sort-ignore-file is bound.
9236
9237 * savehist.el: No need for cl when compiling on Emacs.
9238
9239 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9242 (bug#15338).
9243 (eshell-self-insert-command, eshell-send-invisible):
9244 Remove unused argument.
9245 (eshell-handle-control-codes): Remove unused var `orig'.
9246 Avoid delete-backward-char.
9247
9248 * files.el (set-auto-mode): Simplify a bit further.
9249
9250 2013-09-11 Glenn Morris <rgm@gnu.org>
9251
9252 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9253 (set-auto-mode): Don't regexp-quote elements.
9254 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9255 * progmodes/cc-mode.el (interpreter-mode-alist):
9256 * progmodes/ruby-mode.el (interpreter-mode-alist):
9257 Revert previous change.
9258
9259 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * play/snake.el (snake-mode):
9262 * play/mpuz.el (mpuz-mode):
9263 * play/landmark.el (lm-mode):
9264 * play/blackbox.el (blackbox-mode):
9265 * play/5x5.el (5x5-mode):
9266 * obsolete/options.el (Edit-options-mode):
9267 * net/quickurl.el (quickurl-list-mode):
9268 * net/newst-treeview.el (newsticker-treeview-mode):
9269 * mail/rmailsum.el (rmail-summary-mode):
9270 * mail/mspools.el (mspools-mode):
9271 * locate.el (locate-mode):
9272 * ibuffer.el (ibuffer-mode):
9273 * emulation/ws-mode.el (wordstar-mode):
9274 * emacs-lisp/debug.el (debugger-mode):
9275 * array.el (array-mode):
9276 * net/eudc.el (eudc-mode): Use define-derived-mode.
9277 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9278 Move initialization into declaration.
9279 (mairix-searches-mode): Use define-derived-mode.
9280 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9281 (eudc-edit-hotlist): Use dolist.
9282 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9283 (Man-mode): Use define-derived-mode.
9284 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9285 (Info-edit-mode): Use define-derived-mode.
9286 (Info-cease-edit): Use Info-mode.
9287 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9288 into declaration.
9289 (eshell-mode): Use define-derived-mode.
9290 * chistory.el (command-history-mode-map): Rename from
9291 command-history-map.
9292 (command-history-mode): Use define-derived-mode.
9293 (Command-history-setup): Remove function.
9294 * calc/calc.el (calc-trail-mode-map): New var.
9295 (calc-trail-mode): Use define-derived-mode.
9296 (calc-trail-buffer): Set calc-main-buffer manually.
9297 * bookmark.el (bookmark-insert-annotation): New function.
9298 (bookmark-edit-annotation): Use it.
9299 (bookmark-edit-annotation-mode): Make it a proper major mode.
9300 (bookmark-send-edited-annotation): Use derived-mode-p.
9301 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9302 closer to its ideal place. Use \' to match EOS.
9303
9304 * profiler.el (profiler-calltree-find): Use function-equal.
9305
9306 2013-09-10 Glenn Morris <rgm@gnu.org>
9307
9308 * files.el (interpreter-mode-alist): Convert to regexps.
9309 (set-auto-mode): Adapt for this. (Bug#15306)
9310 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9311 Comment out unused variable.
9312 * progmodes/cc-mode.el (interpreter-mode-alist):
9313 * progmodes/python.el (interpreter-mode-alist):
9314 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9315 * progmodes/sh-script.el (sh-set-shell):
9316 No longer use interpreter-mode-alist to get list of shells.
9317
9318 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9319
9320 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * simple.el: Use set-temporary-overlay-map for universal-argument.
9323 (universal-argument-map): Don't use default-bindings (bug#15317).
9324 Bind switch-frame explicitly. Replace universal-argument-minus with
9325 a conditional binding.
9326 (universal-argument-num-events, saved-overriding-map): Remove.
9327 (restore-overriding-map): Remove.
9328 (universal-argument--mode): Rename from save&set-overriding-map,
9329 and rewrite.
9330 (universal-argument, universal-argument-more, negative-argument)
9331 (digit-argument): Adjust accordingly.
9332 (universal-argument-minus): Remove.
9333 (universal-argument-other-key): Remove.
9334
9335 * subr.el (with-demoted-errors): Add `format' argument.
9336
9337 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9340 `tramp-cleanup-connection'.
9341
9342 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9343 parameters KEEP-DEBUG and KEEP-PASSWORD.
9344
9345 * net/tramp.el (tramp-file-name-handler):
9346 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9347 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9348 (tramp-maybe-open-connection):
9349 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9350 Use `tramp-cleanup-connection'.
9351
9352 * net/tramp-sh.el (tramp-maybe-open-connection):
9353 Catch 'uname-changed inside the progress reporter.
9354
9355 2013-09-10 Glenn Morris <rgm@gnu.org>
9356
9357 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9358
9359 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9360 returns "alternate access method" in mode (eg "-rw-r--r--.").
9361
9362 2013-09-08 Glenn Morris <rgm@gnu.org>
9363
9364 * saveplace.el (load-save-place-alist-from-file):
9365 Demote errors. (Bug#15305)
9366
9367 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9368
9369 Improve compatibility with older Emacsen, and XEmacs.
9370
9371 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9372 only if it is bound. It isn't for XEmacs.
9373 (with-tramp-progress-reporter): Do not let-bind `result'.
9374 This yields to scoping errors in XEmacs.
9375 (tramp-handle-make-auto-save-file-name): New function, moved from
9376 tramp-sh.el.
9377
9378 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9379 for `make-auto-save-file-name'.
9380 (tramp-adb--gnu-switches-to-ash):
9381 Use `tramp-compat-replace-regexp-in-string'.
9382
9383 * net/tramp-cache.el (tramp-cache-print): Call
9384 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9385
9386 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9387 bound. It isn't for XEmacs.
9388
9389 * net/tramp-compat.el (tramp-compat-copy-file):
9390 Catch `wrong-number-of-arguments' error.
9391 (tramp-compat-replace-regexp-in-string): New defun.
9392
9393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9394 for `make-auto-save-file-name'.
9395 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9396 `copy-file'.
9397 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9398 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9399 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9400
9401 * net/tramp-gw.el (tramp-gw-open-network-stream):
9402 Use `tramp-compat-replace-regexp-in-string'.
9403
9404 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9405 Call `tramp-handle-make-auto-save-file-name'.
9406 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9407 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9408 (tramp-sh-file-inotifywait-process-filter):
9409 Use `tramp-compat-replace-regexp-in-string'.
9410 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9411
9412 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9413 for `make-auto-save-file-name'.
9414 (tramp-smb-handle-copy-directory):
9415 Call `tramp-compat-replace-regexp-in-string'.
9416 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9417 (tramp-smb-handle-copy-file): Improve error message.
9418 (tramp-smb-handle-rename-file): Rename directly only in case
9419 `newname' does not exist yet. This is a restriction of smbclient.
9420 (tramp-smb-maybe-open-connection): Rerun the function only when
9421 `auth-sources' is non-nil.
9422
9423 2013-09-08 Kenichi Handa <handa@gnu.org>
9424
9425 * international/characters.el: Set category "^" (Combining) for
9426 more characters.
9427
9428 2013-09-07 Alan Mackenzie <acm@muc.de>
9429
9430 Correctly fontify Java class constructors.
9431 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9432 in Java Mode.
9433 (c-recognize-typeless-decls): Set the Java value to t.
9434 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9435 While handling a "(", add a check for, effectively, Java, and handle a
9436 "typeless" declaration there.
9437
9438 2013-09-07 Roland Winkler <winkler@gnu.org>
9439
9440 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9441 field subtitle for entry type book.
9442
9443 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * minibuffer.el: Make minibuffer-complete call completion-in-region
9446 rather than other way around.
9447 (completion--some, completion-pcm--find-all-completions):
9448 Don't delay signals when debugging.
9449 (minibuffer-completion-contents): Beware fields within the
9450 minibuffer contents.
9451 (completion-all-sorted-completions): Use defvar-local.
9452 (completion--do-completion, completion--cache-all-sorted-completions)
9453 (completion-all-sorted-completions, minibuffer-force-complete):
9454 Add args `beg' and `end'.
9455 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9456 (minibuffer-complete): Use completion-in-region.
9457 (completion-complete-and-exit): New fun, extracted from
9458 minibuffer-complete-and-exit.
9459 (minibuffer-complete-and-exit): Use it.
9460 (completion--complete-and-exit): Rename from
9461 minibuffer--complete-and-exit.
9462 (completion-in-region--single-word): New function, extracted from
9463 minibuffer-complete-word.
9464 (minibuffer-complete-word): Use it.
9465 (display-completion-list): Make `common-substring' argument obsolete.
9466 (completion--in-region): Call completion--in-region-1 instead of
9467 minibuffer-complete.
9468 (completion-help-at-point): Pass boundaries to
9469 minibuffer-completion-help as args rather than via an overlay.
9470 (completion-pcm--string->pattern): Use `any-delim'.
9471 (completion-pcm--optimize-pattern): New function.
9472 (completion-pcm--pattern->regex): Handle `any-delim'.
9473 * icomplete.el (icomplete-forward-completions)
9474 (icomplete-backward-completions, icomplete-completions):
9475 Adjust calls to completion-all-sorted-completions and
9476 completion--cache-all-sorted-completions.
9477 (icomplete-with-completion-tables): Default to t.
9478 * emacs-lisp/crm.el (crm--current-element): Rename from
9479 crm--select-current-element. Don't put an overlay but return the
9480 boundaries instead.
9481 (crm--completion-command): Take two new args to bind to the boundaries.
9482 (crm-completion-help): Adjust accordingly.
9483 (crm-complete): Use completion-in-region.
9484 (crm-complete-word): Use completion-in-region--single-word.
9485 (crm-complete-and-exit): Use completion-complete-and-exit.
9486
9487 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9490 than dynamically.
9491
9492 2013-09-06 Juri Linkov <juri@jurta.org>
9493
9494 * info.el (Info-display-images-node): When image file doesn't exist
9495 display text version of the image if it's provided in the Info file.
9496 Otherwise, display the location of missing image from SRC attribute.
9497 Add help-echo text property from ALT attribute. (Bug#15279)
9498
9499 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9502 (edit-abbrevs-mode): Use define-derived-mode.
9503
9504 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9505 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9506 that it's defined.
9507 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9508 Use define-derived-mode.
9509
9510 * epg.el (epg-start-encrypt): Minor CSE simplification.
9511
9512 2013-09-06 William Xu <william.xwl@gmail.com>
9513
9514 * arc-mode.el: Add support for 7za (bug#15264).
9515 (archive-7z-program): New var.
9516 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9517 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9518 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9519
9520 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9521
9522 Remove URL syntax.
9523
9524 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9525 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9526 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9527 (tramp-postfix-host-format, tramp-file-name-regexp)
9528 (tramp-completion-file-name-regexp)
9529 (tramp-completion-dissect-file-name)
9530 (tramp-handle-substitute-in-file-name): Remove 'url case.
9531 (tramp-file-name-regexp-url)
9532 (tramp-completion-file-name-regexp-url): Remove constants.
9533
9534 2013-09-06 Glenn Morris <rgm@gnu.org>
9535
9536 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9537
9538 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9539
9540 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9541 keywords" below "here-doc beginnings" (Bug#15270).
9542
9543 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * subr.el (pop): Use `car-safe'.
9546 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9547 to detect unused `pop' return value.
9548
9549 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9550 var `block-regexp'.
9551 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9552 (python-fill-string): Remove unused var `marker'.
9553 (python-skeleton-add-menu-items): Remove unused var `items'.
9554
9555 * international/mule-cmds.el: Require CL.
9556 (find-coding-systems-for-charsets): Avoid add-to-list.
9557 (sanitize-coding-system-list): New function, extracted from
9558 select-safe-coding-system-interactively.
9559 (select-safe-coding-system-interactively): Use it.
9560 (read-input-method-name): Accept symbols for `default'.
9561
9562 * emacs-lisp/advice.el (defadvice): Add indent rule.
9563
9564 2013-09-05 Daniel Hackney <dan@haxney.org>
9565
9566 * dired-x.el:
9567 * net/ange-ftp.el:
9568 * net/browse-url.el:
9569 * net/dbus.el:
9570 * net/eudc.el:
9571 * net/eudcb-ldap.el:
9572 * net/eww.el:
9573 * net/imap.el:
9574 * printing.el:
9575 * vc/ediff-diff.el:
9576 * vc/ediff-init.el:
9577 * vc/ediff-merg.el:
9578 * vc/ediff-mult.el:
9579 * vc/ediff-util.el:
9580 * vc/ediff-wind.el:
9581 * vc/ediff.el:
9582 * vc/emerge.el:
9583 * vc/pcvs.el:
9584 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9585 byte compiler. Remove some unused let-bound variables.
9586
9587 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9590 a "ref-cell", since it gets better optimized (bug#14883).
9591
9592 2013-09-05 Glenn Morris <rgm@gnu.org>
9593
9594 * progmodes/cc-awk.el (c-forward-sws): Declare.
9595
9596 2013-09-04 Glenn Morris <rgm@gnu.org>
9597
9598 * generic-x.el [rul-generic-mode]: Require cc-mode.
9599 (c++-mode-syntax-table): Declare.
9600 (rul-generic-mode-syntax-table): Init in the defvar.
9601
9602 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9605 (vc-do-command, vc-set-async-update):
9606 * vc/vc-mtn.el (vc-mtn-dir-status):
9607 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9608 (vc-hg-pull, vc-hg-merge-branch):
9609 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9610 (vc-git-merge-branch):
9611 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9612 (vc-cvs-dir-status-files):
9613 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9614 (vc-bzr-dir-status-files):
9615 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9616 * vc/vc-annotate.el: Use lexical-binding.
9617 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9618 (vc-sentinel-movepoint): Declare.
9619 (vc-annotate): Don't use `goto-line'.
9620 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9621 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9622 (vc-sentinel-movepoint): Declare.
9623 * vc/vc-svn.el: Use lexical-binding.
9624 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9625 * vc/vc-sccs.el:
9626 * vc/vc-rcs.el: Use lexical-binding.
9627
9628 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9629 `deleted'. Don't drop errors silently.
9630
9631 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9632
9633 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9634
9635 * vc/vc.el (vc-ignore): Rewrite.
9636 (vc-default-ignore): New function.
9637 (vc-default-ignore-completion-table): Use find-ignore-file.
9638
9639 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9640 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9641 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9642 Remove. Most code moved to vc.el.
9643
9644 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9647 * net/tramp-smb.el (tramp-smb-get-file-entries):
9648 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9649 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9650
9651 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9652 Update call to it.
9653 (eww-change-select): Remove unused var `properties'.
9654 (eww-make-unique-file-name): Remove unused var `base'.
9655
9656 * finder.el (finder-compile-keywords): Don't mess with windows.
9657
9658 * calculator.el (calculator-funcall): Fix typo in last change.
9659
9660 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9661
9662 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9663 <pkg>-autoloads.el file stop us.
9664
9665 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9666 warnings, and factor out common code.
9667
9668 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9669
9670 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9671 two-character operators and whether the character preceding them
9672 changes their meaning (Bug#15208).
9673
9674 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9675
9676 Format code sent to Python shell for robustness.
9677 * progmodes/python.el (python-shell-buffer-substring):
9678 New function.
9679 (python-shell-send-region, python-shell-send-buffer): Use it.
9680
9681 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9682
9683 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9684 * net/tramp.el (tramp-user-error): ... here.
9685 (tramp-find-method, tramp-check-proper-host)
9686 (tramp-dissect-file-name, tramp-debug-message)
9687 (tramp-handle-shell-command):
9688 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9689 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9690
9691 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9692
9693 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9694
9695 * avoid.el (mouse-avoidance-point-position)
9696 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9697 returns nil.
9698
9699 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9700
9701 * progmodes/python.el (python-shell-completion-get-completions):
9702 Drop use of deleted `comint-last-prompt-overlay'.
9703 (python-nav-if-name-main): New command.
9704
9705 2013-09-01 Glenn Morris <rgm@gnu.org>
9706
9707 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9708 Avoid leading space in $wins. Otherwise the sed command used by
9709 eg compile-main ends up containing "/*.el". (Bug#15170)
9710
9711 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9712
9713 2013-08-30 Glenn Morris <rgm@gnu.org>
9714
9715 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9716 Fix is-this-a-directory logic. (Bug#15220)
9717
9718 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * textmodes/css-mode.el: Use SMIE.
9721 (css-smie-grammar): New var.
9722 (css-smie--forward-token, css-smie--backward-token)
9723 (css-smie-rules): New functions.
9724 (css-mode): Use them.
9725 (css-navigation-syntax-table): Remove var.
9726 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9727 (css-indent-calculate, css-indent-line): Remove functions.
9728
9729 Misc changes to reduce use of `(lambda...); and other cleanups.
9730 * cus-edit.el: Use lexical-binding.
9731 (customize-push-and-save, customize-apropos)
9732 (custom-buffer-create-internal): Use closures.
9733 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9734 * progmodes/ada-xref.el: Use setq.
9735 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9736 * dframe.el: Use lexical-binding.
9737 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9738 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9739 * descr-text.el: Use lexical-binding.
9740 (describe-text-widget, describe-text-sexp, describe-property-list):
9741 Use closures.
9742 * comint.el (comint-history-isearch-push-state): Use a closure.
9743 * calculator.el: Use lexical-binding.
9744 (calculator-number-to-string): Make it work with lexical-binding.
9745 (calculator-funcall): Same and use cl-letf.
9746
9747 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9748 (lisp--company-doc-string, lisp--company-location): New functions.
9749 (lisp-completion-at-point): Use them to improve Company support.
9750
9751 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9752 params of lambda expressions.
9753 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9754 (ruby-smie--opening-pipe-p): New function.
9755 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9756 symbols and matched |...| for formal params.
9757 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9758 from being treated as hanging. Handle "rescue".
9759
9760 2013-08-29 Glenn Morris <rgm@gnu.org>
9761
9762 * progmodes/cc-engine.el (c-pull-open-brace):
9763 Move definition before use.
9764
9765 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9768 are immutable. Don't use `unsafe' any more.
9769 (cl--defsubst-expand): Don't substitute at the same time as keeping
9770 a residual unused let-binding. Don't use `unsafe' any more.
9771
9772 2013-08-29 Glenn Morris <rgm@gnu.org>
9773
9774 * calendar/cal-china.el (calendar-chinese-year-cache):
9775 Recenter on 2015.
9776
9777 * nxml/nxml-util.el (nxml-debug-clear-inside):
9778 Use cl-loop rather than loop.
9779
9780 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9781
9782 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9783
9784 2013-08-28 Glenn Morris <rgm@gnu.org>
9785
9786 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9787
9788 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9789
9790 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9791
9792 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * simple.el (repeat-complex-command--called-interactively-skip):
9795 New function.
9796 (repeat-complex-command): Use it (bug#14136).
9797
9798 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9799 (c-define-abbrev-table): Add `doc' argument.
9800 (c-mode-abbrev-table, c++-mode-abbrev-table)
9801 (objc-mode-abbrev-table, java-mode-abbrev-table)
9802 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9803 (awk-mode-abbrev-table): Use it.
9804 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9805 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9806 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9807 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9808 Move initialization into the declaration; and remove any
9809 autoload cookie.
9810
9811 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9812 and dynamic let binding.
9813
9814 * vc/smerge-mode.el: Remove redundant :group args.
9815
9816 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9817 to load-path.
9818
9819 2013-08-28 Juri Linkov <juri@jurta.org>
9820
9821 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9822 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9823 (isearch-other-meta-char): Handle an undefined shifted printing
9824 character by downshifting it. (Bug#15200)
9825
9826 2013-08-28 Juri Linkov <juri@jurta.org>
9827
9828 * isearch.el (isearch-search): Change regexp error message for
9829 non-regexp searches. (Bug#15166)
9830
9831 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9832
9833 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9834 for portability to hosts where /bin/sh has problems.
9835
9836 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9839
9840 2013-08-27 Juri Linkov <juri@jurta.org>
9841
9842 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9843 in the keyboard macro. (Bug#15126)
9844
9845 2013-08-27 Juri Linkov <juri@jurta.org>
9846
9847 * isearch.el (isearch-quote-char): Comment out converting unibyte
9848 to multibyte, thus syncing with its `quoted-insert' counterpart.
9849 (Bug#15166)
9850
9851 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9852
9853 * window.el (display-buffer-use-some-window): Add missing
9854 argument in call of get-largest-window (Bug#15185).
9855 Reported by Stephen Leake.
9856
9857 2013-08-27 Glenn Morris <rgm@gnu.org>
9858
9859 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9860
9861 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9864 from a matcher-function unless there's no more matches (bug#15161).
9865
9866 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * minibuffer.el: Revert change from 2013-08-20.
9869
9870 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9871 with text property `tramp-default', if appropriate.
9872 (tramp-check-proper-host): New defun.
9873 (tramp-dissect-file-name): Do not check hostname. Revert change
9874 of 2013-03-18.
9875 (tramp-backtrace): Make VEC-OR-PROC optional.
9876
9877 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9878 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9879 * net/tramp-sh.el (tramp-maybe-open-connection):
9880 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9881 Apply `tramp-check-proper-host'.
9882
9883 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9884
9885 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9886 lambda expression in order to have `describe-variable' display it.
9887
9888 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9889
9890 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9891 BUF can be optional. (Bug#15186)
9892
9893 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9894
9895 * progmodes/flymake.el (flymake-get-real-file-name-function):
9896 Fix broken customization. (Bug#15184)
9897
9898 2013-08-25 Alan Mackenzie <acm@muc.de>
9899
9900 Improve indentation of bracelists defined by macros (without "=").
9901
9902 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9903 expansion begins with "{", regard it as bracelist when it doesn't
9904 contain a ";".
9905
9906 Parse C++ inher-intro when there's a template split over 2 lines.
9907
9908 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9909 rigorously the search for "class" etc. followed by ":".
9910
9911 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9912 random languages a regexp which never matches rather than nil.
9913
9914 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9915
9916 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9917 (c-awk-regexp-one-line-possibly-open-char-list-re)
9918 (c-awk-one-line-possibly-open-regexp-re)
9919 (c-awk-one-line-non-syn-ws*-re): Remove.
9920 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9921 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9922 (c-awk-space*-unclosed-regexp-/-re): New constants.
9923 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9924 aren't regexp delimiters.
9925
9926 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9927 handling for a rare situation in AWK Mode involving unterminated
9928 strings/regexps.
9929
9930 2013-08-23 Glenn Morris <rgm@gnu.org>
9931
9932 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9933
9934 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9935
9936 * files.el (create-file-buffer): If the result would begin with
9937 spaces, prepend a "|" instead of removing them. (Bug#15162)
9938
9939 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9942 text-properties (bug#15155).
9943
9944 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9945 exist any more.
9946 (calc-keypad-redraw): Remove unused var `pad'.
9947 (calc-keypad-press): Remove unused var `menu'.
9948
9949 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9950
9951 * window.el (display-buffer-pop-up-frame):
9952 Call pop-up-frame-function with BUFFER current so `make-frame' will
9953 use it as the new frame's buffer (Bug#15133).
9954
9955 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * calendar/timeclock.el: Minor cleanups.
9958 (timeclock-ask-before-exiting, timeclock-use-display-time):
9959 Use `symbol'.
9960 (timeclock-modeline-display): Define as alias before the
9961 actual definition.
9962 (timeclock-mode-line-display): Use define-minor-mode.
9963 (timeclock-day-list-template): Make it a function, add an argument.
9964 (timeclock-day-list-required, timeclock-day-list-length)
9965 (timeclock-day-list-debt, timeclock-day-list-span)
9966 (timeclock-day-list-break): Adjust calls accordingly.
9967
9968 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9971 Use read--expression so that completion works again.
9972
9973 2013-08-21 Sam Steingold <sds@gnu.org>
9974
9975 Add rudimentary inferior shell interaction
9976 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9977 (sh-set-shell): Reset it.
9978 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9979 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9980
9981 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * align.el: Use lexical-binding.
9984 (align-region): Simplify accordingly.
9985
9986 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9987
9988 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9989
9990 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9991 `non-essential' up.
9992
9993 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9994
9995 * net/tramp.el:
9996 * net/tramp-adb.el:
9997 * net/tramp-cmds.el:
9998 * net/tramp-ftp.el:
9999 * net/tramp-gvfs.el:
10000 * net/tramp-gw.el:
10001 * net/tramp-sh.el: Don't wrap external variable declarations by
10002 `eval-when-compile'.
10003
10004 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
10006 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10007 now that Emacs supports ImageMagick animations.
10008
10009 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10012 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10013
10014 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10015
10016 * window.el (mouse-autoselect-window-select): Do autoselect when
10017 mouse pointer is on margin.
10018
10019 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10020
10021 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10022
10023 2013-08-16 Glenn Morris <rgm@gnu.org>
10024
10025 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10026 Handle "Remote Directory" response of some clients. (Bug#15058)
10027
10028 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10029 Tweak warning. (Bug#14926)
10030
10031 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10032 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10033
10034 * image-mode.el (image-mode-map): Add menu items to reverse,
10035 increase, decrease, reset animation speed.
10036 (image--set-speed, image-increase-speed, image-decrease-speed)
10037 (image-reverse-speed, image-reset-speed): New functions.
10038 (image-mode-map): Add bindings for speed commands.
10039
10040 * image.el (image-animate-get-speed, image-animate-set-speed):
10041 New functions.
10042 (image-animate-timeout): Respect image :speed property.
10043
10044 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10047 previous line (bug#15101).
10048 (debugger-eval-expression, debugger-record-expression):
10049 Use read--expression (bug#15102).
10050
10051 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10052
10053 Remove byte compiler warnings, visible when compiling with
10054 `byte-compile-force-lexical-warnings' set to t.
10055
10056 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10057 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10058 (tramp-handle-unhandled-file-name-directory)
10059 (tramp-handle-file-notify-add-watch, tramp-action-login)
10060 (tramp-action-succeed, tramp-action-permission-denied)
10061 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10062 arguments with "_".
10063
10064 * net/tramp-adb.el (tramp-adb-parse-device-names)
10065 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10066 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10067 (tramp-adb-handle-file-truename): Remove unused arguments.
10068
10069 * net/tramp-cache.el (tramp-flush-directory-property)
10070 (tramp-flush-connection-property, tramp-list-connections)
10071 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10072
10073 * net/tramp-compat.el (tramp-compat-make-temp-file):
10074 Rename FILENAME to F.
10075
10076 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10077 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10078 (tramp-zeroconf-parse-workstation-device-names)
10079 (tramp-zeroconf-parse-webdav-device-names)
10080 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10081
10082 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10083 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10084
10085 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10086 arguments.
10087 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10088 (tramp-sh-handle-insert-file-contents-literally)
10089 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10090 with "_".
10091 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10092 Remove unused variables.
10093
10094 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10095 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10096 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10097
10098 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10099 Make them a defconst.
10100 (tramp-uuencode-region): Remove unused variable.
10101
10102 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * frameset.el (frameset--prop-setter): New function.
10105 (frameset-prop): Add gv-setter declaration.
10106 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10107 parameter was already set in FILTERED. Doc fix.
10108 (frameset--record-minibuffer-relationships): Allow saving a
10109 minibufferless frame without its corresponding minibuffer frame.
10110 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10111 frame, if the frame id matches.
10112 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10113 frames before orphaned ones.
10114 (frameset-restore): Warn about orphaned windows, instead of error out.
10115
10116 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10117
10118 * window.el (window-make-atom): Don't overwrite parameter
10119 already present.
10120 (display-buffer-in-atom-window): Handle special case where we
10121 split an already atomic window.
10122 (window--major-non-side-window, display-buffer-in-side-window)
10123 (window--side-check): Ignore minibuffer window when walking
10124 window tree.
10125 (window-deletable-p): Return 'frame only if no other frame uses
10126 our minibuffer window.
10127 (record-window-buffer): Run buffer-list-update-hook.
10128 (split-window): Make sure window--check-frame won't destroy an
10129 existing atomic window in case the new window gets nested
10130 inside.
10131 (display-buffer-at-bottom): Ignore minibuffer window when
10132 walking window tree. Don't split a side window.
10133 (pop-to-buffer): Don't set-buffer here, the select-window call
10134 should do that.
10135 (mouse-autoselect-window-select): Autoselect only if we are in the
10136 text portion of the window.
10137
10138 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10139
10140 * net/shr.el (shr-parse-image-data): New function to grab both the
10141 data itself and the Content-Type.
10142 (shr-put-image): Use it.
10143
10144 * net/eww.el (eww-display-image): Ditto.
10145
10146 * image.el (image-content-type-suffixes): New variable.
10147
10148 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10149
10150 * progmodes/python.el (python-imenu--build-tree)
10151 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10152
10153 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10154
10155 * simple.el (backward-word): Mention the optional argument.
10156
10157 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * frameset.el (frameset--make): Rename constructor from make-frameset.
10160 (frameset-p, frameset-valid-p): Don't autoload.
10161 (frameset-valid-p): Use normal accessors.
10162
10163 2013-08-13 Glenn Morris <rgm@gnu.org>
10164
10165 * progmodes/compile.el (compile-command): Tweak example in doc.
10166 * obsolete/scribe.el (scribe-mode):
10167 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10168
10169 * mail/feedmail.el (feedmail-confirm-outgoing)
10170 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10171
10172 * cus-start.el (truncate-partial-width-windows): Fix type.
10173
10174 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10175
10176 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10177
10178 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * emacs-lisp/timer.el (timer--time-setter): New function.
10181 (timer--time): Use it as gv-setter.
10182
10183 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10184 setter is not a symbol.
10185
10186 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10187
10188 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10189 if sending fails. This makes debugging easier.
10190
10191 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10192
10193 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10194 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10195 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10196
10197 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10198
10199 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10200
10201 2013-08-12 Glenn Morris <rgm@gnu.org>
10202
10203 * format.el (format-annotate-function):
10204 Handle read-only text properties in the source. (Bug#14887)
10205
10206 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10207
10208 * net/eww.el (eww-display-html): Ignore coding system errors.
10209 One web site uses "utf-8lias" as the coding system.
10210
10211 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10212
10213 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10214
10215 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10216
10217 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10218 (tutorial--detailed-help): Remove unused local variables.
10219 (tutorial--save-tutorial-to): Use ignore-errors.
10220 (help-with-tutorial): Use looking-at-p.
10221
10222 * view.el (view-buffer-other-window, view-buffer-other-frame):
10223 Mark unused arguments.
10224
10225 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10226 (woman-select-symbol-fonts, woman, woman-find-file)
10227 (woman-insert-file-contents, woman-non-underline-faces):
10228 Use string-match-p.
10229 (woman1-unquote): Move declaration.
10230
10231 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10232 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10233 argument. Remove unused local variable.
10234 (xml-parse-elem-type): Use string-match-p.
10235 (xml-substitute-numeric-entities): Use ignore-errors.
10236
10237 * calculator.el (calculator): Mark unused argument.
10238 (calculator-paste, calculator-quit, calculator-integer-p):
10239 Use ignore-errors.
10240 (calculator-string-to-number, calculator-decimal, calculator-exp)
10241 (calculator-op-or-exp): Use string-match-p.
10242
10243 * dired.el (dired-buffer-more-recently-used-p): Declare.
10244 (dired-insert-set-properties, dired-insert-old-subdirs):
10245 Use ignore-errors.
10246
10247 * dired-aux.el (dired-compress): Use ignore-errors.
10248 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10249 (dired-do-async-shell-command, dired-do-shell-command)
10250 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10251 (dired-insert-subdir-validate): Use string-match-p.
10252 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10253 (dired-add-entry): Use string-match-p, looking-at-p.
10254 (dired-insert-subdir-newpos): Remove unused local variable.
10255
10256 * filenotify.el (file-notify-callback): Remove unused local variable.
10257
10258 * filesets.el (filesets-error): Mark unused argument.
10259 (filesets-which-command-p, filesets-filter-dir-names)
10260 (filesets-directory-files, filesets-get-external-viewer)
10261 (filesets-ingroup-get-data): Use string-match-p.
10262
10263 * find-file.el (ff-other-file-name, ff-other-file-name)
10264 (ff-find-the-other-file, ff-cc-hh-converter):
10265 Remove unused local variables.
10266 (ff-get-file-name): Use string-match-p.
10267 (ff-all-dirs-under): Use ignore-errors.
10268
10269 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10270 (follow-select-if-visible): Remove unused local variable.
10271
10272 * forms.el (read-file-filter): Move declaration.
10273 (forms--make-format, forms--make-parser, forms-insert-record):
10274 Quote function with #'.
10275 (forms--update): Use string-match-p. Quote function with #'.
10276
10277 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10278 (help-make-xrefs): Use looking-at-p.
10279 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10280
10281 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10282 (ibuffer-confirm-operation-on): Use string-match-p.
10283
10284 * msb.el (msb-item-handler, msb-dired-item-handler):
10285 Mark unused arguments.
10286
10287 * ses.el (ses-decode-cell-symbol)
10288 (ses-kill-override): Remove unused local variable.
10289 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10290 (ses-load): Use ignore-errors, looking-at-p.
10291 (ses-jump-safe): Use ignore-errors.
10292 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10293
10294 * tabify.el (untabify, tabify): Mark unused arguments.
10295
10296 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10297 Mark unused argument.
10298 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10299 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10300
10301 * emacs-lisp/timer.el (timer--time): Define setter with
10302 gv-define-setter to avoid deprecation warning.
10303
10304 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10305 (*record-cmpl-statistics-p*): Remove (was commented out).
10306 (cmpl-statistics-block): Remove (body was commented out).
10307 All callers changed.
10308 (add-completions-from-buffer, load-completions-from-file):
10309 Remove unused variables.
10310
10311 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * filecache.el (file-cache-delete-file-list):
10314 Print message only when told so.
10315 (file-cache-files-matching): Use #' in mapconcat argument.
10316
10317 * ffap.el (ffap-url-at-point): Fix reference to variable
10318 thing-at-point-default-mail-uri-scheme.
10319
10320 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * subr.el (define-error): New function.
10323 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10324 error-file-not-found and define with define-error.
10325 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10326 and define with define-error.
10327 * userlock.el (file-locked, file-supersession):
10328 * simple.el (mark-inactive):
10329 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10330 * progmodes/ada-mode.el (ada-mode-errors):
10331 * play/life.el (life-extinct):
10332 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10333 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10334 * nxml/rng-util.el (rng-error):
10335 * nxml/rng-uri.el (rng-uri-error):
10336 * nxml/rng-match.el (rng-compile-error):
10337 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10338 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10339 * nxml/nxml-rap.el (nxml-scan-error):
10340 * nxml/nxml-outln.el (nxml-outline-error):
10341 * net/soap-client.el (soap-error):
10342 * net/gnutls.el (gnutls-error):
10343 * net/ange-ftp.el (ftp-error):
10344 * mpc.el (mpc-proc-error):
10345 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10346 (json-number-format, json-string-escape, json-string-format)
10347 (json-key-format, json-object-format):
10348 * jka-compr.el (compression-error):
10349 * international/quail.el (quail-error):
10350 * international/kkc.el (kkc-error):
10351 * emacs-lisp/ert.el (ert-test-failed):
10352 * calc/calc.el (calc-error, inexact-result, math-overflow)
10353 (math-underflow):
10354 * bookmark.el (bookmark-error-no-filename):
10355 * epg.el (epg-error): Define with define-error.
10356
10357 * time.el (display-time-event-handler)
10358 (display-time-next-load-average): Don't call sit-for since it seems
10359 unnecessary (bug#15045).
10360
10361 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10362 Use #' instead of ' to quote functions.
10363 (checkdoc-output-mode): Use setq-local.
10364 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10365 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10366 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10367 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10368 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10369 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10370 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10371 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10372
10373 * ido.el (ido-completion-help): Fix up compiler warning.
10374
10375 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10376
10377 * frameset.el (frameset-p): Add autoload cookie.
10378 (frameset--jump-to-register): New function, based on code moved from
10379 register.el.
10380 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10381
10382 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10383 (frameset-restore, frameset-save, frameset-session-filter-alist):
10384 Remove declarations.
10385 (register-alist): Doc fix.
10386 (frameset-to-register): Move to frameset.el.
10387 (jump-to-register, describe-register-1): Remove frameset-specific code.
10388
10389 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10390
10391 * allout-widgets.el (allout-widgets-pre-command-business)
10392 (allout-widgets-post-command-business)
10393 (allout-widgets-after-change-handler)
10394 (allout-decorate-item-and-context, allout-set-boundary-marker)
10395 (allout-body-modification-handler)
10396 (allout-graphics-modification-handler): Mark ignored arguments.
10397 (allout-widgets-post-command-business)
10398 (allout-widgets-exposure-change-processor)
10399 (allout-widgets-exposure-undo-processor)
10400 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10401 (allout-parse-item-at-point, allout-decorate-item-guides)
10402 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10403 * allout.el (epa-passphrase-callback-function): Declare.
10404 (allout-overlay-insert-in-front-handler)
10405 (allout-overlay-interior-modification-handler)
10406 (allout-isearch-end-handler, allout-chart-siblings)
10407 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10408 (allout-yank-processing, allout-process-exposed)
10409 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10410 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10411 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10412 (lisp-indent-defform): Mark ignored arguments.
10413 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10414 (calculate-lisp-indent): Remove unused variables.
10415 * international/characters.el (indian-2-column, arabic-2-column)
10416 (tibetan): Mark ignored arguments.
10417 (use-cjk-char-width-table): Mark ignored arguments.
10418 Remove unused variables.
10419 * international/fontset.el (build-default-fontset-data)
10420 (x-compose-font-name, create-fontset-from-fontset-spec):
10421 Mark ignored arguments.
10422 (fontset-plain-name): Remove unused variables.
10423 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10424 (keyboard-coding-system): Mark ignored arguments.
10425 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10426 * help.el (resize-temp-buffer-window):
10427 * window.el (display-buffer-in-major-side-window)
10428 (display-buffer-in-side-window, display-buffer-in-previous-window):
10429 Remove unused variables.
10430 * isearch.el (isearch-forward-symbol):
10431 * version.el (emacs-bzr-version-bzr):
10432 * international/mule-cmds.el (current-language-environment):
10433 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10434 (x-handle-display):
10435 * term/pc-win.el (x-list-fonts, x-display-planes)
10436 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10437 (x-server-version, x-display-screens, x-display-mm-height)
10438 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10439 (x-selection-owner-p, x-own-selection-internal)
10440 (x-disown-selection-internal, x-get-selection-internal)
10441 (msdos-initialize-window-system):
10442 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10443 * term/x-win.el (x-handle-no-bitmap-icon):
10444 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10445 (vc-default-find-file-hook, vc-default-extra-menu):
10446 Mark ignored arguments.
10447
10448 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10451 break-condition in the context of the debugged code (bug#12685).
10452
10453 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10454
10455 * comint.el:
10456 Do not use an overlay to highlight the last prompt. (Bug#14744)
10457 (comint-mode): Make comint-last-prompt buffer local.
10458 (comint-last-prompt): New variable.
10459 (comint-last-prompt-overlay): Remove. Superseded by
10460 comint-last-prompt.
10461 (comint-snapshot-last-prompt, comint-output-filter):
10462 Use comint-last-prompt.
10463
10464 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10465
10466 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10467 (frameset-save): Check validity of the resulting frameset.
10468
10469 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10470
10471 * ido.el (ido-record-command): Add doc string.
10472
10473 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * frameset.el (frameset): Do not disable creation of the default
10476 frameset-p predicate. Doc fix.
10477 (frameset-valid-p): New function, copied from the old predicate-p.
10478 Add additional checks.
10479 (frameset-restore): Check with frameset-valid-p.
10480 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10481 (frameset-name, frameset-description, frameset-properties)
10482 (frameset-states): Add docstring.
10483 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10484 (frameset-filter-alist): Doc fixes.
10485
10486 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10487
10488 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10489
10490 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10493 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10494 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10495 (byte-compile-normal-call): Remove obsolescence check.
10496
10497 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10498
10499 * frameset.el (frameset-restore): Doc fix.
10500
10501 * register.el (frameset-frame-id, frameset-frame-with-id)
10502 (frameset-p, frameset-restore, frameset-save): Declare.
10503 (register-alist): Document framesets.
10504 (frameset-session-filter-alist): Declare.
10505 (frameset-to-register): New function.
10506 (jump-to-register): Implement jumping to framesets. Doc fix.
10507 (describe-register-1): Describe framesets.
10508
10509 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10510
10511 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10512
10513 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10514 Use lexical-binding.
10515
10516 * frameset.el (frameset): Use type vector, not list (incompatible
10517 change). Do not declare a new constructor, use the default one.
10518 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10519 `name' and `description', respectively, and add read-only slot
10520 `timestamp'. Doc fixes.
10521 (frameset-copy, frameset-persistent-filter-alist)
10522 (frameset-filter-alist, frameset-switch-to-gui-p)
10523 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10524 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10525 (frameset-filter-iconified, frameset-keep-original-display-p):
10526 Doc fixes.
10527 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10528 Rename from frameset-filter-(save|restore)-param. All callers changed.
10529 Doc fix.
10530 (frameset-p): Adapt to change to vector and be more thorough.
10531 Change arg name to OBJECT. Doc fix.
10532 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10533 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10534 All callers changed.
10535 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10536 All callers changed.
10537 (frameset--record-minibuffer-relationships): Rename from
10538 frameset--process-minibuffer-frames. All callers changed.
10539 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10540 Use new default constructor (again). Doc fix.
10541 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10542 All callers changed.
10543 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10544 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10545 Doc fix.
10546 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10547 PARAMETERS and WINDOW-STATE, respectively.
10548 (frameset-restore): Add new keyword argument PREDICATE.
10549 Reset frameset--target-display to nil. Doc fix.
10550
10551 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10554 (bat-mode): Use it.
10555 (bat-mode-syntax-table): Mark \n as end-of-comment.
10556 (bat-font-lock-keywords): Remove comment rule.
10557
10558 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10559 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10560
10561 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10562 (byte-compile-callargs-warn): Use `push'.
10563 (byte-compile-arglist-warn): Ignore higher-order "calls".
10564 (byte-compile-file-form-autoload): Use `pcase'.
10565 (byte-compile-function-form): If quoting a symbol, check that it exists.
10566
10567 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10568
10569 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10570 and add a few popular commands found in batch files.
10571 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10572 (dos-mode): Doc fixes.
10573
10574 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10577 (dos-mode): Use setq-local. Add space after "rem".
10578 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10579 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10580
10581 2013-08-07 Arni Magnusson <arnima@hafro.is>
10582
10583 * progmodes/dos.el: New file.
10584 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10585 dos-mode.
10586
10587 2013-08-06 Glenn Morris <rgm@gnu.org>
10588
10589 * calendar/calendar.el: Add new faces, and day-header-array.
10590 (calendar-weekday-header, calendar-weekend-header)
10591 (calendar-month-header): New faces.
10592 (calendar-day-header-construct): New function.
10593 (calendar-day-header-width): Also :set calendar-day-header-array.
10594 (calendar-american-month-header, calendar-european-month-header)
10595 (calendar-iso-month-header): Use calendar- faces.
10596 (calendar-generate-month):
10597 Use calendar-day-header-array for day headers; apply faces to them.
10598 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10599 (calendar-abbrev-construct): Add optional maxlen argument.
10600 (calendar-day-name-array): Doc fix.
10601 (calendar-day-name-array, calendar-abbrev-length)
10602 (calendar-day-abbrev-array):
10603 Also :set calendar-day-header-array, and maybe redraw.
10604 (calendar-day-header-array): New option. (Bug#15007)
10605 (calendar-font-lock-keywords): Set to nil and make obsolete.
10606 (calendar-day-name): Add option to use header array.
10607
10608 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10609
10610 * net/shr.el (shr-render-td): Remove debugging.
10611 (shr-render-td): Make width computation consistent by defaulting
10612 all zero-width columns to 10 characters. This may not be optimal,
10613 but it's at least consistent.
10614 (shr-make-table-1): Redo last change to fix the real problem in
10615 colspan handling.
10616
10617 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10618
10619 * files.el (cache-long-line-scans):
10620 Make obsolete alias to `cache-long-scans'.
10621
10622 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10623
10624 * frameset.el (frameset, frameset-filter-alist)
10625 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10626 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10627 (frameset-compute-pos): Rename from frameset--compute-pos,
10628 and add docstring.
10629 (frameset-move-onscreen): Use frameset-compute-pos.
10630 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10631
10632 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10633 Fix typos in docstrings.
10634
10635 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10636
10637 * frame.el (get-other-frame): Tiny cleanup.
10638
10639 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10640
10641 * vc/vc.el (vc-default-ignore-completion-table):
10642 Silence byte-compiler warning.
10643
10644 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10645 slot, which can indeed be nil.
10646 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10647 Move entry for `left' from persistent to live filter alist.
10648 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10649 Doc fixes.
10650 (frameset-filter-params): When restoring a frame, copy items added to
10651 `filtered', to avoid unwittingly modifying the original parameters.
10652 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10653 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10654
10655 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10656 to use looking-at-p instead of looking-at. (Bug#15028)
10657
10658 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 Revert introduction of isearch-filter-predicates (bug#14714).
10661 Rely on add-function instead.
10662 * isearch.el (isearch-filter-predicates): Rename it back to
10663 isearch-filter-predicate.
10664 (isearch-message-prefix): Use advice-function-mapc and advice
10665 properties to get the isearch-message-prefix.
10666 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10667 instead of run-hook-with-args-until-failure.
10668 (isearch-filter-visible): Not obsolete any more.
10669 * loadup.el: Preload nadvice.
10670 * replace.el (perform-replace): Revert to funcall
10671 instead of run-hook-with-args-until-failure.
10672 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10673 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10674 dired-isearch-filenames-toggle; make it into a proper minor mode.
10675 Use add/remove-function.
10676 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10677 Call the minor-mode rather than add/remove-hook.
10678 (dired-isearch-filter-filenames):
10679 Remove isearch-message-prefix property.
10680 * info.el (Info--search-loop): New function, extracted from Info-search.
10681 Funcall isearch-filter-predicate instead of
10682 run-hook-with-args-until-failure isearch-filter-predicates.
10683 (Info-search): Use it.
10684 (Info-mode): Use isearch-filter-predicate instead of
10685 isearch-filter-predicates.
10686
10687 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10688
10689 Do not call to `selected-window' where it is assumed by default.
10690 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10691 `window-hscroll', `window-width', `window-height', `window-buffer',
10692 `window-frame', `window-start', `window-point', `next-window'
10693 and `window-display-table'.
10694 * abbrev.el (abbrev--default-expand):
10695 * bs.el (bs--show-with-configuration):
10696 * buff-menu.el (Buffer-menu-mouse-select):
10697 * calc/calc.el (calc):
10698 * calendar/calendar.el (calendar-generate-window):
10699 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10700 (diary-make-entry):
10701 * comint.el (send-invisible, comint-dynamic-complete-filename)
10702 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10703 * completion.el (complete):
10704 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10705 * disp-table.el (describe-current-display-table):
10706 * doc-view.el (doc-view-insert-image):
10707 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10708 * ehelp.el (with-electric-help):
10709 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10710 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10711 * emacs-lisp/helper.el (Helper-help-scroller):
10712 * emulation/cua-base.el (cua--post-command-handler-1):
10713 * eshell/esh-mode.el (eshell-output-filter):
10714 * ffap.el (ffap-gnus-wrapper):
10715 * help-macro.el (make-help-screen):
10716 * hilit-chg.el (highlight-compare-buffers):
10717 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10718 * hl-line.el (global-hl-line-highlight):
10719 * icomplete.el (icomplete-simple-completing-p):
10720 * isearch.el (isearch-done):
10721 * jit-lock.el (jit-lock-stealth-fontify):
10722 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10723 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10724 * mpc.el (mpc-tagbrowser, mpc):
10725 * net/rcirc.el (rcirc-any-buffer):
10726 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10727 * play/landmark.el (landmark-max-width, landmark-max-height):
10728 * play/zone.el (zone):
10729 * progmodes/compile.el (compilation-goto-locus):
10730 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10731 * progmodes/etags.el (find-tag-other-window):
10732 * progmodes/fortran.el (fortran-column-ruler):
10733 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10734 * progmodes/verilog-mode.el (verilog-point-text):
10735 * reposition.el (reposition-window):
10736 * rot13.el (toggle-rot13-mode):
10737 * server.el (server-switch-buffer):
10738 * shell.el (shell-dynamic-complete-command)
10739 (shell-dynamic-complete-environment-variable):
10740 * simple.el (insert-buffer, set-selective-display)
10741 (delete-completion-window):
10742 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10743 (speedbar-recenter):
10744 * startup.el (fancy-splash-head):
10745 * textmodes/ispell.el (ispell-command-loop):
10746 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10747 * tutorial.el (help-with-tutorial):
10748 * vc/add-log.el (add-change-log-entry):
10749 * vc/compare-w.el (compare-windows):
10750 * vc/ediff-help.el (ediff-indent-help-message):
10751 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10752 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10753 (ediff-setup-control-frame):
10754 * vc/emerge.el (emerge-position-region):
10755 * vc/pcvs-util.el (cvs-bury-buffer):
10756 * window.el (walk-windows, mouse-autoselect-window-select):
10757 * winner.el (winner-set-conf, winner-undo): Related users changed.
10758
10759 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10760
10761 * frameset.el (frameset--set-id): Doc fix.
10762 (frameset-frame-id, frameset-frame-id-equal-p)
10763 (frameset-locate-frame-id): New functions.
10764 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10765 (frameset-restore): Use them.
10766
10767 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10768
10769 Do not call to `selected-frame' where it is assumed by default.
10770 Affected functions are `raise-frame', `redraw-frame',
10771 `frame-first-window', `frame-terminal' and `delete-frame'.
10772 * calendar/appt.el (appt-disp-window):
10773 * epg.el (epg-wait-for-completion):
10774 * follow.el (follow-delete-other-windows-and-split)
10775 (follow-avoid-tail-recenter):
10776 * international/mule.el (set-terminal-coding-system):
10777 * mail/rmail.el (rmail-mail-return):
10778 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10779 * progmodes/f90.el (f90-add-imenu-menu):
10780 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10781 * server.el (server-switch-buffer):
10782 * simple.el (delete-completion-window):
10783 * talk.el (talk):
10784 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10785 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10786 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10787 * vc/ediff.el (ediff-documentation): Related users changed.
10788 * frame.el (selected-terminal): Remove the leftover.
10789
10790 2013-08-05 Glenn Morris <rgm@gnu.org>
10791
10792 * calendar/calendar.el (calendar-generate-month):
10793 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10794 (calendar-generate-month, calendar-font-lock-keywords):
10795 Fix for calendar-day-header-width > length of any day name.
10796
10797 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * desktop.el (desktop-clear): Use new name of sort predicate.
10800
10801 * frameset.el (frameset): Add docstring. Move :version property to its
10802 own `version' slot.
10803 (frameset-copy): Rename from copy-frameset.
10804 (frameset-p): Check more thoroughly.
10805 (frameset-prop): Do not check for :version, which is no longer a prop.
10806 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10807 Use new :never value instead of t.
10808 (frameset-filter-alist): Expand and clarify docstring.
10809 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10810 (frameset-filter-minibuffer, frameset-filter-save-param)
10811 (frameset-filter-restore-param, frameset-filter-iconified):
10812 Add pointer to docstring of frameset-filter-alist.
10813 (frameset-filter-params): Rename filter values to be more meaningful:
10814 :never instead of t, and reverse the meanings of :save and :restore.
10815 (frameset--process-minibuffer-frames): Clarify error message.
10816 (frameset-save): Avoid unnecessary and confusing call to framep.
10817 Use new BOA constructor for framesets.
10818 (frameset--reuse-list): Doc fix.
10819 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10820 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10821 (frameset-minibufferless-first-p): Doc fix.
10822 Rename from frameset-sort-frames-for-deletion.
10823 (frameset-restore): Doc fixes. Use new function names.
10824 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10825
10826 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10827
10828 * desktop.el (desktop-restore-forces-onscreen)
10829 (desktop-restore-reuses-frames): Document :keyword constant values.
10830 (desktop-filter-parameters-alist): Remove, now identical to
10831 frameset-filter-alist.
10832 (desktop--filter-tty*): Remove, moved to frameset.el.
10833 (desktop-save-frameset, desktop-restore-frameset):
10834 Do not pass :filters argument.
10835
10836 * frameset.el (frameset-live-filter-alist)
10837 (frameset-persistent-filter-alist): New variables.
10838 (frameset-filter-alist): Use them. Add autoload cookie.
10839 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10840 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10841 `frameset--id' (it's supposed to be internal to frameset.el).
10842 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10843 (frameset--initial-params): New function.
10844 (frameset--get-frame): Use it. Doc fix.
10845 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10846 Accept :all, not 'all.
10847 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10848 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10849 with fbound symbols. Fix frame id matching, and remove matching ids if
10850 the frame being restored is deleted. Obey :delete.
10851
10852 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * subr.el (macrop): New function.
10855 (text-clone--maintaining): New var.
10856 (text-clone--maintain): Rename from text-clone-maintain. Use it
10857 instead of inhibit-modification-hooks.
10858
10859 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10860 a proxy, so as handle autoloads and redefinitions of the target.
10861 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10862
10863 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10864 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10865 (pcase--mutually-exclusive-p): New function.
10866 (pcase--split-consp): Use it.
10867 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10868 mutually exclusive with the current predicate.
10869
10870 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10871 (edebug-macrop): Remove. Use `macrop' instead.
10872 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10873 (ad-macro-p):
10874 * eshell/esh-cmd.el (eshell-macrop):
10875 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10876
10877 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10880 (advice-mapc): New function, using it.
10881 (advice-function-member-p): New function.
10882 (advice--normalize): Store the cdr in advice--saved-rewrite since
10883 that's the part that will be changed.
10884 (advice--symbol-function): New function.
10885 (advice-remove): Handle removal before the function is defined.
10886 Adjust to new advice--saved-rewrite.
10887 (advice-member-p): Use advice-function-member-p and
10888 advice--symbol-function.
10889
10890 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10893 (frameset-filter-minibuffer): Doc fix.
10894 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10895 (frameset--set-id, frameset--process-minibuffer-frames)
10896 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10897 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10898
10899 * desktop.el (desktop-clear): Only delete frames when called
10900 interactively and desktop-restore-frames is non-nil. Doc fix.
10901 (desktop-read): Set desktop-saved-frameset to nil.
10902
10903 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10904
10905 * vc/vc.el (vc-ignore): Rewrite.
10906 (vc-default-ignore-completion-table, vc--read-lines)
10907 (vc--add-line, vc--remove-regexp): New functions.
10908
10909 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10910 (vc-svn-ignore-completion-table): New function.
10911
10912 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10913 (vc-hg-ignore-completion-table)
10914 (vc-hg-find-ignore-file): New functions.
10915
10916 * vc/vc-git.el (vc-git-ignore): Rewrite.
10917 (vc-git-ignore-completion-table)
10918 (vc-git-find-ignore-file): New functions.
10919
10920 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10921
10922 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10923 (vc-bzr-ignore-completion-table)
10924 (vc-bzr-find-ignore-file): New functions.
10925
10926 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10927
10928 * frameset.el (frameset-prop): New function and setter.
10929 (frameset-save): Do not modify frame list passed by the caller.
10930
10931 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10934
10935 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10938 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10939
10940 * custom.el (custom-initialize-default, custom-initialize-set)
10941 (custom-initialize-reset, custom-initialize-changed): Affect the
10942 toplevel-default-value (bug#6275, bug#14586).
10943 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10944 for bug#6275.
10945
10946 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10947
10948 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10949 Add cl-def* expressions.
10950
10951 * frameset.el (frameset-filter-params): Fix order of arguments.
10952
10953 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10954
10955 Move code related to saving frames to frameset.el.
10956 * desktop.el: Require frameset.
10957 (desktop-restore-frames): Doc fix.
10958 (desktop-restore-reuses-frames): Rename from
10959 desktop-restoring-reuses-frames.
10960 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10961 (desktop-clear): Clear frames too.
10962 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10963 (desktop--filter-tty*, desktop-save, desktop-read):
10964 Use frameset functions.
10965 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10966 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10967 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10968 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10969 (desktop--process-minibuffer-frames, desktop-save-frames)
10970 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10971 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10972 (desktop--sort-states, desktop-restoring-frames-p)
10973 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10974 (desktop-restoring-frameset-p, desktop-restore-frameset)
10975 (desktop--check-dont-save, desktop-save-frameset): New functions.
10976 (desktop--app-id): New constant.
10977 (desktop-first-buffer, desktop-buffer-ok-count)
10978 (desktop-buffer-fail-count): Move before first use.
10979 * frameset.el: New file.
10980
10981 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * files.el: Use lexical-binding.
10984 (dir-locals-read-from-file): Remove unused `err' variable.
10985 (hack-dir-local-variables--warned-coding): New var.
10986 (hack-dir-local-variables): Use it to avoid repeated warnings.
10987 (make-backup-file-name--default-function): New function.
10988 (make-backup-file-name-function): Use it as default.
10989 (buffer-stale--default-function): New function.
10990 (buffer-stale-function): Use it as default.
10991 (revert-buffer-insert-file-contents--default-function): New function.
10992 (revert-buffer-insert-file-contents-function): Use it as default.
10993 (insert-directory): Avoid add-to-list.
10994
10995 * autorevert.el (auto-revert-handler): Simplify.
10996 Use buffer-stale--default-function.
10997
10998 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10999
11000 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11001
11002 * whitespace.el (whitespace-ensure-local-variables): New function.
11003 (whitespace-cleanup-region): Call it.
11004 (whitespace-turn-on): Call it.
11005
11006 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11007
11008 Complete file name handlers.
11009
11010 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11011 (tramp-handle-verify-visited-file-modtime)
11012 (tramp-handle-file-notify-rm-watch): New functions.
11013 (tramp-call-process): Do not bind `default-directory'.
11014
11015 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11016 Order alphabetically.
11017 <access-file, add-name-to-file, dired-call-process>:
11018 <dired-compress-file, file-acl, file-notify-rm-watch>:
11019 <file-ownership-preserved-p, file-selinux-context>:
11020 <make-directory-internal, make-symbolic-link, set-file-acl>:
11021 <set-file-selinux-context, set-visited-file-modtime>:
11022 <verify-visited-file-modtime>: Add handler.
11023 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11024
11025 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11026 <file-notify-add-watch, file-notify-rm-watch>:
11027 <set-file-times, set-visited-file-modtime>:
11028 <verify-visited-file-modtime>: Add handler.
11029 (with-tramp-gvfs-error-message)
11030 (tramp-gvfs-handle-set-visited-file-modtime)
11031 (tramp-gvfs-fuse-file-name): Remove.
11032 (tramp-gvfs-handle-file-notify-add-watch)
11033 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11034 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11035
11036 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11037 Order alphabetically.
11038 <file-notify-rm-watch>: Use default Tramp handler.
11039 <executable-find>: Remove private handler.
11040 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11041 `default-directory'.
11042 (tramp-sh-handle-executable-find)
11043 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11044 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11045 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11046 Do not use `format' in `tramp-message'.
11047
11048 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11049 <file-notify-rm-watch, set-visited-file-modtime>:
11050 <verify-visited-file-modtime>: Add handler.
11051 (tramp-smb-call-winexe): Do not bind `default-directory'.
11052
11053 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11054
11055 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11056
11057 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11058
11059 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11060 use it.
11061 (log-view-diff-changeset): Same.
11062 (log-view-diff-common): Call backend command `previous-revision'
11063 to find out the previous revision, in both cases. Swap the
11064 variables `to' and `fr', so that `fr' usually refers to the
11065 earlier revision (Bug#14989).
11066
11067 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11068
11069 * ibuf-ext.el (ibuffer-filter-by-filename):
11070 Make it work with dired buffers too.
11071
11072 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11073
11074 * emacs-lisp/re-builder.el (reb-color-display-p):
11075 * files.el (save-buffers-kill-terminal):
11076 * net/browse-url.el (browse-url):
11077 * server.el (server-save-buffers-kill-terminal):
11078 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11079 Prefer nil to selected-frame for the first arg of frame-parameter.
11080
11081 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11082
11083 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11084
11085 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11086
11087 * minibuffer.el (completion--twq-all): Try and preserve each
11088 completion's case choice (bug#14907).
11089
11090 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11091
11092 * net/network-stream.el (open-network-stream): Mention the new
11093 :nogreeting parameter.
11094 (network-stream-open-starttls): Use the :nogreeting parameter
11095 (bug#14938).
11096
11097 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11098
11099 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11100 more natural than popping.
11101
11102 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11103 (shr-urlify): Highlight under mouse.
11104
11105 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11106
11107 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11108
11109 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11110
11111 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11112 buffer for output.
11113
11114 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11115 point-min==1. Fix search string. Fix parentheses missing.
11116
11117 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11118 assume point-min==1. Fix search string. Fix parentheses missing.
11119
11120 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11121
11122 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11123 buffer for output.
11124
11125 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11126
11127 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11128 initial frame is minibuffer-less. (Bug#14841)
11129
11130 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11131
11132 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11133 option.
11134
11135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11136 (tramp-maybe-open-connection): Use it.
11137
11138 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11139
11140 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11141 minimal set of parameters passed when creating a frame, because
11142 the minibuffer status of a frame cannot be changed later.
11143
11144 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11145
11146 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11147 replace-regexp-in-string and inadvertent omissions in previous change.
11148 (todo-filter-items): Ensure only file names are comma-separated in
11149 name of filtered items buffer.
11150
11151 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11152
11153 * desktop.el: Optionally force offscreen frames back onscreen.
11154 (desktop-restoring-reuses-frames): New option.
11155 (desktop--compute-pos, desktop--move-onscreen): New functions.
11156 (desktop--make-frame): Use desktop--move-onscreen.
11157
11158 2013-07-27 Alan Mackenzie <acm@muc.de>
11159
11160 Fontify a Java generic method as a function.
11161 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11162 value to t.
11163
11164 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11165
11166 * calendar/todo-mode.el: Add command to rename todo files.
11167 (todo-rename-file): New command.
11168 (todo-key-bindings-t): Add key binding for it. Change the
11169 bindings of todo-filter-regexp-items(-multifile) to use `x'
11170 instead of `r', since the latter is better suited to the new
11171 renaming command.
11172
11173 2013-07-27 Alan Mackenzie <acm@muc.de>
11174
11175 Make Java try-with-resources statement parse properly.
11176 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11177 (c-block-stmt-1-2-key): New language constants/variables.
11178 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11179 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11180 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11181 with c-block-stmt-1-2-key.
11182
11183 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11184
11185 * desktop.el (desktop--make-frame): Apply most frame parameters after
11186 creating the frame to force (partially or totally) offscreen frames to
11187 be restored as such.
11188
11189 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11190
11191 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11192 (Bug#14948)
11193
11194 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11197 `base' arg of backtrace-frame.
11198
11199 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11200
11201 * simple.el (list-processes): Doc fix.
11202
11203 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11204
11205 * desktop.el (desktop--select-frame):
11206 Try harder to reuse existing frames.
11207
11208 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11211 (edebug-eval): Use backtrace-eval.
11212 (edebug--display, edebug--recursive-edit): Don't let-bind the
11213 edebug-outer-* vars that keep track of variables we locally let-bind.
11214 (edebug-outside-excursion): Don't restore outside values of locally
11215 let-bound vars.
11216 (edebug--display): Use user-error.
11217 (cl-lexical-debug, cl-debug-env): Remove.
11218
11219 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11220
11221 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11222 are restored to be sure that they are visible before deleting any
11223 remaining ones.
11224
11225 2013-07-26 Matthias Meulien <orontee@gmail.com>
11226
11227 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11228 vc-print-root-log. (Bug#14948)
11229
11230 2013-07-26 Richard Stallman <rms@gnu.org>
11231
11232 Add aliases for encrypting mail.
11233 * epa.el (epa-mail-aliases): New option.
11234 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11235 Bind inhibit-read-only so read-only text doesn't ruin everything.
11236 (epa-mail-default-recipients): New subroutine broken out.
11237 Handle epa-mail-aliases.
11238
11239 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 Add support for lexical variables to the debugger's `e' command.
11242 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11243 vars, except for debugger-outer-match-data.
11244 (debugger-frame-number): Move check for "on a function call" from
11245 callers into it. Add `skip-base' argument.
11246 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11247 (debugger-env-macro): Only reset the state stored in non-variables,
11248 i.e. current-buffer and match-data.
11249 (debugger-eval-expression): Rewrite using backtrace-eval.
11250 * subr.el (internal--called-interactively-p--get-frame): Remove.
11251 (called-interactively-p):
11252 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11253 `base' arg of backtrace-frame instead.
11254
11255 2013-07-26 Glenn Morris <rgm@gnu.org>
11256
11257 * align.el (align-regexp): Doc fix. (Bug#14857)
11258 (align-region): Explicit error if subexpression missing/does not match.
11259
11260 * simple.el (global-visual-line-mode):
11261 Do not duplicate the mode lighter. (Bug#14858)
11262
11263 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11264
11265 * window.el (display-buffer): In display-buffer bind
11266 split-window-keep-point to t, bug#14829.
11267
11268 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11269
11270 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11271 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11272 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11273 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11274 Change accordingly.
11275 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11276 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11277
11278 2013-07-25 Glenn Morris <rgm@gnu.org>
11279
11280 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11281
11282 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11283
11284 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11285 parameter to modify-frame-parameters if the value has not changed;
11286 this is a workaround for bug#14949.
11287 (desktop--make-frame): On cl-delete-if call, check parameter name,
11288 not full parameter.
11289
11290 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11291
11292 * vc/vc.el (vc-ignore): New function.
11293
11294 * vc/vc-svn.el (vc-svn-ignore): New function.
11295
11296 * vc/vc-hg.el (vc-hg-ignore): New function.
11297
11298 * vc/vc-git.el (vc-git-ignore): New function.
11299
11300 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11301 (vc-dir-ignore): New function.
11302
11303 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11304 (cvs-append-to-ignore): Move here from pcvs.el.
11305
11306 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11307
11308 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11309
11310 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11311
11312 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11313 (desktop-restore-frames): Warn when deleting an existing frame failed.
11314
11315 2013-07-24 Glenn Morris <rgm@gnu.org>
11316
11317 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11318
11319 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11320
11321 * filenotify.el (file-notify-supported-p):
11322 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11323 Remove functions.
11324
11325 * autorevert.el (auto-revert-use-notify)
11326 (auto-revert-notify-add-watch):
11327 * net/tramp.el (tramp-file-name-for-operation):
11328 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11329 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11330 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11331 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11332 Remove `file-notify-supported-p' entry.
11333
11334 2013-07-24 Glenn Morris <rgm@gnu.org>
11335
11336 * printing.el: Replace all uses of deleted ps-windows-system,
11337 ps-lp-system, ps-flatten-list with lpr- versions.
11338
11339 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11342 checked with memq (bug#14935).
11343
11344 * files.el (revert-buffer-function): Use a non-nil default.
11345 (revert-buffer-preserve-modes): Declare var to
11346 provide access to the `preserve-modes' argument.
11347 (revert-buffer): Let-bind it.
11348 (revert-buffer--default): New function, extracted from revert-buffer.
11349
11350 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * lpr.el: Signal print errors more prominently.
11353 (print-region-function): Don't default to nil.
11354 (lpr-print-region): New function, extracted from print-region-1.
11355 Check lpr's return value and signal an error in case of problem.
11356 (print-region-1): Use it.
11357 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11358 versions instead.
11359 (ps-printer-name): Default to nil.
11360 (ps-printer-name-option): Default to lpr-printer-switch.
11361 (ps-print-region-function): Don't default to nil.
11362 (ps-postscript-code-directory): Simplify default.
11363 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11364 (ps-string-list, ps-eval-switch, ps-flatten-list)
11365 (ps-flatten-list-1): Remove.
11366 (ps-multibyte-buffer): Avoid setq.
11367 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11368 (print-region-function, ps-print-region-function): Don't set them here.
11369
11370 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11371
11372 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11373 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11374 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11375 (ido-decorations): Doc fix.
11376
11377 * ansi-color.el: Fix old URL.
11378
11379 2013-07-23 Michael R. Mauger <michael@mauger.com>
11380
11381 * progmodes/sql.el: Version 3.3
11382 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11383 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11384 (sql-interactive-remove-continuation-prompt): Rewrite, use
11385 functions above. Fix continuation prompt and complete output line
11386 handling.
11387 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11388 redirected output buffer.
11389 (sql-mode): Restore deleted code (Bug#13591).
11390
11391 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11392
11393 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11394
11395 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11396
11397 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11398
11399 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11400 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11401 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11402
11403 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * desktop.el (desktop-clear): Simplify; remove useless checks
11406 against invalid buffer names.
11407 (desktop-list*): Use cl-list*.
11408 (desktop-buffer-info, desktop-create-buffer): Simplify.
11409
11410 2013-07-23 Leo Liu <sdl.web@gmail.com>
11411
11412 * bookmark.el (bookmark-make-record): Restore NAME as a default
11413 value. (Bug#14933)
11414
11415 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11418 extracted from autoload--insert-text.
11419 (autoload--insert-text): Remove.
11420 (autoload--print-cookie-text): New function, extracted from
11421 autoload--insert-cookie-text.
11422 (autoload--insert-cookie-text): Remove.
11423 (autoload-generate-file-autoloads): Adjust calls accordingly.
11424
11425 * winner.el (winner-hook-installed-p): Remove.
11426 (winner-mode): Simplify accordingly.
11427
11428 * subr.el (add-to-list): Fix compiler-macro when `append' is
11429 not constant. Don't use `cl-member' for the base case.
11430
11431 * progmodes/subword.el: Fix boundary case (bug#13758).
11432 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11433 own group.
11434 (subword-backward-regexp): Make it a constant.
11435 (subword-forward-internal): Don't treat a trailing capital as the
11436 beginning of a word.
11437
11438 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11439
11440 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11441 global value of tabulated-list-revert-hook (bug#14930).
11442
11443 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * desktop.el: Require 'cl-lib.
11446 (desktop-before-saving-frames-functions): New hook.
11447 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11448 for frames being saved. Rename from desktop--save-minibuffer-frames.
11449 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11450 Do not save frames with non-nil `desktop-dont-save' parameter.
11451 Filter out deleted frames.
11452 (desktop--find-frame): Use cl-find-if.
11453 (desktop--select-frame): Use cl-(first|second|third) to access values
11454 of desktop-mini.
11455 (desktop--make-frame): Use cl-delete-if.
11456 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11457 (desktop-restore-frames): Use cl-(first|second|third) to access values
11458 of desktop-mini. Look for visible frame at the end, not while
11459 restoring frames.
11460
11461 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11462 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11463 Use string-match-p, looking-at-p (bug#14927).
11464
11465 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11466
11467 * desktop.el (desktop-saved-frame-states):
11468 Rename from desktop--saved-states; all users changed.
11469 (desktop-save-frames): Rename from desktop--save-frames.
11470 Do not save state to desktop file.
11471 (desktop-save): Save desktop-saved-frame-states to desktop file
11472 and reset to nil.
11473 (desktop-restoring-frames-p): New function.
11474 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11475 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11476 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11477
11478 * desktop.el: Correctly restore iconified frames.
11479 (desktop--filter-iconified-position): New function.
11480 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11481
11482 2013-07-20 Glenn Morris <rgm@gnu.org>
11483
11484 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11485 Let `message' do the formatting.
11486 (def-gdb-preempt-display-buffer): Add explicit format.
11487
11488 * image-dired.el (image-dired-track-original-file):
11489 Use with-current-buffer.
11490 (image-dired-track-thumbnail): Use with-current-buffer.
11491 Avoid changing point of wrong window.
11492
11493 * image-dired.el (image-dired-track-original-file):
11494 Avoid changing point of wrong window. (Bug#14909)
11495
11496 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11497
11498 * progmodes/gdb-mi.el (gdb-done-or-error):
11499 Guard against "%" in gdb output. (Bug#14127)
11500
11501 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11502
11503 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11504 (Bug#14826)
11505
11506 * international/mule.el (coding-system-iso-2022-flags): Fix last
11507 change.
11508
11509 2013-07-20 Kenichi Handa <handa@gnu.org>
11510
11511 * international/mule.el (coding-system-iso-2022-flags):
11512 Add `8-bit-level-4'. (Bug#8522)
11513
11514 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11515
11516 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11517 (bug#14815).
11518
11519 * net/eww.el (eww-process-text-input): Allow inputting when the
11520 point is at the start of the line, as the properties aren't
11521 front-sticky.
11522
11523 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11524 degenerate widths.
11525
11526 2013-07-19 Richard Stallman <rms@gnu.org>
11527
11528 * epa.el (epa-popup-info-window): Doc fix.
11529
11530 * subr.el (split-string): New arg TRIM.
11531
11532 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11533
11534 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11535 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11536
11537 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11538
11539 * filenotify.el (file-notify--library): Rename from
11540 `file-notify-support'. Do not autoload. Adapt all uses.
11541 (file-notify-supported-p): New defun.
11542
11543 * autorevert.el (auto-revert-use-notify):
11544 Use `file-notify-supported-p' instead of `file-notify-support'.
11545 Adapt docstring.
11546 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11547
11548 * net/tramp.el (tramp-file-name-for-operation):
11549 Add `file-notify-supported-p'.
11550
11551 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11552 New defun.
11553 (tramp-sh-file-name-handler-alist): Add it as handler for
11554 `file-notify-supported-p '.
11555
11556 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11557 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11558 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11559 Add `ignore' as handler for `file-notify-*' functions.
11560
11561 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11562
11563 * simple.el (line-move-partial, line-move): Don't start vscroll or
11564 scroll-up if the current line is not taller than the window.
11565 (Bug#14881)
11566
11567 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11568
11569 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11570 highlight question marks in the method names as strings.
11571 (ruby-block-beg-keywords): Inline.
11572 (ruby-font-lock-keyword-beg-re): Extract from
11573 `ruby-font-lock-keywords'.
11574
11575 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11576
11577 * frame.el (blink-cursor-blinks): New defcustom.
11578 (blink-cursor-blinks-done): New defvar.
11579 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11580 (blink-cursor-timer-function): Check if number of blinks has been
11581 done on X and NS.
11582 (blink-cursor-suspend, blink-cursor-check): New defuns.
11583
11584 2013-07-15 Glenn Morris <rgm@gnu.org>
11585
11586 * edmacro.el (edmacro-format-keys): Fix previous change.
11587
11588 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11589
11590 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11591 The hack didn't work outside English locales anyway.
11592
11593 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11594
11595 * simple.el (define-alternatives): Rename from alternatives-define,
11596 per RMS' suggestion.
11597
11598 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11599
11600 * desktop.el (desktop-restore-frames): Change default to t.
11601 (desktop-restore-in-current-display): Now offer more options.
11602 (desktop-restoring-reuses-frames): New customization option.
11603 (desktop--saved-states): Doc fix.
11604 (desktop-filter-parameters-alist): New variable, renamed and expanded
11605 from desktop--excluded-frame-parameters.
11606 (desktop--target-display): New variable.
11607 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11608 (desktop--filter-tty*, desktop--filter-*-color)
11609 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11610 (desktop--filter-save-desktop-parm)
11611 (desktop-restore-in-original-display-p): New functions.
11612 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11613 (desktop--save-minibuffer-frames): New function, inspired by a similar
11614 function from Martin Rudalics.
11615 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11616 (desktop--restore-in-this-display-p): Remove.
11617 (desktop--find-frame): Rename from desktop--find-frame-in-display
11618 and add predicate argument.
11619 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11620 (desktop--reuse-list): New variable.
11621 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11622 New functions.
11623 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11624
11625 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11626
11627 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11628
11629 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11630
11631 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11632 Highlight conversion methods on Kernel.
11633
11634 2013-07-13 Alan Mackenzie <acm@muc.de>
11635
11636 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11637 and comment it out. This out-commenting enables certain C++
11638 declarations to be parsed correctly.
11639
11640 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11641
11642 * international/mule.el (define-coding-system): Doc fix.
11643
11644 * simple.el (default-font-height): Don't call font-info if the
11645 frame's default font didn't change since the frame was created.
11646 (Bug#14838)
11647
11648 2013-07-13 Leo Liu <sdl.web@gmail.com>
11649
11650 * ido.el (ido-read-file-name): Guard against non-symbol value.
11651
11652 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11653
11654 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11655 in nested defuns.
11656
11657 2013-07-13 Leo Liu <sdl.web@gmail.com>
11658
11659 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11660 ido-set-matches call. (Bug#6852)
11661
11662 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11663
11664 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11665 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11666 Ruby 2.0.
11667 (ruby-font-lock-keywords): Distinguish calls to functions with
11668 module-like names from module references. Highlight character
11669 literals.
11670
11671 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11672
11673 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11674 (gdb-send): Handle continued commands. (Bug#14847)
11675
11676 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11677
11678 * desktop.el (desktop--v2s): Remove unused local variable.
11679 (desktop-save-buffer): Make defvar-local; adjust docstring.
11680 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11681 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11682
11683 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11684
11685 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11686
11687 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11688
11689 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11690 (Bug#14842)
11691
11692 2013-07-12 Glenn Morris <rgm@gnu.org>
11693
11694 * doc-view.el: Require cl-lib at runtime too.
11695 (doc-view-remove-if): Remove.
11696 (doc-view-search-next-match, doc-view-search-previous-match):
11697 Use cl-remove-if.
11698
11699 * edmacro.el: Require cl-lib at runtime too.
11700 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11701 (edmacro-mismatch, edmacro-subseq): Remove.
11702
11703 * shadowfile.el: Require cl-lib.
11704 (shadow-remove-if): Remove.
11705 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11706 Use cl-remove-if.
11707
11708 * wid-edit.el: Require cl-lib.
11709 (widget-choose): Use cl-remove-if.
11710 (widget-remove-if): Remove.
11711
11712 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11713 (ebrowse-delete-if-not): Remove.
11714 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11715 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11716 Use cl-delete-if-not.
11717
11718 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11721 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11722
11723 2013-07-12 Leo Liu <sdl.web@gmail.com>
11724
11725 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11726
11727 2013-07-11 Glenn Morris <rgm@gnu.org>
11728
11729 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11730 (edebug-gensym-index, edebug-gensym):
11731 Remove reimplementation of cl-gensym.
11732 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11733
11734 * thumbs.el: Require cl-lib at run-time too.
11735 (thumbs-gensym-counter, thumbs-gensym):
11736 Remove reimplementation of cl-gensym.
11737 (thumbs-temp-file): Use cl-gensym.
11738
11739 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11740 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11741 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11742 (ert--union, ert--gensym-counter, ert--gensym-counter)
11743 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11744 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11745 (ert-make-test-unbound, ert--expand-should-1)
11746 (ert--expand-should, ert--should-error-handle-error)
11747 (should-error, ert--explain-equal-rec)
11748 (ert--plist-difference-explanation, ert-select-tests)
11749 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11750 Use cl-lib functions rather than reimplementations.
11751
11752 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11753
11754 * net/tramp.el (tramp-methods): Extend docstring.
11755 (tramp-connection-timeout): New defcustom.
11756 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11757 (with-tramp-progress-reporter): Simplify.
11758 (tramp-process-actions): Improve messages.
11759
11760 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11761 * net/tramp-sh.el (tramp-maybe-open-connection):
11762 Use `tramp-connection-timeout'.
11763 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11764 (Bug#14808)
11765
11766 2013-07-11 Leo Liu <sdl.web@gmail.com>
11767
11768 * ido.el (ido-read-file-name): Conform to the requirements of
11769 read-file-name. (Bug#11861)
11770 (ido-read-directory-name): Conform to the requirements of
11771 read-directory-name.
11772
11773 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11774
11775 * subr.el (delay-warning): New function.
11776
11777 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11778
11779 * simple.el (default-line-height): New function.
11780 (line-move-partial, line-move): Use it instead of computing the
11781 line height inline.
11782 (line-move-partial): Always compute ROWH. If the last line is
11783 partially-visible, but its text is completely visible, allow
11784 cursor to enter such a partially-visible line.
11785
11786 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11787
11788 Improve error messages. (Bug#14808)
11789
11790 * net/tramp.el (tramp-current-connection): New defvar, moved from
11791 tramp-sh.el.
11792 (tramp-message-show-progress-reporter-message): Remove, not
11793 needed anymore.
11794 (tramp-error-with-buffer): Show message in minibuffer.
11795 Discard input before waiting. Reset connection timestamp.
11796 (with-tramp-progress-reporter): Improve messages.
11797 (tramp-process-actions): Use progress reporter. Delete process in
11798 case of error. Improve messages.
11799
11800 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11801 Call `tramp-error-with-buffer' with vector and buffer.
11802 (tramp-current-connection): Remove.
11803 (tramp-maybe-open-connection): The car of
11804 `tramp-current-connection' are the first 3 slots of the vector.
11805
11806 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11807
11808 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11809 inside continued strings.
11810
11811 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11812
11813 Timestamp fixes for undo (Bug#14824).
11814 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11815
11816 2013-07-10 Leo Liu <sdl.web@gmail.com>
11817
11818 * files.el (require-final-newline): Allow safe local value.
11819 (Bug#14834)
11820
11821 2013-07-09 Leo Liu <sdl.web@gmail.com>
11822
11823 * ido.el (ido-read-directory-name): Handle fallback.
11824 (ido-read-file-name): Update DIR to ido-current-directory.
11825 (Bug#1516)
11826 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11827
11828 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11829
11830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11831 "autoload". Remove "warn lower camel case" section, previously
11832 commented out. Highlight negation char. Do not highlight the
11833 target in singleton method definitions.
11834
11835 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * faces.el (tty-setup-hook): Declare the hook.
11838
11839 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11840 and detect when a guard/pred depends on local vars (bug#14773).
11841 (pcase--u1): Adjust caller.
11842
11843 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11844
11845 * simple.el (line-move-partial, line-move): Account for
11846 line-spacing.
11847 (line-move-partial): Avoid setting vscroll when the last
11848 partially-visible line in window is of default height.
11849
11850 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11851
11852 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11853 been used a while.
11854
11855 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11856
11857 * subr.el (read-quoted-char): Remove unused local variable `char'.
11858
11859 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11860
11861 * ediff.el (ediff-version): Version update.
11862 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11863 (ediff-merge-with-ancestor-command, ediff-directories-command)
11864 (ediff-directories3-command, ediff-merge-directories-command)
11865 (ediff-merge-directories-with-ancestor-command): New functions.
11866 All are command-line interfaces to ediff: to facilitate calling
11867 Emacs with the appropriate ediff functions invoked.
11868
11869 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11870 (viper-save-kill-buffer): Check if buffer is modified.
11871
11872 * viper.el (viper-version): Version update.
11873 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11874
11875 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11878 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11879 (viper-intercept-ESC-key): Simplify.
11880 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11881 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11882 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11883 (viper-setup-ESC-to-escape): New functions.
11884 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11885 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11886
11887 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11888
11889 * simple.el (default-font-height, window-screen-lines):
11890 New functions.
11891 (line-move, line-move-partial): Use them instead of
11892 frame-char-height and window-text-height. This makes scrolling
11893 text smoother when the buffer's default face uses a font that is
11894 different from the frame's default font.
11895
11896 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11897
11898 * files.el (write-file): Do not display confirm dialog for NS,
11899 it does its own dialog, which can't be canceled (Bug#14578).
11900
11901 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11902
11903 * simple.el (line-move-partial): Adjust the row returned by
11904 posn-at-point for the current window-vscroll. (Bug#14567)
11905
11906 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11907
11908 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11909 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11910 spaces.
11911
11912 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11913
11914 * window.el (window-state-put-stale-windows): New variable.
11915 (window--state-put-2): Save list of windows without matching buffer.
11916 (window-state-put): Remove "bufferless" windows if possible.
11917
11918 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11919
11920 * simple.el (alternatives-define): Remove leftover :group keyword.
11921 Tweak docstring.
11922
11923 2013-07-06 Leo Liu <sdl.web@gmail.com>
11924
11925 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11926 (ido-enable-virtual-buffers): New variable.
11927 (ido-buffer-internal, ido-toggle-virtual-buffers)
11928 (ido-make-buffer-list): Use it.
11929 (ido-exhibit): Support turning on and off virtual buffers
11930 automatically.
11931
11932 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11933
11934 * simple.el (alternatives-define): New macro.
11935
11936 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * subr.el (read-quoted-char): Use read-key.
11939 (sit-for): Let read-event decode tty input (bug#14782).
11940
11941 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11942
11943 * calendar/todo-mode.el: Add handling of file deletion, both by
11944 mode command and externally. Fix various related bugs.
11945 Clarify Commentary and improve some documentation strings and code.
11946 (todo-delete-file): New command.
11947 (todo-check-file): New function.
11948 (todo-show): Handle external deletion of the file we're trying to
11949 show (bug#14688). Replace called-interactively-p by an optional
11950 prefix argument to avoid problematic interaction with catch form
11951 when byte compiled (bug#14702).
11952 (todo-quit): Handle external deletion of the archive's todo file.
11953 Make sure the buffer that was visiting the archive file is still
11954 live before trying to bury it.
11955 (todo-category-completions): Handle external deletion of any
11956 category completion files.
11957 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11958 of todo files, in case of external deletion.
11959 (todo-add-file): Replace unnecessary setq by let-binding.
11960 (todo-find-archive): Check whether there are any archives.
11961 Replace unnecessary setq by let-binding.
11962 (todo-archive-done-item): Use find-file-noselect to get the
11963 archive buffer whether or not the archive already exists.
11964 Remove superfluous code. Use file size instead of buffer-file-name to
11965 check if the archive is new; if it is, update list of archives.
11966 (todo-default-todo-file): Allow nil to be a valid value for when
11967 there are no todo files.
11968 (todo-reevaluate-default-file-defcustom): Use corrected definition
11969 of todo-default-todo-file.
11970 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11971 (todo-delete-category, todo-show-categories-table)
11972 (todo-category-number): Clarify comment.
11973 (todo-filter-items): Clarify documentation string.
11974 (todo-show-current-file, todo-display-as-todo-file)
11975 (todo-reset-and-enable-done-separator): Tweak documentation string.
11976 (todo-done-separator): Make separator length window-width, since
11977 bug#2749 is now fixed.
11978
11979 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11980
11981 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11982 Support both "gvfs-monitor-dir" and "inotifywait".
11983 (tramp-sh-file-inotifywait-process-filter): Rename from
11984 `tramp-sh-file-notify-process-filter'.
11985 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11986 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11987
11988 2013-07-05 Leo Liu <sdl.web@gmail.com>
11989
11990 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11991
11992 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11993
11994 * frame.el (display-pixel-height, display-pixel-width)
11995 (display-mm-height, display-mm-width): Mention behavior on
11996 multi-monitor setups in docstrings.
11997 (w32-display-monitor-attributes-list): Declare function.
11998 (display-monitor-attributes-list): Use it.
11999
12000 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12001
12002 * filenotify.el: New package.
12003
12004 * autorevert.el (top): Require filenotify.el.
12005 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12006 instead.
12007 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12008 (auto-revert-notify-handler): Use `file-notify-*' functions.
12009
12010 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12011
12012 * net/tramp.el (tramp-file-name-for-operation):
12013 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12014
12015 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12016 for `file-notify-add-watch' and `file-notify-rm-watch'.
12017 (tramp-process-sentinel): Improve trace.
12018 (tramp-sh-handle-file-notify-add-watch)
12019 (tramp-sh-file-notify-process-filter)
12020 (tramp-sh-handle-file-notify-rm-watch)
12021 (tramp-get-remote-inotifywait): New defuns.
12022
12023 2013-07-03 Juri Linkov <juri@jurta.org>
12024
12025 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12026 call of `occur-read-primary-args' to interactive spec.
12027
12028 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12029 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12030
12031 2013-07-03 Matthias Meulien <orontee@gmail.com>
12032
12033 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12034 `Buffer-menu-multi-occur'. Add it to the menu.
12035 (Buffer-menu-mode): Document it in docstring.
12036 (Buffer-menu-multi-occur): New command. (Bug#14673)
12037
12038 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12039
12040 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12041 keywords and built-ins.
12042
12043 2013-07-03 Glenn Morris <rgm@gnu.org>
12044
12045 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12046
12047 Make info-xref checks case-sensitive by default
12048 * info.el (Info-find-node, Info-find-in-tag-table)
12049 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12050 Add option for exact case matching of nodes.
12051 * info-xref.el (info-xref): New custom group.
12052 (info-xref-case-fold): New option.
12053 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12054
12055 2013-07-03 Leo Liu <sdl.web@gmail.com>
12056
12057 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12058
12059 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12060
12061 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12062 middle of block statement initially, lower the depth. Remove
12063 FIXME comment, not longer valid. Remove middle of block statement
12064 detection, no need to do that anymore since we've been using
12065 `ruby-parse-region' here.
12066
12067 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12068
12069 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12070
12071 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12072
12073 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12074
12075 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12076
12077 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12078 (desktop-restore-in-current-display): New customization option.
12079 (desktop--excluded-frame-parameters): Add `font'.
12080 (desktop--save-frames): Rename from desktop--save-windows.
12081 (desktop--restore-in-this-display-p): New function.
12082 (desktop--make-full-frame): Remove unwanted width/height from
12083 full(width|height) frames.
12084 (desktop--restore-frames): Rename from desktop--restore-windows.
12085 Obey desktop-restore-current-display. Do not delete old frames or
12086 select a new frame unless we were able to restore at least one frame.
12087
12088 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12089
12090 * files.el (find-file-noselect): Simplify conditional expression.
12091
12092 * textmodes/remember.el (remember-append-to-file):
12093 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12094
12095 Add `remember-notes' function to store random notes across Emacs
12096 restarts.
12097 * textmodes/remember.el (remember-data-file): Add :set callback to
12098 affect notes buffer (if any).
12099 (remember-notes): New command.
12100 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12101 New defcustoms for the `remember-notes' function.
12102 (remember-notes-save-and-bury-buffer): New command.
12103 (remember-notes-mode-map): New variable.
12104 (remember-mode): New minor mode.
12105 (remember-notes--kill-buffer-query): New function.
12106 * startup.el (initial-buffer-choice): Add notes to custom type.
12107
12108 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12109
12110 * bindings.el (right-char, left-char): Don't call sit-for, this is
12111 no longer needed. Use arithmetic comparison only for numerical
12112 arguments.
12113
12114 * international/mule-cmds.el (select-safe-coding-system):
12115 Handle the case of FROM being a string correctly. (Bug#14755)
12116
12117 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12118
12119 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12120 progression on degenerate tables.
12121 (shr-rescale-image): ImageMagick animated images currently don't work.
12122
12123 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12124
12125 Some fixes and improvements for desktop frame restoration.
12126 It is still experimental and disabled by default.
12127 * desktop.el (desktop--save-windows): Put the selected frame at
12128 the head of the list.
12129 (desktop--make-full-frame): New function.
12130 (desktop--restore-windows): Try to re-select the frame that was
12131 selected upon saving. Do not abort if some frames fail to restore,
12132 just show an error message and continue. Set up maximized frames
12133 so they have default non-maximized dimensions.
12134
12135 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12136
12137 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12138 Don't start heredoc inside a string or comment.
12139
12140 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12141
12142 * bindings.el (visual-order-cursor-movement): New defcustom.
12143 (right-char, left-char): Provide visual-order cursor motion by
12144 calling move-point-visually. Update the doc strings.
12145
12146 2013-06-28 Kenichi Handa <handa@gnu.org>
12147
12148 * international/mule.el (define-coding-system): New coding system
12149 properties :inhibit-null-byte-detection,
12150 :inhibit-iso-escape-detection, and :prefer-utf-8.
12151 (set-buffer-file-coding-system): If :charset-list property of
12152 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12153 appropriate for setting.
12154
12155 * international/mule-cmds.el (select-safe-coding-system):
12156 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12157 multibyte characters, return utf-8 (or one of its siblings).
12158
12159 * international/mule-conf.el (prefer-utf-8): New coding system.
12160 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12161 files.
12162
12163 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12164
12165 * net/shr.el (shr-render-region): New function.
12166
12167 * net/eww.el: Autoload `eww-browse-url'.
12168
12169 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12170
12171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12172 Adapt to `package-desc-version' being a list.
12173 Use `package--ac-desc-version' to retrieve version from a package
12174 archive element.
12175
12176 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12177
12178 New experimental feature to save&restore window and frame setup.
12179 * desktop.el (desktop-save-windows): New defcustom.
12180 (desktop--saved-states): New var.
12181 (desktop--excluded-frame-parameters): New defconst.
12182 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12183 (desktop--restore-windows, desktop--save-windows): New functions.
12184 (desktop-save): Call `desktop--save-windows'.
12185 (desktop-read): Call `desktop--restore-windows'.
12186
12187 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12188
12189 * net/shr.el (add-face-text-property): Remove compat definition.
12190
12191 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12192
12193 * info.el (Info-try-follow-nearest-node): Move search for footnote
12194 above search for node name to prevent missing a footnote (bug#14717).
12195
12196 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12197
12198 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12199
12200 2013-06-27 Leo Liu <sdl.web@gmail.com>
12201
12202 * net/eww.el (eww-read-bookmarks): Check file size.
12203
12204 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12207 advice--pending if newdef is nil or an autoload (bug#13820).
12208 (advice-mapc): New function.
12209
12210 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12211
12212 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12213 probably.
12214 (eww-mode-map): Add a menu bar.
12215 (eww-add-bookmark): New command.
12216 (eww-bookmark-mode): New mode and commands.
12217 (eww-add-bookmark): Remove newlines from the title.
12218 (eww-bookmark-browse): Don't bug out if it's the only window.
12219
12220 2013-06-26 Glenn Morris <rgm@gnu.org>
12221
12222 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12223 (hfy-size): Handle ttys. (Bug#14668)
12224
12225 * info-xref.el: Update for Texinfo 5 change in *note format.
12226 (info-xref-node-re, info-xref-note-re): New constants.
12227 (info-xref-check-buffer): Use info-xref-note-re.
12228
12229 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12232
12233 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12234 nil terminate the loop (bug#14718).
12235
12236 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12237
12238 * net/eww.el: Rework history traversal. When going forward/back,
12239 put these actions into the history, too, so that they can be
12240 replayed.
12241 (eww-render): Move the history reset to the correct buffer.
12242
12243 2013-06-25 Juri Linkov <juri@jurta.org>
12244
12245 * files-x.el (modify-dir-local-variable): Change the header comment
12246 in the file with directory local variables. (Bug#14692)
12247
12248 * files-x.el (read-file-local-variable-value): Add `default'.
12249 (Bug#14710)
12250
12251 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12252
12253 * net/eww.el (eww-make-unique-file-name): Create a unique file
12254 name before saving to entering `y' accidentally asynchronously.
12255
12256 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12257
12258 * net/eww.el (eww-download): New command and keystroke.
12259
12260 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12261
12262 * net/eww.el (eww-copy-page-url): Change name of command.
12263
12264 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12265 be more consistent with Info and dired.
12266
12267 * net/eww.el (eww-mode-map): Ditto.
12268
12269 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12272 packages from archives.
12273 (package-archive-contents): Change format; include obsolete packages.
12274 (package-desc): Use `dir' to mark builtin packages.
12275 (package--from-builtin): Set the `dir' field to `builtin'.
12276 (generated-autoload-file, version-control): Declare.
12277 (package-compute-transaction): Change first arg and return value to be
12278 lists of package-descs. Adjust to new package-archive-contents format.
12279 (package--add-to-archive-contents): Adjust to new
12280 package-archive-contents format.
12281 (package-download-transaction): Arg is now a list of package-descs.
12282 (package-install): If `pkg' is a package name, pass it as
12283 a requirement, so it is subject to the usual (e.g. disabled) checks.
12284 (describe-package): Accept package-desc as well.
12285 (describe-package-1): Describe a specific package-desc. Add links to
12286 other package-descs for the same package name.
12287 (package-menu-describe-package): Pass the actual package-desc.
12288 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12289 works correctly.
12290 (package-desc-status): New function.
12291 (package-menu--refresh): New function, extracted
12292 from package-menu--generate.
12293 (package-menu--generate): Use it.
12294 (package-delete): Update package-alist.
12295 (package-menu-execute): Don't call package-initialize.
12296
12297 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12298 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12299 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12300 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12301 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12302 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12303
12304 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12305
12306 * window.el (window--state-get-1): Workaround for bug#14527.
12307 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12308
12309 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12310
12311 * net/eww.el (eww-back-url): Implement the history by stashing all
12312 the data into a list.
12313 (eww-forward-url): Allow going forward in the history, too.
12314
12315 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12316
12317 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12318 for values and use read--expression for expressions (bug#14710).
12319 (read-file-local-variable): Avoid setq.
12320 (read-file-local-variable-mode): Use minor-mode-list.
12321
12322 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12323
12324 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12325 for DOI URLs.
12326
12327 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12328
12329 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12330 Update imenu-support when dialect changes.
12331
12332 2013-06-25 Leo Liu <sdl.web@gmail.com>
12333
12334 * ido.el (ido-read-internal): Allow forward slash on windows.
12335
12336 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12337
12338 * net/eww.el (eww): Start of strings is \\`, not ^.
12339
12340 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12341
12342 * net/shr.el (shr-browse-url): Fix interactive spec.
12343
12344 * net/eww.el (eww): Add a trailing slash to domain names.
12345
12346 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12347
12348 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12349
12350 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12351
12352 * net/shr.el (shr-browse-url): Use an external browser if given a
12353 prefix.
12354
12355 * net/eww.el (eww-external-browser): Move to shr.
12356
12357 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12358
12359 * net/eww.el (eww): Work more correctly for file: URLs.
12360 (eww-detect-charset): Allow quoted charsets.
12361 (eww-yank-page-url): New command and keystroke.
12362
12363 2013-06-24 Daiki Ueno <ueno@gnu.org>
12364
12365 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12366 file name of gpg executable.
12367 (epg-context-program): New function.
12368 (epg-context-home-directory): New function.
12369 (epg-context-set-program): New function.
12370 (epg-context-set-home-directory): New function.
12371 (epg--start): Use `epg-context-program' instead of
12372 'epg-gpg-program'.
12373 (epg--list-keys-1): Likewise.
12374
12375 2013-06-24 Leo Liu <sdl.web@gmail.com>
12376
12377 * ido.el (ido-read-internal): Fix bug#14620.
12378
12379 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * faces.el (face-documentation): Simplify.
12382 (read-face-attribute, tty-find-type, x-resolve-font-name):
12383 Use `string-match-p'.
12384 (list-faces-display): Use `string-match-p'. Simplify.
12385 (face-spec-recalc): Check face to avoid face alias loops.
12386 (read-color): Use `string-match-p' and non-capturing parenthesis.
12387
12388 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12389
12390 * net/shr.el (shr-rescale-image): Use the new
12391 :max-width/:max-height functionality.
12392
12393 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12394
12395 * net/eww.el (eww-search-prefix): New variable.
12396 (eww): Use it.
12397 (eww-external-browser): New variable.
12398 (eww-mode-map): New keystroke.
12399 (eww-browse-with-external-browser): New command.
12400
12401 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12402
12403 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12406 Don't skip aligning the next header field when padding is 0;
12407 otherwise, field width is not respected unless the title is as
12408 wide as the field.
12409
12410 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12411
12412 * emacs-lisp/package.el (package-el-version): Remove.
12413 (package-process-define-package): Fix inf-loop.
12414 (package-install): Allow symbols as arguments again.
12415
12416 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12417
12418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12419 add some more keyword-like methods.
12420 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12421
12422 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12423
12424 * bs.el (bs-buffer-show-mark): Make defvar-local.
12425 (bs-mode): Use setq-local.
12426
12427 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12428 (emacs-lock--try-unlocking): Make defvar-local.
12429
12430 2013-06-22 Glenn Morris <rgm@gnu.org>
12431
12432 * play/cookie1.el (cookie-apropos): Minor simplification.
12433
12434 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12435
12436 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12437
12438 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12439 `regexp-opt', it breaks the build during dumping.
12440
12441 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12442
12443 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12444 Highlight keyword-like methods on Kernel and Module with
12445 font-lock-builtin-face.
12446 (auto-mode-alist): Consolidate different entries into one regexp
12447 and add more *file-s.
12448
12449 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12450
12451 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12452
12453 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12454 (diary-entry): Use it in the action of this button type instead of
12455 diary-goto-entry.
12456
12457 * calendar/todo-mode.el: New version.
12458 (todo-add-category): Append new category to end of file and give
12459 it the highest number, instead of putting it at the beginning and
12460 giving it 0. Incorporate noninteractive functionality.
12461 (todo-forward-category): Adapt to 1-based category numbering.
12462 Allow skipping over archived categories.
12463 (todo-backward-category): Derive from todo-forward-category.
12464 (todo-backward-item, todo-forward-item): Make noninteractive and
12465 delegate interactive part to new commands. Make sensitive to done items.
12466 (todo-categories): Make value an alist of category names and
12467 vectors of item counts.
12468 (todo-category-beg): Make a defconst.
12469 (todo-category-number): Use 1 instead of 0 as initial value.
12470 (todo-category-select): Make sensitive to overlays, optional item
12471 highlighting and done items.
12472 (todo-delete-item): Make sensitive to overlays and marked and done items.
12473 (todo-edit-item): Make sensitive to overlays and editing of
12474 date/time header optional. Add format checks.
12475 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12476 no-op if point is not on an item. Advertise using todo-edit-quit.
12477 (todo-edit-mode): Make sensitive to new format, font-locking, and
12478 multiple todo files.
12479 (todo-insert-item, todo-insert-item-here): Derive from
12480 todo-basic-insert-item and extend functionality.
12481 (todo-item-end, todo-item-start): Make sensitive to done items.
12482 (todo-item-string): Don't return text properties. Restore point.
12483 (todo-jump-to-category): Make sensitive to multiple todo files and
12484 todo archives. Use extended category completion.
12485 (todo-lower-item, todo-raise-item): Rename to *-priority and
12486 derive from todo-set-item-priority.
12487 (todo-mode): Derive from special-mode. Make sensitive to new
12488 format, font-locking and multiple todo files. Make read-only.
12489 (todo-mode-map): Don't suppress digit keys, so they can supply
12490 prefix arguments. Add many new key bindings.
12491 (todo-prefix): Insert as an overlay instead of file text.
12492 Change semantics from diary date expression to purely visual mark.
12493 (todo-print): Rename to todo-print-buffer. Make buffer display
12494 features printable. Remove option to restrict number of items
12495 printed. Add option to print to file.
12496 (todo-print-function): Rename to todo-print-buffer-function.
12497 (todo-quit): Extend to handle exiting new todo modes.
12498 (todo-remove-item): Make sensitive to overlays.
12499 (todo-save): Extend to buffers of filtered items.
12500 (todo-show): Make sensitive to done items, multiple todo files and
12501 new todo modes. Offer to convert legacy todo file before creating
12502 first new todo file.
12503 (todo-show-priorities): Rename to todo-top-priorities.
12504 Change semantics of value 0.
12505 (todo-top-priorities): Rename to todo-filter-top-priorities,
12506 derive from todo-filter-items and extend functionality.
12507 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12508 and extend functionality to other types of filtered items.
12509 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12510 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12511 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12512 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12513 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12514 (todo-edit-mode-hook, todo-entry-prefix-function)
12515 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12516 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12517 (todo-initials, todo-insert-threshold, todo-item-string-start)
12518 (todo-line-string, todo-menu, todo-mode-hook)
12519 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12520 (todo-print-priorities, todo-remove-separator)
12521 (todo-save-top-priorities-too, todo-string-count-lines)
12522 (todo-string-multiline-p, todo-time-string-format)
12523 (todo-tmp-buffer-name): Remove.
12524 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12525 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12526 (todo-edit-category-diary-inclusion)
12527 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12528 (todo-edit-file, todo-edit-item-date-day)
12529 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12530 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12531 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12532 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12533 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12534 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12535 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12536 (todo-filter-top-priorities-multifile, todo-find-archive)
12537 (todo-find-filtered-items-file, todo-go-to-source-item)
12538 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12539 (todo-jump-to-archive-category, todo-lower-category)
12540 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12541 (todo-move-category, todo-move-item, todo-next-button)
12542 (todo-next-item, todo-padded-string, todo-powerset)
12543 (todo-previous-button, todo-previous-item)
12544 (todo-print-buffer-to-file, todo-raise-category)
12545 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12546 (todo-set-category-number, todo-set-item-priority)
12547 (todo-set-top-priorities-in-category)
12548 (todo-set-top-priorities-in-file, todo-show-categories-table)
12549 (todo-sort-categories-alphabetically-or-numerically)
12550 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12551 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12552 (todo-toggle-item-header, todo-toggle-item-highlighting)
12553 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12554 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12555 (todo-unarchive-items, todo-unmark-category): New commands.
12556 (todo-absolute-file-name, todo-add-to-buffer-list)
12557 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12558 (todo-basic-insert-item, todo-category-completions)
12559 (todo-category-number, todo-category-string-matcher-1)
12560 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12561 (todo-check-format, todo-clear-matches)
12562 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12563 (todo-current-category, todo-date-string-matcher)
12564 (todo-define-insertion-command, todo-diary-expired-matcher)
12565 (todo-diary-goto-entry, todo-diary-item-p)
12566 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12567 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12568 (todo-done-item-section-p, todo-done-separator)
12569 (todo-done-string-matcher, todo-files, todo-filter-items)
12570 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12571 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12572 (todo-insert-category-line, todo-insert-item-from-calendar)
12573 (todo-insert-sort-button, todo-insert-with-overlays)
12574 (todo-insertion-command-name, todo-insertion-key-bindings)
12575 (todo-label-to-key, todo-longest-category-name-length)
12576 (todo-make-categories-list, todo-mode-external-set)
12577 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12578 (todo-modes-set-3, todo-multiple-filter-files)
12579 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12580 (todo-read-category, todo-read-date, todo-read-dayname)
12581 (todo-read-file-name, todo-read-time)
12582 (todo-reevaluate-category-completions-files-defcustom)
12583 (todo-reevaluate-default-file-defcustom)
12584 (todo-reevaluate-filelist-defcustoms)
12585 (todo-reevaluate-filter-files-defcustom)
12586 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12587 (todo-reset-done-separator, todo-reset-done-separator-string)
12588 (todo-reset-done-string, todo-reset-global-current-todo-file)
12589 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12590 (todo-reset-prefix, todo-set-categories)
12591 (todo-set-date-from-calendar, todo-set-show-current-file)
12592 (todo-set-top-priorities, todo-short-file-name)
12593 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12594 (todo-total-item-counts, todo-update-buffer-list)
12595 (todo-update-categories-display, todo-update-categories-sexp)
12596 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12597 New functions.
12598 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12599 New major modes.
12600 (todo-categories, todo-display, todo-edit, todo-faces)
12601 (todo-filtered): New defgroups.
12602 (todo-archived-only, todo-button, todo-category-string, todo-date)
12603 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12604 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12605 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12606 (todo-add-item-if-new-category, todo-always-add-time-string)
12607 (todo-categories-align, todo-categories-archived-label)
12608 (todo-categories-category-label, todo-categories-diary-label)
12609 (todo-categories-done-label, todo-categories-number-separator)
12610 (todo-categories-todo-label, todo-categories-totals-label)
12611 (todo-category-completions-files, todo-completion-ignore-case)
12612 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12613 (todo-done-separator-string, todo-done-string)
12614 (todo-files-function, todo-filter-done-items, todo-filter-files)
12615 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12616 (todo-initial-category, todo-initial-file, todo-item-mark)
12617 (todo-legacy-date-time-regexp, todo-mode-line-function)
12618 (todo-nondiary-marker, todo-number-prefix)
12619 (todo-print-buffer-function, todo-show-current-file)
12620 (todo-show-done-only, todo-show-first, todo-show-with-done)
12621 (todo-skip-archived-categories, todo-top-priorities-overrides)
12622 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12623 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12624 New defcustoms.
12625 (todo-category-done, todo-date-pattern, todo-date-string-start)
12626 (todo-diary-items-buffer, todo-done-string-start)
12627 (todo-filtered-items-buffer, todo-item-start)
12628 (todo-month-abbrev-array, todo-month-name-array)
12629 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12630 (todo-top-priorities-buffer): New defconsts.
12631 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12632 (todo-categories-with-marks, todo-category-string-face)
12633 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12634 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12635 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12636 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12637 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12638 (todo-font-lock-keywords, todo-global-current-todo-file)
12639 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12640 (todo-insertion-commands-args)
12641 (todo-insertion-commands-args-genlist)
12642 (todo-insertion-commands-names, todo-insertion-map)
12643 (todo-key-bindings-t, todo-key-bindings-t+a)
12644 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12645 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12646 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12647 (todo-visited): New variables.
12648
12649 2013-06-21 Glenn Morris <rgm@gnu.org>
12650
12651 * play/cookie1.el (cookie-apropos): Add optional display argument.
12652 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12653 (psychoanalyze-pinhead): Use cookie-doctor.
12654
12655 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12656
12657 * emacs-lisp/package.el (tar-get-file-descriptor)
12658 (tar--extract): Declare.
12659
12660 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12661
12662 Extend flymake's warning predicate to be a function (bug#14217).
12663 * progmodes/flymake.el (flymake-warning-predicate): New.
12664 (flymake-parse-line): Use it.
12665 (flymake-warning-re): Make obsolete alias to
12666 `flymake-warning-predicate'.
12667
12668 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12669
12670 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12671 (package-obsolete-list): Remove.
12672 (package-activate): Remove min-version argument. Add `force' argument.
12673 Adjust to new package-alist format.
12674 (package-mark-obsolete): Remove.
12675 (package-unpack): Force reload of the package's autoloads.
12676 (package-installed-p): Check builtins if the installed package is not
12677 recent enough.
12678 (package-initialize): Don't reset package-obsolete-list.
12679 Don't specify which package version to activate.
12680 (package-process-define-package, describe-package-1)
12681 (package-menu--generate): Adjust to new package-alist format.
12682
12683 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12684
12685 * allout-widgets.el (allout-widgets-mode-off)
12686 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12687 (allout-widgets-post-command-business)
12688 (allout-widgets-after-copy-or-kill-function)
12689 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12690 (allout-decorate-item-and-context)
12691 (allout-graphics-modification-handler): Fix typos in docstrings.
12692 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12693
12694 * cmuscheme.el (scheme-start-file): Doc fix.
12695 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12696 (scheme-input-filter): Use `string-match-p'.
12697
12698 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12699
12700 * dired-x.el: Use Dired consistently in docstrings.
12701
12702 * dired.el: Use Dired consistently in docstrings.
12703 (dired-readin, dired-mode): Use `setq-local'.
12704 (dired-switches-alist): Make defvar-local.
12705 (dired-buffers-for-dir): Use `zerop'.
12706 (dired-safe-switches-p, dired-switches-escape-p)
12707 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12708 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12709 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12710 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12711 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12712 (dired-toggle-marks, dired-mark-files-containing-regexp)
12713 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12714 (dired-flag-auto-save-files, dired-flag-backup-files):
12715 Use `looking-at-p'.
12716 (dired-mark-files-regexp, dired-build-subdir-alist):
12717 Use `string-match-p', `looking-at-p'.
12718
12719 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12720 (direct-print-region-helper): Use `string-match-p'.
12721
12722 2013-06-21 Leo Liu <sdl.web@gmail.com>
12723
12724 * comint.el (comint-redirect-results-list-from-process):
12725 Fix infinite loop.
12726
12727 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12728
12729 * net/eww.el (eww-update-header-line-format): Quote % characters.
12730
12731 2013-06-21 Glenn Morris <rgm@gnu.org>
12732
12733 * play/cookie1.el (cookie): New custom group.
12734 (cookie-file): New option.
12735 (cookie-check-file): New function.
12736 (cookie): Make it interactive. Make start and end messages optional.
12737 Interactively, display the result. Default to cookie-file.
12738 (cookie-insert): Default to cookie-file.
12739 (cookie-snarf): Make start and end messages optional.
12740 Default to cookie-file. Use with-temp-buffer.
12741 (cookie-read): Rename from read-cookie.
12742 Make start and end messages optional. Default to cookie-file.
12743 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12744 Do not autoload it.
12745 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12746 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12747
12748 2013-06-21 Leo Liu <sdl.web@gmail.com>
12749
12750 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12751
12752 2013-06-21 Glenn Morris <rgm@gnu.org>
12753
12754 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12755
12756 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12757 Daniel Hackney <dan@haxney.org>
12758
12759 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12760 Consolidate the single-file vs tarball code.
12761 (package-desc-suffix): New function.
12762 (package-desc-full-name): Don't bother inlining it.
12763 (package-load-descriptor): Return the new package-desc.
12764 (package-mark-obsolete): Remove unused arg `package'.
12765 (package-unpack): Make it work for single files as well.
12766 Make it update package-alist.
12767 (package--make-autoloads-and-stuff): Rename from
12768 package--make-autoloads-and-compile. Don't compile any more.
12769 (package--compile): New function.
12770 (package-generate-description-file): New function, extracted from
12771 package-unpack-single.
12772 (package-unpack-single): Remove.
12773 (package--with-work-buffer): Add indentation and debugging info.
12774 (package-download-single): Remove.
12775 (package-install-from-archive): Rename from package-download-tar, make
12776 it take a pkg-desc, and make it work for single files as well.
12777 (package-download-transaction): Simplify.
12778 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12779 external tar program.
12780 (package-install-from-buffer): Remove `pkg-desc' argument.
12781 Use package-tar-file-info for tar-mode buffers.
12782 (package-install-file): Simplify accordingly.
12783 (package-archive-base): Change to take a pkg-desc.
12784 * tar-mode.el (tar--check-descriptor): New function, extracted from
12785 tar-get-descriptor.
12786 (tar-get-descriptor): Use it.
12787 (tar-get-file-descriptor): New function.
12788 (tar--extract): New function, extracted from tar-extract.
12789 (tar--extract): Use it.
12790 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12791 case the summary uses non-ascii. Adjust to new calling convention of
12792 package-tar-file-info.
12793
12794 2013-06-21 Leo Liu <sdl.web@gmail.com>
12795
12796 * comint.el (comint-redirect-results-list-from-process):
12797 Fix random delay. (Bug#14681)
12798
12799 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12800
12801 * profiler.el (profiler-format-number): Use log, not log10.
12802
12803 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12804
12805 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12806
12807 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12810 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12811 yet available.
12812 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12813 (AUTOGENEL): ... here.
12814 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12815 (cl--defsubst-expand): Use it.
12816
12817 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12818
12819 * subr.el (log10): Move here from C code, and declare as obsolete.
12820 All uses of (log10 X) replaced with (log X 10).
12821
12822 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12823
12824 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12825 Declare with `defvar-local'.
12826 (tabulated-list-use-header-line, tabulated-list-entries)
12827 (tabulated-list-padding, tabulated-list-printer)
12828 (tabulated-list-sort-key): Declare with `defvar-local'.
12829 (tabulated-list-init-header, tabulated-list-print-fake-header):
12830 Use `setq-local'.
12831
12832 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12833
12834 * arc-mode.el (archive-mode): Add `archive-write-file' to
12835 `write-contents-functions' also for remote files. (Bug#14652)
12836
12837 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12838
12839 * cus-edit.el (custom-commands): Fix typos.
12840 (custom-display): Fix tooltip text.
12841 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12842 Fix typos in docstrings.
12843 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12844 (custom-unlispify-menu-entry, custom-magic-value-create)
12845 (custom-add-see-also, custom-group-value-create): Use ?\s.
12846 (custom-guess-type, customize-apropos, editable-field)
12847 (custom-face-value-create): Use `string-match-p'.
12848 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12849
12850 * custom.el (custom-load-symbol): Use `string-match-p'.
12851
12852 * ansi-color.el: Convert to lexical binding.
12853 (ansi-colors): Fix URL.
12854 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12855 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12856 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12857
12858 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12859
12860 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12861
12862 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12863
12864 2013-06-19 Tom Tromey <tromey@redhat.com>
12865
12866 * net/eww.el (eww-top-url): Remove.
12867 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12868 (eww-render): Set new variables. Don't set eww-top-url.
12869 (eww-handle-link): Handle "prev", "home", and "contents".
12870 Downcase the rel text.
12871 (eww-top-url): Choose best top URL.
12872
12873 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12874
12875 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12876 relying in widget.el. Using widget.el leads to too many
12877 user interface inconsistencies.
12878 (eww-self-insert): Implement entering commands in text fields.
12879 (eww-process-text-input): New function to make text input field editing
12880 work.
12881 (eww-submit): Rewrite to use the new-style form methods.
12882 (eww-select-display): Display the correct selected item.
12883 (eww-change-select): Implement changing the select value.
12884 (eww-toggle-checkbox): Implement radio/checkboxes.
12885 (eww-update-field): Fix compilation error.
12886 (eww-tag-textarea): Implement <textarea>.
12887
12888 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12889 we don't shadow mode-specific bindings.
12890
12891 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12892 nothing to push.
12893
12894 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12895
12896 2013-06-19 Glenn Morris <rgm@gnu.org>
12897
12898 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12899
12900 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12901
12902 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12903 not needed.
12904
12905 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12906
12907 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12908
12909 * net/browse-url.el (browse-url-browser-function):
12910 `eww-browse-url' has the right calling signature, `eww' does not.
12911
12912 2013-06-19 Glenn Morris <rgm@gnu.org>
12913
12914 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12915 Only eval autoloaded macros.
12916 (byte-compile-autoload): Only give the macro warning for macros.
12917
12918 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12919 (ps-underlined-faces): Declare.
12920
12921 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12922 (speedbar-add-supported-extension): Declare.
12923
12924 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12925 Don't include a date stamp in the header of the generated file;
12926 it leads to needless differences between output files.
12927
12928 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12929
12930 * net/secrets.el (secrets-struct-secret-content-type):
12931 Replace check of introspection data by a test call of "CreateItem".
12932 Some servers do not offer introspection.
12933
12934 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * electric.el (electric-pair-mode): Improve interaction with
12937 electric-layout-mode.
12938 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12939 (electric-pair-syntax): Use text-mode-syntax-table in comments
12940 and strings.
12941 (electric-pair--insert): New function.
12942 (electric-pair-post-self-insert-function): Use it and
12943 electric--after-char-pos.
12944
12945 2013-06-19 Leo Liu <sdl.web@gmail.com>
12946
12947 * progmodes/octave.el (octave-help): Fix regexp.
12948
12949 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12950
12951 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12952 (shr-table-horizontal-line): Allow nil as a value, and change the
12953 default.
12954 (shr-insert-table-ruler): Respect the nil value.
12955
12956 2013-06-18 Tom Tromey <tromey@barimba>
12957
12958 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12959 New defvars.
12960 (eww-open-file): New defun.
12961 (eww-render): Initialize new variables.
12962 (eww-display-html): Handle "link" and "a".
12963 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12964 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12965 (eww-back-url): Rename from eww-previous-url.
12966 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12967 New defuns.
12968
12969 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12970
12971 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12972 Distinguish ternary operator tokens from slash symbol and slash
12973 char literal.
12974
12975 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12976
12977 Convert symbol prettification into minor mode and global minor mode.
12978
12979 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12980 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12981 (prettify-symbols--keywords): Rename from
12982 `prog-prettify-symbols-alist' and make a local defvar.
12983 (prettify-symbols--compose-symbol): Rename from
12984 `prog--prettify-font-lock-compose-symbol'.
12985 (prettify-symbols--make-keywords): Rename from
12986 `prog-prettify-font-lock-symbols-keywords' and simplify.
12987 (prog-prettify-install): Remove.
12988 (prettify-symbols-mode): New minor mode, based on
12989 `prog-prettify-install'.
12990 (turn-on-prettify-symbols-mode): New function.
12991 (global-prettify-symbols-mode): New globalized minor mode.
12992
12993 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12994 * progmodes/cfengine.el (cfengine3-mode):
12995 * progmodes/perl-mode.el (perl-mode): Don't call
12996 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12997
12998 2013-06-18 Juri Linkov <juri@jurta.org>
12999
13000 * files-x.el (modify-file-local-variable-message): New function.
13001 (modify-file-local-variable)
13002 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13003 and call `modify-file-local-variable-message' when it's non-nil.
13004 (add-file-local-variable, delete-file-local-variable)
13005 (add-file-local-variable-prop-line)
13006 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13007 and use it. (Bug#9820)
13008
13009 2013-06-18 Juri Linkov <juri@jurta.org>
13010
13011 * emulation/vi.el (vi-shell-op):
13012 * emulation/vip.el (vip-execute-com, ex-command):
13013 * emulation/viper-cmd.el (viper-exec-bang):
13014 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13015 the call of `shell-command-on-region'. (Bug#14637)
13016
13017 * simple.el (shell-command-on-region): Doc fix.
13018
13019 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13022 (bug#14633).
13023
13024 2013-06-18 Glenn Morris <rgm@gnu.org>
13025
13026 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13027
13028 * newcomment.el (comment-search-forward, comment-search-backward):
13029 Doc fix. (Bug#14376)
13030
13031 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13032
13033 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13034 (buffer-face-mode-invoke): Doc fix.
13035
13036 2013-06-18 Matthias Meulien <orontee@gmail.com>
13037
13038 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13039 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13040
13041 2013-06-18 Glenn Morris <rgm@gnu.org>
13042
13043 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13044 Replace obsolete function generic-make-keywords with its expansion.
13045
13046 * progmodes/python.el (ffap-alist): Declare.
13047
13048 * textmodes/reftex.el (bibtex-mode-map): Declare.
13049
13050 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13053 (package-unpack, package-unpack-single): Return the pkg-dir.
13054 (package-download-transaction): Use it to update package-alist.
13055
13056 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13057
13058 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13059 possible choice.
13060
13061 2013-06-17 Juri Linkov <juri@jurta.org>
13062
13063 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13064
13065 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13066
13067 * emacs-lisp/package.el (package-load-descriptor):
13068 Remove `with-syntax-table' call, `read' doesn't need it.
13069 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13070
13071 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13072
13073 * startup.el (command-line): Expand package name returned by
13074 `package--description-file' (bug#14639).
13075
13076 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13077
13078 * emacs-lisp/package.el (package-load-descriptor): Do not call
13079 `emacs-lisp-mode', just use its syntax table.
13080
13081 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13082
13083 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13084 `font-lock-extra-managed-props' if any prettifying keyword is added.
13085 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13086 (prog-mode): Use `setq-local'.
13087
13088 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * international/characters.el (standard-case-table): Set syntax of ?»
13091 and ?« to punctuation.
13092
13093 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13096 Save relevant match data before calling `syntax-ppss' (bug#14595).
13097
13098 2013-06-15 Juri Linkov <juri@jurta.org>
13099
13100 * files-x.el (modify-file-local-variable-prop-line): Add local
13101 variables to the end of the existing comment on the first line.
13102 Use `file-auto-mode-skip' to skip interpreter magic line,
13103 and also skip XML declaration.
13104
13105 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * startup.el (package--builtin-versions): New var.
13108 (package-subdirectory-regexp): Remove.
13109 (package--description-file): Hard code its value instead.
13110
13111 * emacs-lisp/package.el: Don't activate packages older than builtin.
13112 (package-obsolete-list): Rename from package-obsolete-alist, and make
13113 it into a simple list of package-desc.
13114 (package-strip-version): Remove.
13115 (package-built-in-p): Use package--builtin-versions.
13116 (package-mark-obsolete): Simplify.
13117 (package-process-define-package): Mark it obsolete if older than the
13118 builtin version.
13119 (package-handle-response): Use line-end-position.
13120 (package-read-archive-contents, package--download-one-archive):
13121 Simplify.
13122 (package--add-to-archive-contents): Skip if older than the builtin or
13123 installed version.
13124 (package-menu-describe-package): Fix last change.
13125 (package-list-unversioned): New var.
13126 (package-menu--generate): Use it.
13127
13128 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13129 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13130 (autoload-builtin-package-versions): New variable.
13131 (autoload-generate-file-autoloads): Use them.
13132 Remove the list of autoloaded functions/macros from the
13133 (autoload...) comments.
13134
13135 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13136
13137 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13138
13139 * simple.el (line-move-partial): Don't jump to the next screen
13140 line as soon as it becomes visible. Instead, continue enlarging
13141 the vscroll until the portion of a tall screen line that's left on
13142 display is about the height of the frame's default font.
13143 (Bug#14567)
13144
13145 2013-06-15 Glenn Morris <rgm@gnu.org>
13146
13147 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13148 compilation-error-regexp-alist void, or local while let-bound.
13149
13150 * progmodes/make-mode.el (makefile-mode-syntax-table):
13151 Treat "=" as punctuation. (Bug#14614)
13152
13153 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13154
13155 * help-fns.el (describe-variable):
13156 Add extra line for permanent-local variables.
13157
13158 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13159
13160 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13161 Add export, import, library. (Bug#9164)
13162 (library): Set indent function.
13163
13164 2013-06-14 Glenn Morris <rgm@gnu.org>
13165
13166 * term/xterm.el (xterm--query):
13167 Stop after first matching handler. (Bug#14615)
13168
13169 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13170
13171 Add support for dired in saveplace.
13172 * dired.el (dired-initial-position-hook): New variable.
13173 (dired-initial-position): Call hook to place cursor position.
13174 * saveplace.el (save-place-to-alist): Add dired position.
13175 (save-place-dired-hook): New function.
13176
13177 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13180 through a symbol rather than letrec.
13181
13182 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13183 (package-desc): Add `dir' field.
13184 (package-desc-full-name): New function.
13185 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13186 (package-maybe-load-descriptor): Remove.
13187 (package-load-all-descriptors): Just call package-load-descriptor.
13188 (package--disabled-p): New function.
13189 (package-desc-vers, package-desc-doc): Remove aliases.
13190 (package--dir): Remove function.
13191 (package-activate): Check if a package is disabled.
13192 (package-process-define-package): New function, extracted from
13193 define-package.
13194 (define-package): Turn into a place holder.
13195 (package-unpack-single, package-tar-file-info):
13196 Use package--description-file.
13197 (package-compute-transaction): Use package--disabled-p.
13198 (package-download-transaction): Don't call
13199 package-maybe-load-descriptor since they're all loaded anyway.
13200 (package-install): Change argument to be a pkg-desc.
13201 (package-delete): Use a single pkg-desc argument.
13202 (describe-package-1): Use package-desc-dir instead of package--dir.
13203 Use package-desc property instead of package-symbol.
13204 (package-install-button-action): Adjust accordingly.
13205 (package--push): Rewrite.
13206 (package-menu--print-info): Adjust accordingly. Change the ID format
13207 to be a pkg-desc.
13208 (package-menu-describe-package, package-menu-get-status)
13209 (package-menu--find-upgrades, package-menu-mark-upgrades)
13210 (package-menu-execute, package-menu--name-predicate):
13211 Adjust accordingly.
13212 * startup.el (package--description-file): New function.
13213 (command-line): Use it.
13214 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13215 Use package-desc-version.
13216
13217 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13218 (byte-compile-preprocess): Use it.
13219 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13220 can't quite recognize.
13221 (byte-compile-add-to-list): Remove.
13222 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13223 (cconv-closure-convert): Add assertion.
13224
13225 * emacs-lisp/map-ynp.el: Use lexical-binding.
13226 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13227 Factor out some repeated code.
13228
13229 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13230
13231 * subr.el (with-eval-after-load): New macro.
13232 (eval-after-load): Allow form to be a function.
13233 take advantage of lexical-binding.
13234 (do-after-load-evaluation): Use dolist and adjust to new format.
13235 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13236
13237 2013-06-13 Juri Linkov <juri@jurta.org>
13238
13239 * replace.el (perform-replace): Display "symbol " and other search
13240 modes from `isearch-message-prefix' in the *Help* buffer.
13241
13242 * isearch.el (isearch-query-replace): Add " symbol" and other
13243 possible search modes from `isearch-message-prefix' to the prompt.
13244 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13245 when reading a regexp to collect.
13246
13247 2013-06-13 Juri Linkov <juri@jurta.org>
13248
13249 * isearch.el (word-search-regexp): Match whitespace if the search
13250 string begins or ends in whitespace. The LAX arg is applied to
13251 both ends of the search string. Use `regexp-quote' and explicit
13252 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13253 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13254 boundaries are replaced with symbol boundaries, and characters
13255 between symbols match non-word non-symbol syntax. (Bug#14602)
13256
13257 2013-06-13 Juri Linkov <juri@jurta.org>
13258
13259 * isearch.el (isearch-del-char): Don't exceed the length of
13260 `isearch-string' by the prefix arg. (Bug#14563)
13261
13262 2013-06-13 Juri Linkov <juri@jurta.org>
13263
13264 * isearch.el (isearch-yank-word, isearch-yank-line)
13265 (isearch-char-by-name, isearch-quote-char)
13266 (isearch-printing-char, isearch-process-search-char):
13267 Add optional count prefix arg. (Bug#14563)
13268
13269 * international/isearch-x.el
13270 (isearch-process-search-multibyte-characters):
13271 Add optional count prefix arg.
13272
13273 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13276 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13277 lexical-binding.
13278
13279 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13280
13281 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13282
13283 2013-06-13 Glenn Morris <rgm@gnu.org>
13284
13285 * startup.el (tty-handle-args):
13286 Don't just discard "--" and anything after. (Bug#14608)
13287
13288 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13289
13290 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13291
13292 Implement changes in Secret Service API. Make it backward compatible.
13293 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13294 (secrets-create-item): Use it. Prefix properties with interface.
13295
13296 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13297
13298 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13299 (term-emulate-terminal): Respect term-suppress-hard-newline.
13300
13301 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13302
13303 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13304 Only remove a `thumb-file' overlay. (Bug#14548)
13305
13306 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13307
13308 * mail/reporter.el (reporter-submit-bug-report):
13309 Handle missing package-name. (Bug#14600)
13310
13311 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13312
13313 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13314 (reftex-citation-prompt, reftex-default-bibliography)
13315 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13316 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13317 (reftex-bib-sort-author, reftex-bib-sort-year)
13318 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13319 (reftex-extract-bib-entries-from-thebibliography)
13320 (reftex-get-bibkey-default, reftex-get-bib-names)
13321 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13322 (reftex-format-bib-entry, reftex-parse-bibitem)
13323 (reftex-format-bibitem, reftex-do-citation)
13324 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13325 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13326 (reftex-insert-bib-matches, reftex-format-citation)
13327 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13328 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13329 existing comments into docstrings.
13330
13331 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13332
13333 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13334
13335 2013-06-12 Andreas Schwab <schwab@suse.de>
13336
13337 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13338 for auto-save files.
13339
13340 2013-06-12 Glenn Morris <rgm@gnu.org>
13341
13342 * ido.el (ido-delete-ignored-files): Remove.
13343 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13344 Go back to calling ido-ignore-item-p directly.
13345
13346 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13347
13348 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13349
13350 * ido.el (ido-delete-ignored-files): New function,
13351 split from ido-make-file-list-1.
13352 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13353 (ido-make-file-list-1): Use ido-delete-ignored-files.
13354
13355 2013-06-12 Leo Liu <sdl.web@gmail.com>
13356
13357 * progmodes/octave.el (inferior-octave-startup)
13358 (inferior-octave-completion-table)
13359 (inferior-octave-track-window-width-change)
13360 (octave-eldoc-function-signatures, octave-help)
13361 (octave-find-definition): Use single quoted strings.
13362 (inferior-octave-startup-args): Change default value.
13363 (inferior-octave-startup): Do not hard code "-i" and
13364 "--no-line-editing".
13365 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13366 (inferior-octave-directory-tracker): Use it.
13367 (octave-goto-function-definition): Robustify.
13368 (octave-help): Support highlighting operators in 'See also'.
13369 (octave-find-definition): Find subfunctions only in Octave mode.
13370
13371 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * help-fns.el (help-fns--compiler-macro): If the handler function is
13374 named, then put a link to it.
13375 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13376 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13377 (cl-typep): Use it.
13378 (cl-eval-when): Simplify debug spec.
13379 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13380 compiler-macro function instead of setting `compiler-macro-file'.
13381
13382 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13383
13384 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13385 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13386
13387 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13388 Daniel Hackney <dan@haxney.org>
13389
13390 First part of Daniel Hackney's patch to package.el.
13391 * emacs-lisp/package.el: Use defstruct.
13392 (package-desc): New, main struct.
13393 (package--bi-desc, package--ac-desc): New structs, used to describe the
13394 format in external files.
13395 (package-desc-vers): Replace with package-desc-version accessor.
13396 (package-desc-doc): Replace with package-desc-summary accessor.
13397 (package-activate-1): Remove `package' arg since the pkg-vec now
13398 includes the name.
13399 (define-package): Use package-desc-from-define.
13400 (package-unpack-single): Change file-name arg to be a symbol.
13401 (package--add-to-archive-contents): Use package-desc-create and new
13402 accessor functions to package--ac-desc.
13403 (package-buffer-info, package-tar-file-info): Return a package-desc.
13404 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13405 arg to be a package-desc.
13406 (package-install-file): Adjust accordingly. Use \' to match EOS.
13407 (package--from-builtin): New function.
13408 (describe-package-1, package-menu--generate): Use it.
13409 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13410 (package-generate-autoloads): Idem and return the name of the file.
13411 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13412 Change pkg-info arg to be a package-desc.
13413 Use package-make-ac-desc.
13414 (package-upload-file): Use \' to match EOS.
13415 * finder.el (finder-compile-keywords): Use package-make-builtin.
13416
13417 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * vc/vc.el (vc-deduce-fileset): Change error message.
13420 (vc-read-backend): New function.
13421 (vc-next-action): Use it.
13422
13423 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13424
13425 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13426 (prolog-font-lock-keywords): Use regexp-opt instead.
13427 Don't manually highlight strings.
13428 (prolog-mode-variables): Simplify comment-start-skip.
13429 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13430
13431 * emacs-lisp/generic.el (generic--normalise-comments)
13432 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13433 (generic-mode-set-comments): Use them.
13434 (generic-bracket-support): Use setq-local.
13435 (generic-make-keywords-list): Declare obsolete.
13436
13437 2013-06-11 Glenn Morris <rgm@gnu.org>
13438
13439 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13440 Prettify after setting font-lock-defaults. (Bug#14574)
13441
13442 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13443
13444 * replace.el (query-replace, occur-read-regexp-defaults-function)
13445 (replace-search):
13446 * subr.el (declare-function, number-sequence, local-set-key)
13447 (substitute-key-definition, locate-user-emacs-file)
13448 (with-silent-modifications, split-string, eval-after-load):
13449 Fix typos, remove unneeded backslashes and reflow some docstrings.
13450
13451 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13452
13453 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13454 default for Elisp files.
13455
13456 2013-06-11 Glenn Morris <rgm@gnu.org>
13457
13458 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13459 although define-derived-mode was doing this anyway. (Bug#14583)
13460
13461 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13462
13463 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13464 Fix make-variable-buffer-local call to refer to the correct variable.
13465
13466 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13467
13468 * eshell/em-term.el (eshell-visual-commands)
13469 (eshell-visual-subcommands, eshell-visual-options):
13470 Add summary line to docstrings. Add cross-references.
13471
13472 2013-06-10 Glenn Morris <rgm@gnu.org>
13473
13474 * epa.el (epa-read-file-name): New function. (Bug#14510)
13475 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13476
13477 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13478
13479 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13480 output redirection to be ignored with visual commands.
13481
13482 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13483
13484 * eshell/em-term.el (eshell-visual-command-p): New function.
13485 (eshell-term-initialize): Move long lambda to separate function
13486 eshell-visual-command-p.
13487 * eshell/em-dirs.el (eshell-dirs-initialize):
13488 * eshell/em-script.el (eshell-script-initialize):
13489 Add missing #' to lambda.
13490
13491 2013-06-08 Leo Liu <sdl.web@gmail.com>
13492
13493 * progmodes/octave.el (octave-add-log-current-defun): New function.
13494 (octave-mode): Set add-log-current-defun-function.
13495 (octave-goto-function-definition): Do not move point if not found.
13496 (octave-find-definition): Enhance to try subfunctions first.
13497
13498 2013-06-08 Glenn Morris <rgm@gnu.org>
13499
13500 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13501 (byte-compile-backward-char, byte-compile-backward-word):
13502 Improve previous change, to handle non-explicit nil.
13503
13504 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13507 (smie--opener/closer-at-point): New function.
13508 (smie--matching-block-data): Use it. Don't match from right after an
13509 opener or right before a closer. Obey smie-blink-matching-inners.
13510 Don't signal a mismatch for repeated inners like "switch..case..case".
13511
13512 2013-06-07 Leo Liu <sdl.web@gmail.com>
13513
13514 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13515 to t. (Bug#14303)
13516 (octave-function-header-regexp): Fix. (Bug#14570)
13517 (octave-help-mode-finish-hook, octave-help-mode-finish):
13518 Remove. Just use temp-buffer-show-hook.
13519
13520 * newcomment.el (comment-search-backward): Revert last change.
13521 (Bug#14434)
13522
13523 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13524
13525 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13526
13527 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13528 through xargs, to avoid failure due to MS-Windows limitations on
13529 command-line length.
13530
13531 2013-06-06 Glenn Morris <rgm@gnu.org>
13532
13533 * font-lock.el (lisp-font-lock-keywords-2):
13534 Treat user-error like error.
13535
13536 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13537 (byte-compile-backward-char, byte-compile-backward-word):
13538 Handle explicit nil arguments. (Bug#14565)
13539
13540 2013-06-05 Alan Mackenzie <acm@muc.de>
13541
13542 * isearch.el (isearch-allow-prefix): New user option.
13543 (isearch-other-meta-char): Don't exit isearch when a prefix
13544 argument is typed whilst `isearch-allow-prefix' is non-nil.
13545 (Bug#9706)
13546
13547 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * autorevert.el (auto-revert-notify-handler): Use memq.
13550 Hide assertion failure.
13551
13552 * skeleton.el: Use cl-lib.
13553 (skeleton-further-elements): Use defvar-local.
13554 (skeleton-insert): Use cl-progv.
13555
13556 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13557
13558 * progmodes/prog-mode.el (prog-prettify-symbols)
13559 (prog-prettify-install): Update docstrings.
13560
13561 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * simple.el: Move all the prog-mode code to prog-mode.el.
13564 * progmodes/prog-mode.el: New file.
13565 * loadup.el: Add prog-mode.el.
13566
13567 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13568
13569 * simple.el (prog-prettify-symbols): Add version.
13570 (prog-prettify-install): Add convenience function to prettify symbols.
13571
13572 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13573 (perl--augmented-font-lock-keywords-1)
13574 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13575 variables and use it.
13576
13577 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13578 (cfengine3-mode): Remove unneeded variable and use it.
13579
13580 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13581 (lisp--augmented-font-lock-keywords-1)
13582 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13583 Remove unneeded variables and use it.
13584
13585 2013-06-05 João Távora <joaotavora@gmail.com>
13586
13587 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13588 to point when opening the connection. (Bug#14380)
13589
13590 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * subr.el (load-history-regexp, load-history-filename-element)
13593 (eval-after-load, after-load-functions, do-after-load-evaluation)
13594 (eval-next-after-load, display-delayed-warnings)
13595 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13596 definition of save-match-data.
13597 (overriding-local-map): Remove accidental obsolescence declaration.
13598
13599 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13600
13601 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13602
13603 Generalize symbol prettify support to prog-mode and implement it
13604 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13605 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13606 (prog--prettify-font-lock-compose-symbol)
13607 (prog-prettify-font-lock-symbols-keywords): New variables and
13608 functions to support symbol prettification.
13609 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13610 (lisp--augmented-font-lock-keywords-1)
13611 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13612 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13613 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13614 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13615 Implement prettify of -> => :: strings.
13616 * progmodes/perl-mode.el (perl-prettify-symbols)
13617 (perl--font-lock-compose-symbol)
13618 (perl--font-lock-symbols-keywords): Move to prog-mode.
13619 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13620 (perl-font-lock-keywords-1)
13621 (perl-font-lock-keywords-2): Remove explicit prettify support.
13622 (perl--augmented-font-lock-keywords)
13623 (perl--augmented-font-lock-keywords-1)
13624 (perl--augmented-font-lock-keywords-2, perl-mode):
13625 Implement prettify support.
13626
13627 2013-06-05 Leo Liu <sdl.web@gmail.com>
13628
13629 Re-implement SMIE matching block highlight using
13630 show-paren-data-function. (Bug#14395)
13631 * emacs-lisp/smie.el (smie-matching-block-highlight)
13632 (smie--highlight-matching-block-overlay)
13633 (smie--highlight-matching-block-lastpos)
13634 (smie-highlight-matching-block)
13635 (smie-highlight-matching-block-mode): Remove.
13636 (smie--matching-block-data-cache): New variable.
13637 (smie--matching-block-data): New function.
13638 (smie-setup): Use smie--matching-block-data for
13639 show-paren-data-function.
13640
13641 * progmodes/octave.el (octave-mode-menu): Fix.
13642 (octave-find-definition): Skip garbage lines.
13643
13644 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13645
13646 Fix compilation error with simultaneous dynamic+lexical scoping.
13647 Add warning when a defvar appears after the first let-binding.
13648 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13649 (byte-compile-close-variables): Initialize it.
13650 (byte-compile--declare-var): New function.
13651 (byte-compile-file-form-defvar)
13652 (byte-compile-file-form-define-abbrev-table)
13653 (byte-compile-file-form-custom-declare-variable): Use it.
13654 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13655 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13656 (byte-compile-bind): Handle dynamic bindings that shadow
13657 lexical bindings.
13658 (byte-compile-unbind): Make arg non-optional.
13659 (byte-compile-let): Simplify.
13660 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13661 (cconv--analyse-function, cconv-analyse-form): Populate it.
13662 Protect byte-compile-bound-variables to limit the scope of defvars.
13663 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13664 Remove unneeded rule for `declare'.
13665
13666 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13667 so as to avoid depending on cl-adjoin at run-time.
13668 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13669
13670 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13671 (macroexp--warn-and-return): Use it.
13672
13673 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * subr.el: Convert to lexical binding.
13676 (overriding-local-map): Make obsolete.
13677 (add-to-list): Doc fix. Add compiler macro.
13678 (read-key): Swap values of local maps.
13679
13680 2013-06-05 Leo Liu <sdl.web@gmail.com>
13681
13682 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13683
13684 2013-06-04 Leo Liu <sdl.web@gmail.com>
13685
13686 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13687 (compilation-auto-jump): Suppress the "Mark set" message to give
13688 way to exit message.
13689
13690 2013-06-04 Alan Mackenzie <acm@muc.de>
13691
13692 Remove faulty optimisation from indentation calculation.
13693 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13694 search limit based on 2000 characters back from indent-point.
13695
13696 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13697
13698 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13699
13700 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * emacs-lisp/lisp.el: Use lexical-binding.
13703 (lisp--local-variables-1, lisp--local-variables): New functions.
13704 (lisp--local-variables-completion-table): New var.
13705 (lisp-completion-at-point): Use it complete let-bound vars.
13706
13707 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13708 eagerly (bug#14422).
13709
13710 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13711
13712 * autorevert.el (auto-revert-notify-enabled)
13713 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13714 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13715 (auto-revert-notify-handler): Handle also gfilenotify.
13716
13717 * subr.el (file-notify-handle-event): New defun. Replacing ...
13718 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13719 Remove.
13720
13721 2013-06-03 Juri Linkov <juri@jurta.org>
13722
13723 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13724 `M-s h .'. (Bug#14427)
13725
13726 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13727 command `hi-lock-face-symbol-at-point'.
13728 (hi-lock-face-symbol-at-point): New command.
13729 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13730 (hi-lock-menu): Add `highlight-symbol-at-point'.
13731 (hi-lock-mode): Doc fix.
13732
13733 * isearch.el (isearch-forward-symbol-at-point): New command.
13734 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13735 (isearch-highlight-regexp): Add a regexp which matches
13736 words/symbols for word/symbol mode.
13737
13738 * subr.el (find-tag-default-bounds): New function with the body
13739 mostly moved from `find-tag-default'.
13740 (find-tag-default): Move most code to `find-tag-default-bounds',
13741 call it and apply `buffer-substring-no-properties' afterwards.
13742
13743 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13744
13745 * eshell/em-term.el (eshell-term-initialize):
13746 Use `cl-intersection' rather than `intersection'.
13747
13748 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13749
13750 * vc/log-view.el: Doc fix.
13751 (log-view-mode-map): Copy keymap from `special-mode-map'.
13752
13753 2013-06-02 Eric Ludlam <zappo@gnu.org>
13754
13755 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13756 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13757 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13758 (eieio-unbound, eieio-default-superclass)
13759 (eieio--define-field-accessors, method-static, method-before)
13760 (method-primary, method-after, method-num-lists)
13761 (method-generic-before, method-generic-primary)
13762 (method-generic-after, method-num-slots)
13763 (eieio-specialized-key-to-generic-key)
13764 (eieio--check-type, class-v, class-p)
13765 (eieio-class-name, define-obsolete-function-alias)
13766 (eieio-class-parents-fast, eieio-class-children-fast)
13767 (same-class-fast-p, class-constructor, generic-p)
13768 (generic-primary-only-p, generic-primary-only-one-p)
13769 (class-option-assoc, class-option, eieio-object-p)
13770 (class-abstract-p, class-method-invocation-order)
13771 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13772 (eieio-class-un-autoload, eieio-defclass)
13773 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13774 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13775 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13776 (eieio-defgeneric-reset-generic-form)
13777 (eieio-defgeneric-form-primary-only)
13778 (eieio-defgeneric-reset-generic-form-primary-only)
13779 (eieio-defgeneric-form-primary-only-one)
13780 (eieio-defgeneric-reset-generic-form-primary-only-one)
13781 (eieio-unbind-method-implementations)
13782 (eieio--defmethod, eieio--typep)
13783 (eieio-perform-slot-validation, eieio-validate-slot-value)
13784 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13785 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13786 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13787 (eieio-slot-name-index, eieio-class-slot-name-index)
13788 (eieio-set-defaults, eieio-initarg-to-attribute)
13789 (eieio-attribute-to-initarg, eieio-c3-candidate)
13790 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13791 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13792 (eieio-class-precedence-list, eieio-generic-call-methodname)
13793 (eieio-generic-call-arglst, eieio-generic-call-key)
13794 (eieio-generic-call-next-method-list)
13795 (eieio-pre-method-execution-functions, eieio-generic-call)
13796 (eieio-generic-call-primary-only, eieiomt-method-list)
13797 (eieiomt-optimizing-obarray, eieiomt-install)
13798 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13799 (eieio-generic-form, eieio-defmethod, make-obsolete)
13800 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13801 (defclass): Remove `eval-and-compile' from macro.
13802 (call-next-method, shared-initialize): Instead of using
13803 `scoped-class' variable, use new eieio--scoped-class, and
13804 eieio--with-scoped-class.
13805 (initialize-instance): Rename local variable 'scoped-class' to
13806 'this-class' to remove ambiguitity from old global.
13807
13808 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13809 eieio.el.
13810 (eieio--scoped-class-stack): New variable.
13811 (eieio--scoped-class): New fcn.
13812 (eieio--with-scoped-class): New scoping macro.
13813 (eieio-defclass): Use pushnew instead of add-to-list.
13814 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13815 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13816 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13817 `scoped-class' variable, use new eieio--scoped-class, and
13818 eieio--with-scoped-class.
13819
13820 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13821
13822 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13823
13824 * eshell/esh-ext.el (eshell-external-command): Pass args to
13825 `eshell-find-interpreter'.
13826 (eshell-find-interpreter): Add new second parameter ARGS.
13827
13828 * eshell/em-script.el (eshell-script-initialize): Add second arg
13829 to the function added as MATCH to `eshell-interpreter-alist'.
13830
13831 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13832 the function added as MATCH to `eshell-interpreter-alist'.
13833
13834 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13835 (eshell-visual-options): New defcustom.
13836 (eshell-escape-control-x): Adapt docstring.
13837 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13838 `eshell-visual-options' in addition to `eshell-visual-commands'.
13839 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13840
13841 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13842
13843 * progmodes/python.el (python-indent-block-enders): Add break,
13844 continue and raise keywords.
13845
13846 2013-06-01 Glenn Morris <rgm@gnu.org>
13847
13848 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13849
13850 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13851 * progmodes/cc-cmds.el (delete-forward-p):
13852 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13853 * progmodes/cc-engine.el (buffer-syntactic-context):
13854 * progmodes/cc-fonts.el (face-property-instance):
13855 * progmodes/cc-mode.el (set-keymap-parents):
13856 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13857 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13858 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13859 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13860 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13861
13862 * progmodes/cc-vars.el (other): Emacs has this widget since
13863 at least 21.1, so don't (re)define it.
13864
13865 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13866 Replace the obsolete alias pcomplete-arg-quote-list.
13867
13868 2013-06-01 Leo Liu <sdl.web@gmail.com>
13869
13870 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13871 punctuation syntax.
13872 (inferior-octave-minimal-columns)
13873 (inferior-octave-last-column-width): New variables.
13874 (inferior-octave-track-window-width-change): New function.
13875 (inferior-octave-mode): Adjust column width so that Octave output,
13876 for example from 'ls', can fit into the window nicely.
13877
13878 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13879
13880 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13881 Highlight expansions inside regexp literals.
13882
13883 2013-05-31 Glenn Morris <rgm@gnu.org>
13884
13885 * obsolete/sym-comp.el (symbol-complete):
13886 Replace obsolete completion-annotate-function.
13887
13888 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13889
13890 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13891
13892 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13893 New function, checks if point is inside a literal that allows
13894 expression expansion.
13895 (ruby-syntax-propertize-expansion): Use it.
13896 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13897 around the body.
13898
13899 2013-05-30 Juri Linkov <juri@jurta.org>
13900
13901 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13902 to "\M-si".
13903 (isearch-invisible): New variable.
13904 (isearch-forward): Doc fix.
13905 (isearch-mode): Set `isearch-invisible'
13906 to the value of `search-invisible'.
13907 (isearch-toggle-case-fold): Doc fix.
13908 (isearch-toggle-invisible): New command.
13909 (isearch-query-replace): Let-bind `search-invisible'
13910 to the value of `isearch-invisible'.
13911 (isearch-search): Use `isearch-invisible' instead of
13912 `search-invisible'. Let-bind `search-invisible'
13913 to the value of `isearch-invisible'. (Bug#11378)
13914
13915 2013-05-30 Juri Linkov <juri@jurta.org>
13916
13917 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13918 call when `query-flag' is nil and `search-invisible' is non-nil.
13919 (Bug#11746)
13920
13921 2013-05-30 Glenn Morris <rgm@gnu.org>
13922
13923 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13924
13925 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13926 (cc-require): Suppress spurious "noruntime" warnings.
13927 (cc-require-when-compile): Use fboundp, for sake of compiler.
13928
13929 * progmodes/cc-mode.el: Move load of cc-vars before that of
13930 cc-langs (which in turn loads cc-vars), to quieten compiler.
13931
13932 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * paren.el: Simplify the code.
13935 (show-paren-mode): Always start the timer.
13936 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13937 (show-paren--overlay, show-paren--overlay-1): Rename from
13938 show-paren-overlay and show-paren-overlay-1, and initialize to an
13939 overlay rather than to nil.
13940 (show-paren-function): Misc cleanup and simplifications.
13941
13942 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * paren.el (show-paren-data-function): New hook.
13945 (show-paren--default): New function, extracted from show-paren-function.
13946 (show-paren-function): Use show-paren-data-function.
13947
13948 2013-05-30 Glenn Morris <rgm@gnu.org>
13949
13950 * ielm.el (ielm-map, ielm-complete-symbol):
13951 Use completion-at-point rather than obsolete functions.
13952 (inferior-emacs-lisp-mode): Doc fix.
13953 Set completion-at-point-functions, rather than
13954 comint-dynamic-complete-functions.
13955
13956 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13957 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13958 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13959
13960 * image.el (image-animated-p): Tweak definition.
13961
13962 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13963 (rlogin-process-connection-type): Tweak default. Add set-after.
13964 (rlogin-host): Doc fix.
13965 (rlogin): Tweak prompt.
13966 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13967
13968 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13969 * progmodes/tcl.el (inferior-tcl-mode-map):
13970 Use completion-at-point rather than obsolete alias.
13971
13972 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13973
13974 * minibuffer.el (read-file-name-completion-ignore-case):
13975 Move before completion--in-region, for eager macro expansion.
13976
13977 2013-05-29 Juri Linkov <juri@jurta.org>
13978
13979 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13980 for total count of matching lines. Add `global-matches' for total
13981 count of matches. Rename `matches' to `lines' for count of
13982 matching lines. Add `matches' for count of matches.
13983 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13984 to `prev-line' for line number of prev match endpt.
13985 Increment `matches' for every match. Print the number of
13986 matching lines in the header.
13987 (occur-context-lines): Rename `lines' to `curr-line'.
13988 Rename `prev-lines' to `prev-line'. (Bug#14017)
13989
13990 2013-05-29 Juri Linkov <juri@jurta.org>
13991
13992 * replace.el (perform-replace): Add `skip-read-only-count',
13993 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13994 Increment them for corresponding conditions and report the number
13995 of skipped occurrences in the final message. (Bug#11746)
13996 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13997 (replace-string, replace-regexp): Doc fix.
13998
13999 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14000
14001 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14002
14003 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14004 prog-mode-map (bug#14504).
14005
14006 2013-05-29 Leo Liu <sdl.web@gmail.com>
14007
14008 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14009 (octave-help): Small simplification.
14010
14011 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14012 off the highlight first.
14013
14014 2013-05-29 Glenn Morris <rgm@gnu.org>
14015
14016 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14017 Handle idlwave-last-system-routine-info-cons-cell being nil.
14018
14019 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14020 (idlwave-write-paths): Simplify via with-temp-buffer.
14021
14022 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14023 * emulation/cua-rect.el: Also load cua-base at run time.
14024
14025 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14026 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14027 (cperl-imenu-on-info): Require imenu.
14028
14029 2013-05-28 Alan Mackenzie <acm@muc.de>
14030
14031 Handle "capitalised keywords" correctly.
14032 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14033
14034 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14035
14036 * eshell/em-unix.el: Add -r option to cp.
14037
14038 2013-05-28 Glenn Morris <rgm@gnu.org>
14039
14040 * vc/vc-arch.el (vc-exec-after): Declare.
14041 (vc-switches): Autoload.
14042 * vc/vc-bzr.el: No need to require vc when compiling.
14043 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14044 (vc-resynch-buffer, vc-dir-refresh): Declare.
14045 (vc-setup-buffer, vc-switches): Autoload.
14046 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14047 (vc-resynch-buffer): Declare.
14048 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14049 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14050 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14051 (grep-read-regexp, grep-read-files, grep-expand-template)
14052 (vc-dir-refresh): Declare.
14053 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14054 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14055 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14056 * vc/vc-mtn.el (vc-exec-after): Declare.
14057 (vc-switches): Autoload.
14058 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14059 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14060 (vc-file-tree-walk): Declare.
14061 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14062 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14063 (vc-tag-precondition, vc-rename-master): Autoload.
14064 * vc/vc-svn.el (vc-exec-after): Declare.
14065 (vc-switches, vc-setup-buffer): Autoload.
14066 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14067 Autoload.
14068 (vc-resynch-buffer): Declare.
14069
14070 * obsolete/fast-lock.el (byte-compile-warnings):
14071 Don't warn about obsolete features in this obsolete file.
14072
14073 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14074 Move definition before use.
14075
14076 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14077 (dun-unix-verbs): Remove dun-zippy.
14078 (dun-zippy): Remove function.
14079
14080 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14081
14082 2013-05-27 Juri Linkov <juri@jurta.org>
14083
14084 * replace.el (replace-search): New function with code moved out
14085 from `perform-replace'.
14086 (replace-highlight, replace-dehighlight): Move function definitions
14087 up closer to `replace-search'. (Bug#11746)
14088
14089 2013-05-27 Juri Linkov <juri@jurta.org>
14090
14091 * replace.el (perform-replace): Ignore invisible matches.
14092 In addition to checking `query-replace-skip-read-only', also
14093 filter out matches by calling `run-hook-with-args-until-failure'
14094 on `isearch-filter-predicates', and also check `search-invisible'
14095 for t or call `isearch-range-invisible'.
14096 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14097
14098 2013-05-27 Juri Linkov <juri@jurta.org>
14099
14100 * isearch.el (isearch-filter-predicates): Rename from
14101 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14102 (isearch-message-prefix): Display text from the property
14103 `isearch-message-prefix' of the currently active filters.
14104 (isearch-search): Don't compare `isearch-filter-predicate' with
14105 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14106 on `isearch-filter-predicates'. Also check `search-invisible' for t
14107 or call `isearch-range-invisible'.
14108 (isearch-filter-visible): Make obsolete.
14109 (isearch-lazy-highlight-search):
14110 Call `run-hook-with-args-until-failure' on
14111 `isearch-filter-predicates' and use `isearch-range-invisible'.
14112
14113 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14114 `isearch-filter-predicates' instead of `funcall'ing
14115 `isearch-filter-predicate'.
14116 (Info-mode): Set `Info-isearch-filter' to
14117 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14118
14119 * dired-aux.el (dired-isearch-filter-predicate-orig):
14120 Remove variable.
14121 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14122 (dired-isearch-filenames-end): Add and remove
14123 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14124 instead of changing the value of `isearch-filter-predicate'.
14125 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14126 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14127 Put property `isearch-message-prefix' to "filename " on
14128 `dired-isearch-filter-filenames'.
14129
14130 * wdired.el (wdired-change-to-wdired-mode):
14131 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14132 locally instead of changing `isearch-filter-predicate'.
14133 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14134
14135 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14136
14137 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14138 return the commit hash (Bug#14459). Also set the
14139 `vc-git-detached' property.
14140 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14141 (vc-git-mode-line-string): Use the same help-echo format whether
14142 in detached mode or not, because we know the actual revision now.
14143 When in detached mode, shorten the revision to 7 chars.
14144
14145 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * emacs-lisp/easy-mmode.el (define-minor-mode):
14148 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14149 mode hook and provide a docstring.
14150
14151 2013-05-27 Alan Mackenzie <acm@muc.de>
14152
14153 Remove spurious syntax-table text properties inserted by C-y.
14154 * progmodes/cc-mode.el (c-after-change): Also clear hard
14155 syntax-table property with value nil.
14156
14157 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14158
14159 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14160 when reading the events; the buffer layout shall not be changed.
14161
14162 2013-05-27 Leo Liu <sdl.web@gmail.com>
14163
14164 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14165 New variable.
14166 (inferior-octave-directory-tracker): Automatically re-sync
14167 default-directory.
14168 (octave-help): Improve handling of 'See also'.
14169
14170 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * doc-view.el: Minor naming convention tweaks.
14173 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14174
14175 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14176 even if there's no `display' property yet (bug#14435).
14177
14178 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14179
14180 * subr.el (unmsys--file-name): Rename from reveal-filename.
14181
14182 * Makefile.in (custom-deps, finder-data, autoloads)
14183 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14184 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14185 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14186
14187 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14188
14189 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14190 error-completion on the first 2 args of condition-case (bug#14446).
14191 Don't burp at EOB.
14192
14193 2013-05-25 Leo Liu <sdl.web@gmail.com>
14194
14195 * comint.el (comint-previous-matching-input): Do not flood the
14196 *Messages* buffer with trivial messages.
14197
14198 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * progmodes/flymake.el (flymake-nop): Don't return a string.
14201 (flymake-set-at): Fix typo.
14202
14203 * simple.el (read--expression): New function, extracted from
14204 eval-expression. Set completion-at-point-functions (bug#14465).
14205 (eval-expression, eval-minibuffer): Use it.
14206
14207 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14208
14209 * progmodes/flymake.el (flymake-save-buffer-in-file)
14210 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14211 (flymake-selected-frame, flymake-log, flymake-ins-after)
14212 (flymake-set-at, flymake-get-buildfile-from-cache)
14213 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14214 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14215 Refine the doc string.
14216 (flymake-get-file-name-mode-and-masks): Reformat.
14217 (flymake-get-real-file-name-function): Fix a minor bug.
14218
14219 2013-05-24 Juri Linkov <juri@jurta.org>
14220
14221 * progmodes/grep.el (grep-mode-font-lock-keywords):
14222 Support =linenumber= format used by git-grep for lines with
14223 function names. (Bug#13549)
14224
14225 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14228 0 after a semi-colon; it works better for smie-auto-fill.
14229 (octave--indent-new-comment-line): New function.
14230 (octave-indent-new-comment-line): Use it (indirectly).
14231 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14232 modify comment-line-break-function.
14233
14234 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14235 (smie-setup): Use add-function to set it.
14236
14237 2013-05-24 Sam Steingold <sds@gnu.org>
14238
14239 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14240 argument (before the `interactive' argument).
14241
14242 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * image-mode.el (image-mode-winprops): Add winprops to
14245 image-mode-winprops-alist before running
14246 image-mode-new-window-functions.
14247 * doc-view.el (doc-view-new-window-function): Don't delay
14248 doc-view-goto-page via timers (bug#14435).
14249
14250 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14251
14252 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14253 (doc-view-desktop-save-buffer): New function.
14254 (doc-view-restore-desktop-buffer): New function.
14255 (desktop-buffer-mode-handlers):
14256 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14257 handler.
14258 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14259 `desktop-save-buffer' function.
14260
14261 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14262
14263 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14264 (tramp-gvfs-file-name-handler): Raise a user error when
14265 `tramp-gvfs-enabled' is nil.
14266 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14267 Do not raise a user error when loading package. (Bug#14447)
14268
14269 * net/xesam.el: Move to obsolete/.
14270
14271 2013-05-24 Glenn Morris <rgm@gnu.org>
14272
14273 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14274
14275 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14276
14277 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14278 (Info-find-node, Man-getpage-in-background): Declare.
14279
14280 * mail/unrmail.el (unrmail):
14281 Replace obsolete detect-coding-with-priority.
14282
14283 * net/socks.el (socks-split-string): Use this rather than split-string.
14284 (socks-nslookup-host): Update for above change.
14285 (dynamic-choice, s5-dynamic-choice-match)
14286 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14287 Comment out unused code.
14288
14289 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14290 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14291 (gud-tooltip-echo-area): Make obsolete.
14292 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14293
14294 * progmodes/js.el (js--optimize-arglist): Declare.
14295
14296 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14297
14298 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14299 (ediff-window-C): Declare.
14300
14301 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14302 Tweak requires to silence compiler.
14303
14304 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14305 (he-search-string, he-tried-table, he-expand-list)
14306 (he-init-string, he-string-member, he-substitute-string)
14307 (he-reset-string): Declare.
14308
14309 * obsolete/options.el (list-options): Use custom-variable-p,
14310 rather than obsolete alias.
14311
14312 2013-05-23 Sam Steingold <sds@gnu.org>
14313
14314 * simple.el (shell-command-on-region): Pass the `replace' argument
14315 down to `call-process-region' to comply with the doc as reported on
14316 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14317
14318 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * emacs-lisp/smie.el (smie-indent-forward-token)
14321 (smie-indent-backward-token): Handle string tokens (bug#14381).
14322
14323 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14324
14325 * ielm.el (ielm-menu): New menu.
14326 (inferior-emacs-lisp-mode): Set comment-start.
14327
14328 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14329
14330 * textmodes/reftex.el (reftex-ref-style-toggle):
14331 Fix deactivate action.
14332
14333 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14334 Add cleveref macros.
14335
14336 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14337 Accept options for bibliography commands.
14338 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14339 Add addbibresource. Basic Biblatex support.
14340
14341 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14342
14343 * net/tramp-gvfs.el (top):
14344 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14345 when loading package. (Bug#14447)
14346
14347 2013-05-23 Glenn Morris <rgm@gnu.org>
14348
14349 * progmodes/js.el: No need to load comint when compiling.
14350 (ring-insert, comint-send-string, comint-send-input)
14351 (comint-last-input-end, ido-chop): Declare.
14352
14353 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14354 * vc/ediff-mult.el: Adjust requires.
14355 (ediff-directories-internal, ediff-directory-revisions-internal)
14356 (ediff-patch-file-internal): Declare.
14357 * vc/ediff-ptch.el: Adjust requires.
14358 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14359 (ediff-find-file): Autoload.
14360 * vc/ediff-util.el: No need to load ediff when compiling.
14361 (ediff-regions-internal): Declare.
14362 * vc/ediff-wind.el: Adjust requires.
14363 (ediff-compute-toolbar-width): Define when compiling.
14364 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14365 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14366 (dired-get-filename, dired-get-marked-files)
14367 (ediff-last-dir-patch, ediff-patch-default-directory)
14368 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14369 (ediff-patch-buffer-internal): Declare.
14370
14371 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14372 (ispell-process, ispell-buffer-local-words, lm-summary)
14373 (lm-section-start, lm-section-end): Declare.
14374 (checkdoc-ispell-init): Simplify.
14375
14376 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14377 (he-string-member, he-reset-string, he-substitute-string): Declare.
14378
14379 * eshell/em-ls.el: Adjust requires.
14380 (eshell-glob-regexp): Declare.
14381 * eshell/em-tramp.el: Adjust requires.
14382 (eshell-parse-command): Autoload.
14383 * eshell/em-xtra.el: Adjust requires.
14384 (eshell-parse-command): Autoload.
14385 * eshell/esh-ext.el: Adjust requires.
14386 (eshell-parse-command, eshell-close-handles): Autoload.
14387 * eshell/esh-io.el: Adjust requires.
14388 (eshell-output-filter): Autoload.
14389 * eshell/esh-util.el: No need to load tramp when compiling.
14390 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14391 Declare.
14392 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14393 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14394 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14395 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14396 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14397 * eshell/esh-opt.el, eshell/esh-proc.el:
14398 * eshell/esh-var.el: Adjust requires.
14399 * eshell/eshell.el: Do not require esh-util twice.
14400 (eshell-add-input-to-history): Declare.
14401 (eshell-command): Check history module is active before using it.
14402
14403 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14404
14405 2013-05-22 Leo Liu <sdl.web@gmail.com>
14406
14407 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14408
14409 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14410
14411 * autorevert.el (auto-revert-notify-add-watch)
14412 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14413 it indicates changes in file modification time.
14414
14415 2013-05-22 Glenn Morris <rgm@gnu.org>
14416
14417 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14418 Always delete the autoloaded function from the noruntime and
14419 unresolved functions lists.
14420
14421 * allout.el: No need to load epa, epg, overlay when compiling.
14422 (epg-context-set-passphrase-callback, epg-list-keys)
14423 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14424 (epg-key-user-id-list): Declare.
14425
14426 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14427 (viper-set-parsing-style-toggling-macro)
14428 (viper-set-emacs-state-searchstyle-macros):
14429 Use called-interactively-p on Emacs.
14430 (viper-looking-back): Make it an obsolete alias. Update callers.
14431 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14432 Use looking-back rather than viper-looking-back.
14433 (viper-tmp-insert-at-eob, viper-enlarge-region)
14434 (viper-read-string-with-history, viper-register-to-point)
14435 (viper-append-to-register, viper-change-state-to-vi)
14436 (viper-backward-char-carefully, viper-forward-char-carefully)
14437 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14438 (viper-change-state-to-emacs): Declare.
14439 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14440 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14441 * emulation/viper-mous.el: Do not load viper-cmd.
14442 (viper-backward-char-carefully, viper-forward-char-carefully)
14443 (viper-forward-word, viper-adjust-window): Declare.
14444
14445 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14446
14447 * progmodes/idlw-help.el (idlwave-help-fontify):
14448 Use called-interactively-p.
14449
14450 * term/w32console.el (w32-get-console-codepage)
14451 (w32-get-console-output-codepage): Declare.
14452
14453 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14454 Remove unnecessary declarations.
14455 (dframe-message): Doc fix.
14456
14457 * info.el (dframe-select-attached-frame, dframe-current-frame):
14458 Declare.
14459
14460 * speedbar.el (speedbar-message): Make it an obsolete alias.
14461 Update all callers.
14462 (speedbar-with-attached-buffer)
14463 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14464 (speedbar-with-writable): Use backquote.
14465 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14466 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14467 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14468 rather than speedbar- aliases.
14469 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14470 (speedbar-make-specialized-keymap, speedbar-insert-button)
14471 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14472 (speedbar-do-function-pointer): Declare.
14473 (rmail-speedbar-button, rmail-speedbar-find-file)
14474 (rmail-speedbar-move-message):
14475 Use dframe-with-attached-buffer rather than speedbar- alias.
14476 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14477 (dframe-message, speedbar-make-specialized-keymap)
14478 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14479 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14480 (speedbar-insert-button, dframe-select-attached-frame)
14481 (dframe-maybee-jump-to-attached-frame)
14482 (speedbar-change-initial-expansion-list)
14483 (speedbar-previously-used-expansion-list-name): Declare.
14484 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14485 Use dframe-message, dframe-with-attached-buffer rather than
14486 speedbar- aliases.
14487 (gud-sentinel): Silence compiler.
14488 * progmodes/vhdl-mode.el (speedbar-refresh)
14489 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14490 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14491 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14492 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14493 (speedbar-file-lists, speedbar-make-tag-line)
14494 (speedbar-line-directory, speedbar-goto-this-file)
14495 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14496 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14497 (speedbar-make-button, speedbar-reset-scanners)
14498 (speedbar-files-item-info, speedbar-line-text)
14499 (speedbar-find-file-in-frame, speedbar-set-timer)
14500 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14501 (speedbar-with-writable): Do not (re)define it.
14502 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14503 rather than speedbar- alias.
14504
14505 2013-05-21 Leo Liu <sdl.web@gmail.com>
14506
14507 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14508 menu items.
14509 (octave-mode): Tweak fill-nobreak-predicate.
14510 (inferior-octave-startup): Check process to avoid infinite loop.
14511 (inferior-octave): Pop to buffer first to show abornmal process
14512 exit information.
14513
14514 2013-05-21 Glenn Morris <rgm@gnu.org>
14515
14516 * printing.el (pr-menu-bar): Define when compiling.
14517
14518 2013-05-21 Leo Liu <sdl.web@gmail.com>
14519
14520 * progmodes/octave.el (octave-auto-fill): Remove.
14521 (octave-indent-new-comment-line): Improve.
14522 (octave-mode): Use auto fill mode through
14523 comment-line-break-function and fill-nobreak-predicate.
14524 (octave-goto-function-definition): Support DEFUN_DLD.
14525 (octave-beginning-of-defun): Small tweak.
14526 (octave-help): Show parent directory.
14527
14528 2013-05-21 Glenn Morris <rgm@gnu.org>
14529
14530 * files.el (dired-unmark):
14531 * progmodes/gud.el (gdb-input): Update declarations.
14532
14533 * calculator.el (electric, ehelp): No need to load when compiling.
14534 (Electric-command-loop, electric-describe-mode): Declare.
14535
14536 * doc-view.el (doc-view-current-converter-processes): Move before use.
14537
14538 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14539 Move MODE-set-explicitly definition before use.
14540
14541 * international/mule-diag.el (mule-diag):
14542 Don't use obsolete window-system-version.
14543
14544 * mail/feedmail.el (smtpmail): No need to load when compiling.
14545 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14546
14547 * mail/mail-utils.el (rfc822): No need to load when compiling.
14548 (rfc822-addresses): Autoload it.
14549 (mail-strip-quoted-names): Trivial simplification.
14550
14551 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14552 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14553
14554 * net/snmp-mode.el (tempo): Don't duplicate requires.
14555
14556 * progmodes/prolog.el (info): No need to load when compiling.
14557 (comint): Require before shell requires it.
14558 (Info-goto-node): Autoload it.
14559 (Info-follow-nearest-node): Declare.
14560 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14561
14562 * textmodes/artist.el (picture-mode-exit): Declare.
14563
14564 * textmodes/reftex-parse.el (reftex-parse-from-file):
14565 Trivial rewrite so the compiler can parse it better.
14566
14567 2013-05-20 Leo Liu <sdl.web@gmail.com>
14568
14569 * progmodes/octave.el (octave-help-mode-map)
14570 (octave-help-mode-finish-hook): New variables.
14571 (octave-help-mode, octave-help-mode-finish): New functions.
14572 (octave-help): Use octave-help-mode.
14573
14574 2013-05-20 Glenn Morris <rgm@gnu.org>
14575
14576 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14577
14578 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14579
14580 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14581 start at point, so that expansion starting right after opening
14582 slash in a regexp is recognized.
14583 (ruby-syntax-before-regexp-re): New defvar, extracted from
14584 ruby-syntax-propertize-function. Since the value of this regexp
14585 is looked up at runtime now, we should be able to turn
14586 `ruby-syntax-methods-before-regexp' into a defcustom later.
14587 (ruby-syntax-propertize-function): Split regexp matching into two
14588 parts, for opening and closing slashes. That allows us to skip
14589 over string interpolations and support multiline regexps.
14590 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14591 for them, which calls `ruby-syntax-propertize-expansion'.
14592 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14593 call to `ruby-syntax-propertize-function'.
14594 (ruby-syntax-propertize-expansion): Extracted from
14595 `ruby-syntax-propertize-expansions'. Handles one expansion.
14596 (ruby-syntax-propertize-percent-literal): Leave point right after
14597 the percent symbol, so that the expression expansion rule can
14598 propertize the contents.
14599 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14600 heredoc openers.
14601 (ruby-syntax-propertize-expansions): Remove.
14602
14603 2013-05-18 Juri Linkov <juri@jurta.org>
14604
14605 * man.el (Man-default-man-entry): Remove `-' from the end
14606 of the default value. (Bug#14400)
14607
14608 2013-05-18 Glenn Morris <rgm@gnu.org>
14609
14610 * comint.el (comint-password-prompt-regexp):
14611 Allow "password for XXX" where XXX contains colons (eg https://...).
14612
14613 2013-05-18 Leo Liu <sdl.web@gmail.com>
14614
14615 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14616 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14617 (octave-source-directories): Don't check process.
14618 (octave-source-directories, octave-find-definition): Doc fix.
14619
14620 2013-05-18 Glenn Morris <rgm@gnu.org>
14621
14622 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14623 Remove backspace/delete bindings. (Bug#14392)
14624
14625 * cus-dep.el (custom-make-dependencies): Sort the output.
14626 (custom-versions-load-alist): Convert comment to doc.
14627
14628 2013-05-17 Leo Liu <sdl.web@gmail.com>
14629
14630 * newcomment.el (comment-search-backward): Stricter in finding
14631 comment start. (Bug#14303)
14632
14633 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14634 (octave-comment-start-skip): Properly anchored.
14635
14636 2013-05-17 Leo Liu <sdl.web@gmail.com>
14637
14638 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14639 Clean up when turned off. (Bug#14395)
14640 (smie--highlight-matching-block-overlay): No longer buffer-local.
14641 (smie-highlight-matching-block): Adjust.
14642
14643 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14644
14645 Doc string fix for "nanoseconds" (Bug#14406).
14646 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14647 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14648
14649 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14650
14651 * calc/calc-units.el (math-extract-units): Preserve powers
14652 of units.
14653
14654 2013-05-17 Leo Liu <sdl.web@gmail.com>
14655
14656 * subr.el (delete-consecutive-dups): New function.
14657 * ido.el (ido-set-matches-1): Use it.
14658 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14659 * ido.el (ido-remove-consecutive-dups): Remove.
14660
14661 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14662
14663 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14664 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14665 regexp-opt's `words'.
14666
14667 2013-05-16 Leo Liu <sdl.web@gmail.com>
14668
14669 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14670 (smie--highlight-matching-block-overlay)
14671 (smie--highlight-matching-block-lastpos)
14672 (smie--highlight-matching-block-timer): New variables.
14673 (smie-highlight-matching-block): New function.
14674 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14675 (smie-setup): Conditionally enable smie-blink-matching-open.
14676
14677 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14678
14679 Sync with upstream verilog-mode r840.
14680 * progmodes/verilog-mode.el (verilog-mode-version)
14681 (verilog-mode-release-date): Update.
14682 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14683 (verilog-sig-tieoff): Fix string error on
14684 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14685 (verilog-read-decls): Fix parameters confusing
14686 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14687
14688 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14689
14690 * subr.el (reveal-filename): New function.
14691
14692 * loadup.el: Compute Emacs executable versions on MS-Windows,
14693 where executables have the .exe extension. Add a hard link
14694 emacs-XX.YY.ZZ.exe on MS-Windows.
14695
14696 * Makefile.in (XARGS_LIMIT): New variable.
14697 (custom-deps, finder-data, autoloads)
14698 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14699 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14700 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14701 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14702
14703 2013-05-16 Leo Liu <sdl.web@gmail.com>
14704
14705 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14706 (octave-mode-menu, octave-mode-map): Remove its uses.
14707
14708 2013-05-16 Reto Zimmermann <reto@gnu.org>
14709
14710 Sync with upstream vhdl mode v3.34.2.
14711 * progmodes/vhdl-mode.el: Use `push' throughout.
14712 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14713 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14714 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14715 (vhdl-actual-generic-name): New option to derive actual generic name.
14716 (vhdl-port-paste-signals): Replace formal by actual generics.
14717 (vhdl-beautify): New name for old group vhdl-align. Update users.
14718 (vhdl-beautify-options): New option.
14719 (vhdl-last-input-event): New compat alias. Use throughout.
14720 (vhdl-goto-line): Replace user level function `goto-line'.
14721 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14722 vhdl-fix-statement-buffer.
14723 (vhdl-create-mode-menu): Add some entries.
14724 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14725 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14726 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14727 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14728 to force statements on one line.
14729 (vhdl-remove-trailing-spaces-region):
14730 New, split from vhdl-remove-trailing-spaces.
14731 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14732 Respect vhdl-beautify-options.
14733 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14734 (vhdl-update-sensitivity-list): Not add with index if exists without.
14735 Not include array index with signal. Ignore keywords in comments.
14736 (vhdl-get-visible-signals): Regexp tweaks.
14737 (vhdl-template-component-inst): Handle empty library.
14738 (vhdl-template-type): Add template for 'enum' type.
14739 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14740 Use vhdl-replace-string.
14741 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14742 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14743 (vhdl-speedbar-initialize): Update for above name change.
14744 (vhdl-compose-wire-components): Fix in handling of constants.
14745 (vhdl-error-regexp-emacs-alist): New variable.
14746 (vhdl-error-regexp-add-emacs): New function;
14747 adds support for new compile.el (Emacs 22+)
14748 (vhdl-generate-makefile-1): Change target order for single lib. units.
14749 Allow use of absolute file names.
14750
14751 2013-05-16 Leo Liu <sdl.web@gmail.com>
14752
14753 * simple.el (prog-indent-sexp): Indent enclosing defun.
14754
14755 2013-05-15 Glenn Morris <rgm@gnu.org>
14756
14757 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14758 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14759 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14760 (whitespace-highlight): Move to whitespace group.
14761
14762 * comint.el (comint-source):
14763 * pcmpl-linux.el (pcmpl-linux):
14764 * shell.el (shell-faces):
14765 * eshell/esh-opt.el (eshell-opt):
14766 * international/ccl.el (ccl): Remove empty custom groups.
14767
14768 * completion.el (dynamic-completion-mode):
14769 * jit-lock.el (jit-lock-debug-mode):
14770 * minibuffer.el (completion-in-region-mode):
14771 * type-break.el (type-break-mode-line-message-mode)
14772 (type-break-query-mode):
14773 * emulation/tpu-edt.el (tpu-edt-mode):
14774 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14775 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14776 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14777
14778 * term/xterm.el (xterm): Change parent group to terminals.
14779
14780 * master.el (master): Remove empty custom group.
14781 (master-mode): Remove unused :group argument.
14782 * textmodes/refill.el (refill): Remove empty custom group.
14783 (refill-mode): Remove unused :group argument.
14784
14785 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14786
14787 * cus-dep.el: Provide a feature.
14788 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14789 Don't mistakenly ignore files whose basenames match a basename
14790 from preloaded-file-list (eg cedet/ede/simple.el).
14791 Add a fallback method for getting :group.
14792
14793 2013-05-15 Juri Linkov <juri@jurta.org>
14794
14795 * isearch.el (isearch-char-by-name): Rename from
14796 `isearch-insert-char-by-name'. Doc fix.
14797 (isearch-forward): Mention `isearch-char-by-name' in
14798 the docstring. (Bug#13348)
14799
14800 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14801 `exit-minibuffer' instead of
14802 `isearch-nonincremental-exit-minibuffer'.
14803 (isearch-edit-string): Remove mention of
14804 `isearch-nonincremental-exit-minibuffer' from docstring.
14805 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14806 (isearch-forward-exit-minibuffer)
14807 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14808
14809 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14810
14811 * loadup.el: Just use unversioned DOC.
14812
14813 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14814 literals as extending to EOB.
14815 (nxml-last-fontify-end): Remove unused variable.
14816 (nxml-after-change1): Use with-silent-modifications.
14817 (nxml-extend-after-change-region): Simplify.
14818 (nxml-extend-after-change-region1): Remove function.
14819 (nxml-after-change1): Don't adjust for dependent regions.
14820 (nxml-fontify-matcher): Simplify.
14821 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14822 (xmltok-add-dependent): Remove function.
14823 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14824 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14825 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14826 unclosed <[[, <?, comment, and other literals as extending to EOB.
14827 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14828 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14829 Remove functions.
14830 (rng-do-some-validation-1): Don't mark dependent regions.
14831 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14832 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14833 (nxml-clear-dependent-regions): Remove functions.
14834 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14835 (nxml-ensure-scan-up-to-date):
14836 Don't clear&mark dependent regions.
14837
14838 2013-05-15 Leo Liu <sdl.web@gmail.com>
14839
14840 * progmodes/octave.el (octave-goto-function-definition):
14841 Improve and fix callers.
14842
14843 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14846 the setter (bug#14387).
14847
14848 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14849 surrounding group (bug#14402).
14850
14851 2013-05-14 Juri Linkov <juri@jurta.org>
14852
14853 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14854 (Bug#14390)
14855
14856 2013-05-14 Glenn Morris <rgm@gnu.org>
14857
14858 * progmodes/f90.el (f90-imenu-generic-expression):
14859 Fix typo in 2013-05-08 change. (Bug#14402)
14860
14861 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14862
14863 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14864 Remove signals for which replies are never received.
14865
14866 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14867
14868 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14869 (gdb-handler-alist, gdb-handler-number): Remove variables.
14870 (gdb-handler-list): New variable.
14871 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14872 (gdb-pending-handler-p, gdb-handle-reply)
14873 (gdb-remove-all-pending-triggers): New functions.
14874 (gdb-discard-unordered-replies): New defcustom.
14875 (gdb-handler): New defstruct.
14876 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14877 instead of gdb-pending-triggers. Update docstring.
14878 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14879 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14880 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14881 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14882 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14883 (gdb-frame-handler): Pending triggers are now automatically managed.
14884 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14885 Remove argument.
14886 (gdb-input): Automatically handles pending triggers. Update docstring.
14887 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14888 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14889 Update comments.
14890 (gdb-done-or-error): Now use gdb-handle-reply.
14891
14892 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14893
14894 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14895 gdb-debug-log.
14896
14897 2013-05-14 Glenn Morris <rgm@gnu.org>
14898
14899 * subr.el (user-emacs-directory-warning): New option.
14900 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14901
14902 2013-05-14 Leo Liu <sdl.web@gmail.com>
14903
14904 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14905 during redisplay.
14906 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14907 (octave-font-lock-texinfo-comment): Fix invalid search bound
14908 error: wrong side of point.
14909
14910 2013-05-14 Glenn Morris <rgm@gnu.org>
14911
14912 * progmodes/flymake.el (flymake-xml-program): New option.
14913 (flymake-xml-init): Use it.
14914
14915 * term/xterm.el: Provide a feature.
14916
14917 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14918
14919 2013-05-13 Glenn Morris <rgm@gnu.org>
14920
14921 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14922 Add compat aliases as a hack workaround. (Bug#14384)
14923
14924 2013-05-13 Leo Liu <sdl.web@gmail.com>
14925
14926 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14927 ###, and %!.
14928 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14929 C-M-q.
14930 (octave-comment-start-skip): Include %!.
14931 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14932
14933 2013-05-12 Leo Liu <sdl.web@gmail.com>
14934
14935 * progmodes/octave.el (inferior-octave-startup): Store the value
14936 of __octave_srcdir__ for octave-source-directories.
14937 (inferior-octave-check-process): New function refactored out of
14938 inferior-octave-send-list-and-digest.
14939 (octave-source-directories)
14940 (octave-find-definition-filename-function): New variables.
14941 (octave-source-directories)
14942 (octave-find-definition-default-filename): New functions.
14943 (octave-find-definition): Improve to find functions implemented in C++.
14944
14945 2013-05-12 Glenn Morris <rgm@gnu.org>
14946
14947 * calendar/diary-lib.el (diary-outlook-format-1):
14948 Don't include dayname in the output. (Bug#14349)
14949
14950 2013-05-11 Glenn Morris <rgm@gnu.org>
14951
14952 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14953
14954 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14955 Treat cc-provide like provide.
14956
14957 2013-05-11 Kevin Ryde <user42@zip.com.au>
14958
14959 * cus-dep.el (custom-make-dependencies):
14960 Use generated-autoload-load-name for the sake of files such
14961 such cedet/semantic/bovine/c.el, where the base file name
14962 is not in load-path. (Bug#5277)
14963
14964 2013-05-11 Glenn Morris <rgm@gnu.org>
14965
14966 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14967 Provide features.
14968
14969 2013-05-11 Leo Liu <sdl.web@gmail.com>
14970
14971 * progmodes/octave.el (octave-indent-comment): Improve.
14972 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14973 (octave-eldoc-function-signatures, octave-eldoc-function):
14974 New functions.
14975 (octave-mode, inferior-octave-mode): Add eldoc support.
14976
14977 2013-05-11 Richard Stallman <rms@gnu.org>
14978
14979 * epa.el (epa-decrypt-file): Take output file name as argument
14980 and read it using `interactive'.
14981
14982 2013-05-11 Leo Liu <sdl.web@gmail.com>
14983
14984 * progmodes/octave.el (octave-beginning-of-line)
14985 (octave-end-of-line): Check before using up-list because it jumps
14986 out of more syntactic contructs since moving to smie.
14987 (octave-indent-comment): New function.
14988 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14989 (octave-begin-keywords, octave-end-keywords)
14990 (octave-reserved-words, octave-smie-bnf-table)
14991 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14992
14993 2013-05-11 Glenn Morris <rgm@gnu.org>
14994
14995 * faces.el (internal-face-x-get-resource):
14996 * frame.el (ns-display-monitor-attributes-list):
14997 * calc/calc-aent.el (math-to-radians-2):
14998 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14999 Fix declarations.
15000
15001 * calc/calc-menu.el: Make it loadable in isolation.
15002
15003 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15004 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15005 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15006 (eudc-bbdb-query-internal): Require 'bbdb.
15007
15008 * lpr.el (lpr-headers-switches):
15009 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15010
15011 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15012
15013 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15014
15015 * term.el (term-set-escape-char): Make it idempotent.
15016
15017 2013-05-10 Leo Liu <sdl.web@gmail.com>
15018
15019 * progmodes/octave.el (inferior-octave-completion-table):
15020 No longer a function and all uses changed. Use cache to speed up
15021 completion due to bug#11906.
15022 (octave-beginning-of-defun): Re-write to be more general.
15023
15024 2013-05-10 Glenn Morris <rgm@gnu.org>
15025
15026 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15027
15028 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15029
15030 * comint.el (comint-redirect-send-command-to-process): Use :around
15031 rather than :override for comint-redirect-filter.
15032 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15033 Call it instead of comint-redirect-original-filter-function (which
15034 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15035
15036 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15037
15038 * frame.el (display-monitor-attributes-list): Add NS case.
15039 (ns-display-monitor-attributes-list): Declare.
15040
15041 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15042
15043 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15044
15045 2013-05-09 Glenn Morris <rgm@gnu.org>
15046
15047 * international/fontset.el (vertical-centering-font-regexp):
15048 Set standard-value.
15049
15050 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15051
15052 * bookmark.el (bookmark-search-delay):
15053 * cus-start.el (vertical-centering-font-regexp):
15054 * ps-mule.el (ps-mule-font-info-database-default):
15055 * ps-print.el (ps-default-fg, ps-default-bg):
15056 * type-break.el (type-break-good-break-interval):
15057 * whitespace.el (whitespace-indentation-regexp)
15058 (whitespace-space-after-tab-regexp):
15059 * emacs-lisp/testcover.el (testcover-1value-functions)
15060 (testcover-noreturn-functions, testcover-progn-functions)
15061 (testcover-prog1-functions):
15062 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15063 * eshell/em-glob.el (eshell-glob-translate-alist):
15064 * play/tetris.el (tetris-tty-colors):
15065 * progmodes/cpp.el (cpp-face-default-list):
15066 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15067 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15068 (idlwave-help-browser-generic-args):
15069 * progmodes/make-mode.el (makefile-special-targets-list):
15070 * progmodes/python.el (python-shell-virtualenv-path):
15071 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15072 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15073 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15074 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15075 * textmodes/reftex-vars.el (reftex-format-label-function):
15076 * textmodes/remember.el (remember-diary-file): Fix custom types.
15077
15078 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15079 Add :version.
15080
15081 2013-05-09 Leo Liu <sdl.web@gmail.com>
15082
15083 * progmodes/octave.el (inferior-octave-completion-at-point):
15084 Restore file completion. (Bug#14300)
15085 (inferior-octave-startup): Fix incorrect highlighting for the
15086 first prompt.
15087
15088 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15089
15090 * progmodes/ruby-mode.el: First cut at SMIE support.
15091 (ruby-use-smie): New var.
15092 (ruby-smie-grammar): New constant.
15093 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15094 (ruby-smie--forward-token, ruby-smie--backward-token)
15095 (ruby-smie-rules): New functions.
15096 (ruby-mode-variables): Setup SMIE if applicable.
15097
15098 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15099
15100 * simple.el (line-move-visual): Signal beginning/end of buffer
15101 only if vertical-motion moved less than it was requested. Avoids
15102 silly incorrect error messages when there are display strings with
15103 multiple newlines at EOL.
15104
15105 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15106
15107 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15108 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15109 (prolog-char-quote-workaround):
15110 * progmodes/cperl-mode.el (cperl-under-as-char):
15111 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15112 Mark as obsolete.
15113 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15114 their declaration.
15115 (vhdl-mode-syntax-table-init): Remove.
15116
15117 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15118 last change.
15119
15120 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15121 syntax for "_".
15122 (ld-script-font-lock-keywords):
15123 Change regexps to use things like \_< and \_>.
15124
15125 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15126 Change all regexps to use things like \_< and \_>.
15127
15128 * progmodes/autoconf.el (autoconf-definition-regexp)
15129 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15130 Handle a _ with symbol syntax.
15131 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15132
15133 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15134 Consolidate declaration.
15135 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15136 the declaration.
15137 (ada-create-syntax-table): Remove.
15138 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15139 already has the right syntax nowadays.
15140 (ada-goto-next-word): Don't change the syntax of "_".
15141
15142 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15143 with-wrapper-hook.
15144
15145 2013-05-08 Sam Steingold <sds@gnu.org>
15146
15147 * thingatpt.el (thing-at-point): Accept optional second argument
15148 NO-PROPERTIES to strip the text properties from the return value.
15149 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15150 to `thing-at-point' instead of stripping the properties ourselves.
15151 Also, when `thing-at-point' fails to find a url, prepend "http://"
15152 to the filename at point on the assumption that the user is
15153 pointing at something like gnu.org/gnu.
15154
15155 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15156
15157 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15158 * faces.el (crm-separator):
15159 Silence byte-compiler.
15160
15161 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15162 (tool-bar-map): Remove unneeded defvars.
15163
15164 2013-05-08 Leo Liu <sdl.web@gmail.com>
15165
15166 Re-work a fix for bug#10994 based on Le Wang's patch.
15167 * ido.el (ido-remove-consecutive-dups): New helper.
15168 (ido-completing-read): Use it.
15169 (ido-chop): Revert fix for bug#10994.
15170
15171 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15172
15173 * cus-edit.el (custom-save-variables):
15174 Pretty-print long values. (Bug#14187)
15175
15176 2013-05-08 Glenn Morris <rgm@gnu.org>
15177
15178 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15179 (m4-mode-syntax-table): Init in the defvar.
15180 (m4-mode-abbrev-table): Let define-derived-mode define it.
15181
15182 2013-05-08 Tom Tromey <tromey@redhat.com>
15183
15184 * progmodes/m4-mode.el (m4-mode-syntax-table):
15185 Do not treat "_" as word constituent. (Bug#14167)
15186
15187 2013-05-07 Glenn Morris <rgm@gnu.org>
15188
15189 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15190 Remove explicit eshell-isearch-cancel-map.
15191
15192 * progmodes/f90.el (f90-smart-end-names): New option.
15193 (f90-smart-end): Doc fix.
15194 (f90-end-block-optional-name): New constant.
15195 (f90-block-match): Respect f90-smart-end-names.
15196
15197 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15198
15199 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15200 about implicit semi-colons (bug#14218).
15201
15202 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15203
15204 * frame.el (display-monitor-attributes-list)
15205 (frame-monitor-attributes): New functions.
15206
15207 2013-05-06 Leo Liu <sdl.web@gmail.com>
15208
15209 * progmodes/octave.el (octave-syntax-propertize-function): Change
15210 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15211 (octave-font-lock-keywords): Use octave-operator-regexp.
15212 (octave-completion-at-point): Rename from
15213 octave-completion-at-point-function.
15214 (inferior-octave-directory-tracker): Robustify.
15215 (octave-text-functions): Remove and fix its uses. No such things
15216 any more.
15217
15218 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15219
15220 * emacs-lisp/trace.el (trace--display-buffer): New function.
15221 (trace-make-advice): Use it.
15222
15223 2013-05-06 Juri Linkov <juri@jurta.org>
15224
15225 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15226 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15227 Doc fix.
15228 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15229 in the help string. (Bug#12985)
15230
15231 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15232
15233 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15234
15235 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15236
15237 * progmodes/perl-mode.el: Add support for here documents.
15238 (perl-syntax-propertize-function): Match here-doc markers.
15239 (perl-syntax-propertize-special-constructs): Find their end.
15240 (perl-imenu-generic-expression): Use [:alnum:].
15241
15242 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15243 (advice--add-function): Refresh the advice if already present
15244 (bug#14317).
15245
15246 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15247
15248 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15249
15250 2013-05-06 Glenn Morris <rgm@gnu.org>
15251
15252 * w32-fns.el (w32-charset-info-alist): Declare.
15253
15254 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15255 of its defcustom properties.
15256 (eshell-cmpl-initialize): No need to load pcomplete.
15257
15258 * generic-x.el: No need to require comint when compiling.
15259
15260 * net/eudc-export.el: Make it loadable without bbdb.
15261 (top-level): Use require rather than load-library.
15262 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15263 (eudc-batch-export-records-to-bbdb)
15264 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15265 Require bbdb.
15266
15267 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15270 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15271 some tweaks, instead.
15272
15273 2013-05-05 Leo Liu <sdl.web@gmail.com>
15274
15275 * progmodes/octave.el (octave-font-lock-keywords)
15276 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15277 (inferior-octave-send-list-and-digest): Improve error message.
15278 (octave-mode, inferior-octave-mode): Use setq-local.
15279 (octave-help): Set info-lookup-mode.
15280
15281 2013-05-05 Richard Stallman <rms@gnu.org>
15282
15283 * vc/compare-w.el (compare-windows-whitespace):
15284 Treat no-break space as whitespace.
15285
15286 * mail/rmailsum.el (rmail-summary-rmail-update):
15287 Detect empty summary and don't change selected message.
15288 (rmail-summary-goto-msg): Likewise.
15289
15290 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15291 Doc fixes, rename args.
15292
15293 2013-05-05 Alan Mackenzie <acm@muc.de>
15294
15295 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15296
15297 2013-05-05 Juri Linkov <juri@jurta.org>
15298
15299 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15300 to not add the length of the summary segment to the return value.
15301 (Bug#14125)
15302
15303 2013-05-05 Leo Liu <sdl.web@gmail.com>
15304
15305 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15306 (inferior-octave-output-filter): Remove.
15307 (octave-send-region, inferior-octave-startup): Fix callers.
15308 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15309 (octave-binary-file-extensions): New user variable.
15310 (octave-find-definition): Confirm if opening binary files.
15311 (octave-help-file): Use octave-find-definition to get the binary
15312 confirmation.
15313 (octave-help): Adjust for octave-help-file change.
15314
15315 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15316
15317 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15318 Merge the two entries that handle function definitions.
15319 (pascal--syntax-propertize): New const.
15320 (pascal-mode): Use it. Use setq-local.
15321
15322 2013-05-04 Glenn Morris <rgm@gnu.org>
15323
15324 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15325 (diary-from-outlook): Respect diary-from-outlook-function.
15326
15327 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15328
15329 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15330 Move the declaration from C.
15331 (read-minibuffer, eval-minibuffer): Move from C.
15332 (completion-setup-function): Avoid minibuffer-completion-contents.
15333
15334 2013-05-03 Leo Liu <sdl.web@gmail.com>
15335
15336 * progmodes/octave.el (octave-font-lock-keywords): Do not
15337 dehighlight 'end' in comments or strings.
15338 (octave-completing-read, octave-goto-function-definition):
15339 New helpers.
15340 (octave-help-buffer): New user variable.
15341 (octave-help-file, octave-help-function): New button types.
15342 (octave-help): New command and bind it to C-h ;.
15343 (octave-find-definition): New command and bind it to M-.
15344 (user-error): Alias to error if not defined.
15345
15346 2013-05-02 Leo Liu <sdl.web@gmail.com>
15347
15348 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15349 for \. (bug#14332)
15350 (octave-font-lock-keywords): Include [ and {.
15351
15352 2013-05-02 Leo Liu <sdl.web@gmail.com>
15353
15354 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15355 (inferior-octave): Remove calling comint-mode and return the buffer.
15356 (inferior-octave-startup): Cosmetic changes.
15357
15358 2013-05-02 Leo Liu <sdl.web@gmail.com>
15359
15360 * progmodes/octave.el (octave-syntax-propertize-function):
15361 Include the case when ' is at line beginning. (Bug#14336)
15362
15363 2013-05-02 Glenn Morris <rgm@gnu.org>
15364
15365 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15366 * desktop.el (vc-dir-mode): Just autoload it here.
15367
15368 2013-05-02 Alan Mackenzie <acm@muc.de>
15369
15370 Eliminate variable c-standard-font-lock-fontify-region-function.
15371 * progmodes/cc-mode.el
15372 (c-standard-font-lock-fontify-region-function): Remove.
15373 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15374
15375 2013-05-01 Leo Liu <sdl.web@gmail.com>
15376
15377 * progmodes/octave.el: Compatible with older emacs-24 releases.
15378 (inferior-octave-has-built-in-variables): Remove. Built-in
15379 variables were removed from Octave in 2007.
15380 (inferior-octave-startup): Fix uses.
15381 (comint-line-beginning-position): Remove compatibility code for
15382 emacs 21.
15383
15384 2013-05-01 Juri Linkov <juri@jurta.org>
15385
15386 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15387
15388 2013-05-01 Juri Linkov <juri@jurta.org>
15389
15390 * comint.el (comint-previous-matching-input): Don't print message
15391 "History item: %d" when `isearch-mode' is active.
15392 (comint-history-isearch-message): Print message "History item: %d"
15393 when `comint-input-ring-index' is not empty and this function is
15394 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15395
15396 2013-05-01 Leo Liu <sdl.web@gmail.com>
15397
15398 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15399 definitions. Use completion-at-point to insert keywords.
15400 (octave-abbrev-start): Remove.
15401 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15402
15403 2013-04-30 Leo Liu <sdl.web@gmail.com>
15404
15405 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15406 change.
15407
15408 2013-04-30 Alan Mackenzie <acm@muc.de>
15409
15410 Handle arbitrarily long C++ member initialisation lists.
15411 * progmodes/cc-engine.el (c-back-over-member-initializers):
15412 new function.
15413 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15414 (most) member init lists.
15415
15416 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15417
15418 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15419 variable.
15420
15421 2013-04-30 Leo Liu <sdl.web@gmail.com>
15422
15423 * progmodes/octave.el (octave-variables): Remove. No builtin
15424 variables any more. All converted to functions.
15425 (octave-font-lock-keywords, octave-completion-at-point-function):
15426 Fix uses.
15427 (octave-font-lock-texinfo-comment): New user variable.
15428 (octave-texinfo-font-lock-keywords): New variable for texinfo
15429 comment block.
15430 (octave-function-comment-block): New face.
15431 (octave-font-lock-texinfo-comment): New function.
15432 (octave-mode): Font lock texinfo comment block.
15433
15434 2013-04-29 Leo Liu <sdl.web@gmail.com>
15435
15436 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15437 indexing expression.
15438 (octave-continuation-string): Do not use \.
15439 (inferior-octave-complete-impossible): Remove.
15440 (inferior-octave-completion-table)
15441 (inferior-octave-completion-at-point): Remove its uses.
15442 (inferior-octave-startup): completion_matches was introduced to
15443 Octave in 1996 so safe to assume it.
15444 (octave-function-file-comment): Improve to follow how Octave does it.
15445 (octave-update-function-file-comment): Tweak.
15446
15447 2013-04-29 Leo Liu <sdl.web@gmail.com>
15448
15449 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15450 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15451 (octave-function-file-comment): Fix typo.
15452 (octave-sync-function-file-names): Use read-char-choice.
15453
15454 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15455
15456 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15457 to t for the less important warnings.
15458
15459 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15460
15461 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15462
15463 2013-04-27 Glenn Morris <rgm@gnu.org>
15464
15465 * vc/log-view.el (log-view-current-entry):
15466 Treat "---" separator lines as part of the following rev. (Bug#14169)
15467
15468 2013-04-27 Juri Linkov <juri@jurta.org>
15469
15470 * subr.el (read-number): Doc fix about using it by interactive
15471 code letter `n'. (Bug#14254)
15472
15473 2013-04-27 Juri Linkov <juri@jurta.org>
15474
15475 * desktop.el (desktop-auto-save-timeout): New option.
15476 (desktop-file-checksum): New variable.
15477 (desktop-save): Add optional arg `auto-save' and don't auto-save
15478 if nothing changed.
15479 (desktop-auto-save-timer): New variable.
15480 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15481 (after-init-hook): Call `desktop-auto-save-set-timer'.
15482 Suggested by Reuben Thomas <rrt@sc3d.org> in
15483 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15484
15485 2013-04-27 Leo Liu <sdl.web@gmail.com>
15486
15487 * progmodes/octave.el (octave-function-file-p)
15488 (octave-skip-comment-forward, octave-function-file-comment)
15489 (octave-update-function-file-comment): New functions.
15490 (octave-mode-map): Bind C-c ; to
15491 octave-update-function-file-comment.
15492 (octave-mode-menu): Add octave-update-function-file-comment.
15493 (octave-mode, inferior-octave-mode): Fix doc-string.
15494 (octave-insert-defun): Conform to Octave's coding convention.
15495 (Bug#14285)
15496
15497 * files.el (basic-save-buffer): Don't let errors in
15498 before-save-hook prevent saving buffer.
15499
15500 2013-04-20 Roland Winkler <winkler@gnu.org>
15501
15502 * faces.el (read-face-name): Use completing-read if arg multiple
15503 is nil.
15504
15505 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15506
15507 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15508 displayed, move point to after the totals line.
15509 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15510 for the details.
15511
15512 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15513
15514 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15515 Add current dir to the load-path.
15516 (package-generate-autoloads): Don't rely on
15517 autoload-ensure-default-file.
15518
15519 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15520
15521 * textmodes/remember.el (remember-store-in-files): Document that
15522 the file name format is passed to `format-time-string'.
15523
15524 2013-04-26 Leo Liu <sdl.web@gmail.com>
15525
15526 * progmodes/octave.el (octave-sync-function-file-names): New function.
15527 (octave-mode): Use it in before-save-hook.
15528
15529 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15530
15531 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15532 (bug#14274).
15533
15534 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15535 \n and comment, even if it's not an implicit ; (bug#14218).
15536
15537 2013-04-26 Glenn Morris <rgm@gnu.org>
15538
15539 * subr.el (read-number): Once more use `read' rather than
15540 `string-to-number', to trap non-numeric input. (Bug#14254)
15541
15542 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15543
15544 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15545 Use `syntax-multiline' text property consistently instead of
15546 `font-lock-multiline'. (Bug#14237)
15547
15548 2013-04-26 Glenn Morris <rgm@gnu.org>
15549
15550 * emacs-lisp/shadow.el (list-load-path-shadows):
15551 No longer necessary to check for duplicate simple.el, since
15552 2012-07-07 change to init_lread to not include installation lisp
15553 directories in load-path when running uninstalled. (Bug#14270)
15554
15555 2013-04-26 Leo Liu <sdl.web@gmail.com>
15556
15557 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15558 (octave-mode, inferior-octave-mode): Use setq-local.
15559 (octave-not-in-string-or-comment-p): Rename to
15560 octave-in-string-or-comment-p.
15561 (octave-in-comment-p, octave-in-string-p)
15562 (octave-in-string-or-comment-p): Replace defsubst with defun.
15563
15564 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15565
15566 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15567
15568 2013-04-25 Bastien Guerry <bzg@gnu.org>
15569
15570 * textmodes/remember.el (remember-data-directory)
15571 (remember-directory-file-name-format): Fix custom types.
15572
15573 2013-04-25 Leo Liu <sdl.web@gmail.com>
15574
15575 * progmodes/octave.el (octave-completion-at-point-function):
15576 Make use of inferior octave process.
15577 (octave-initialize-completions): Remove.
15578 (inferior-octave-completion-table): New function.
15579 (inferior-octave-completion-at-point): Use it.
15580 (octave-completion-alist): Remove.
15581
15582 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15583
15584 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15585 (opascal-mode-syntax-table): New var.
15586 (opascal-literal-kind, opascal-is-literal-end)
15587 (opascal-literal-token-at): Rewrite.
15588 (opascal--literal-start-re, opascal-font-lock-keywords)
15589 (opascal--syntax-propertize): New constants.
15590 (opascal-font-lock-defaults): Adjust.
15591 (opascal-mode): Use them. Set comment-<foo> variables as well.
15592 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15593 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15594 (delphi-other-face, opascal-other-face): Remove face variables.
15595 (opascal-save-state): Remove macro.
15596 (opascal-fontifying-progress-step): Remove constant.
15597 (opascal--ignore-changes): Remove var.
15598 (opascal-set-token-property, opascal-parse-next-literal)
15599 (opascal-is-stable-literal, opascal-complete-literal)
15600 (opascal-is-literal-start, opascal-face-of)
15601 (opascal-parse-region, opascal-parse-region-until-stable)
15602 (opascal-fontify-region, opascal-after-change)
15603 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15604 (opascal-debug-parse-region, opascal-debug-parse-window)
15605 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15606 (opascal-debug-fontify-buffer): Remove.
15607 (opascal-debug-mode-map): Adjust accordingly.
15608
15609 2013-04-25 Leo Liu <sdl.web@gmail.com>
15610
15611 Merge octave-mod.el and octave-inf.el into octave.el with some
15612 cleanups.
15613 * progmodes/octave.el: New file renamed from octave-mod.el.
15614 * progmodes/octave-inf.el: Merged into octave.el.
15615 * progmodes/octave-mod.el: Renamed to octave.el.
15616
15617 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15618
15619 * textmodes/reftex-vars.el
15620 (reftex-label-ignored-macros-and-environments): New defcustom.
15621
15622 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15623
15624 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15627 (smie-indent-keyword): Improve the check to ensure that the next
15628 comment is really on the same line.
15629 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15630
15631 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15632 semi-colons if the line is not otherwise empty (bug#14218).
15633
15634 2013-04-25 Glenn Morris <rgm@gnu.org>
15635
15636 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15637
15638 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * progmodes/opascal.el (opascal-set-token-property): Rename from
15641 opascal-set-text-properties and only set `token' (bug#14134).
15642 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15643 (opascal-literal-text-properties): Remove.
15644 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15645 Adjust callers.
15646
15647 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15648
15649 * textmodes/remember.el (remember-handler-functions): Add an
15650 option for a new handler `remember-store-in-files'.
15651 (remember-data-directory, remember-directory-file-name-format):
15652 New options.
15653 (remember-store-in-files): New function to store remember notes
15654 as separate files within a directory.
15655
15656 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15657
15658 * progmodes/compile.el (compilation-next-error-function):
15659 Pass "formats" to compilation-find-file (bug#11777).
15660
15661 2013-04-24 Glenn Morris <rgm@gnu.org>
15662
15663 * vc/vc-bzr.el (vc-bzr-print-log):
15664 * vc/vc-hg.el (vc-hg-print-log):
15665 * vc/vc-svn.el (vc-svn-print-log):
15666 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15667
15668 * vc/vc-bzr.el (vc-bzr-print-log):
15669 * vc/vc-cvs.el (vc-cvs-print-log):
15670 * vc/vc-git.el (vc-git-print-log):
15671 * vc/vc-hg.el (vc-hg-print-log):
15672 * vc/vc-mtn.el (vc-mtn-print-log):
15673 * vc/vc-rcs.el (vc-rcs-print-log):
15674 * vc/vc-sccs.el (vc-sccs-print-log):
15675 * vc/vc-svn.el (vc-svn-print-log):
15676 * vc/vc.el (vc-print-log-internal): Doc fixes.
15677
15678 2013-04-23 Glenn Morris <rgm@gnu.org>
15679
15680 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15681 Remove venerable code attempting to avoid substitute-command-keys.
15682
15683 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15684
15685 * textmodes/reftex-vars.el (reftex-label-regexps):
15686 Call `reftex-compile-variables' after changes to this variable.
15687
15688 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15691 Use lexical-binding.
15692 (jit-lock-force-redisplay): Use markers, check buffer's continued
15693 existence and beware narrowed buffers.
15694 (jit-lock-fontify-now): Adjust call accordingly.
15695
15696 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15697
15698 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15699 to avoid misleading the user.
15700
15701 2013-04-22 Leo Liu <sdl.web@gmail.com>
15702
15703 * info-look.el: Prefer latex2e.info. (Bug#14240)
15704
15705 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15706
15707 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15708
15709 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15710 * net/tramp.el (tramp-call-process): ... here.
15711 (tramp-set-completion-function, tramp-parse-putty):
15712 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15713 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15714 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15715 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15716 (tramp-call-local-coding-command): Use `tramp-call-process'
15717 instead of `tramp-compat-call-process'.
15718
15719 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15720 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15721 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15722 (tramp-find-inline-compress): Improve traces.
15723 (tramp-maybe-send-script): Check for Perl binary.
15724 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15725
15726 2013-04-22 Daiki Ueno <ueno@gnu.org>
15727
15728 * epg.el (epg-context-pinentry-mode): New function.
15729 (epg-context-set-pinentry-mode): New function.
15730 (epg--start): Pass --pinentry-mode option to gpg command.
15731
15732 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15733
15734 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15735 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15736 `completion-at-point'. (Bug#13774)
15737
15738 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15739 default key binding for `describe-distribution' has been moved to
15740 `C-h C-o'. (Bug#13970)
15741
15742 2013-04-21 Glenn Morris <rgm@gnu.org>
15743
15744 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15745 Add doc strings.
15746 (vc-print-log): Clarify interactive prompt.
15747
15748 2013-04-20 Glenn Morris <rgm@gnu.org>
15749
15750 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15751 No longer include timestamp etc information.
15752
15753 2013-04-20 Roland Winkler <winkler@gnu.org>
15754
15755 * faces.el (read-face-name): Bug fix, return just one face if arg
15756 multiple is nil. (Bug#14209)
15757
15758 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15761 (remove-function): Autoload.
15762
15763 * comint.el (comint-redirect-original-filter-function): Remove.
15764 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15765 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15766 (vc-cvs-annotate-command):
15767 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15768 * progmodes/prolog.el (prolog-consult-compile):
15769 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15770 Use add/remove-function instead.
15771 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15772 (gud-tooltip-process-output, gud-tooltip-tips):
15773 Use add/remove-function instead.
15774 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15775 (scheme-interaction-mode, exit-scheme-interaction-mode):
15776 Use add/remove-function instead.
15777
15778 * vc/vc-dispatcher.el: Use lexical-binding.
15779 (vc--process-sentinel): Rename from vc-process-sentinel.
15780 Change last arg to be the code to run. Don't use vc-previous-sentinel
15781 and vc-sentinel-commands any more.
15782 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15783 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15784
15785 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15786
15787 * progmodes/sh-script.el (sh-imenu-generic-expression):
15788 Handle function names with a single character. (Bug#14111)
15789
15790 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15791
15792 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15793 for subroutines defined in an eval (bug#14182).
15794
15795 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15796
15797 * bookmark.el (bookmark-completing-read): Improve handling of empty
15798 string (bug#14176).
15799
15800 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15801
15802 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15803
15804 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15805
15806 New faster Imenu implementation (bug#14058).
15807 * progmodes/python.el (python-imenu-prev-index-position)
15808 (python-imenu-format-item-label-function)
15809 (python-imenu-format-parent-item-label-function)
15810 (python-imenu-format-parent-item-jump-label-function):
15811 New vars.
15812 (python-imenu-format-item-label)
15813 (python-imenu-format-parent-item-label)
15814 (python-imenu-format-parent-item-jump-label)
15815 (python-imenu--put-parent, python-imenu--build-tree)
15816 (python-imenu-create-index, python-imenu-create-flat-index)
15817 (python-util-popn): New functions.
15818 (python-mode): Set imenu-create-index-function to
15819 python-imenu-create-index.
15820
15821 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 * winner.el (winner-active-region): Use region-active-p, activate-mark
15824 and deactivate-mark (bug#14225).
15825
15826 * simple.el (deactivate-mark): Don't inline it.
15827
15828 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15829
15830 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15831
15832 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15833
15834 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15835 file extensions from the archive-mode entry in order to prefer
15836 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15837
15838 2013-04-18 Leo Liu <sdl.web@gmail.com>
15839
15840 * bindings.el (help-event-list): Add ?\?.
15841
15842 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15843
15844 * subr.el (with-wrapper-hook): Declare obsolete.
15845 * simple.el (filter-buffer-substring-function): New hook.
15846 (filter-buffer-substring): Use it.
15847 (filter-buffer-substring-functions): Mark obsolete.
15848 * minibuffer.el (completion-in-region-function): New hook.
15849 (completion-in-region): Use it.
15850 (completion-in-region-functions): Mark obsolete.
15851 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15852 * abbrev.el (abbrev-expand-function): New hook.
15853 (expand-abbrev): Use it.
15854 (abbrev-expand-functions): Mark obsolete.
15855 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15856 and :filter-return.
15857
15858 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15859
15860 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15861 and do not care about match data.
15862
15863 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15866 completion tables when completing error conditions and
15867 `declare' arguments.
15868 (lisp-complete-symbol, field-complete): Mark as obsolete.
15869 (check-parens): Unmatched parens are user errors.
15870 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15871
15872 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15873
15874 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15875 command changed buffer (ie. `flyspell-pre-buffer' is not current
15876 buffer), which prevents making decisions based on invalid value of
15877 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15878 cause an error when `flyspell-pre-point' was nil after switching
15879 buffers.
15880 (flyspell-post-command-hook): No longer needs to change buffers when
15881 checking pre-word. While at it remove unnecessary progn.
15882
15883 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15884
15885 * textmodes/ispell.el (ispell-add-per-file-word-list):
15886 Fix `flyspell-correct-word-before-point' error when accepting
15887 words and `coment-padding' is an integer by using
15888 `comment-normalize-vars' (Bug #14214).
15889
15890 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15891
15892 New defun movement commands.
15893 * progmodes/python.el (python-nav--syntactically)
15894 (python-nav--forward-defun, python-nav-backward-defun)
15895 (python-nav-forward-defun): New functions.
15896
15897 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15898
15899 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15900 (python-syntax-context): Use named compiler-macro for backwards
15901 compatibility with Emacs 24.x.
15902
15903 2013-04-17 Leo Liu <sdl.web@gmail.com>
15904
15905 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15906 octave-hide-process-buffer.
15907
15908 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15909
15910 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15911 (bug#14216).
15912
15913 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15914
15915 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15916 Fix adjustment of offset when receiving incomplete responses from GDB
15917 (bug#14129).
15918
15919 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15920
15921 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15922 python-mode-abbrev-table.
15923 (python-skeleton-define): Adjust accordingly.
15924 (python-mode-abbrev-table): New table that inherits from it so that
15925 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15926
15927 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15928 (abbrev-symbol): Use it.
15929 (abbrev--before-point): Use it since we already handle inheritance.
15930
15931 2013-04-16 Leo Liu <sdl.web@gmail.com>
15932
15933 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15934 binding to info-lookup-symbol.
15935
15936 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15937
15938 * minibuffer.el (completion--twq-all):
15939 * term/ns-win.el (ns-initialize-window-system):
15940 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15941
15942 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15943
15944 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15945 global bindings.
15946
15947 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15948
15949 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15950
15951 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15952 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15953 to nil.
15954 (ruby-end-of-defun): Remove the unused arg, change the docstring
15955 to reflect that this function is only used as the value of
15956 `end-of-defun-function'.
15957 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15958 to reflect an earlier change that beginning/end-of-defun functions
15959 jump between methods in a class definition, as well as top-level
15960 functions.
15961
15962 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15963
15964 * minibuffer.el (minibuffer-complete): Don't just scroll
15965 a *Completions* that's been iconified.
15966 (minibuffer-force-complete): Make sure repetitions do cycle when going
15967 through completion-in-region -> minibuffer-complete.
15968
15969 2013-04-15 Alan Mackenzie <acm@muc.de>
15970
15971 Correct the placement of c-cpp-delimiters when there're #s not at
15972 col 0.
15973
15974 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15975 place a submatch around the #.
15976 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15977 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15978 on the #, not BOL.
15979
15980 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15983 (advice--member-p): New arg `name'.
15984 (advice--add-function, advice-member-p): Use it (bug#14202).
15985
15986 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15987
15988 Reformulate java imenu-generic-expression.
15989 The old expression contained ill formed regexps.
15990
15991 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15992 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15993 (cc-imenu-java-method-arg-regexp): New defconsts.
15994 (cc-imenu-java-build-type-args-regex): New defun.
15995 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15996 handling of spaces in the regexp.
15997
15998 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15999
16000 * textmodes/ispell.el (ispell-command-loop): Remove
16001 flyspell highlight of a word when ispell accepts it (bug #14178).
16002
16003 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16004
16005 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16006 uses code from the previous `ange-ftp-run-real-handler'.
16007 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16008 only in case that function exist. This is needed for proper
16009 unloading of Tramp.
16010
16011 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16012
16013 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16014
16015 * textmodes/reftex.el (reftex-compile-variables): Use it.
16016
16017 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16018
16019 * files.el (normal-mode): Only use default major-mode if no other mode
16020 was specified.
16021
16022 * emacs-lisp/trace.el (trace-values): New function.
16023
16024 * files.el: Allow : in local variables (bug#14089).
16025 (hack-local-variable-regexp): New var.
16026 (hack-local-variables-prop-line, hack-local-variables): Use it.
16027
16028 2013-04-13 Roland Winkler <winkler@gnu.org>
16029
16030 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16031 data before it gets modified by bibtex-beginning-of-entry.
16032
16033 2013-04-13 Roland Winkler <winkler@gnu.org>
16034
16035 * textmodes/bibtex.el (bibtex-url): Doc fix.
16036
16037 2013-04-13 Roland Winkler <winkler@gnu.org>
16038
16039 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16040 does not visit a BibTeX file, exclude it from the list of buffers
16041 returned by bibtex-initialize.
16042
16043 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16044
16045 * window.el (split-window): Remove interactive form, since as a
16046 command this function is a special case of split-window-below.
16047 Correct doc string.
16048
16049 2013-04-12 Roland Winkler <winkler@gnu.org>
16050
16051 * faces.el (read-face-name): Do not override value of arg default.
16052 Allow single faces and strings as default values. Remove those
16053 elements from return value that are not faces.
16054 (describe-face): Simplify.
16055 (face-at-point): New optional args thing and multiple so that this
16056 function can provide the same functionality previously provided by
16057 read-face-name.
16058 (make-face-bold, make-face-unbold, make-face-italic)
16059 (make-face-unitalic, make-face-bold-italic, invert-face)
16060 (modify-face, read-face-and-attribute): Use face-at-point.
16061
16062 * cus-edit.el (customize-face, customize-face-other-window)
16063 * cus-theme.el (custom-theme-add-face)
16064 * face-remap.el (buffer-face-set)
16065 * facemenu.el (facemenu-set-face): Use face-at-point.
16066
16067 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16068
16069 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16070
16071 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16072
16073 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16074 off leading { and trailing } from field values.
16075
16076 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16077
16078 * emacs-lisp/timer.el (timer--check): New function.
16079 (timer--time, timer-set-function, timer-event-handler): Use it.
16080 (timer-set-idle-time): Simplify.
16081 (timer--activate): CSE.
16082 (timer-event-handler): Give more info in error message.
16083 (internal-timer-start-idle): New function, moved from C.
16084
16085 * mpc.el (mpc-proc): Add `restart' argument.
16086 (mpc-proc-cmd): Use it.
16087 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16088 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16089 less often.
16090
16091 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16092
16093 * progmodes/sh-script.el: Implement `sh-mode' own
16094 `add-log-current-defun-function' (bug#14112).
16095 (sh-current-defun-name): New function.
16096 (sh-mode): Use the function.
16097
16098 2013-04-09 Bastien Guerry <bzg@gnu.org>
16099
16100 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16101
16102 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16103
16104 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16105
16106 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16107 timer (bug#14156).
16108
16109 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16110
16111 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16112 declaration.
16113
16114 2013-04-07 Leo Liu <sdl.web@gmail.com>
16115
16116 * pcmpl-x.el: New file.
16117
16118 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16119
16120 Do not set x-display-name until X connection is established.
16121 This is needed to prevent from weird situation described at
16122 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16123 * frame.el (make-frame): Set x-display-name after call to
16124 window system initialization function, not before.
16125 * term/x-win.el (x-initialize-window-system): Add optional
16126 display argument and use it.
16127 * term/w32-win.el (w32-initialize-window-system):
16128 * term/ns-win.el (ns-initialize-window-system):
16129 * term/pc-win.el (msdos-initialize-window-system):
16130 Add compatible optional display argument.
16131
16132 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16133
16134 * files.el (normal-backup-enable-predicate): On MS-Windows and
16135 MS-DOS compare truenames of temporary-file-directory and of the
16136 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16137 don't fail comparison by compare-strings. Also, compare file
16138 names case-insensitively on MS-Windows and MS-DOS.
16139
16140 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16141
16142 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16143 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16144
16145 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16146
16147 * whitespace.el (whitespace-color-on, whitespace-color-off):
16148 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16149
16150 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16151
16152 * ispell.el (ispell-set-spellchecker-params):
16153 Really set `ispell-args' for all equivs.
16154
16155 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16156
16157 * ido.el (ido-completions): Use extra elements of ido-decorations
16158 (bug#14143).
16159 (ido-decorations): Update docstring.
16160
16161 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16162
16163 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16164 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16165 nil during initialization, in order not to miss changes since the
16166 file was opened. (Bug#14140)
16167
16168 2013-04-05 Leo Liu <sdl.web@gmail.com>
16169
16170 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16171
16172 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16173
16174 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16175
16176 2013-04-04 Glenn Morris <rgm@gnu.org>
16177
16178 * electric.el (electric-pair-inhibit-predicate): Add :version.
16179
16180 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16183 when a package is required several times (bug#14082).
16184
16185 2013-04-04 Roland Winkler <winkler@gnu.org>
16186
16187 * faces.el (read-face-name): Behave as promised by the docstring.
16188 Assume that arg default is a list of faces.
16189 (describe-face): Call read-face-name with list of default faces.
16190
16191 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16192
16193 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16194 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16195 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16196 the header.
16197 (bookmark-exit-hook-internal): Save even if list is empty.
16198
16199 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16200
16201 * emacs-lisp/package.el (package-pinned-packages): New var.
16202 (package--add-to-archive-contents): Obey it (bug#14118).
16203
16204 2013-04-03 Alan Mackenzie <acm@muc.de>
16205
16206 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16207 Also adapt to the new values of element 7 of a parse state.
16208
16209 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16210 parameter `not-in-delimiter'. Handle being inside comment opener.
16211 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16212 character in case we're typing a '*' after a '/'.
16213 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16214 instead by passing the parameter to c-state-pp-to-literal.
16215
16216 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16217 for elt. 7 of a parse state.
16218
16219 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16220
16221 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16222 * international/latin1-disp.el, international/mule-util.el:
16223 * language/cyril-util.el, language/european.el, language/ind-util.el:
16224 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16225 * language/tibetan.el, language/viet-util.el:
16226 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16227
16228 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16231 (electric-pair-post-self-insert-function): Use it.
16232 (electric-pair-default-inhibit): New function, extracted from
16233 electric-pair-post-self-insert-function.
16234
16235 2013-03-31 Roland Winkler <winkler@gnu.org>
16236
16237 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16238
16239 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16240
16241 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16242
16243 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16244
16245 Un-indent after "pass" and "return" statements (Bug#13888)
16246 * progmodes/python.el (python-indent-block-enders): New var.
16247 (python-indent-calculate-indentation): Use it.
16248
16249 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16250
16251 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16252 defun. Defining it as defalias could introduce too eager
16253 byte-compiler optimization. (Bug#14030)
16254
16255 2013-03-30 Chong Yidong <cyd@gnu.org>
16256
16257 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16258
16259 2013-03-30 Leo Liu <sdl.web@gmail.com>
16260
16261 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16262 (kmacro-execute-from-register): Pass the keyboard macro to
16263 kmacro-call-macro or repeating won't work correctly.
16264
16265 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16266
16267 * progmodes/subword.el: Back to using `forward-symbol'.
16268
16269 * subr.el (forward-whitespace, forward-symbol)
16270 (forward-same-syntax): Move from thingatpt.el.
16271
16272 2013-03-29 Leo Liu <sdl.web@gmail.com>
16273
16274 * kmacro.el (kmacro-to-register): New command.
16275 (kmacro-execute-from-register): New function.
16276 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16277
16278 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * mpc.el: Use defvar-local and setq-local.
16281 (mpc--proc-connect): Connection failures are not bugs.
16282 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16283 (mpc-volume-map): Bind to the up-events.
16284
16285 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16286
16287 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16288 instead of `forward-symbol'.
16289
16290 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16291
16292 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16293 (edebug--recursive-edit): Use it.
16294 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16295 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16296
16297 2013-03-28 Leo Liu <sdl.web@gmail.com>
16298
16299 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16300
16301 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16302
16303 * facemenu.el (list-colors-callback): New defvar.
16304 (list-colors-redisplay): New function.
16305 (list-colors-display): Install list-colors-redisplay as the
16306 revert-buffer-function. (Bug#14063)
16307
16308 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16309
16310 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16311 and suffixes don't overlap (bug#14061).
16312
16313 * case-table.el: Use lexical-binding.
16314 (case-table-get-table): New function.
16315 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16316
16317 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16318
16319 * progmodes/subword.el: Add `superword-mode' to do word motion
16320 over symbol_words (parallels and leverages `subword-mode' which
16321 does word motion inside MixedCaseWords).
16322
16323 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16324
16325 * eshell/em-unix.el: Move su and sudo to...
16326 * eshell/em-tramp.el: ...Eshell tramp module.
16327
16328 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16329
16330 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16331 Change return value to be a sexp. Delay `get-buffer' to after
16332 restoring the desktop (bug#13951).
16333
16334 2013-03-26 Leo Liu <sdl.web@gmail.com>
16335
16336 * register.el: Move semantic tag handling back to
16337 cedet/semantic/senator.el. (Bug#14052)
16338
16339 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16340
16341 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16342 into the prompt either (bug#13963).
16343
16344 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16345
16346 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16347 part of "(error-foo)".
16348
16349 2013-03-24 Juri Linkov <juri@jurta.org>
16350
16351 * replace.el (list-matching-lines-prefix-face): New defcustom.
16352 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16353 `occur-engine' if `face-differs-from-default-p' returns t.
16354 (occur-engine): Add `,' inside backquote construct to evaluate
16355 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16356 Pass `prefix-face' to the functions `occur-context-lines' and
16357 `occur-engine-add-prefix'.
16358 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16359 `prefix-face' and propertize the prefix with `prefix-face'.
16360 (Bug#14017)
16361
16362 2013-03-24 Leo Liu <sdl.web@gmail.com>
16363
16364 * nxml/rng-valid.el (rng-validate-while-idle)
16365 (rng-validate-quick-while-idle): Guard against deleted buffer.
16366 (Bug#13999)
16367
16368 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16369 is the last entry in kill-buffer-hook.
16370
16371 * files.el (kill-buffer-hook): Doc fix.
16372
16373 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16374
16375 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16376 Make it safe-local.
16377
16378 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16379
16380 2013-03-23 Leo Liu <sdl.web@gmail.com>
16381
16382 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16383 Remove.
16384
16385 * nxml/rng-valid.el (rng-validate-mode)
16386 (rng-after-change-function, rng-do-some-validation):
16387 * nxml/rng-maint.el (rng-validate-buffer):
16388 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16389 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16390 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16391 (nxml-extend-after-change-region): Use with-silent-modifications.
16392
16393 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16394 timer-idle-list.
16395
16396 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16397 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16398 timer-idle-list. (Bug#13999)
16399
16400 2013-03-23 Juri Linkov <juri@jurta.org>
16401
16402 * info.el (info-index-match): New face.
16403 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16404 main pattern and add text properties with the new face to matches
16405 in index entries relative to the beginning of the index entry.
16406 (Bug#14015)
16407
16408 2013-03-21 Eric Ludlam <zappo@gnu.org>
16409
16410 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16411 Inhibit read only while inserting objects.
16412
16413 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16414
16415 * progmodes/cfengine.el: Update docs to mention
16416 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16417 symbol motion. Remove "_" from the word syntax.
16418
16419 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16420
16421 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16422 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16423
16424 2013-03-20 Juri Linkov <juri@jurta.org>
16425
16426 * info.el (Info-next-reference-or-link)
16427 (Info-prev-reference-or-link): New functions.
16428 (Info-next-reference, Info-prev-reference): Use them.
16429 (Info-try-follow-nearest-node): Handle footnote navigation.
16430 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16431
16432 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16435 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16436
16437 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16438
16439 Suppress unnecessary non-ASCII chatter during build process.
16440 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16441 (batch-skkdic-convert): Suppress most of the chatter.
16442 It's not needed so much now that machines are faster,
16443 and its non-ASCII component was confusing; see Dmitry Gutov in
16444 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16445
16446 2013-03-20 Leo Liu <sdl.web@gmail.com>
16447
16448 * ido.el (ido-chop): Fix bug#10994.
16449
16450 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16451
16452 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16453 Remove vars.
16454 (whitespace-color-on, whitespace-color-off):
16455 Use `font-lock-fontify-buffer' (Bug#13817).
16456
16457 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16460 remapping in mode-line.
16461 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16462
16463 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16464
16465 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16466 value for `whitespace-line' face (Bug#13875).
16467 (whitespace-font-lock-keywords): Change description.
16468 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16469 the constructed keywords instead.
16470 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16471
16472 2013-03-19 Leo Liu <sdl.web@gmail.com>
16473
16474 * progmodes/compile.el (compilation-display-error): New command.
16475 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16476 C-o. (Bug#13992)
16477
16478 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16479
16480 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16481
16482 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16483
16484 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16485
16486 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16487
16488 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16489
16490 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16491 * net/tramp-gvfs.el (top):
16492 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16493 (tramp-handle-shell-command): Use it.
16494 (tramp-dissect-file-name): Raise an error when hostname is a
16495 method name, and neither method nor user is specified.
16496
16497 * net/trampver.el: Update release number.
16498
16499 2013-03-18 Leo Liu <sdl.web@gmail.com>
16500
16501 Make sure eldoc can be turned off properly.
16502 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16503 eldoc-mode.
16504 (eldoc-display-message-p): Revert last change.
16505 (eldoc-display-message-no-interference-p)
16506 (eldoc-print-current-symbol-info): Tweak.
16507
16508 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16509
16510 * doc-view.el (doc-view-new-window-function): Check the new window
16511 overlay's display property instead the char property of the
16512 buffer's first char. Use `with-selected-window' instead of
16513 `save-window-excursion' with `select-window'.
16514 (doc-view-document->bitmap): Check the current doc-view overlay's
16515 display property instead the char property of the buffer's first char.
16516
16517 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16518
16519 Automate the build of ja-dic.el (Bug#13984).
16520 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16521 from the input, rather than assume that it's been done for us by the
16522 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16523 the current date into a ja-dic.el comment, as that complicates
16524 regression testing.
16525
16526 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * whitespace.el: Fix double evaluation.
16529 (whitespace-space, whitespace-hspace, whitespace-tab)
16530 (whitespace-newline, whitespace-trailing, whitespace-line)
16531 (whitespace-space-before-tab, whitespace-indentation)
16532 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16533 obsolete defvars.
16534 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16535 (whitespace-color-on): Use a single font-lock-add-keywords call.
16536 Fix double-evaluation of face variables.
16537
16538 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16539
16540 * net/tramp-adb.el (tramp-adb-parse-device-names):
16541 Use `start-process' instead of `call-process'. Otherwise, the
16542 function might be blocked under MS Windows. (Bug#13299)
16543
16544 2013-03-17 Leo Liu <sdl.web@gmail.com>
16545
16546 Extend eldoc to display info in the mode-line. (Bug#13978)
16547 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16548 (eldoc-mode-line-string): New variable.
16549 (eldoc-minibuffer-message): New function.
16550 (eldoc-message-function): New variable.
16551 (eldoc-message): Use it.
16552 (eldoc-display-message-p)
16553 (eldoc-display-message-no-interference-p):
16554 Support eldoc-post-insert-mode.
16555
16556 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16557 (eval-expression): Run it.
16558
16559 2013-03-17 Roland Winkler <winkler@gnu.org>
16560
16561 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16562 strings in the list of return values.
16563
16564 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16565
16566 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16567 radix before checking for HMS forms.
16568
16569 2013-03-16 Leo Liu <sdl.web@gmail.com>
16570
16571 * progmodes/scheme.el: Add indentation and font-locking for λ.
16572 (Bug#13975)
16573
16574 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16575
16576 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16577 token before point (bug#13942).
16578
16579 2013-03-16 Leo Liu <sdl.web@gmail.com>
16580
16581 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16582
16583 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16584
16585 * startup.el (command-line-normalize-file-name): Fix handling of
16586 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16587 <xfq.free@gmail.com> in
16588 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16589
16590 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16591
16592 Sync with Tramp 2.2.7.
16593
16594 * net/trampver.el: Update release number.
16595
16596 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16597
16598 * doc-view.el: Fix bug#13887.
16599 (doc-view-insert-image): Don't modify overlay associated to
16600 non-live windows, and implement horizontal centering of image in
16601 case it's smaller than the window.
16602 (doc-view-new-window-function): Force redisplay of new windows on
16603 doc-view buffers.
16604
16605 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16606
16607 * saveplace.el (save-place-alist-to-file): Don't sort
16608 `save-place-alist', just pretty-print it (bug#13882).
16609
16610 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16611
16612 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16613 Check whether `default-file-name-coding-system' is bound.
16614 It isn't in XEmacs.
16615
16616 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16617
16618 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16619 backquotes for `obsolete' (bug#13929).
16620
16621 * international/mule.el (find-auto-coding): Include file name in
16622 obsolescence warning (bug#13922).
16623
16624 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16625
16626 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16627 for CFEngine 3-specific indentation.
16628 (cfengine3-indent-line): Use it. Fix up category regex.
16629 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16630
16631 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16632
16633 * type-break.el (type-break-file-name):
16634 * textmodes/remember.el (remember-data-file):
16635 * strokes.el (strokes-file):
16636 * shadowfile.el (shadow-initialize):
16637 * saveplace.el (save-place-file):
16638 * ps-bdf.el (bdf-cache-file):
16639 * progmodes/idlwave.el (idlwave-config-directory):
16640 * net/quickurl.el (quickurl-url-file):
16641 * international/kkc.el (kkc-init-file-name):
16642 * ido.el (ido-save-directory-list-file):
16643 * emulation/viper.el (viper-custom-file-name):
16644 * emulation/vip.el (vip-startup-file):
16645 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16646 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16647
16648 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16649
16650 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16651 * language/thai-word.el: Switch to UTF-8.
16652
16653 See ChangeLog.16 for earlier changes.
16654
16655 ;; Local Variables:
16656 ;; coding: utf-8
16657 ;; End:
16658
16659 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16660
16661 This file is part of GNU Emacs.
16662
16663 GNU Emacs is free software: you can redistribute it and/or modify
16664 it under the terms of the GNU General Public License as published by
16665 the Free Software Foundation, either version 3 of the License, or
16666 (at your option) any later version.
16667
16668 GNU Emacs is distributed in the hope that it will be useful,
16669 but WITHOUT ANY WARRANTY; without even the implied warranty of
16670 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16671 GNU General Public License for more details.
16672
16673 You should have received a copy of the GNU General Public License
16674 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.