* lisp/electric.el (electric-layout-post-self-insert-function):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9c3883b4
DA
12013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * electric.el (electric-layout-post-self-insert-function):
4 * emacs-lisp/ert.el (ert--insert-infos):
5 * obsolete/vi.el (vi-set-mark):
6 * term.el (term-handle-scroll):
7 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8 * wid-edit.el (widget-editable-list-value-create): Prefer
9 point-marker to copy-marker of point.
10
656f99be
FEG
112014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
12
13 Fix completion retrieval parsing (bug#17209).
14 * progmodes/python.el (python-mode):
15 (python-util-strip-string): New function.
16 (python-shell-completion-get-completions): Use it.
17
edd112b7
EZ
182014-06-21 Eli Zaretskii <eliz@gnu.org>
19
20 * skeleton.el (skeleton-insert): Fix last change.
21
3114d9e7
FEG
222014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
23
24 Enhancements for outline integration (bug#17796).
25 * progmodes/python.el (python-mode): Properly set
26 outline-heading-end-regexp so that comments after colons for
27 defuns are supported.
28
900f9384
EZ
292014-06-21 Eli Zaretskii <eliz@gnu.org>
30
31 * skeleton.el (skeleton-insert): Doc fix.
32
c400516a 332014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
f49b4978 34
55d4eba2
SM
35 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
36 (smie-config-guess): Use smie-config-local so the rules are obeyed
37 (bug#17818).
38
f49b4978
SM
39 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
40 since it's already done inside the loop (bug#17819).
41
c400516a 422014-06-21 Martin Rudalics <rudalics@gmx.at>
97548687
MR
43
44 * mouse.el (mouse-drag-line): Re-remove code initially removed
45 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
46 (Bug#17819).
47
c400516a 482014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9e248ebd
SM
49
50 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
51 align with the surrounding parent (bug#17721).
52
c400516a 532014-06-21 Eli Zaretskii <eliz@gnu.org>
58b9840b
EZ
54
55 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
56 locally to nil.
57 (texinfo-insert-block, texinfo-insert-@end)
58 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
59 local setting of skeleton-end-newline by adding an explicit \n to
60 the skeletons where appropriate. (Bug#17801)
61
c400516a 622014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
500dce5f
SM
63
64 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
65 (smie-indent--hanging-p): Use it.
66 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
67
c400516a 682014-06-21 Leo Liu <sdl.web@gmail.com>
2c25d5e6
LL
69
70 * simple.el (read-quoted-char): Don't let help chars pop up help
71 buffer. (Bug#16617)
72
c400516a 732014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
e9638b49
SM
74
75 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
76 for | (bug#17621).
77
c400516a
GM
78 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
79 Drop unknown events instead of burping.
bc2fb4fd 80
c400516a 812014-06-21 Eli Zaretskii <eliz@gnu.org>
b86b15b2
EZ
82
83 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
84 and later. (Bug#17790)
85
c400516a 862014-06-21 Juri Linkov <juri@jurta.org>
d35b443a
JL
87
88 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
89 to `soft'. (Bug#17554)
90
c400516a 912014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
c18add24
SM
92
93 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
94 (bug#17737).
95
c400516a 962014-06-21 Dmitry Gutov <dgutov@yandex.ru>
6a7faa16
DG
97
98 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
99 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
100
c400516a 1012014-06-21 Michael Albinus <michael.albinus@gmx.de>
2c7bf3ce
MA
102
103 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
104 `unread-command-events'.
105
da20e0f1
WX
1062014-06-19 William Xu <william.xwl@gmail.com>
107
108 * progmodes/hideif.el (hif-string-to-number): Don't return float for
109 hex integer constants (bug#17807).
110
d10a551d
SM
1112014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * international/mule-util.el (truncate-string-ellipsis): New var.
114 (truncate-string-to-width): Use it.
115
96db0055
RB
1162014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
117
118 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
119 (lisp-string-in-doc-position-p): New function, extracted from
120 lisp-font-lock-syntactic-face-function.
121 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
122
483d1ab6
GJ
1232014-06-19 Grégoire Jadi <daimrod@gmail.com>
124
125 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
126
cf10b349
SM
1272014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
130 (bubbles--game-over): Don't add `intangible' properties since they
131 didn't work anyway.
132
382ceb2c
JL
1332014-06-18 Juri Linkov <juri@jurta.org>
134
135 * vc/ediff-init.el (ediff-current-diff-Ancestor)
136 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
137 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
138 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
139 Add `min-colors 88' version with removed black/white foregrounds.
140 (Bug#10181)
141
1a639453
JL
1422014-06-18 Juri Linkov <juri@jurta.org>
143
144 * vc/diff-mode.el (diff-changed): Empty face definition to use
145 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
146 (diff-context): Use darker color on light background and
147 lighter color on dark background.
148
7c6fc37f
JL
1492014-06-18 Juri Linkov <juri@jurta.org>
150
151 * vc/diff-mode.el (diff-refine-changed): Rename from
152 `diff-refine-change' for consistency with `diff-changed'.
153 (diff-refine-change): Add obsolete face alias. (Bug#10181)
154
155 * vc/smerge-mode.el (smerge-refined-changed): Rename from
156 `smerge-refined-change'.
157 (smerge-refined-change): Add obsolete face alias.
158
5139e960
SM
1592014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * rect.el (rectangle-preview): New custom.
162 (rectangle): New group.
163 (rectangle--pos-cols): Add `window' argument.
164 (rectangle--string-preview-state, rectangle--string-preview-window):
165 New vars.
166 (rectangle--string-flush-preview, rectangle--string-erase-preview)
167 (rectangle--space-to, rectangle--string-preview): New functions.
168 (string-rectangle): Use them.
169 (rectangle--inhibit-region-highlight): New var.
170 (rectangle--highlight-for-redisplay): Obey it. Make sure
171 `apply-on-region' uses the point-crutches of the right window.
172 Use :align-to rather than multiple spaces.
173
680d0ff9
AR
1742014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
175
176 * ruler-mode.el (ruler-mode-window-col)
177 (ruler-mode-mouse-set-left-margin)
178 (ruler-mode-mouse-set-right-margin): Fix calculation of column
179 from mouse position (Bug#17768).
eca36e92
RS
180
1812014-06-16 Ron Schnell <ronnie@driver-aces.com>
182
5139e960
SM
183 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
184 without varname or rhs causes crash.
185 (dun-ftp): Fix bug where blank ftp password is allowed, making it
186 impossible to win endgame.
187 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
188 rlogin is anymore.
189 (dun-help): Bump version number; update contact info.
eca36e92 190
fb1877d6
MA
1912014-06-15 Michael Albinus <michael.albinus@gmx.de>
192
193 Sync with Tramp 2.2.10.
194
195 * net/tramp.el (tramp-methods): Tweak docstring.
196 (tramp-handle-file-accessible-directory-p): Check for
197 `file-readable-p' instead of `file-executable-p'.
5139e960
SM
198 (tramp-check-cached-permissions):
199 Use `tramp-compat-file-attributes'.
fb1877d6
MA
200 (tramp-call-process): Add new argument VEC. Adapt callees in all
201 tramp*.el files.
202
203 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
204 (tramp-adb-maybe-open-connection): Don't set
205 `tramp-current-*' variables.
206
207 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
208 file properties of temporary buffers.
209
210 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
211
212 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
213 (tramp-gvfs-handle-delete-file): Flush file
214 properties, not directory properties.
215 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
216 reading "unix::mode".
217 (tramp-gvfs-handle-file-name-all-completions):
218 Use "-h" option for "gvfs-ls".
219 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
220 (tramp-gvfs-send-command): Simplify traces.
221
222 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
223 (vc-git-program, vc-hg-program): Declare.
224 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
225 (tramp-methods) <nc>: Add new method.
226 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
227 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
228 `tramp-login-args'.
229 (tramp-default-user-alist): Add "nc".
230 (top): Remove completion function for "sftp". Add completion
231 functions for "nc" and "psftp".
232 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
233 Implement support for "nc" method.
234 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
235 (tramp-remote-coding-commands, tramp-call-local-coding-command):
236 Tweak docstring.
237 (tramp-sh-handle-write-region): Tweak error message.
238 (tramp-sh-handle-vc-registered): Remove backends when the remote
239 binary does not exist.
240 (tramp-find-inline-encoding): Do not raise an error.
241 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
242 the "nc" case. Quote result also locally.
243
244 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
245 (tramp-smb-handle-set-file-acl): Use `start-process'.
246 (tramp-smb-handle-insert-directory): Use progress reporter.
247 (tramp-smb-handle-rename-file): Flush also file properties of
248 FILENAME.
249
250 * net/trampver.el: Update release number.
251
df5703a0
SM
2522014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
253
254 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
255 add-to-list.
256 (ses-localvars): Remove ses--local-printer-list, unused.
257 (ses--metaprogramming): New macro. Use it to defvar variables.
258 (ses-set-localvars): Simplify.
259 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
260 property-list into an alist.
261 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
262 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
263 Remove; use defstruct accessors/setters instead.
264 (ses-cell-formula-aset, ses-cell-printer-aset)
265 (ses-cell-references-aset): Remove, use setf instead.
266 (ses--alist-get): New function.
267 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
268 Use an alist instead of a plist and don't do move-to-front since the
269 list is always short.
270 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
271 (ses-cell-property-set-fun, ses-cell-property-set)
272 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
273 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
274 (ses--letref): New macro.
275 (ses-cell-property-pop): Rewrite.
276 (ses--cell): Rename from ses-cell and make it into a function.
277 Make `formula' fallback on `value' if nil.
278 (ses--local-printer): Rename from ses-local-printer and make it into
279 a function.
280 (ses-set-cell): Turn it into a macro so finding the accessor from the
281 field name is done at compile time.
282 (ses-repair-cell-reference-all): Test presence of `sym' rather than
283 `ref' before adding `sym' to :ses-repair-reference.
284 (ses-calculate-cell): Use ses--letref rather than
285 ses-cell-property-get-handle.
286 (ses-write-cells): Use a single prin1-to-string.
287 (ses-setter-with-undo): New function.
288 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
289 (ses-unset-with-undo): Remove.
290 (ses-load): Prefer apply' over `eval'.
291 (ses-read-printer, ses-set-column-width): Use standard "(default
292 foo)" format.
293
90de50e2 2942014-06-15 Glenn Morris <rgm@gnu.org>
cd7d4e9b 295
0d9f8137
GM
296 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
297
cd7d4e9b
GM
298 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
299 Replace delete-duplicates and mapcan by cl- versions throughout.
300 And cl-macroexpand-all by macroexpand-all.
301 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
302
90de50e2 3032014-06-15 Eli Zaretskii <eliz@gnu.org>
859488bf
EZ
304
305 * subr.el (posn-col-row): Doc fix. (Bug#17768)
306
90de50e2 3072014-06-15 Juri Linkov <juri@jurta.org>
5be5f285
JL
308
309 * bindings.el: Put `ascii-character' property on keypad keys
310 mapped to characters. (Bug#17759)
311
90de50e2 3122014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
40be983b 313
bf26b463
SM
314 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
315 bumping forward into a closing paren (bug#17761).
316
40be983b
SM
317 * term/xterm.el (xterm--version-handler): Work around for OSX
318 Terminal.app (bug#17607).
319
90de50e2
GM
3202014-06-14 Ron Schnell <ronnie@driver-aces.com>
321
b24ffa81
GM
322 * play/dunnet.el (dun-describe-room, dun-mode):
323 If a lamp is in the room, you won't be eaten by a grue.
90de50e2 324
5fd71fed
GM
3252014-06-13 Glenn Morris <rgm@gnu.org>
326
f9d80c51
GM
327 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
328 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
329 (compile-always): GNU make automatically passes
330 command-line arguments to sub-makes.
331
5fd71fed
GM
332 * calendar/calendar.el (calendar-generate-window):
333 Remove pointless call to font-lock-fontify-buffer.
334
99961a04
MM
3352014-06-13 Matthias Meulien <orontee@gmail.com>
336
337 * simple.el (completion-list-mode-map): Navigate with tab and backtab
338 (bug#17767).
339
3402014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * simple.el (set-mark-command): Simplify a bit.
343
958d20d2
NR
3442014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
345
346 * help.el (help--key-binding-keymap): New function.
347 (help--binding-locus): New function.
348 (describe-key): Mention the keymap in which the binding was
349 found. (bug#13948)
350
de825bbb
SM
3512014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * hippie-exp.el (he--all-buffers): New function.
354 (try-expand-line-all-buffers, try-expand-list-all-buffers)
355 (try-expand-dabbrev-all-buffers): Use it.
356
85762518
EL
3572014-06-12 Emilio C. Lopes <eclig@gmx.net>
358
359 * hippie-exp.el (try-expand-line-all-buffers)
360 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
361 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
362 original buffer, in case they're buffer-local.
363
4f11561b
VB
3642014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
365
366 * ses.el (ses-initial-global-parameters-re): New defconst, a
367 specific regexp is needed now that ses.el can handle both
85762518
EL
368 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
369 local printers.
370 (ses-localvars): Add local variables needed for local printer handling.
4f11561b
VB
371 (ses-set-localvars): Handle hashmap initialisation.
372 (ses-paramlines-plist): Add param-line for number of local printers.
373 (ses-paramfmt-plist): New defconst, needed for code factorization
374 between functions `ses-set-parameter' and
375 `ses-file-format-extend-paramter-list'
376 (ses-make-local-printer-info): New defsubst.
377 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
378 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
379 (ses-cell-printer-aset): New defmacro.
380 (ses-local-printer-compile): New defun.
381 (ses-local-printer): New defmacro.
382 (ses-printer-validate, ses-call-printer): Add support for local
383 printer functions.
384 (ses-file-format-extend-paramter-list): New defun.
85762518
EL
385 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
386 factorization.
387 (ses-load): Add support for local printer functions.
388 (ses-read-printer): Update docstring and add support for local printer
389 functions.
4f11561b
VB
390 (ses-refresh-local-printer, ses-define-local-printer): New defun.
391 (ses-safe-printer): Add support for local printer functions.
392
7c35a922
IA
3932014-06-12 Ivan Andrus <darthandrus@gmail.com>
394
395 * ffap.el (ffap-lax-url): New var (bug#17723).
396 (ffap-url-at-point): Use it.
397 (ffap-file-at-point): Avoid returning just "/".
398
82fb2a08
MM
3992014-06-12 Matthias Meulien <orontee@gmail.com>
400
c77f4a90
MM
401 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
402 (python-mode-map): Bind it.
403
82fb2a08
MM
404 * progmodes/python.el (class skeleton): Don't erase last char of class
405 name (bug#17683).
406
e016b8f1
CD
4072014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
408
409 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
410
08cedf2e
KR
4112014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
412
413 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
414 (bug#17745).
415
41d33032
SM
4162014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * international/mule-cmds.el: Use lexical-binding.
419 (ucs-names): Simplify.
420
846e6e84
EH
4212014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
422
423 * progmodes/python.el (run-python): Use read-shell-command.
424
7e74ad02
SM
4252014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * rect.el: Make it possible to move bounds past EOL or into TABs.
428 (operate-on-rectangle): Use apply-on-rectangle.
429 (rectangle--mark-crutches): New var.
430 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
431 (rectangle--crutches, rectangle--reset-crutches): New functions.
432 (apply-on-rectangle): Obey crutches. Avoid setq.
433 Fix missing final iteration if end is at EOB&BOL.
434 (rectangle-mark-mode-map): Add remap bindings for
435 exchange-point-and-mark and char/line movements.
436 (rectangle--*-char): New function.
437 (rectangle-exchange-point-and-mark, rectangle-right-char)
438 (rectangle-left-char, rectangle-forward-char)
439 (rectangle-backward-char, rectangle-next-line)
440 (rectangle-previous-line): New commands.
441 (rectangle--place-cursor): New function.
442 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
443
99d8aedf
GM
4442014-06-08 Glenn Morris <rgm@gnu.org>
445
6d069b1b
GM
446 * startup.el (initial-buffer-choice): Doc fix.
447 Reset :version (adding an option does not merit a :version bump).
448
99d8aedf
GM
449 * bookmark.el (bookmark-load):
450 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
451
36cf8493 4522014-06-08 Juri Linkov <juri@jurta.org>
7f118009
JL
453
454 * desktop.el: Activate auto-saving on window configuration changes.
455 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
36cf8493
GM
456 `desktop-auto-save-set-timer' to/from
457 `window-configuration-change-hook'.
7f118009
JL
458 (desktop-auto-save-set-timer): Change REPEAT arg of
459 `run-with-idle-timer' from t to nil.
460 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
461
36cf8493 4622014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
f4be80b7
SPM
463
464 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
465 vc-hg-command (bug#17570).
466
36cf8493 4672014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
28b83297
SM
468
469 * international/mule-cmds.el (ucs-names): Add special entry for BEL
470 (bug#17702).
471
36cf8493 4722014-06-08 Glenn Morris <rgm@gnu.org>
b8379803
GM
473
474 * startup.el (window-setup-hook): Doc fix.
475
e1b3f35f
GM
476 * emacs-lisp/package.el (package-check-signature)
477 (package-unsigned-archives): Doc fixes.
478
36cf8493 4792014-06-08 Martin Rudalics <rudalics@gmx.at>
4a52a98a
MR
480
481 * window.el (display-buffer-use-some-window): Don't make window
482 used smaller than it was before (Bug#17671).
483
36cf8493 4842014-06-08 Eli Zaretskii <eliz@gnu.org>
0016fa11
EZ
485
486 * menu-bar.el (menu-bar-open): Fix last change: use the PC
487 'redisplay' instead of '(sit-for 0)'.
488
36cf8493 4892014-06-08 Michael Albinus <michael.albinus@gmx.de>
a336b2ea 490
36cf8493
GM
491 * net/tramp.el (tramp-ssh-controlmaster-options):
492 Improve search regexp. (Bug#17653)
a336b2ea 493
36cf8493 4942014-06-08 Glenn Morris <rgm@gnu.org>
910dc8d3
GM
495
496 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
497
36cf8493 4982014-06-08 Eli Zaretskii <eliz@gnu.org>
33590869
EZ
499
500 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
501
90b15d91
SPM
5022014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
503
3112e400
SPM
504 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
505 (bug#17586).
506
90b15d91
SPM
507 * vc/vc-hg.el (vc-hg-log-graph): New var.
508 (vc-hg-print-log): Use it.
509 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
510 graph output (bug#17515).
511
3da983f8
SM
5122014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * mouse.el (mouse-posn-property): Ignore buffer position info when the
515 even happened elsewhere.
516
4a816020
ML
5172014-06-06 Mario Lang <mlang@delysid.org>
518
519 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
520 `recenter' if `current-buffer' is equal to `window-buffer'.
521
14781f7f
LL
5222014-06-05 Leo Liu <sdl.web@gmail.com>
523
524 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
525
af9a3b28
MN
5262014-06-05 Michal Nazarewicz <mina86@mina86.com>
527
3da983f8
SM
528 * textmodes/tildify.el (tildify-foreach-region-outside-env):
529 New function which calls a callback on portions of the buffer that are
03d7d160
MN
530 outside of ignored environments.
531 (tildify-build-regexp): Remove function since it is now
532 incorporated in `tildify-foreach-region-outside-env' where it is
533 optimised and simplified by the use of `mapconcat'.
534 (tildify-tildify): Return number of substitutions made so that…
535 (tildify-count): …can be removed.
536 (tildify-find-env): Accept a new PAIRS argument which was
537 previously looked up in `tildify-ignored-environments-alist' each
538 time the function was called. With this change, the lookup is
539 performed only once in `tildify-foreach-region-outside-env'.
540 (tildify-region): Greatly simplify the function since now most of
541 the work is done by `tildify-foreach-region-outside-env'.
542 (tildify-mode-alist): Simplify slightly by avoiding if and setq
543 and instead using or.
544
df344ab4
MN
545 * textmodes/tildify.el (tildify-ignored-environments-alist):
546 Optimise environments regexes
547
548 Each time beginning of an environment to ignore is found,
549 `tildify-find-env' needs to identify regexp for the ending
550 of the environment. This is done by trying all the opening
551 regexes on matched text in a loop, so to speed that up, this
552 loop should have fewer things to match, which can be done by
553 using alternatives in the opening regexes.
554
555 Coincidentally, this should make matching of the opening
556 regexp faster as well thanks to the use of `regexp-opt' and
557 having common prefix pulled from many regexes.
558
eb54c73a
MN
559 * textmodes/tildify.el (tildify-string-alist)
560 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
561 of supported modes since `xml-mode' is no longer a thing but just
562 an alias to the former. Also include comments and insides of tags
563 in `tildify-ignored-environments-alist' for XML modes. Finally,
564 since XML does not define “&nbsp;”[1], use a numeric reference for
565 a no-break space (namely “&#160;”)
566
567 [1] XML specification defines only a handful of predefined entities.
568 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
569 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
570 >, &, ' and " respectively). This is in contrast to HTML and even
571 XHTML which defined a whole bunch of entities including “&nbsp;”.
572
e01e361f
MN
573 * textmodes/tildify.el (tildify-pattern-alist)
574 (tildify-string-alist, tildify-ignored-environments-alist):
575 Improve defcustom's types by adding more tags explaining what each
576 value means and replace “sexp” used in
577 `tildify-ignored-environments-alist' with a full type declaration.
578
9342feec
MN
579 * textmodes/tildify.el (tildify-find-env): Fix matched group
580 indexes in end-regex building
581
582 When looking for a start of an ignore-environment, the regex is built
583 by concatenating regexes of all the environments configured in
584 `tildify-ignored-environments-alist'. So for example, the following
585 list could be used to match TeX's \verb and \verb* commands:
586
587 (("\\\\verb\\(.\\)" . (1))
588 ("\\\\verb\\*\\(.\\)" . (1)))
589
590 This would result in the following regex being used to find the start
591 of any of the variants of the \verb command:
592
593 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
594
595 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
596 won't match anything, and thus (match-string 1) will be nil, which
597 will cause building of the end-matching regex to fail.
598
599 Fix this by using capture groups from the time when the opening
600 regexes are matched individually.
601
af9a3b28
MN
602 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
603 in `tildify-find-env'
604
605 The `tildify-ignored-environments-alist' allows the end-regex to
606 be provided not as a static string but mix of strings and indexes
607 of groups matched the begin-regex. For example, the “\verb!…!”
608 TeX-command (where “!” is an arbitrary character) is handled
609 using:
610
611 ("\\\\verb\\*?\\(.\\)" . (1))
612
613 In the same way, the following should be supported as well:
614
615 ("open-\\(.\\)" . ("end-" 1))
616
617 However the tildify-find-env function fails at
618
619 (concat result
620 (if (stringp (setq aux (car expression)))
621 expression ; BUG: expression is a list
622 (regexp-quote (match-string aux))))
623
624 where the string part is handled incorrectly.
625
626 The most trivial fix would be to replace `expression' in the
627 true-part of the if-statement with `aux', but instead, this commit
628 optimises `tildify-find-env' by changing it to use `mapconcat'
629 rather than open-coded while-loop.
630
a1d799c2
ML
6312014-06-05 Mario Lang <mlang@delysid.org>
632
633 * woman.el (woman-mapcan): Remove.
634 (woman-parse-colon-path): Use cl-mapcan instead.
635
5830a292
RS
6362014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
637
638 * register.el: Add link to Emacs manual in Commentary.
639
cf3c1e23
SS
6402014-06-02 Sam Steingold <sds@gnu.org>
641
642 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
643 (popup-menu): ...here.
644 (menu-bar-open): Use it to avoid an error when `lookup-key'
645 returns a number.
646
c8291a36
MA
6472014-06-02 Michael Albinus <michael.albinus@gmx.de>
648
e915914b 649 * net/tramp.el (tramp-call-process): Add traces.
7973d8d5 650 (tramp-handle-unhandled-file-name-directory): Return "/".
c8291a36 651
9e158ac8
WS
6522014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
653
654 Sync with upstream verilog-mode revision 3cd8144.
655 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
656 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
657 (verilog-type-font-keywords): Add nor.
658 (verilog-batch-execute-func): Force reading of Local Variables.
659 Fix printing "no changes to be saved" with verilog-batch.
660 (verilog-auto-arg-ports): Doc fix.
661 Add verilog-auto-arg-format to support newlines in AUTOARG.
662 (verilog-auto-arg): Doc fix.
663
4982861a
GM
6642014-06-02 Glenn Morris <rgm@gnu.org>
665
666 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
667 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
668 * emulation/ws-mode.el: Move to obsolete/.
3fbc3eff 669 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
4982861a 670
953e106a 6712014-06-02 Eli Zaretskii <eliz@gnu.org>
082c97e8
EZ
672
673 * simple.el (keyboard-quit): Force update of mode lines, to remove
674 the "Def" indicator, if we were defining a macro. (Bug#17615)
675
953e106a 6762014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
ffa8a2db 677
08c0f626
SM
678 * minibuffer.el (minibuffer-force-complete-and-exit):
679 Obey minibuffer-default (bug#17545).
680
ffa8a2db
SM
681 * progmodes/js.el (js-indent-line): Don't mix columns and chars
682 (bug#17619).
683
8889b935
SM
684 * subr.el (set-transient-map): Don't wait for some "nested"
685 transient-map to finish if we're only supposed to be active for
686 the next command (bug#17642).
687
953e106a 6882014-06-02 Leo Liu <sdl.web@gmail.com>
e41682ae
LL
689
690 * emacs-lisp/gv.el (window-buffer, window-display-table)
691 (window-dedicated-p, window-hscroll, window-point, window-start):
692 Fix gv-expander. (Bug#17630)
693
953e106a 6942014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
90cd9b13 695
3a73c34c
SM
696 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
697 clicks (bug#17633).
698
90cd9b13
SM
699 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
700 for the single comma, since ", " is *very* common in normal French text
701 (bug#17643).
702
953e106a 7032014-06-02 Glenn Morris <rgm@gnu.org>
ab84733c
GM
704
705 * emacs-lisp/package.el (package-check-signature)
706 (package-unsigned-archives): Fix :version.
707
953e106a 7082014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2f8165f4
SM
709
710 * subr.el (sit-for): Don't run input-methods (bug#15614).
711
953e106a 7122014-06-02 Glenn Morris <rgm@gnu.org>
18348234
GM
713
714 * cus-start.el: Fix some :version numbers.
715
953e106a 7162014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
53bc1e29 717
18348234
GM
718 * simple.el (deactivate-mark): Set mark-active to nil even if
719 deactivation is done via setting transient-mark-mode to nil,
720 since one is buffer-local and the other is global.
9828d523 721
53bc1e29
SM
722 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
723 there can't be more than 2 arguments (bug#17584).
724
953e106a 7252014-06-02 Glenn Morris <rgm@gnu.org>
e38a5ebe 726
e9e341bb
GM
727 * simple.el (filter-buffer-substring-functions)
728 (filter-buffer-substring-function, buffer-substring-filters)
729 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
730
4a12fa5c
GM
731 * minibuffer.el (completion-in-region-functions, completion-in-region)
732 (completion--in-region): Doc fixes.
733
e38a5ebe
GM
734 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
735 (expand-abbrev, abbrev--default-expand): Doc fixes.
736
953e106a 7372014-06-02 Paul Eggert <eggert@cs.ucla.edu>
cf2f54c4
PE
738
739 Include sources used to create macuvs.h.
740 * international/README: Refer to the Unicode Terms of Use rather
741 than copying it bodily here, as that simplifies maintenance.
742
a383d091
GM
7432014-06-01 Glenn Morris <rgm@gnu.org>
744
745 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
746
b5d6fe3b
GM
7472014-05-31 Glenn Morris <rgm@gnu.org>
748
749 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
750
6423ce26
GM
7512014-05-30 Glenn Morris <rgm@gnu.org>
752
753 * loadup.el: Treat `command-line-args' more flexibly.
754
9155e80d
AM
7552014-05-30 Alan Mackenzie <acm@muc.de>
756
757 Guard (looking-at "\\s!") from XEmacs.
758 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
759
e50e0340
KO
7602014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
761
3da983f8
SM
762 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
763 The argument COUNT is now optional, to be more backward-compatible.
e50e0340
KO
764 Doc fix. (Bug#17560)
765
6ddcaa8f
RT
7662014-05-29 Reuben Thomas <rrt@sc3d.org>
767
3da983f8
SM
768 * whitespace.el (whitespace-report-region):
769 Simplify documentation.
b4c1ce8a
RT
770 (whitespace-report-region): Allow report-if-bogus to take the
771 value `never', for non-interactive use.
b0877c44
RT
772 (whitespace-report): Refer to whitespace-report-region's
773 documentation.
6ddcaa8f 774
6711a21f
SM
7752014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
776
4d05fe98
SM
777 * whitespace.el: Use font-lock-flush. Minimize refontifications.
778 Side benefit: it works without jit-lock.
779 (whitespace-point--used): New buffer-local var.
780 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
781 (whitespace-color-off): Use font-lock-flush.
782 (whitespace-point--used, whitespace-point--flush-used): New functions.
783 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
784 (whitespace-empty-at-eob-regexp): Use them.
785 (whitespace-post-command-hook): Rewrite.
786
6711a21f
SM
787 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
788 (font-lock-fontify-buffer): Mark interactive-only.
789 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
790 Make buffer-local.
791 (font-lock-specified-p): Remove redundant boundp check.
792 (font-lock-flush-function, font-lock-ensure-function): New vars.
793 (font-lock-turn-on-thing-lock): Set them.
794 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
795 (font-lock-after-change-function): Make `old-len' optional.
796 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
797 Call font-lock-flush, just in case.
798 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
799 recent Emacsen.
800 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
801 (vera-mode-map, vera-mode-menu): Remove bindings to it.
802 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
803 and with-syntax-table.
804 * textmodes/conf-mode.el (conf-quote-normal):
805 * progmodes/sh-script.el (sh-set-shell):
806 * progmodes/prog-mode.el (prettify-symbols-mode):
807 * progmodes/f90.el (f90-font-lock-n):
808 * progmodes/cwarn.el (cwarn-mode):
809 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
810 * progmodes/compile.el (compilation-setup, compilation--unsetup):
811 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
812 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
813 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
814 font-lock-fontify-buffer-function and
815 font-lock-unfontify-buffer-function.
816 (rmail-unfontify-buffer-function, rmail-fontify-message):
817 Use with-silent-modifications.
818 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
819 and font-lock-ensure.
820 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
821
c63982dd
TTN
8222014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
823
824 * emacs-lisp/package.el (package-generate-autoloads):
825 Inhibit backup files.
826
1af6db7d
SM
8272014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
828
829 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
830 (bug#17608).
831
fc21a7de
MN
8322014-05-21 Michal Nazarewicz <mina86@mina86.com>
833
834 * textmodes/tildify.el (tildify-buffer, tildify-region):
835 Add dont-ask option.
836
0e4857b7
SM
8372014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
838
4c539a7b
SM
839 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
840 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
841
0e4857b7
SM
842 * subr.el (internal--funcall-interactively): New.
843 (internal--call-interactively): Remove.
844 (called-interactively-p): Detect funcall-interactively instead of
845 call-interactively.
0e4857b7
SM
846 * simple.el (repeat-complex-command): Use funcall-interactively.
847 (repeat-complex-command--called-interactively-skip): Remove.
848
a366fbe2
SM
8492014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
850
0da7d35c
SM
851 * register.el (register-read-with-preview): Don't burp on
852 frame switches (e.g. due to the frame we just popped).
853
a366fbe2
SM
854 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
855 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
856
015936fb 8572014-05-26 Andreas Schwab <schwab@linux-m68k.org>
12ddce55
AS
858
859 * cus-face.el (custom-face-attributes): Add :distant-foreground.
860
015936fb 8612014-05-26 Martin Rudalics <rudalics@gmx.at>
f408fbe4 862
015936fb 863 * window.el (window--dump-frame): Remove interactive specification.
f408fbe4 864
015936fb 8652014-05-26 Glenn Morris <rgm@gnu.org>
486eebac
GM
866
867 * hippie-exp.el (he-line-search-regexp):
868 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
869
015936fb 8702014-05-26 Stephen Berman <stephen.berman@gmx.net>
903204bb
SB
871
872 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
873 to avoid errors when trying to create or visit a file foo.todo
874 located outside to todo-directory, and to allow having such files
875 without them being tied to Todo mode (bug#17482).
876 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
877 (todo-archive-done-item, todo-find-filtered-items-file)
878 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
879 (todo-category-completions, todo-read-category): When visiting a
880 Todo file, make sure we're in the right mode and the buffer local
881 variables are set.
882 (todo-make-categories-list, todo-reset-nondiary-marker)
a366fbe2
SM
883 (todo-reset-done-string, todo-reset-comment-string):
884 After processing all Todo files, kill the buffers of those files that
903204bb
SB
885 weren't being visited before the processing.
886 (todo-display-as-todo-file, todo-add-to-buffer-list)
887 (todo-visit-files-commands): Comment out.
888 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
889 (auto-mode-alist): Remove add-to-list calls making Todo file
890 extensions unrestrictedly tied to Todo modes.
891
015936fb 8922014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
15ad4013
SM
893
894 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
895 (advice-function-member-p): Tell it to check both names and functions
896 (bug#17531).
897 (advice--add-function): Adjust call accordingly.
898
015936fb 8992014-05-26 Stephen Berman <stephen.berman@gmx.net>
982ccf03
SB
900
901 * calendar/todo-mode.el: Miscellaneous bug fixes.
902 (todo-delete-file): When deleting an archive but not its todo
903 file, make sure to update the todo file's category sexp.
904 (todo-move-category): Keep the moved category's name unless the
905 file moved to already has a category with that name. If the
906 numerically last category of the source file was moved, make the
907 first category current to avoid selecting a nonexisting category.
908 (todo-merge-category): Fix implementation to make merging to a
909 category in another file work as documented. Eliminate now
910 insufficient and unnecessary renaming of archive category, correct
911 document string accordingly, and clarify it. If the numerically
912 last category of the source file was merged, make the first
913 category current to avoid selecting a nonexisting category.
914 (todo-archive-done-item): When there are marked items and point
915 happens to be on an unmarked item, ignore the latter. Don't leave
916 point below last item after archiving marked items.
917 (todo-unarchive-items): Fix logic to ensure unarchiving an item
918 from an archive with only one category deletes the archive only
919 when the category is empty after unarchiving. Make sure the todo
920 file's category sexp is updated.
921 (todo-read-file-name): Allow an existing file name even when it is
922 not required (todo-move-category needs this to work as documented).
923 (todo-add-file): Call todo-validate-name to reject the name of an
924 existing todo file (needed due to fix in todo-read-file-name).
925 (todo-reset-nondiary-marker): Also reset in filtered items files.
926 (todo-reset-done-string, todo-reset-comment-string): Also reset in
927 regexp filtered items files.
928 (todo-reset-highlight-item): Also reset in filtered items files.
929 Fix incorrect variable reference in document string.
930
015936fb 9312014-05-26 Glenn Morris <rgm@gnu.org>
bcba2d85
GM
932
933 * window.el (window--dump-frame): Avoid error in --without-x builds.
934
015936fb 9352014-05-26 Glenn Morris <rgm@gnu.org>
fb4ca841
GM
936
937 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
938
015936fb 9392014-05-26 Eli Zaretskii <eliz@gnu.org>
13a83f05
EZ
940
941 * frame.el (set-frame-font): Doc fix.
942
943 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
944
015936fb 9452014-05-26 Dmitry Gutov <dgutov@yandex.ru>
b0df8b95 946
a366fbe2
SM
947 * emacs-lisp/package.el (package--download-one-archive):
948 Use `write-region' instead of `save-buffer' to avoid running various
b0df8b95
DG
949 hooks. (Bug#17155)
950 (describe-package-1): Same. Insert newline at the end of the
951 buffer if appropriate.
952
015936fb 9532014-05-26 Juri Linkov <juri@jurta.org>
a2115113
JL
954
955 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
956 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
957 Add more modifiers: meta, control, shift, hyper, super, alt.
958 (Bug#17439)
959
2614b25f
JL
960 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
961 to allow changing its value with `set-variable'.
962
015936fb 9632014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7b952d61 964
0a5cfeee
SM
965 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
966 #; comments.
967 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
968 New functions.
969 (scheme-mode-variables): Set syntax-propertize-function instead of
970 font-lock-syntactic-face-function.
971 (scheme-font-lock-syntactic-face-function): Delete.
972
7b952d61
SM
973 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
974
08a2434e
SM
975 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
976 (bug#17392).
977
015936fb 9782014-05-26 Michael Albinus <michael.albinus@gmx.de>
43425aec
MA
979
980 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
981 for a temporary file name.
982
015936fb 9832014-05-26 Eli Zaretskii <eliz@gnu.org>
1e046d37
EZ
984
985 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
986
015936fb 9872014-05-26 Michael Albinus <michael.albinus@gmx.de>
1bafb1de
MA
988
989 * net/dbus.el (dbus-init-bus, dbus-call-method)
990 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 991 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
992 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
993
015936fb 9942014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
ec264fbb
NR
995
996 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
997 methods which do not have a doc string. (Bug#17490)
998
5e26d984
TH
9992014-05-25 Tassilo Horn <tsdh@gnu.org>
1000
1001 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1002 also for AMS Math's \eqref macro.
1003
770a6a91
TTN
10042014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1005
1006 Arrange to never byte-compile the generated -pkg.el file.
1007
1008 * emacs-lisp/package.el (package-generate-description-file):
1009 Output first-line comment to set buffer-local var `no-byte-compile'.
1010 Suggested by Dmitry Gutov:
1011 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1012
e50a0b6e
TTN
10132014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1014
1015 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1016
1017 * emacs-lisp/package.el (package-generate-description-file):
1018 Inline `package--alist-to-plist'; rewrite to selectively
1019 quote alist values that are not self-quoting.
1020 (package--alist-to-plist): Delete func.
1021
d93cfca0
AS
10222014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1023
1024 * term/xterm.el (xterm-function-map): Add mapping for shifted
1025 keypad keys.
1026
8bb17f64
DC
10272014-05-24 Daniel Colascione <dancol@dancol.org>
1028
166aaa37
DC
1029 * progmodes/subword.el (subword-find-word-boundary): Move point to
1030 correct spot before search. (Bug#17580)
1031
8bb17f64
DC
1032 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1033 breaking the build.
1034
ec774634
LL
10352014-05-24 Leo Liu <sdl.web@gmail.com>
1036
1037 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1038
e4829cb8
SM
10392014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * minibuffer.el (completion--sreverse): Remove.
1042 (completion--common-suffix): Use `reverse' instead.
1043 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1044
aad65192
GM
10452014-05-22 Glenn Morris <rgm@gnu.org>
1046
1047 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1048
708374c7
DC
10492014-05-21 Daniel Colascione <dancol@dancol.org>
1050
1051 * files.el (interpreter-mode-alist): Add mksh.
1052
1053 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1054 derivative.
1055 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1056 mksh. Improve custom spec; allow regular expressions.
1057 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1058 (sh-after-hack-local-variables): New function.
1059 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1060 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1061 the normalization.
1062 (sh-canonicalize-shell): Rewrite to support regexes.
1063
8ea51e4f
LL
10642014-05-21 Leo Liu <sdl.web@gmail.com>
1065
1066 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1067
427de535
LL
10682014-05-19 Leo Liu <sdl.web@gmail.com>
1069
1070 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1071
3c8d9107
GM
10722014-05-18 Glenn Morris <rgm@gnu.org>
1073
1074 * loadup.el:
1075 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1076
b8e11d41
SS
10772014-05-14 Sam Steingold <sds@gnu.org>
1078
1079 * progmodes/python.el (python-shell-get-or-create-process):
1080 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1081 back unless requested.
1082
abad7b05
GM
10832014-05-14 Glenn Morris <rgm@gnu.org>
1084
d63d883a
GM
1085 * subr.el (with-file-modes): New macro.
1086 * printing.el (pr-save-file-modes): Make obsolete.
1087 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1088 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1089 Add with-file-modes.
1090 * doc-view.el (doc-view-make-safe-dir):
1091 * epg.el (epg--start):
1092 * files.el (locate-user-emacs-file, make-temp-file)
1093 (backup-buffer-copy, move-file-to-trash):
1094 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1095 * eshell/esh-util.el (eshell-with-private-file-modes)
1096 (eshell-make-private-directory):
1097 * net/browse-url.el (browse-url-mosaic):
1098 * obsolete/mailpost.el (post-mail-send-it):
1099 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1100 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1101 Use with-file-modes.
1102
abad7b05
GM
1103 * vc/emerge.el (emerge-make-temp-file): Simplify.
1104
34cba8e8
SB
11052014-05-14 Stephen Berman <stephen.berman@gmx.net>
1106 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1109 suffix (bug#15419).
1110
a5d09243
GM
11112014-05-14 Glenn Morris <rgm@gnu.org>
1112
1113 * vc/emerge.el (emerge-temp-file-prefix):
1114 Make pointless option obsolete.
1115 (emerge-temp-file-mode): Make non-functional option obsolete.
1116
f4da4720 11172014-05-14 Michael Albinus <michael.albinus@gmx.de>
e95b937a
MA
1118
1119 * net/browse-url.el (browse-url):
1120 Use `unhandled-file-name-directory' when setting `default-directory',
1121 in order to circumvent stalled remote connections. (Bug#17425)
1122
f0036ec2
GM
11232014-05-14 Glenn Morris <rgm@gnu.org>
1124
1125 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1126 Optimize on Emacs, which has the relevant functions for ages.
1127
27a69ff0
SM
11282014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1131
ecaf7f4d
SS
11322014-05-12 Sam Steingold <sds@gnu.org>
1133
1134 * calendar/time-date.el (seconds-to-string): New function to
1135 pretty print time delay in seconds.
1136
97100b43
SM
11372014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1138
400e8286
SM
1139 * mpc.el (mpc-format): Trim Date to the year.
1140 (mpc-songs-hashcons): Shorten the Date field.
1141
97100b43
SM
1142 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1143 into autoloading just because of a silly indirection.
1144
90b15d91 11452014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
0add0959
SPM
1146
1147 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1148
bbbabffe 11492014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
1150
1151 * emacs-lisp/find-gc.el: Move to ../admin.
1152
6b45ef35
GM
1153 * printing.el (pr-version):
1154 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1155
8c6699ab
GM
1156 * net/browse-url.el (browse-url-mosaic):
1157 Create /tmp/Mosaic.PID as a private file.
1158
bbbabffe 11592014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
1160
1161 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1162 (advice--member-p): If name is given, only compare the name.
1163 (advice--remove-function): Don't stop at the first match.
1164 (advice--normalize-place): New function.
1165 (add-function, remove-function): Use it.
1166 (advice--add-function): Pass the name, if any, to
1167 advice--remove-function.
1168
bbbabffe 11692014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
1170
1171 * electric.el (electric-indent-post-self-insert-function): Don't use
1172 `pos' after modifying the buffer (bug#17449).
1173
bbbabffe 11742014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
1175
1176 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1177 Correct argument list to conform to todo-insert-item--basic.
1178
bbbabffe 11792014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 1180
2651ed05
GM
1181 * files.el (cd-absolute): Test if directory is accessible
1182 rather than executable. (Bug#17330)
1183
bb1f4b8f
GM
1184 * progmodes/compile.el (recompile):
1185 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1186
4049faae
GM
1187 * net/browse-url.el (browse-url-mosaic):
1188 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1189 This is CVE-2014-3423.
1190
4eb43682
SM
11912014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1192
fbd5cc6c
SM
1193 * mouse.el: Use the normal toplevel loop while dragging.
1194 (mouse-set-point): Handle multi-clicks.
1195 (mouse-set-region): Handle multi-clicks for drags.
1196 (mouse-drag-region): Update call accordingly.
1197 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1198 Use the normal event loop instead of a local while/read-event loop.
1199 (global-map): Remove redundant bindings for double/triple-mouse-1.
1200 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1201 Generate synthetic down events when the protocol only sends up events.
1202 (xterm-mouse-last): Remove.
1203 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1204 terminal parameter instead.
1205 (xterm-mouse--set-click-count): New function.
1206 (xterm-mouse-event): Detect/generate double/triple clicks.
1207 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1208
80a78d23
SM
1209 * info.el (Info-quoted): New face.
1210 (Info-mode-font-lock-keywords): New var.
1211 (Info-mode): Use it.
1212
4eb43682
SM
1213 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1214 are a hindrance for C-x C-e.
1215
2f9b4cfc
LL
12162014-05-11 Leo Liu <sdl.web@gmail.com>
1217
1218 * net/rcirc.el (rcirc-sentinel): Fix last change.
1219
f36f0bca
SS
12202014-05-08 Sam Steingold <sds@gnu.org>
1221
1222 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1223 (rcirc-sentinel): Auto-reconnect to the server if
1224 `rcirc-reconnect-delay' is non-0 (but not more often than its
1225 value in case the host is off-line).
1226
b722ea4e
EZ
12272014-05-09 Eli Zaretskii <eliz@gnu.org>
1228
1229 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1230
1d75432d
GM
12312014-05-09 Glenn Morris <rgm@gnu.org>
1232
1233 * files.el (file-expand-wildcards):
1234 * man.el (Man-support-local-filenames):
1235 * printing.el (pr-i-directory, pr-interface-directory):
1236 * progmodes/grep.el (lgrep, rgrep):
1237 * textmodes/ispell.el (ispell-call-process)
1238 (ispell-call-process-region, ispell-start-process)
1239 (ispell-init-process): Use file-accessible-directory-p.
1240
b406487f
SM
12412014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1244 (xterm-mouse--read-event-sequence-1000): Return nil if something
1245 looks fishy.
1246 (xterm-mouse-event): Propagate it.
1247 (xterm-mouse-translate-1): Handle it.
1248
fb3f83f5 12492014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
1250
1251 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1252 four slots of the parameter list are filled, make sure to pass it
1253 to the argument list of todo-insert-item--basic.
1254
fb3f83f5 12552014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
1256
1257 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1258 Add optional `seen' argument to detect and break infinite loops.
1259
fb3f83f5 12602014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
1261
1262 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1263 (trace-unsafe, trace-use-tree): Make parentheses style be
1264 according to Emacs style.
1265
fb3f83f5 12662014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 1267
5e87fcb1
SM
1268 * net/tramp-sh.el (tramp-remote-process-environment):
1269 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1270 Add :version entry.
1271 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1272 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
1273 extra "PSx=..." commands.
1274 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1275 (Bug#17295)
1276
23e19cf2
MA
1277 (tramp-uudecode): Replace the hard-coded temporary file name by a
1278 format specifier.
1279 (tramp-remote-coding-commands): Enhance docstring.
1280 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1281 name. (Bug#17415)
a9fd3545 1282 This is CVE-2014-3424.
23e19cf2 1283
fb3f83f5 12842014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
1285
1286 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1287 (find-gc-source-files): Update some names.
1288 (trace-call-tree): Simplify and update.
1289 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 1290 This is CVE-2014-3422.
0c4decae 1291
fb3f83f5 12922014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 1293
bf67c3f7
SM
1294 * minibuffer.el (completion--try-word-completion): Revert fix for
1295 Bug#15980 (bug#17375).
1296
c22f24f6
SM
1297 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1298 Always store button numbers in the same way in xterm-mouse-last;
1299 Don't burp is xterm-mouse-last is not set as expected.
1300 Never return negative indices.
1301
fb3f83f5 13022014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
1303
1304 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1305 Backtrack one char if the global/char-literal var matcher hits
1306 inside a string. The next char could be the beginning of an
1307 expression expansion.
1308
fb3f83f5 13092014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
1310
1311 * help-fns.el (describe-function-1): Test for an autoload before a
1312 macro, since `macrop' works on autoloads. (Bug#17410)
1313
fb3f83f5 13142014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 1315
e6025d72
SM
1316 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1317
dccb0688
SM
1318 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1319 Make sure the new point we return is within the new string (bug#17239).
1320
049534ad
DC
13212014-05-05 Daniel Colascione <dancol@dancol.org>
1322
1323 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1324 Port `gnu' pattern to rx.
1325
80e377c0
JC
13262014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1327
1328 Remove unneeded prompt when closing a buffer with active
1329 emacsclient ("Buffer ... still has clients"), #16548.
1330 * server.el (server-start): Remove the only call to:
1331 (server-kill-buffer-query-function): Remove.
1332
f930a063
LL
13332014-05-04 Leo Liu <sdl.web@gmail.com>
1334
1335 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1336 Defvar to pacify compiler.
1337
3e9fa60a 13382014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
1339
1340 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1341
3e9fa60a 13422014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
1343
1344 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1345 Use nil rather than `default' for the "default" appearance (bug#17388).
1346 * vc/ediff-util.el (ediff-inferior-compare-regions)
1347 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1348 a misleading `default' value when it's really a boolean.
1349 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1350 overlay is not visible.
1351
3e9fa60a 13522014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
1353
1354 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1355 (todo-menu): Uncomment and update.
1356
3e9fa60a 13572014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
1358
1359 * calendar/todo-mode.el: Reimplement item editing to have the same
1360 basic user interface as item insertion, and make small UI and
1361 larger internal improvements to the latter.
1362 (todo-insert-item): Add reference to the Todo mode user manual to
1363 the documentation string.
1364 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1365 adjust all callers. Change signature to combine diary and
1366 nonmarking arguments. Incorporate functionality of deleted item
1367 copying command and add error checking. Remove detailed
1368 descriptions of the arguments from the documentation string, since
1369 this is treated in the Todo mode user manual.
1370 (todo-copy-item, todo-edit-multiline-item)
1371 (todo-edit-done-item-comment, todo-edit-item-header)
1372 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1373 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1374 (todo-edit-item-date-year, todo-edit-item-date-month)
1375 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1376 Remove.
1377 (todo-edit-item): Reimplement as wrapper command for
1378 todo-edit-item--next-key and make it distinguish done and not done
1379 todo items.
1380 (todo-edit-item--text): New function, replacing old command
1381 todo-edit-item and incorporating deleted commands
1382 todo-edit-multiline-item and todo-edit-done-item-comment.
1383 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1384 Use only numeric value of prefix argument. Remove detailed
1385 descriptions of the arguments from the documentation string, since
1386 this is treated in the Todo mode user manual.
1387 (todo-edit-item--diary-inclusion): New function, replacing old
1388 command todo-edit-item-diary-inclusion and incorporating and fixing
1389 functionality of deleted command todo-edit-item-diary-nonmarking,
1390 making sure to remove todo-nondiary-marker when adding
1391 diary-nonmarking-symbol.
1392 (todo-edit-category-diary-inclusion): Make sure to delete
1393 diary-nonmarking-symbol when adding todo-nondiary-marker.
1394 (todo-edit-category-diary-nonmarking): Fix indentation.
1395 (todo-insert-item--parameters): Group diary and nonmarking
1396 parameters together.
1397 (todo-insert-item--apply-args): Adjust to signature of
1398 todo-insert-item--basic and incorporate copy parameter.
1399 Make small code improvements.
1400 (todo-insert-item--next-param): Improve prompt and adjust it to
1401 new parameter grouping. Remove obsolete code.
1402 (todo-edit-item--param-key-alist)
1403 (todo-edit-item--date-param-key-alist)
1404 (todo-edit-done-item--param-key-alist): New defconsts.
1405 (todo-edit-item--prompt): New variable.
1406 (todo-edit-item--next-key): New function.
5e87fcb1
SM
1407 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1408 Remove bindings of deleted commands.
aed4b12d 1409
3e9fa60a 14102014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
1411
1412 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1413
3e9fa60a 14142014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
1415
1416 * allout-widgets.el (allout-widgets-tally)
1417 (allout-decorate-item-guides):
1418 * menu-bar.el (menu-bar-positive-p):
1419 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1420 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1421 * progmodes/js.el (js--inside-param-list-p)
1422 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1423 * progmodes/prolog.el (region-exists-p):
1424 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1425 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1426 Doc fixes (replace `iff').
1427
3e9fa60a 14282014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
1429
1430 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1431
bbdcf64f
LL
14322014-05-04 Leo Liu <sdl.web@gmail.com>
1433
1434 Support Chinese diary entries in calendar and diary. (Bug#17393)
1435 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1436 (calendar-chinese-from-absolute-for-diary)
1437 (calendar-chinese-to-absolute-for-diary)
1438 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1439 (diary-chinese-list-entries): New functions to list and mark
1440 Chinese diary entries in the calendar window.
1441 (diary-chinese-anniversary)
1442 (diary-chinese-insert-anniversary-entry)
1443 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1444 (diary-chinese-insert-yearly-entry): New commands to insert
1445 Chinese diary entries.
1446
80a78d23
SM
1447 * calendar/diary-lib.el (diary-font-lock-keywords):
1448 Support font-locking Chinese dates.
bbdcf64f
LL
1449
1450 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1451 inserting Chinese diary entries.
1452
80a78d23
SM
1453 * calendar/calendar.el (diary-chinese-entry-symbol):
1454 New customizable variable.
bbdcf64f
LL
1455 (calendar-mode-map): Add bindings for inserting Chinese diary
1456 entries.
1457
cfd59d67
JL
14582014-05-03 Juri Linkov <juri@jurta.org>
1459
1460 * dired.el (dired-check-switches, dired-switches-recursive-p):
1461 New functions. (Bug#17218)
1462 (dired-switches-escape-p, dired-move-to-end-of-filename):
1463 Use `dired-check-switches'.
1464 (dired-insert-old-subdirs, dired-build-subdir-alist)
1465 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1466
4807c7eb
BR
14672014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1468
a7e1ffdc
BR
1469 * simple.el (undo-make-selective-list): New algorithm fixes
1470 incorrectness of position adjustments when undoing in region.
1471 (Bug#17235)
1472 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
1473 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1474 New functions to adjust positions using undo-deltas.
4807c7eb 1475
17a873c5
SM
14762014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1479 the last consecutive closing paren (bug#17345).
1480
724ee6dc
RT
14812014-04-30 Reuben Thomas <rrt@sc3d.org>
1482
1483 * dired.el (dired-mode): make terminology for eXpunge command
1484 consistent. (Bug#17276)
1485
72962dd8
EZ
14862014-04-30 Eli Zaretskii <eliz@gnu.org>
1487
1488 * dired.el (dired-initial-position-hook, dired-initial-position):
1489 Doc string fixes.
1490
09b911ad 14912014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
1492
1493 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1494
09b911ad 14952014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
1496
1497 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 1498 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
1499 overriden by the defface spec which also fixes issues on win32 where
1500 the toolbar coloring was wrong because it is set through X resources
1501 and was (wrongfully) overriden. (Bug#16694)
1502
09b911ad 15032014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
1504
1505 * textmodes/rst.el (electric-pair-pairs): Declare.
1506 (rst-mode): Set it (bug#17131).
1507
09b911ad 15082014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
1509
1510 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1511 and `print-level' to nil. (Bug#17351)
1512
09b911ad 15132014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
1514
1515 * battery.el (battery-update): Handle the case where battery
1516 status is "N/A" (bug#17319).
1517
9b7b020d
SM
15182014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1521 to syntax-propertize.
1522 (ps-mode-auto-indent): Mark as obsolete.
1523 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1524 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1525 word regexp operators.
1526 (ps-mode-map): Move initialization into declaration. Remove binding
1527 for TAB, RET, >, ], and }.
1528 (ps-mode-syntax-table): Move initialization into declaration.
1529 Don't give word syntax to non-word chars.
1530 (ps-run-mode-map): Move initialization into declaration.
1531 (ps-mode-menu-main): Remove auto-indent entry.
1532 (ps-mode-smie-rules): New function.
1533 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1534 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1535 (ps-mode--string-syntax-table): New const.
1536 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1537 New functions.
1538 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1539 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1540
196bfaec
DC
15412014-04-27 Daniel Colascione <dancol@dancol.org>
1542
1543 * term/xterm.el (xterm-paste): Use large finite timeout when
1544 reading event to avoid putting keys in this-command-keys.
1545
5ba339c7
SM
15462014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1549 (perl-syntax-propertize-function): Use it. Extend handling of
1550 here-docs to the unquoted case.
1551
dff4a9f6 15522014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 1553
5ba339c7
SM
1554 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1555 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 1556
dff4a9f6 15572014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
1558
1559 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1560 Fix syntax for @. (Bug#17325)
1561
dff4a9f6 15622014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
1563
1564 * emacs-lisp/cl.el (gv): Require gv early to break eager
1565 macro-expansion cycles.
1566
dff4a9f6 15672014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 1568
05452dc4
SM
1569 * simple.el (region-active-p): Check there's a mark (bug#17324).
1570
0e8a9331
SM
1571 * simple.el (completion-list-mode-map): Use choose-completion for the
1572 mouse binding as well (bug#17302).
1573 (completion-list-mode, completion-setup-function): Adjust docstring and
1574 echo area message accordingly.
1575 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1576 calling convention of choose-completion.
1577 * comint.el (comint-dynamic-list-completions):
1578 * term.el (term-dynamic-list-completions): Accept choose-completion.
1579
c0868451
SM
1580 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1581 &, |, +, - and * can't be a division (bug#17317).
1582
f7e0450a
SM
1583 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1584 features on gnome-terminal (bug#16988).
1585
5e4ab4e4
TTN
15862014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1587
1588 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1589
1590 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1591 the declared object, ignore zero or more parens, not zero or one.
1592
d5031a2a
LL
15932014-04-24 Leo Liu <sdl.web@gmail.com>
1594
1595 * progmodes/xscheme.el (xscheme-expressions-ring)
1596 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1597 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1598 (xscheme-allow-output-p, xscheme-prompt)
1599 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1600
1601 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1602 Comment out unused functions.
1603
118b5a92
SM
16042014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * info.el: Use lexical-binding and cl-lib.
1607 Use defvar-local and setq-local instead of make-local-variable.
1608 (Info-apropos-matches): Avoid add-to-list.
1609 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1610
9b233997
DC
16112014-04-24 Daniel Colascione <dancol@dancol.org>
1612
1613 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1614
ddc13efd
SM
16152014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1618
f2df692c
MH
16192014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1620
1621 * dired.el (dired-insert-set-properties): Do not consider
1622 subdirectory headings and empty lines to be information that
1623 `dired-hide-details-mode' should hide. (Bug#17228)
1624
14828a95
MA
16252014-04-22 Michael Albinus <michael.albinus@gmx.de>
1626
1627 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1628 Remove test messages.
1629 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1630 and `target' twice.
1631
42e91034 16322014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 1633
9c104369
SM
1634 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1635 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1636
622eef68
SM
1637 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1638
42e91034 16392014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 1640
622eef68
SM
1641 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1642 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
1643 the file name. Add test messages for hunting a bug on hydra.
1644 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1645
42e91034 16462014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
1647
1648 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1649 Don't prettify a word within a symbol.
1650
42e91034 16512014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
1652
1653 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1654 possible.
1655
1b0f10d2
DC
16562014-04-22 Daniel Colascione <dancol@dancol.org>
1657
1658 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1659 use defun to define `function-put'.
1660
67c477ae
SM
16612014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1662
4f965793
SM
1663 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1664 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1665 (lisp-mode-variables): Set font-lock-extra-managed-props.
1666
67c477ae
SM
1667 * emacs-lisp/byte-run.el (function-put): New function.
1668 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1669 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1670 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1671 Use them.
1672
66fda794
DC
16732014-04-22 Daniel Colascione <dancol@dancol.org>
1674
67c477ae
SM
1675 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1676 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
1677 `macroexpand-all'.
1678
1679 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1680 Improve docstrings.
1681
c98212f9
DC
1682 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1683 Use lambda function values, not quoted lambdas.
1684 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1685
66fda794 1686 * emacs-lisp/cl-macs.el
c98212f9 1687 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
1688 (cl-struct-slot-value): Conditionally use aref or nth so that the
1689 compiler produces optimal code.
1690
d6f14ca7
SM
16912014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1694 (inline): Don't inline cl--set-elt.
1695 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1696 Define as inlinable instead.
1697 (cl-struct-set-slot-value): Remove.
1698
1699 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1700 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1701 Use setf instead.
1702
44faec17
DC
17032014-04-21 Daniel Colascione <dancol@dancol.org>
1704
1705 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1706 last two parameters after all.
1707 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1708 (cl--compiler-macro-assoc,cl-struct-slot-value)
1709 (cl-struct-set-slot-value): Stop using them.
1710
1711(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
1712
1713 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1714 entry in image-mode-winprops-alist.
1715
2fa1b97d
DC
17162014-04-21 Daniel Colascione <dancol@dancol.org>
1717
9253f7af
SM
1718 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1719 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
1720 (byte-compile-toplevel-file-form): Use it.
1721
2fa1b97d
DC
1722 * emacs-lisp/cl-macs.el:
1723 (cl--loop-let): Properly destructure `while' clauses.
1724
e8a77f24
DC
17252014-04-20 Daniel Colascione <dancol@dancol.org>
1726
1727 * vc/vc.el (vc-root-dir): New public autoloaded function for
1728 generically finding the current VC root.
1729 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 1730 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 1731
89a2e783
DC
17322014-04-20 Daniel Colascione <dancol@dancol.org>
1733
1734 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1735 argument.
1736 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1737 argument in case we're inside a symbol-macrolet.
1738 (cl--do-arglist, cl--compiler-macro-typep)
1739 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1740 environment to `cl--const-expr-val'.
1741 (cl-struct-sequence-type,cl-struct-slot-info)
1742 (cl-struct-slot-offset, cl-struct-slot-value)
1743 (cl-struct-set-slot-value): New functions.
1744
fe36068f
SM
17452014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1748 assignments such as "case=hello" (bug#17297).
1749
ce8c5107
MA
17502014-04-18 Michael Albinus <michael.albinus@gmx.de>
1751
1752 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1753 Do not autoload.
1754 (tramp-file-name-handler, tramp-completion-file-name-handler):
1755 Revert patch from 2014-04-10, it isn't necessary anymore.
1756 (tramp-autoload-file-name-handler)
1757 (tramp-register-autoload-file-name-handlers): New defuns.
1758 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1759 (tramp-register-file-name-handlers): Remove also
1760 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1761 Do not autoload its invocation, but eval it after loading of 'tramp.
1762
1763 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1764
1765 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1766
bfc30790
DC
17672014-04-17 Daniel Colascione <dancol@dancol.org>
1768
1769 Add support for bracketed paste mode; add infrastructure for
1770 managing terminal mode enabling and disabling automatically.
1771
1772 * xt-mouse.el:
1773 (xterm-mouse-mode): Simplify.
1774 (xterm-mouse-tracking-enable-sequence)
1775 (xterm-mouse-tracking-disable-sequence): New constants.
1776 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
1777 (turn-off-xterm-mouse-tracking-on-terminal):
1778 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
1779 parameters instead of random hooks.
1780 (turn-on-xterm-mouse-tracking)
1781 (turn-off-xterm-mouse-tracking): Delete.
1782
1783 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1784 (xterm-paste-ending-sequence): New constant.
1785 (xterm-paste): New command used for bracketed paste support.
1786
1787 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1788 (terminal-init-xterm-bracketed-paste-mode): New function.
1789 (terminal-init-xterm): Call it.
1790 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1791 and tty-mode-reset-strings instead of random hooks.
1792 (xterm-turn-on-modify-other-keys)
1793 (xterm-turn-off-modify-other-keys)
1794 (xterm-remove-modify-other-keys): Delete obsolete functions.
1795
67c477ae
SM
1796 * term/screen.el: Rewrite to just use the xterm code.
1797 Add copyright notice. Mention tmux.
bfc30790 1798
e51c8d91
I
17992014-04-17 Ian D <dunni@gnu.org> (tiny change)
1800
1801 * image-mode.el (image-mode-window-put): Also update the property of
1802 the "default window".
1803 * doc-view.el (doc-view-new-window-function): If no window
1804 exists, move to the last known page.
1805
c76a7a5c
SM
18062014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1809 here-documents (bug#17262).
1810
bf6b4923
EZ
18112014-04-16 Eli Zaretskii <eliz@gnu.org>
1812
c76a7a5c
SM
1813 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1814 Provide doc strings, as required by snarf-documentation.
bf6b4923 1815
290d7ac2 18162014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
1817
1818 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1819 arg of overlays-at. Use `invisible-p'.
1820
1821 * obsolete/lucid.el (extent-at):
1822 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1823 overlays-at.
1824 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1825
290d7ac2 18262014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
1827
1828 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1829 links. (Bug#17217).
1830
290d7ac2 18312014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
1832
1833 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1834 Use mapc to loop over a vector. (Bug#17257).
1835
290d7ac2 18362014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
1837
1838 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1839 patch, there are new problems with file names containing spaces.
1840 Get rid of backticks. (Bug#17238)
1841
290d7ac2 18422014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
1843
1844 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1845 possible bug.
1846
290d7ac2 18472014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
1848
1849 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1850 (blink-cursor-mode): Mention customization variables and the
1851 effect of 'blink-cursor-blinks'.
1852
290d7ac2 18532014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
1854
1855 * simple.el (undo): Prevent insertion of identity mapping into
1856 undo-equiv-table so as undo-only does not inf loop in the presence
1857 of consecutive nils in undo list.
1858
290d7ac2 18592014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
1860
1861 * faces.el (make-face): Deprecate optional argument as it is no
1862 longer needed/used since the conditional X resources handling
1863 has been pushed down to make-face-x-resource-internal itself.
1864 (make-empty-face): Don't pass optional argument to make-face.
1865
5f6b4154
KF
18662014-04-16 Karl Fogel <kfogel@red-bean.com>
1867
1868 * savehist.el (savehist-save): Remove workaround for a read-passwd
1869 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1870 noticing that the shim was still present.
1871
005551fe
SM
18722014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1875
b92583c4
JB
18762014-04-14 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * faces.el (face-set-after-frame-default): Remove unused local variable.
1879
6c2453e0
SM
18802014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1881
f7993853
SM
1882 * progmodes/grep.el: Use lexical-binding.
1883 (grep-expand-template): Pass explicit lexical env to `eval'.
1884 (zrgrep): Let-bind grep-find-template explicitly.
1885
6c2453e0
SM
1886 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1887 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1888
ac387dd1
EZ
18892014-04-12 Eli Zaretskii <eliz@gnu.org>
1890
1891 * international/characters.el <standard-case-table>: Add entries
1892 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 1893 Set category of Coptic characters be 'g' (Greek).
ac387dd1 1894
2e611da6
LL
18952014-04-12 Leo Liu <sdl.web@gmail.com>
1896
e0af4095
GM
1897 * progmodes/octave.el (completion-table-with-cache):
1898 Define if not available.
1899 (octave-goto-function-definition, octave-sync-function-file-names)
1900 (octave-find-definition-default-filename):
1901 Backquote upattern for compatibility.
2e611da6 1902
e0af4095 19032014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
1904
1905 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1906 name twice due to backticks. (Bug#17238)
1907
e0af4095 19082014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
1909
1910 * term/w32-win.el (x-win-suspend-error):
1911 * term/x-win.el (x-win-suspend-error): Sync docs.
1912
7f0f4c25
MD
19132014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1914
f7993853
SM
1915 * faces.el (make-face): Remove deprecated optional argument.
1916 The conditional application of X resources is handled directly by
7f0f4c25
MD
1917 make-face-x-resource-internal since Emacs 24.4.
1918 (make-empty-face): Don't pass optional argument to make-face.
1919
e088b01d
GM
19202014-04-11 Glenn Morris <rgm@gnu.org>
1921
1922 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1923
536aa466 19242014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
1925
1926 Ediff's overlay priorities cause more trouble than they solve.
1927 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1928 (ediff-highest-priority): Remove function (bug#17234).
1929 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1930 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1931 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1932 overlay priorities.
1933
536aa466 19342014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
1935
1936 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1937 entry; use symbol boundaries to avoid mis-matches.
1938
536aa466 19392014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
1940
1941 * net/tramp.el (tramp-file-name-handler)
1942 (tramp-completion-file-name-handler): Avoid recursive loading.
1943
1944 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1945 Quote result also locally.
1946
0d6a1375
SM
19472014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1948
c99ce7d8
SM
1949 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1950 Remove left-over code.
1951
0d6a1375
SM
1952 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1953 Reuse the previous comment's indentation unconditionally if it's on its
1954 own line.
1955
3f63a9f7
DC
19562014-04-09 Daniel Colascione <dancol@dancol.org>
1957
1958 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1959 `no-syntax-crossing' arguments. Forward to `up-list'.
1960 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1961 Implement logic for escaping from strings. Use narrowing to deal
1962 with corner cases.
1963
0b816f15
LL
19642014-04-09 Leo Liu <sdl.web@gmail.com>
1965
1966 * net/rcirc.el (rcirc-connection-info): New variable.
1967 (rcirc-connect): Use it to store connection info.
1968 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1969 for killed process.
1970 (rcirc-cmd-reconnect): New command. (Bug#17045)
1971 (rcirc-mode, set-rcirc-encode-coding-system)
1972 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1973
22683580
DC
19742014-04-09 Daniel Colascione <dancol@dancol.org>
1975
1976 * emacs-lisp/cl-indent.el: Add comment claiming
1977 facility is also good for elisp.
1978 (lisp-indent-find-method): New function.
1979 (common-lisp-indent-function): Recognize cl-loop.
1980 (common-lisp-indent-function-1): Recognize cl constructs; use
1981 `lisp-indent-find-method' instead of `get' directly.
1982 (if): Use else-body style for elisp.
1983
0122b24d
DG
19842014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1985
1986 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1987 Module methods. (Bug#17216)
1988
559836fb 19892014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
1990
1991 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1992 (describe-bindings-internal): Mark obsolete.
1993
6bc76cee
SM
19942014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1997 buffer-file-name, and buffer-file-truename any more.
1998
dc0b0454
LL
19992014-04-08 Leo Liu <sdl.web@gmail.com>
2000
2001 Use lexical-binding and require cl-lib.
2002 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2003 (rcirc-handler-generic, rcirc-fill-paragraph)
2004 (rcirc-format-response-string, rcirc-target-buffer)
2005 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2006 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2007 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2008 (rcirc-markup-timestamp, rcirc-markup-attributes)
2009 (rcirc-markup-my-nick, rcirc-markup-urls)
2010 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2011 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2012 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2013 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2014 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2015 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2016 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2017 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2018 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2019 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2020 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2021 use cl-lib.
2022
190f899a
JT
20232014-04-07 João Távora <joaotavora@gmail.com>
2024
6f287c89
GM
2025 * elec-pair.el (electric-pair--syntax-ppss):
2026 When inside comments parse from comment beginning.
190f899a
JT
2027 (electric-pair--balance-info): Fix typo in comment.
2028 (electric-pair--in-unterminated-string-p): Delete.
2029 (electric-pair--unbalanced-strings-p): New function.
2030 (electric-pair-string-bound-function): New var.
2031 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2032 according to `electric-pair--in-unterminated-string-p'
2033
6f287c89
GM
2034 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2035 Inhibit quote pairing if point-max is inside an unterminated string.
2036 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
2037 (electric-pair--in-unterminated-string-p): New function.
2038
a9c921e6
GM
20392014-04-07 Glenn Morris <rgm@gnu.org>
2040
2041 * shell.el (shell-directory-tracker):
2042 Go back to just ignoring failures. (Bug#17159)
2043
6f287c89 20442014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
2045
2046 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2047 backspace. (bug#16981)
2048 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2049 (electric-pair-backward-delete-char-untabify): Delete.
2050 (electric-pair-mode-map): Bind backspace to a menu item filtering
2051 a new `electric-pair-delete-pair' command.
2052 (electric-pair-delete-pair): New command.
2053
6f287c89
GM
2054 * progmodes/python.el (python-electric-pair-string-delimiter):
2055 Fix triple-quoting electricity. (Bug#17192)
89f20f76 2056
6f287c89
GM
2057 * elec-pair.el (electric-pair-post-self-insert-function):
2058 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 2059 `electric-pair-pairs' were used. syntax to
7aecc2f6 2060 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 2061
6f287c89 20622014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
2063
2064 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2065 "<F>". (Bug#17199)
2066
6f287c89 20672014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
2068
2069 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2070 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2071
6f287c89 20722014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
2073
2074 * help.el (view-lossage): Doc tweak.
2075
6f287c89 20762014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
2077
2078 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2079 only when inhibit-x-resources is nil, and do that earlier in the
2080 function. Doc fix. (Bug#16694)
fdafd487
MD
2081 (face-spec-choose): Accept additional optional argument, whose
2082 value is returned if no matching attributes are found.
2083 (face-spec-recalc): Use the new optional argument when calling
2084 face-spec-choose. (Bug#16378)
f5e4494c
MD
2085 (make-face-x-resource-internal): Do nothing when
2086 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 2087 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
2088 (face-set-after-frame-default): Don't call
2089 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 2090
6f287c89 20912014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 2092
0beb7fb7
SM
2093 * doc-view.el (doc-view-bookmark-jump):
2094 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
2095 buffer is shown in a window. (bug#16090)
2096
6f287c89 20972014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
2098
2099 * international/characters.el (mirroring): Fix last change:
2100 instead of loading uni-mirrored.el explicitly, do that implicitly
2101 by creating the 'mirroring' uniprop table. This avoids announcing
2102 the loading of uni-mirrored.el.
2103
6f287c89 21042014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
2105
2106 * files.el (buffer-stale--default-function)
2107 (buffer-stale-function, revert-buffer--default):
2108 * autorevert.el (auto-revert-buffers): Doc tweaks.
2109
6f287c89 21102014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
2111
2112 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2113
6f287c89 21142014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
2115
2116 * files.el (make-backup-file-name-function)
2117 (make-backup-file-name, make-backup-file-name--default-function)
2118 (make-backup-file-name-1, find-backup-file-name)
2119 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2120 (buffer-stale--default-function, buffer-stale-function)
2121 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2122 (revert-buffer, revert-buffer--default)
2123 (revert-buffer-insert-file-contents--default-function):
2124 Doc fixes related to defaults no longer being nil.
2125 (make-backup-file-name-function): Bump :version.
2126 Restore nil as a valid but deprecated custom type.
2127
6f287c89 21282014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 2129
6f287c89
GM
2130 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2131 Handle $' used as a variable (bug#17174).
66f50b12
SM
2132
2133 * progmodes/perl-mode.el (perl-indent-new-calculate):
2134 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
2135 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2136 modifiers introducing expressions (bug#17116).
66f50b12 2137
7b656e4a
SM
21382014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2141
722237d5
LL
21422014-04-05 Leo Liu <sdl.web@gmail.com>
2143
7b656e4a
SM
2144 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2145 Add define-compilation-mode.
722237d5 2146
5cb0cc90
JT
21472014-04-04 João Távora <joaotavora@gmail.com>
2148
9b017563
JB
2149 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2150 parse from comment beginning.
5cb0cc90
JT
2151 (electric-pair--balance-info): Fix typo in comment.
2152 (electric-pair--in-unterminated-string-p): Delete.
2153 (electric-pair--unbalanced-strings-p): New function.
2154 (electric-pair-string-bound-function): New var.
2155 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 2156 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 2157
6b31e6b1
SM
21582014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2161 Move declaration before first use.
2162 (reftex-move-to-next-arg): Silence compiler warning.
2163
0de7d982
JK
21642014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2165
6b31e6b1
SM
2166 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2167 Use `window-total-width' instead of `window-width'.
0de7d982 2168
01ae0fbf
DC
21692014-04-03 Daniel Colascione <dancol@dancol.org>
2170
2171 * subr.el (set-transient-map): Remove rms's workaround entirely;
2172 use new `suspicious-object' subr to mark our lambda for closer
2173 scrutiny during gc.
2174
4fd68bf6
RS
21752014-04-02 Richard Stallman <rms@gnu.org>
2176
2177 * subr.el (set-transient-map): Comment out previous change.
2178
c7510f6e
GM
21792014-04-02 Glenn Morris <rgm@gnu.org>
2180
0b908bf2
GM
2181 * menu-bar.el (menu-bar-file-menu):
2182 * vc/ediff.el (ediff-current-file):
2183 Update for revert-buffer-function no longer being nil by default.
2184
c7510f6e
GM
2185 * simple.el (command-execute): Respect nil disabled-command-function.
2186
09aba815 21872014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
2188
2189 * simple.el (command-execute): Do not execute the command when it
2190 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2191
09aba815 21922014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
2193
2194 * dired-aux.el (dired-compress-file): Don't use string-match-p
2195 because its match data is used afterwards.
2196
09aba815 21972014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
2198
2199 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2200 0 like nil.
2201
200c532b
JT
22022014-04-02 João Távora <joaotavora@gmail.com>
2203
6b31e6b1
SM
2204 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2205 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
2206 (electric-pair--looking-at-unterminated-string-p):
2207 Delete.
2208 (electric-pair--in-unterminated-string-p): New function.
2209
2395f2b9
DC
22102014-04-01 Daniel Colascione <dancol@dancol.org>
2211
2212 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2213 when trying to complete the prompt.
2214
294b2b09
LL
22152014-03-31 Leo Liu <sdl.web@gmail.com>
2216
6b31e6b1
SM
2217 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2218 Refactor out eldoc-documentation-function-default.
294b2b09
LL
2219 (eldoc-documentation-function-default): New function.
2220 (eldoc-documentation-function): Change value.
2221
4f3a895b
GM
22222014-03-31 Glenn Morris <rgm@gnu.org>
2223
2224 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2225
1db854cc
GM
2226 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2227 (vhdl-compose-components-package, vhdl-compose-configuration):
2228 Abbreviate default-directory (missing from some previous upstream sync).
2229
3c2d4776
RZ
22302014-03-31 Reto Zimmermann <reto@gnu.org>
2231
2232 Sync with upstream vhdl mode v3.35.2.
2233 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2234 (top-level): No longer require assoc.
2235 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2236 New functions. Use throughout to replace aget etc.
2237 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2238 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2239 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2240 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2241 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2242 except `vhdl-compiler'.
2243 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2244 when appropriate.
2245
5c30ab7a
GM
22462014-03-31 Glenn Morris <rgm@gnu.org>
2247
2248 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2249 Revert 2014-03-26 merge goof; go back to using defalias.
2250
1861d5a7
DC
22512014-03-30 Daniel Colascione <dancol@dancol.org>
2252
6b31e6b1
SM
2253 * comint.el (comint-send-input):
2254 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
2255 (Bug#17139).
2256
2257 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2258 on keyboard-quit.
2259
41116c5a
GM
22602014-03-29 Glenn Morris <rgm@gnu.org>
2261
2262 * textmodes/reftex.el: Manage most autoloads automatically.
2263 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2264 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2265 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2266 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2267 * textmodes/reftex-toc.el: Set generated-autoload-file,
2268 and add autoload cookies for reftex.el.
2269 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2270
c3153003
GM
22712014-03-28 Glenn Morris <rgm@gnu.org>
2272
7b207d6d
GM
2273 * cus-start.el (report-emacs-bug-address): Set custom properties.
2274 * mail/emacsbug.el (report-emacs-bug-address):
2275 Variable is now defined in emacs.c.
2276
c3153003
GM
2277 * mail/emacsbug.el (report-emacs-bug):
2278 Include system-configuration-features.
2279
687e0e19
MN
22802014-03-28 Michal Nazarewicz <mina86@mina86.com>
2281
2282 * simple.el (cycle-spacing): Never delete spaces on first run by
2283 default, but do so in a new 'fast mode and if there are already
4f3a895b 2284 N spaces (the previous behavior).
687e0e19
MN
2285 Compare N with its value in previous invocation so that changing
2286 prefix argument restarts `cycle-spacing' sequence.
687e0e19 2287 The idea is that with this change, binding M-SPC to
4f3a895b 2288 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
2289 the binding so long as users do not type M-SPC twice in a raw with
2290 the same prefix argument or lack thereof.
2291
95de732d
GM
22922014-03-28 Glenn Morris <rgm@gnu.org>
2293
2294 * faces.el (term-file-aliases): New variable.
2295 (tty-run-terminal-initialization): Respect term-file-aliases.
2296 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2297 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2298 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2299
6730259f
GM
23002014-03-27 Glenn Morris <rgm@gnu.org>
2301
862a4e4a
GM
2302 * startup.el (inhibit-startup-hooks): Doc tweak.
2303 (normal-top-level): Simplify running of hooks.
2304 For window-setup-hook, respect inhibit-startup-hooks.
2305 (command-line-1): Don't set window-setup-hook to nil.
2306
6730259f
GM
2307 Allow selective autoloading from obsolete/ directory.
2308 * Makefile.in (obsolete-autoloads): New rule.
2309 (autoloads): Run obsolete-autoloads.
2310 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2311 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2312
42ebc34e
DG
23132014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2314
929c0500
SM
2315 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2316 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 2317
42ebc34e
DG
2318 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2319 Don't propertize `?' or `!' as symbol constituent when after
2320 colon. (Bug#17097)
2321
b1c870c9
JB
23222014-03-27 Juanma Barranquero <lekktu@gmail.com>
2323
857ba6ec
JB
2324 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2325 which is no longer needed and causes trouble in GTK builds (bug#17046).
2326
b1c870c9
JB
2327 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2328 Use url-insert-file-contents; package-handle-response no longer exists.
2329
8ab9876a
DC
23302014-03-26 Daniel Colascione <dancol@dancol.org>
2331
2332 * simple.el (process-menu-mode-map): New variable.
2333 (process-menu-delete-process): New command.
2334
196716cf
JB
23352014-03-26 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * emacs-lisp/package.el: Fix bug#16733 (again).
2338 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2339 (url-http-target-url): Remove unused declarations.
2340 (package-handle-response): Remove.
2341 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2342 (package--download-one-archive): Use current-buffer instead of
2343 dynamic binding of `buffer'.
2344 (describe-package-1): Do not decode readme-string.
2345
16adf2e6 23462014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
2347
2348 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2349
2350 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2351 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2352 `remote-file-name-inhibit-cache' to nil in the second pass.
2353 (tramp-find-executable): Do not call "which" on SunOS.
2354 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
2355 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2356 check whether source directory has set the sticky bit.
1f73d6c6 2357
16adf2e6 23582014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
2359
2360 * simple.el (primitive-undo): Only process marker adjustments
2361 validated against their corresponding (TEXT . POS). Issue warning
2362 for lone marker adjustments in undo history. (Bug#16818)
2363 (undo-make-selective-list): Add marker adjustments to selective
2364 undo list based on whether their corresponding (TEXT . POS) is in
2365 the region. Remove variable adjusted-markers, which was unused
2366 and only non nil during undo-make-selective-list.
2367 (undo-elt-in-region): Return nil when passed a marker adjustment
2368 and explain in function doc.
2369
16adf2e6 23702014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
2371
2372 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2373
16adf2e6 23742014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
2375
2376 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2377 Match special global variables without curlies, too.
2378 (ruby-font-lock-keywords): Simplify the matcher for special global
2379 variables. Don't require a non-word character after the variable.
2380 (Bug#17057)
2381
16adf2e6 23822014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
2383
2384 * simple.el (redisplay-highlight-region-function): Increase priority of
2385 overlay to make sure boundaries are visible (bug#15899).
2386
16adf2e6 23872014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 2388
16adf2e6
JB
2389 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2390 (frameset-restore): Compare display strings with equal.
ee79b33f 2391
3ea2c781
JB
2392 * frame.el (make-frame): Don't quote display name in error message,
2393 it is already a string.
2394
16adf2e6 23952014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
2396
2397 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2398 the password.
2399
16adf2e6 24002014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 2401
16adf2e6
JB
2402 * emacs-lisp/package.el (package--add-to-archive-contents):
2403 Include already installed and built-in packages in
2404 `package-archive-contents'.
2405 (package-install): Don't include already installed packages in the
2406 options during interactive invocation. (Bug#16762)
2407 (package-show-package-list): If the buffer is already displayed in
2408 another window, switch to that window.
2409
fb3deac8
RZ
24102014-03-26 Reto Zimmermann <reto@gnu.org>
2411
2412 Sync with upstream vhdl mode v3.35.1.
2413 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2414 (vhdl-compiler-alist): Doc fix.
2415 (vhdl-goto-line): Remove.
2416 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2417 (vhdl-mode) <paragraph-start>: Fix value.
2418 (vhdl-fix-statement-region): Not `for' in wait-statement.
2419 (vhdl-beautify-region): Also (un)tabify.
2420 (vhdl-get-visible-signals):
2421 Scan declarative part of generate statements.
2422 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
2423 (vhdl-expand-abbrev, vhdl-expand-paren):
2424 Revert to using fset again rather than defalias.
fb3deac8
RZ
2425 (vhdl-scan-directory-contents): Tweak.
2426 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2427 (vhdl-compose-components-package):
2428 Replace vhdl-goto-line with forward-line.
2429 (top-level): Tweak speedbar frame selection.
2430 (vhdl-generate-makefile-1): Support for compilers with no
2431 unit-to-file name mapping (create directory with dummy files).
2432
511df08c
WS
24332014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2434
2435 Sync with upstream verilog-mode revision 702457d.
2436 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2437 (create-lockfiles): Declare.
2438 (verilog-read-decls): Fix module header imports, bug709.
2439 Reported by Victor Lau.
2440 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2441 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 2442 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 2443
11ee65af
GM
24442014-03-26 Glenn Morris <rgm@gnu.org>
2445
b4aca021
GM
2446 * obsolete/gulp.el: Move here from emacs-lisp/.
2447
11ee65af
GM
2448 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2449 Remove fallback aliases, since they are always defined now.
2450
1edb4a2e
DC
24512014-03-24 Daniel Colascione <dancol@dancol.org>
2452
2453 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2454 instead of cl-loop search function.
2455
7a31038f
G
24562014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2457
2458 * calendar/parse-time.el (parse-time-iso8601-regexp)
2459 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2460 it more generally.
2461
24622014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2463
2464 * net/dns.el (network-interface-list): Define for XEmacs.
2465
24662014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2467
2468 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2469 the network interfaces changed.
2470 (dns-query): Use it to flush the data.
2471
835af719
JB
24722014-03-23 Juanma Barranquero <lekktu@gmail.com>
2473
2474 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2475
6ddc4422
DC
24762014-03-23 Daniel Colascione <dancol@dancol.org>
2477
2478 Change subword-mode to use `find-word-boundary-function-table' and
2479 replace `capitalized-words-mode'. Also, convert to lexical
2480 binding.
2481
2482 * progmodes/cap-words.el: Delete now-obsolete file.
2483 * progmodes/subword.el: Reimplement using
2484 `find-word-boundary-function-table'.
2485 (subword-mode-map): Hollow out.
2486 (capitalized-words-mode): Define as obsolete alias for
2487 `subword-mode'.
9b017563 2488 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 2489 implementation; call `subword-setup-buffer'.
9b017563 2490 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
2491 unused variable.
2492 (subword-find-word-boundary-function-table): New constant.
2493 (subword-empty-char-table): New constant.
2494 (subword-setup-buffer): New function.
2495 (subword-find-word-boundary): New function.
2496
c6b0fbe7
DC
24972014-03-23 Daniel Colascione <dancol@dancol.org>
2498
2499 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2500 list to look for keyword arguments instead of `memq', fixing
2501 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2502 Please make bootstrap.
2503
5076d275
GM
25042014-03-22 Glenn Morris <rgm@gnu.org>
2505
5dbc3244
GM
2506 * dired.el (dired-read-regexp): Make obsolete.
2507 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2508 (dired-flag-files-regexp):
2509 * dired-aux.el (dired-mark-read-regexp):
2510 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2511
00156f95
GM
2512 * startup.el (fancy-startup-text):
2513 * help.el (describe-gnu-project): Visit online info about GNU project.
2514
f9c81e7b
GM
2515 * help-fns.el (help-fns--interactive-only): New function.
2516 (help-fns-describe-function-functions): Add the above function.
2517 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2518 (next-line, previous-line): Remove hand-written interactive-only
2519 information from doc strings, it is auto-generated now.
2520 * bookmark.el (bookmark-write):
2521 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2522 (epa-mail-import-keys): Mark interactive-only,
2523 and remove hand-written interactive-only information from doc strings.
2524 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2525 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2526 * files.el (not-modified):
2527 * simple.el (mark-whole-buffer): Mark interactive-only.
2528
5076d275
GM
2529 * emacs-lisp/byte-run.el (defun-declarations-alist):
2530 Add interactive-only. Doc tweak.
2531 (macro-declarations-alist): Doc tweak.
2532 * subr.el (declare): Doc tweak (add xref to manual).
2533 * comint.el (comint-run):
2534 * files.el (insert-file-literally, insert-file):
2535 * replace.el (replace-string, replace-regexp):
2536 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2537 (delete-forward-char, goto-line, insert-buffer, next-line)
2538 (previous-line): Set interactive-only via declare.
2539
1197f2e6
DG
25402014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2541
2542 * emacs-lisp/package.el (package-desc): Use the contents of the
2543 quoted form, not its cdr. (Bug#16873)
2544
aac06179
JB
25452014-03-22 Juanma Barranquero <lekktu@gmail.com>
2546
2547 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2548 benefit of doc.c; change parameter profile to match the X function.
2549
3e7bc044
LL
25502014-03-22 Leo Liu <sdl.web@gmail.com>
2551
2552 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2553 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2554
59271b3e
RS
25552014-03-21 Richard Stallman <rms@gnu.org>
2556
8266cd88
RS
2557 * battery.el (battery-linux-sysfs): Search for each field
2558 from the beginning of the buffer.
2559
16ec0742
RS
2560 * subr.el (set-transient-map): Clear out function and value
2561 of the temporary symbol when we're done with it.
2562
59271b3e
RS
2563 * mail/rmailsum.el (rmail-summary-delete-forward):
2564 Optimize case of reaching end and handling count.
2565 (rmail-summary-mark-deleted): Optimize when N is current msg.
2566 Don't create new summary line.
2567 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2568 (rmail-summary-undelete-many): Rewrite for speed.
2569 (rmail-summary-msg-number): New function.
2570
2571 * mail/rmail.el (rmail-delete-message): Update summary.
2572 (rmail-undelete-previous-message): Handle repeat count arg.
2573 (rmail-delete-backward, rmail-delete-forward): Likewise.
2574
0d8ac93e
DC
25752014-03-21 Daniel Colascione <dancol@dancol.org>
2576
2577 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2578 information in bug reports.
2579
1e92a8a3
MA
25802014-03-21 Michael Albinus <michael.albinus@gmx.de>
2581
2582 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2583 and `tramp-copy-env'.
2584
2585 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2586 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2587
78540c42
GM
25882014-03-21 Glenn Morris <rgm@gnu.org>
2589
2590 * electric.el (electric-indent-post-self-insert-function): Add doc.
2591
1fc8f655
DG
25922014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2593
dcf78667
DG
2594 * emacs-lisp/package.el (package-compute-transaction):
2595 Use `version-list-<=' to compare the requirement version against
2596 the version of package already to be installed. Update the error
2597 message. (Bug#16826)
2598
1fc8f655
DG
2599 * progmodes/ruby-mode.el (ruby-smie-rules):
2600 Add indentation rule for ` @ '. (Bug#17050)
2601
dada060d
JB
26022014-03-21 Juanma Barranquero <lekktu@gmail.com>
2603
2604 * align.el (align-regexp): Remove superfluous backslash.
2605
2606 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2607 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2608 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2609 Fix docstring typos.
2610 (ffap-next): Use C-u in docstring.
2611 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2612 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2613 Remove superfluous backslashes.
2614 (ffap-string-at-point): Reflow docstring.
2615
2616 * server.el (server-host): Reflow docstring.
2617 (server-unload-function): Fix docstring typo.
2618 (server-eval-at): Remove superfluous backslash.
2619
2620 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2621 (skeleton-insert): Doc fix.
2622 (skeleton-insert): Reflow docstring.
2623
2624 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2625 (tty-color-approximate, tty-color-by-index, tty-color-values)
2626 (tty-color-desc): Remove superfluous backslashes.
2627
f428101f
GM
26282014-03-21 Glenn Morris <rgm@gnu.org>
2629
26e91130
GM
2630 * cus-start.el (history-length): Bump :version.
2631
aa3a7b51
GM
2632 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2633 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2634 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2635 Don't set `make-backup-files'.
2636
f428101f
GM
2637 * info.el (info--prettify-description): New function,
2638 to give info-finder descriptions consistent case, punctuation.
2639 (Info-finder-find-node): Use it. Sort packages.
2640 Refer to "description" rather than "commentary".
2641
6ce1b56e
JB
26422014-03-21 Juanma Barranquero <lekktu@gmail.com>
2643
2644 * frameset.el (frameset--print-register): New function.
2645 (frameset-to-register): Use it.
2646
b730af26
JB
26472014-03-20 Juanma Barranquero <lekktu@gmail.com>
2648
45393801
JB
2649 * progmodes/hideif.el (hif-string-to-number): New function.
2650 (hif-tokenize): Use it to understand non-decimal floats.
2651
814e26fa
JB
2652 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2653
b730af26
JB
2654 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2655
6f287c89
GM
26562014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * electric.el (electric-newline-and-maybe-indent): New command.
2659 Bind it globally to C-j.
2660 (electric-indent-mode): Don't mess with the global map any more.
2661 Don't drop the post-self-insert-hook is some buffer is still using it
2662 (bug#16770).
2663
2664 * bindings.el (global-map): Remove C-j binding.
2665
2666 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2667 the docstring of functions advised before dumping (bug#16993).
2668
f15ec1ba 26692014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
2670
2671 * ps-print.el (ps-generate-postscript-with-faces):
2672 Explicitly deactivate the mark (bug#16866).
2673 * simple.el (deactivate-mark): Update region highlight.
2674
f88bdc45
JB
26752014-03-19 Juanma Barranquero <lekktu@gmail.com>
2676
2677 * emacs-lisp/package.el (describe-package-1):
2678 Decode commentary (bug#16733).
2679
6b88e570
JB
26802014-03-18 Juanma Barranquero <lekktu@gmail.com>
2681
2682 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2683 modification of the value argument of :set (bug#16755).
2684
ac9b4703
SM
26852014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * simple.el (newline-and-indent): Do autofill (bug#17031).
2688
2b7858ec
DG
26892014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2690
2691 * newcomment.el (comment-normalize-vars): Only add escaping check
2692 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2693 (comment-beginning): Use `narrow-to-region' instead of moving back
2694 one character.
2695 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2696 (comment-start-skip): Update the docstring.
2697
11eff3ae
RS
26982014-03-18 Richard Stallman <rms@gnu.org>
2699
2700 * dired.el (dired-display-file): Force use of other window.
2701
07f44fdb
JB
27022014-03-18 Daniel Colascione <dancol@dancol.org>
2703
2704 * startup.el (tty-handle-args): Remove debug message from 2007.
2705
27062014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
2707
2708 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2709 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2710 (advice--make-1, advice-add, advice-remove):
2711 Remove braindead :advice-pending hack.
2712
61debe4a
GM
27132014-03-17 Glenn Morris <rgm@gnu.org>
2714
2715 * calendar/calendar.el (calendar-generate-month): Apply weekend
2716 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2717
8273986b
MA
27182014-03-17 Michael Albinus <michael.albinus@gmx.de>
2719
2720 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2721 (tramp-call-process): Trace also DESTINATION.
2722
2723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2724 Quote file names when they are local. Remove superfluous trace.
2725
4f8aeb84
DG
27262014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2727
218feefc
DG
2728 * newcomment.el (comment-beginning): If `comment-start-skip'
2729 doesn't match, move back one char and try again. (Bug#16971)
2730
6c187ef5
SM
2731 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2732 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
2733 Set `comment-start-skip' to a simpler value that doesn't try to
2734 check if the semicolon is escaped (this is handled by
2735 `syntax-ppss' now). (Bug#16971)
2736
2737 * progmodes/scheme.el (scheme-mode-variables): Same.
2738
b92631bf
MR
27392014-03-16 Martin Rudalics <rudalics@gmx.at>
2740
2741 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2742 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2743 current (Bug#16816, Bug#17007).
2744 (with-current-buffer-window): New macro doing the same as
2745 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2746 * help.el (help-print-return-message): Warn in doc-string to not
2747 use this in `with-help-window'.
2748 (describe-bindings-internal): Call `describe-buffer-bindings'
2749 from within help buffer. See Juanma's scenario in (Bug#16816).
2750 (with-help-window): Update doc-string.
2751 * dired.el (dired-mark-pop-up):
2752 * files.el (save-buffers-kill-emacs):
2753 * register.el (register-preview): Use `with-current-buffer-window'
2754 instead of `with-temp-buffer-window'.
2755
57348c4d
JB
27562014-03-16 Juanma Barranquero <lekktu@gmail.com>
2757
2758 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2759 Implement inserting into current buffer, documented in their docstrings.
2760 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2761 (rst-section-tree-point, rst-forward-section, rst-indent)
2762 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2763 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2764 (rst-font-lock-handle-adornment-pre-match-form)
2765 (rst-repeat-last-character): Reflow docstrings.
2766 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2767 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2768 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2769 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2770 Fix docstring typos.
2771 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2772 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2773 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2774
fd16b061
JB
27752014-03-15 Juanma Barranquero <lekktu@gmail.com>
2776
a2403e3d
JB
2777 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2778 for compatibility with other ports.
2779 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2780 from the -xrm command line argument, but in the Nextstep port its value
2781 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2782
fd16b061
JB
2783 * progmodes/python.el (defconst, python-syntax-count-quotes)
2784 (python-indent-region, python-indent-shift-right)
2785 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2786 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2787 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2788 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2789 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2790 (python-shell-buffer-substring, python-shell-send-buffer)
2791 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2792 (python-completion-complete-at-point, python-fill-docstring-style)
2793 (python-eldoc-function, python-imenu-format-item-label)
2794 (python-imenu-format-parent-item-label)
2795 (python-imenu-format-parent-item-jump-label)
2796 (python-imenu--build-tree, python-imenu-create-index)
2797 (python-imenu-create-flat-index): Fix docstring typos.
2798 (python-indent-context, python-shell-prompt-regexp, run-python):
2799 Remove superfluous backslashes.
2800 (python-indent-line, python-nav-beginning-of-defun)
2801 (python-shell-get-buffer, python-shell-get-process)
2802 (python-info-current-defun, python-info-current-line-comment-p)
2803 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2804 (python-indent-post-self-insert-function, python-shell-send-file)
2805 (python-shell-completion-get-completions)
2806 (python-shell-completion-complete-or-indent)
2807 (python-eldoc--get-doc-at-point): Reflow docstrings.
2808
e94807f0
GM
28092014-03-14 Glenn Morris <rgm@gnu.org>
2810
88103345
GM
2811 * emacs-lisp/package.el (package-menu-mode-map):
2812 Replace use of obsolete function alias. Tweak menu item text.
2813
f2dd4ba8
GM
2814 * info.el (Info-finder-find-node):
2815 Ignore the `emacs' metapackage. (Bug#10813)
2816
ac0f82ef
GM
2817 * finder.el (finder-list-matches): Include unversioned packages
2818 in the result of a keyword search.
2819
e94807f0
GM
2820 * finder.el (finder--builtins-descriptions): New constant.
2821 (finder-compile-keywords): Use finder--builtins-descriptions.
2822
50d434d1
DG
28232014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2824
2825 * simple.el (blink-matching-paren): Describe the new value,
2826 `jump', enabling the old behavior.
2827 (blink-matching-open): Use that value. (Bug#17008)
2828
56759cf1
GM
28292014-03-14 Glenn Morris <rgm@gnu.org>
2830
459d74ef
GM
2831 * finder.el (finder-no-scan-regexp): Add leim-list.
2832 (finder-compile-keywords):
2833 Don't skip files with same basename. (Bug#14010)
2834 * Makefile.in (setwins_finder): New, excluding leim.
2835 (finder-data): Use setwins_finder.
2836
56759cf1
GM
2837 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2838 (help-function-arglist, help-make-usage): Move from here...
2839 * help.el (help-split-fundoc, help-add-fundoc-usage)
2840 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2841 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2842
7644aa97
JB
28432014-03-14 Juanma Barranquero <lekktu@gmail.com>
2844
2845 * net/socks.el (socks, socks-override-functions)
fd16b061 2846 (socks-find-services-entry):
7644aa97
JB
2847 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2848 (hif-find-ifdef-block):
2849 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2850
2851 * net/tls.el (tls-program): Reflow docstring.
2852
2853 * progmodes/pascal.el (pascal-mode-abbrev-table)
2854 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2855 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2856 (pascal-outline-mode): Fix docstring typos.
2857 (pascal-mode): Let define-derived-mode document mode hook.
2858 (pascal-uncomment-area): Reflow.
2859 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2860
2861 * progmodes/opascal.el (opascal-compound-block-indent)
2862 (opascal-case-label-indent): Fix docstring typos.
2863 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2864
1f44df94
DG
28652014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2866
07f44fdb
JB
2867 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2868 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 2869
0d71dfb3
TW
28702014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2871
2872 * emacs-lisp/package.el (package--prepare-dependencies):
2873 Accept requirements without explicit version (bug#14941).
2874
d27a1a7b
JB
28752014-03-12 Juanma Barranquero <lekktu@gmail.com>
2876
a5765a3d
JB
2877 * register.el (register-separator, copy-to-register): Doc fixes.
2878 (register-preview-default): Remove unnecessary call to concat.
2879
d27a1a7b
JB
2880 * frameset.el (frameset-restore): When checking for a visible frame,
2881 use the action map instead of calling visible-frame-list.
2882
08dfa0b7
JB
28832014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2884
2885 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2886
8960529e
MR
28872014-03-12 Martin Rudalics <rudalics@gmx.at>
2888
2889 * window.el (fit-frame-to-buffer): Get maximum width from
2890 display's width instead of height.
2891
8a51e8e4
GM
28922014-03-12 Glenn Morris <rgm@gnu.org>
2893
46456005
GM
2894 * desktop.el (desktop-restore-frames)
2895 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2896 (desktop-restore-reuses-frames): Doc tweaks.
2897
8a51e8e4
GM
2898 * electric.el (electric-indent-mode): Doc fix.
2899
5983b317
JB
29002014-03-12 Juanma Barranquero <lekktu@gmail.com>
2901
2902 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2903 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2904 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2905 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2906 (cvs-dired-use-hook): Fix docstring typos.
2907 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2908 Doc fixes.
2909
2910 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2911 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2912 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2913 (cvs-execute-single-dir): Fix docstring typos.
2914
2915 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2916 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2917
2918 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2919
2920 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2921 Fix docstring typos.
2922
13c00cf0
JB
29232014-03-12 Juanma Barranquero <lekktu@gmail.com>
2924
2925 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2926 called from jump-to-register after unloading the frameset package.
2927
536a17e3
SM
29282014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2929
2930 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2931 (bug#16975). Deactivate the mark before setting it to nil.
2932 (activate-mark): Do nothing if region is already active.
2933
baf8d0ac
JB
29342014-03-11 Juanma Barranquero <lekktu@gmail.com>
2935
2936 * frameset.el (frameset--target-display): Remove definition; declare.
2937 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2938
1ea22560
SM
29392014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2942 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2943 when the advice is pending.
2944 (advice-remove): Remove this marker when not needed any more.
2945
4538c058
JB
29462014-03-11 Juanma Barranquero <lekktu@gmail.com>
2947
2948 * frameset.el: Separate options for reusing frames and cleaning up.
2949 (frameset--reuse-list): Remove definition; declare.
2950 (frameset--action-map): Declare.
2951 (frameset--find-frame-if): Doc fix.
2952 (frameset--restore-frame): Cache frame action.
2953 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2954 how to clean up the frame list after restoring. Remove cleaning
2955 options from REUSE-FRAMES. Change all keyword values to symbols.
2956 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2957
2958 * desktop.el (desktop-restore-forces-onscreen)
2959 (desktop-restore-reuses-frames): Use non-keyword values.
2960 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2961
ba1a5c78
GM
29622014-03-10 Glenn Morris <rgm@gnu.org>
2963
776aa432
GM
2964 * files.el (find-file): Doc fix: update info node name.
2965
ba1a5c78
GM
2966 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2967 Doc fix: remove references to deleted info nodes.
2968
183d706e
MA
29692014-03-10 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2972 Do not add `nil' to the environment, when there's no remote `locale'.
2973 (tramp-find-inline-encoding): Check, that the remote host has
2974 installed perl, before sending scripts.
2975
6f0f96e7
LL
29762014-03-10 Leo Liu <sdl.web@gmail.com>
2977
536a17e3
SM
2978 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2979 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 2980
ca70fe78
SM
29812014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2984 (bug#14430).
2985
eb67db41
JL
29862014-03-09 Juri Linkov <juri@jurta.org>
2987
2988 * ansi-color.el (ansi-color-names-vector): Copy default colors
2989 from `xterm-standard-colors' that look well on the default white
2990 background (and also on the black background) to avoid illegible
8cf07e5a 2991 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
2992 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2993
e7db5447
JB
29942014-03-08 Juanma Barranquero <lekktu@gmail.com>
2995
2996 * frameset.el (frameset-restore): When no frame is visible, do not
2997 generate a list of frames, just make visible the selected one.
2998
f0a4c8d7
DG
29992014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3000
3001 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3002 it only contains the repository root. (Bug#16897)
3003
e50772e3
MA
30042014-03-07 Michael Albinus <michael.albinus@gmx.de>
3005
3006 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3007 only when `remote-file-name-inhibit-cache' is nil.
3008 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3009
cac0a1d6
MR
30102014-03-06 Martin Rudalics <rudalics@gmx.at>
3011
3012 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3013 Fix doc-strings.
3014 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3015 fit-frame-to-buffer variable. Fix doc-string.
3016 (fit-window-to-buffer): Set ONLY argument in call of
3017 fit-frame-to-buffer. Fix doc-string.
3018
fa965cbf
MA
30192014-03-06 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3022 (tramp-action-password): Clear password cache if needed.
3023 (tramp-read-passwd): Do not clear password cache.
3024
3025 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3026 cache unless it is the first password request.
3027
c94e6ee4
GM
30282014-03-06 Glenn Morris <rgm@gnu.org>
3029
03bc753e
GM
3030 * simple.el (newline): Doc tweak.
3031
c94e6ee4
GM
3032 * emacs-lisp/shadow.el (load-path-shadows-find):
3033 Ignore dir-locals. (Bug#12357)
3034
bd2d43dc
GM
30352014-03-05 Glenn Morris <rgm@gnu.org>
3036
3037 * files.el (interpreter-mode-alist):
3038 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3039
9284000e
JB
30402014-03-05 Juanma Barranquero <lekktu@gmail.com>
3041
3042 * frameset.el (frameset--initial-params): Filter out null entries.
3043
e1a2cb1c
MR
30442014-03-05 Martin Rudalics <rudalics@gmx.at>
3045
27821a89
JB
3046 * window.el (window-min-height, window-min-width):
3047 Rewrite doc-strings.
e1a2cb1c
MR
3048 (window-body-size): Add PIXELWISE argument to make it consistent
3049 with its callees.
3050
6bf67038
JB
30512014-03-05 Juanma Barranquero <lekktu@gmail.com>
3052
3053 * finder.el (finder-mode-map, finder-mode-syntax-table):
3054 Revert part of 2014-02-28 change.
3055
90f04e4c
LI
30562014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3057
3058 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3059 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
3060 (eww-textarea-map): [tab] doesn't work on tty.
3061 Reported by Mario Lang.
6952100d
LI
3062
3063 * net/shr.el (shr-map): Ditto.
90f04e4c 3064
3106d59b
GM
30652014-03-04 Glenn Morris <rgm@gnu.org>
3066
3067 * minibuffer.el (completion-hilit-commonality):
3068 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3069
f604dfdc
JB
30702014-03-04 Juanma Barranquero <lekktu@gmail.com>
3071
3072 * hilit-chg.el (hilit-chg-unload-function): New function.
3073 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3074 (hilit-chg-map-changes): Prefer cardinal number to digit.
3075 (hilit-chg-display-changes): Reflow docstring.
3076 (highlight-changes-rotate-faces): Remove superfluous backslash.
3077
5dc65319
MA
30782014-03-04 Michael Albinus <michael.albinus@gmx.de>
3079
3080 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3081 `tramp-send-command-and-check'.
3082
4242d21d
JB
30832014-03-04 Juanma Barranquero <lekktu@gmail.com>
3084
b01fa838
JB
3085 * hexl.el (hexl-address-region, hexl-ascii-region)
3086 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3087 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3088 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3089 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3090 (hexl-mode): Doc fix.
3091 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3092 (hexl-mode-ruler): Fix typos in docstrings.
3093
4242d21d
JB
3094 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3095 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3096 Remove superfluous backslashes.
3097 (strokes-last-stroke, strokes-global-map, strokes-mode):
3098 Reflow docstrings.
3099 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3100 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3101 (strokes-distance-squared, strokes-global-set-stroke)
3102 (strokes-global-set-stroke-string): Doc fixes.
3103 (strokes-help): Fix typos; reflow docstring.
3104
87132570
MR
31052014-03-04 Martin Rudalics <rudalics@gmx.at>
3106
3107 * window.el (window-in-direction): Fix doc-string.
3108
d82e752c
GM
31092014-03-04 Glenn Morris <rgm@gnu.org>
3110
3111 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3112 Explicit error if no grammar.
3113 (smie-config-save): Doc fix. Fix quote typo.
3114
62528af0
SM
31152014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3116
8d4901dc
SM
3117 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3118 electric-indent-mode-hook if we obey electric-indent-mode.
3119 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3120 decide whether we obey electric-indent-mode.
3121 (c-change-set-fl-decl-start, c-extend-after-change-region):
3122 Silence warnings.
3123 (c-electric-indent-mode-hook): Assume we do want to obey
3124 electric-indent-mode.
3125
3126 * electric.el (electric-indent-mode-has-been-called): Remove.
3127 (electric-indent-mode): Fix accordingly.
3128
092c12b2
SM
3129 * files.el (hack-local-variables): Mention file name in warning.
3130
62528af0
SM
3131 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3132
5b87d0d9
MN
31332014-03-04 Michal Nazarewicz <mina86@mina86.com>
3134
20f39add 3135 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
3136 * simple.el (delete-forward-char): Mark as interactive-only.
3137
542a3840
JB
31382014-03-03 Juanma Barranquero <lekktu@gmail.com>
3139
f2d2402e
GM
3140 * icomplete.el (icomplete-completions):
3141 Follow-up to 2014-03-01 change.
d11320e5
JB
3142
3143 * icomplete.el: Miscellaneous doc fixes.
3144 Use Icomplete everywhere instead of icomplete for consistency.
3145 (icomplete-max-delay-chars): Fix typo.
3146 (icomplete-mode): Use \[].
3147 (icomplete-tidy, icomplete-exhibit): Reflow.
3148 (icomplete-minibuffer-setup-hook, icomplete-completions):
3149 Remove superfluous backlashes.
3150
3151 * ido.el: Miscellaneous doc fixes.
3152 Use Ido everywhere instead of ido or `ido' for consistency.
3153 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3154 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3155 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3156 (ido-separator): Extract obsolescence info from docstring and declare
3157 with make-obsolete-variable.
3158 (ido-minibuffer-setup-hook): Simplify example.
3159 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3160 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3161 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3162 (ido-everywhere): Reflow docstring.
3163 (ido-toggle-vc): Doc fix.
3164 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3165 of long list of keybindings.
3166
7ebd57e9
GM
31672014-03-03 Glenn Morris <rgm@gnu.org>
3168
3169 * frame.el (display-pixel-height, display-pixel-width)
3170 (display-mm-dimensions-alist, display-mm-height)
3171 (display-mm-width): Doc tweaks.
3172
35e951cd 31732014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
3174
3175 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3176 case of undo in region.
3177
b923819c
MR
31782014-03-02 Martin Rudalics <rudalics@gmx.at>
3179
3180 * window.el (fit-window-to-buffer): Fix argument in window-size
3181 call when window is horizontally combined.
3182
b6e443c5
JB
31832014-03-02 Juanma Barranquero <lekktu@gmail.com>
3184
3185 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 3186 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 3187
1850913d
DG
31882014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3189
35e951cd
JB
3190 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3191 Highlight regexp options. (Bug#16914)
1850913d 3192
04b577b6
MR
31932014-03-01 Martin Rudalics <rudalics@gmx.at>
3194
3195 * window.el (window--max-delta-1): Round down when calculating
3196 how many lines/columns we can get from a window.
3197
b829360f
GM
31982014-03-01 Glenn Morris <rgm@gnu.org>
3199
2501c912
GM
3200 * isearch.el (search-invisible): Doc fix.
3201
b829360f
GM
3202 * minibuffer.el (completion-hilit-commonality):
3203 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3204 * comint.el (comint-dynamic-list-completions): Doc fix.
3205 * comint.el (comint-dynamic-list-completions):
3206 * filecache.el (file-cache-minibuffer-complete):
3207 * tempo.el (tempo-display-completions):
3208 * eshell/em-hist.el (eshell-list-history):
3209 Replace use of obsolete argument of display-completion-list.
3210
9a155058
JB
32112014-03-01 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * icomplete.el (icomplete-completions):
3214 Revert back to using "..." when ?… cannot be displayed.
3215
53f6cda8
JB
32162014-02-28 Juanma Barranquero <lekktu@gmail.com>
3217
3218 * finder.el (finder-unload-function): New function.
3219
43977c23
JB
32202014-02-28 Juanma Barranquero <lekktu@gmail.com>
3221
3222 * dframe.el (dframe-detach):
3223 * find-dired.el (find-dired, find-name-dired):
3224 * finder.el (finder-mode-map, finder-mode-syntax-table)
3225 (finder-headmark, finder-select, finder-mouse-select):
3226 Fix docstring typos.
3227
9dda75ad
MR
32282014-02-28 Martin Rudalics <rudalics@gmx.at>
3229
3230 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
3231 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3232 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3233 Fix doc-string based on a suggestion by Nicolas Richard
3234 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
3235 * help.el (with-help-window): Fix doc-string.
3236
8a73034e
IK
32372014-02-28 Ivan Kanis <ivan@kanis.fr>
3238
b70257b0
GM
3239 * net/shr.el (shr-image-animate): New option.
3240 (shr-put-image): Respect shr-image-animate.
8a73034e 3241
245aa73e
MA
32422014-02-28 Michael Albinus <michael.albinus@gmx.de>
3243
3244 * net/tramp-adb.el (tramp-adb-parse-device-names):
3245 Use `accept-process-output'.
3246 (tramp-adb-handle-file-truename): Cache the localname only.
3247 (tramp-adb-handle-make-directory)
3248 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3249 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3250 modes cannot be changed.
3251
3252 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3253 file properties of symlinks.
3254
48e15d64
PS
32552014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3256
3257 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3258 required/optional fields to match development biblatex. (Bug#16781)
3259
65b77347
AS
32602014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3261
3262 * saveplace.el (toggle-save-place):
3263 Fix argument handling. (Bug#16673)
3264
5e618aba
GM
32652014-02-28 Glenn Morris <rgm@gnu.org>
3266
3267 * minibuffer.el (completions-first-difference)
3268 (completions-common-part, completion-hilit-commonality): Doc fixes.
3269
6deb314e
KB
32702014-02-28 Karl Berry <karl@gnu.org>
3271
3272 * info.el (Info-mode-map): Add H for describe-mode,
3273 to synchronize with standalone Info.
3274
289996f5
EL
32752014-02-28 Emilio C. Lopes <eclig@gmx.net>
3276
3277 * progmodes/sql.el (sql-interactive-mode):
3278 Avoid setting global comint-input-ring-separator. (Bug#16814)
3279
79fc1191
MA
32802014-02-27 Michael Albinus <michael.albinus@gmx.de>
3281
3282 * net/dbus.el (dbus--init-bus): Declare function.
3283 (dbus-path-local, dbus-interface-local): New defconst.
3284 (dbus-init-bus): Use them.
3285 (dbus-return-values-table): Extend doc.
3286 (dbus-handle-bus-disconnect): Extend error message.
3287
298520df
JB
32882014-02-27 Juanma Barranquero <lekktu@gmail.com>
3289
3290 * subr.el (y-or-n-p): Fix double space issue in message.
3291
c22c1614
MA
32922014-02-27 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/tramp.el (tramp-call-process): Improve trace message.
3295 (tramp-handle-insert-file-contents): Trace error case.
3296
3297 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3298 <insert-directory>: Use `tramp-handle-insert-directory'.
3299 (tramp-adb-handle-insert-directory): Remove function.
3300 (tramp-adb-send-command-and-check): New defun, replacing
3301 `tramp-adb-command-exit-status'. Change all callees.
3302 (tramp-adb-handle-file-attributes)
3303 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
3304 (tramp-adb-ls-output-name-less-p):
3305 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
3306 (tramp-adb-handle-delete-directory): Flush also file properties of
3307 the truename of directory.
3308 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3309 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3310 (tramp-adb-handle-write-region): Implement APPEND.
3311 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3312 properties correctly.
3313 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3314 variables. Check for connected devices only when needed.
3315
d9263618
GM
33162014-02-27 Glenn Morris <rgm@gnu.org>
3317
ea7826ba
GM
3318 * minibuffer.el (completion-table-dynamic)
3319 (completion-table-with-cache): Doc fixes.
3320
d9263618
GM
3321 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3322 (completing-read-multiple): Doc fixes.
3323
eff3168a
DC
33242014-02-27 Daniel Colascione <dancol@dancol.org>
3325
51f213c3
DC
3326 * minibuffer.el (completion--nth-completion): Fix indentation.
3327
eff3168a
DC
3328 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3329 explicit tramp path is empty.
3330
b77cfcd7
GM
33312014-02-27 Glenn Morris <rgm@gnu.org>
3332
3333 * emacs-lisp/crm.el (completing-read-multiple):
3334 Empower help-enable-auto-load.
3335
9577b569
GM
33362014-02-26 Glenn Morris <rgm@gnu.org>
3337
259887e8
GM
3338 * startup.el (command-line): Don't init the tty in daemon mode.
3339
1d491ef2
GM
3340 Avoid calling tty-setup-hook twice, eg if a term file
3341 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3342 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3343 (tty-create-frame-with-faces): Use it.
3344 * startup.el (command-line): Pass run-hook argument
3345 to tty-run-terminal-initialization.
3346
9577b569
GM
3347 * dired.el (dired-restore-desktop-buffer): Demote errors;
3348 eg in case a glob match fails. (Bug#16884)
3349
40ff7f86
DG
33502014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3351
b2388336
DG
3352 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3353 error from `read-from-string'. (Bug#16850)
3354
40ff7f86
DG
3355 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3356 result of `completing-read' in the interactive form. (Bug#16854)
3357
98bd6b32
GM
33582014-02-25 Glenn Morris <rgm@gnu.org>
3359
f086804c
GM
3360 * image.el (image-animate, image-animate-timeout):
3361 Stop animating images in dead buffers. (Bug#16878)
3362
c107155e
GM
3363 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3364
9577b569
GM
3365 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3366 Doc fixes.
98bd6b32
GM
3367 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3368 * term/sun.el (sun-raw-prefix-hooks):
3369 Use tty-setup-hook instead of term-setup-hook.
3370 (terminal-init-sun): Construct message from bytecomp plist.
3371 * term/wyse50.el (enable-arrow-keys): Doc fix.
3372
9c9e18e8
JB
33732014-02-24 Juanma Barranquero <lekktu@gmail.com>
3374
3375 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3376 Fix docstring typos.
3377
c848881f
MA
33782014-02-24 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3381
0e38ae05
NR
33822014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3383
3384 * minibuffer.el (completion--try-word-completion):
3385 Fix error when completing M-x commands (bug#16808).
3386
8ee4c296
LL
33872014-02-24 Leo Liu <sdl.web@gmail.com>
3388
3389 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3390
7d4bd627
JB
33912014-02-24 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * apropos.el (apropos-print): Avoid formatting error when
3394 apropos-do-all and apropos-compact-layout are both t.
3395
e918e27f
JB
33962014-02-23 Juanma Barranquero <lekktu@gmail.com>
3397
3398 * apropos.el (apropos-property, apropos-all-words-regexp)
3399 (apropos-true-hit, apropos-variable, apropos-print):
3400 Fix docstring typos, and remove obsolete comment.
3401
85c01f80
MA
34022014-02-23 Michael Albinus <michael.albinus@gmx.de>
3403
3404 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3405 Preserve trailing "/". (Bug#16851)
3406
62f95022
DG
34072014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3408
3409 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3410 after `=>' (bug#16811).
dfdb365c
DG
3411 (ruby-smie-rules): Handle the inconsistent second element of the
3412 list returned by `smie-indent--parent'.
3413 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3414 method call.
62f95022 3415
025f2c81
JB
34162014-02-23 Juanma Barranquero <lekktu@gmail.com>
3417
3418 * elec-pair.el (electric-pair-text-syntax-table)
3419 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3420 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3421 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3422 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3423
123c84f9
GM
34242014-02-22 Glenn Morris <rgm@gnu.org>
3425
612c3e46
GM
3426 * imenu.el (imenu--generic-function): Doc fix.
3427
123c84f9
GM
3428 * register.el (frame-configuration-to-register): Make obsolete.
3429
e59fa9ad
JB
34302014-02-22 Juanma Barranquero <lekktu@gmail.com>
3431
3432 * desktop.el (desktop-save-buffer-p): Do not fail when
3433 desktop-files-not-to-save is nil. Return t for true result
3434 as the doc says.
3435
4e652634
DC
34362014-02-22 Daniel Colascione <dancol@dancol.org>
3437
27821a89 3438 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
3439 Check that attribute values are strings, avoiding the construction
3440 of invalid dbus messages.
4e652634 3441
f35affb6
JB
34422014-02-21 Juanma Barranquero <lekktu@gmail.com>
3443
3444 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3445 defun-declarations-alist.
3446
3d136b1b
SM
34472014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3450 (bug#16829).
3451
612ddfc0
JB
34522014-02-21 Juanma Barranquero <lekktu@gmail.com>
3453
3454 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3455 (whitespace-newline, whitespace-trailing, whitespace-line)
3456 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3457 (whitespace-space-after-tab): Fix typo in docstrings.
3458
c8481b1b
DG
34592014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3460
cb8f50a7
DG
3461 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3462
c8481b1b
DG
3463 * electric.el (electric-indent-functions-without-reindent):
3464 Add `yaml-indent-line'.
3465
bed5126f
JB
34662014-02-21 Juanma Barranquero <lekktu@gmail.com>
3467
34b71457
JB
3468 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3469 It has done nothing for years; should be removed after the release.
3470
bed5126f
JB
3471 * simple.el (choose-completion): Fix docstring typo.
3472 (read-quoted-char-radix): Remove unneeded * in docstring.
3473 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3474 Don't escape parentheses unnecessarily in docstrings.
3475
8dd3e94f
MR
34762014-02-21 Martin Rudalics <rudalics@gmx.at>
3477
3478 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
3479 * window.el (window--dump-window, window--dump-frame):
3480 New functions.
3481 (window--min-size-1): Account for window dividers.
3482 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
3483 sum of the window components has been calculated.
3484 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3485 nil make sure at least one text line and two text columns remain
3486 fully visible.
3487 (window-resize): Signal an error when window-resize-apply fails.
3488 (window--resize-child-windows): Fix calculation of by how many
3489 pixels a window can still be shrunk via window-new-normal.
3490 (adjust-window-trailing-edge): Call window--resizable with
3491 correct TRAIL argument.
3492
2ed94e04
MR
3493 (with-temp-buffer-window): Don't evaluate BODY within
3494 with-current-buffer (Bug#16816).
3495
0e5324c4
MA
34962014-02-21 Michael Albinus <michael.albinus@gmx.de>
3497
3498 * net/tramp.el (tramp-check-cached-permissions):
3499 Call `file-attributes' with `suffix' being a symbol but a string.
3500
48198420
DC
35012014-02-21 Daniel Colascione <dancol@dancol.org>
3502
3503 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3504 (dbus-init-bus): New function: call into dbus-init-bus-1
3505 and installs a handler for the disconnect signal.
3506 (dbus-call-method): Rewrite to look for result in cons.
3507 (dbus-call-method-handler): Store result in cons.
3508 (dbus-check-event): Recognize events with nil sender as valid.
3509 (dbus-handle-bus-disconnect): New function. React to bus
3510 disconnection signal by synthesizing dbus error for each
3511 pending synchronous or asynchronous call.
3512 (dbus-notice-synchronous-call-errors): New function.
3513 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3514 is true, not all the time.
3515
99e15133
JB
35162014-02-21 Juanma Barranquero <lekktu@gmail.com>
3517
e48983a6
JB
3518 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3519 Remove obsolescence declarations, these variables do not exist anymore.
3520
fdcfd745
JB
3521 * savehist.el (savehist-save-minibuffer-history)
3522 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3523 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3524 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3525 mostly, refer to "Savehist mode" when talking about the mode,
3526 and not the function.
3527
99e15133
JB
3528 * saveplace.el (save-place): Remove redundant info in docstring.
3529 (save-place-forget-unreadable-files, toggle-save-place)
3530 (save-place-forget-unreadable-files, save-place-dired-hook):
3531 Fix typos and remove unneeded backslashes.
3532
f5bee33b
MA
35332014-02-20 Michael Albinus <michael.albinus@gmx.de>
3534
3535 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3536 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3537
3538 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 3539 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
3540 (tramp-gvfs-handle-insert-directory): Remove function.
3541
3542 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3543 Call `tramp-handle-insert-directory'.
3544
ee0761ca
JB
35452014-02-20 Juanma Barranquero <lekktu@gmail.com>
3546
3547 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3548 before the start of buffer/region (bug#16799).
3549
4d49cc65
GM
35502014-02-20 Glenn Morris <rgm@gnu.org>
3551
3552 * isearch.el (search-invisible): Doc fix.
3553
eee0d650
TK
35542014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3555
3556 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3557 (bug#16657).
3558
94e5e202
JB
35592014-02-19 Juanma Barranquero <lekktu@gmail.com>
3560
3561 * frameset.el (frameset-restore): Delay removing an old frame's
3562 duplicate id until the new frame has been correctly created.
3563
50bfdd5d
MA
35642014-02-19 Michael Albinus <michael.albinus@gmx.de>
3565
3566 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3567 (tramp-check-cached-permissions): Call `file-attributes' if the
3568 cache is empty.
3569
3570 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 3571 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
3572
3573 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 3574 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
3575 (tramp-gvfs-maybe-open-connection): Set always connection
3576 properties, even if target is mounted already.
3577
3578 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3579 Set tramp-autoload cookie.
3580 (tramp-get-remote-touch): New defun.
3581 (tramp-sh-handle-set-file-times): Use it.
3582 (tramp-sh-handle-directory-files-and-attributes):
3583 Use `tramp-handle-directory-files-and-attributes' if neither stat
3584 nor perl are available on the remote host.
3585
3586 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3587 "/". Write long listing only when "l" belongs to the switches.
3588
3589 * net/trampver.el: Update release number.
3590
f097a3d2
JB
35912014-02-19 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3594
8e009b78
MR
35952014-02-19 Martin Rudalics <rudalics@gmx.at>
3596
3597 * window.el (window-state-put): Allow WINDOW to refer to an
3598 internal window (Bug#16793).
3599
95160c90
GM
36002014-02-19 Glenn Morris <rgm@gnu.org>
3601
3602 * textmodes/remember.el: Move provide statement to end.
3603 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3604 (remember-notes): Doc fixes.
3605
b28df58c
SM
36062014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * delsel.el (delete-char): Restore incorrectly erased property
3609 (bug#16795).
3610
7108e1c0
JB
36112014-02-18 Juanma Barranquero <lekktu@gmail.com>
3612
3613 * frameset.el (frameset--restore-frame): When a frame is being reused
3614 and its root window is not alive, delete all the frame's windows before
3615 restoring the window state. This works around the issue in bug#16793.
3616
c863b6ad
GM
36172014-02-18 Glenn Morris <rgm@gnu.org>
3618
a73fae1f
GM
3619 * textmodes/remember.el (remember-data-directory)
3620 (remember-directory-file-name-format, remember-store-in-files)
3621 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3622 (remember-notes-save-and-bury-buffer)
3623 (remember-notes--kill-buffer-query): Doc fixes.
3624
c863b6ad
GM
3625 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3626
29238d28
AM
36272014-02-17 Alan Mackenzie <acm@muc.de>
3628
3629 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 3630 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 3631 to electric-indent-{,local-}-mode.
b28df58c
SM
3632 (c-basic-common-init): Set electric-indent-inhibit.
3633 Initialise c-electric-flag from electric-indent-mode.
29238d28 3634 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 3635 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
3636
3637 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 3638 hit, toggle electric-indent-local-mode.
29238d28 3639
b28df58c
SM
3640 * electric.el (electric-indent-mode-has-been-called):
3641 New variable.
29238d28 3642
c6463340
JB
36432014-02-17 Juanma Barranquero <lekktu@gmail.com>
3644
3645 * frameset.el (frameset-cfg-id): New function.
3646 (frameset--reuse-frame, frameset-restore): Use it.
3647 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3648
94912b88
SM
36492014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * ido.el (ido-file-internal): Remove unused var `d'.
3652 Use \` for to match BoS. Fit within 80n columns.
3653
26ea164c
DC
36542014-02-17 Daniel Colascione <dancol@dancol.org>
3655
3656 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3657 dbus-call-method check for completion using a busy-wait loop with
3658 gradual backoff.
3659
589d1988 36602014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
3661
3662 Sync with Tramp 2.2.9.
3663
3664 * net/trampver.el: Update release number.
3665
17d1b51b
DG
36662014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3667
3668 * ido.el (ido-file-internal): Don't add the name of an existing
3669 directory twice. (Bug#16747)
3670
5bcad689
GM
36712014-02-16 Glenn Morris <rgm@gnu.org>
3672
3673 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3674 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3675
36762014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
3677
3678 * progmodes/sql.el: Version 3.4
3679 (sql-oracle-options): New default value ("-L").
94912b88 3680 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 3681 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 3682 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
3683 (sql-login-delay): New variable.
3684 (sql-product-interactive): Use it.
3685
285f1858
JB
36862014-02-15 Juanma Barranquero <lekktu@gmail.com>
3687
3688 * frameset.el (frameset--jump-to-register): Check that buffer is live
3689 (bug#16749).
3690
5d645ea4
GM
36912014-02-15 Glenn Morris <rgm@gnu.org>
3692
3693 * info.el (info-initialize): Revert 2014-01-10 change.
3694
48c4f9b1
GM
36952014-02-14 Glenn Morris <rgm@gnu.org>
3696
b8630261
GM
3697 * replace.el (map-query-replace-regexp)
3698 (read-regexp-defaults-function, read-regexp): Doc fixes.
3699
b2bf2a25
GM
3700 * dired.el (dired-read-regexp):
3701 * faces.el (list-faces-display):
3702 * misearch.el (multi-isearch-read-matching-buffers)
3703 (multi-isearch-read-matching-files):
3704 * play/cookie1.el (cookie-apropos):
3705 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3706
48c4f9b1
GM
3707 * textmodes/remember.el (remember): Use frameset-to-register
3708 rather than frame-configuration-to-register.
3709
2804e0bd
JB
37102014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3711
3712 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3713 incorrect keybinding.
3714
0b87142f
DC
37152014-02-13 Daniel Colascione <dancol@dancol.org>
3716
3717 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3718 when adding overlays so that line numbers from compiler match line
3719 numbers we use.
3720
47a73eb0
GM
37212014-02-13 Glenn Morris <rgm@gnu.org>
3722
8abcfd51
GM
3723 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3724
47a73eb0
GM
3725 * jit-lock.el (jit-lock-mode): Doc fix.
3726
c9b6b262
JB
37272014-02-13 Juanma Barranquero <lekktu@gmail.com>
3728
3729 * apropos.el (apropos-read-pattern): When the user passes an empty
3730 string, give a more helpful error message than "Wrong type
3731 argument: stringp, nil".
3732
eb4c6947
SM
37332014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3736
0dab5068
GM
37372014-02-13 Glenn Morris <rgm@gnu.org>
3738
3739 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3740
59075dcf
SM
37412014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3744 shift-select commands.
3745
5af9fbad
DG
37462014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3747
3748 * progmodes/js.el (js-indent-line): Don't widen.
3749 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3750
a215930c
GM
37512014-02-12 Glenn Morris <rgm@gnu.org>
3752
a8cb4247
GM
3753 * icomplete.el (icomplete): Add info-link to defgroup.
3754 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3755 (icomplete-minibuffer-map, icomplete-mode)
3756 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3757
a215930c
GM
3758 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3759 (package-menu-filter): Rename from package-menu-filter-interactive.
3760 Doc fix.
3761
26c5ecd9
JB
37622014-02-11 Juanma Barranquero <lekktu@gmail.com>
3763
3764 * frameset.el (frameset--jump-to-register): Select the required
3765 window and buffer before restoring position (bug#16696).
3766
fcd58a02
LI
37672014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3768
3769 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3770
bacb3380
GM
37712014-02-10 Glenn Morris <rgm@gnu.org>
3772
3773 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3774
881329dc
EZ
37752014-02-10 Eli Zaretskii <eliz@gnu.org>
3776
02328db9
EZ
3777 * w32-common-fns.el (x-get-selection): Doc fix.
3778 * select.el (x-get-selection): Doc fix. (Bug#15109)
3779
881329dc
EZ
3780 * face-remap.el (face-remap-add-relative)
3781 (face-remap-remove-relative, face-remap-reset-base)
3782 (face-remap-set-base): Call force-mode-line-update to redisplay
3783 the current buffer due to potential change in faces. (Bug#16709)
3784
c7db4c06
MA
37852014-02-10 Michael Albinus <michael.albinus@gmx.de>
3786
3787 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3788 script more robustly.
3789
6abe4589
LI
37902014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3791
7602b5c3
LI
3792 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3793
e3692ee0
LI
3794 * simple.el (choose-completion): Doc fix (bug#14160).
3795
41015524
LI
3796 * subr.el (event-start): Say what a nil EVENT value means.
3797
87c79dcb
LI
3798 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3799 (bug#14197).
3800
3ab49e2c
LI
3801 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3802
f3c60241
LI
3803 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3804
3bd1d8a8
LI
3805 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3806
6abe4589
LI
3807 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3808 predicate function (bug#15455).
3809
a11463de
DG
38102014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3811
3812 * ielm.el (inferior-emacs-lisp-mode): Instead of
3813 `comment-use-global-state', set `comment-use-syntax'.
3814
2ab0ad85
GM
38152014-02-10 Glenn Morris <rgm@gnu.org>
3816
3817 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3818
411141fb
AM
38192014-02-09 Alan Mackenzie <acm@muc.de>
3820
3821 Fix c-invalidate-state-cache on narrowed buffers.
3822 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3823 Widen when setting and clearing the CPP delimiter properties.
3824
d6d5fdf8
LI
38252014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3826
92c70367
LI
3827 * help.el (describe-bindings): Doc fix (bug#9888).
3828
468ef484
LI
3829 * files.el (save-buffer): Use ARG as the parameter name for
3830 consistency (bug#10346).
7e34193f 3831 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 3832
fc2b1ffa 3833 * cus-edit.el (customize-apropos): Fix error string.
382fd368 3834 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 3835 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 3836
790aceec
LI
3837 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3838
a54a7552 3839 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 3840 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 3841
dd163123
LI
3842 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3843 meaning of the parameter (bug#12282).
3844
9e108fe6
LI
3845 * files.el (find-file-noselect): Clarify prompt when changing
3846 readedness (bug#13261).
5a836f58
LI
3847 (locate-file): Suffixes aren't returned, so don't say that they
3848 are (bug#12674).
2356b316 3849 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 3850
20dda930
LI
3851 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3852 before we actually start to delete things (bug#16331).
3853
d6d5fdf8
LI
3854 * subr.el (event-start): Doc fix (bug#14228).
3855 (event-end): Ditto.
3856
2abd71e5
GM
38572014-02-09 Glenn Morris <rgm@gnu.org>
3858
3859 * emacs-lisp/warnings.el (lwarn):
3860 Empower help-enable-auto-load. (Bug#15940)
3861
c1b5900b
AS
38622014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3863
3864 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3865 (Bug#16690)
3866
429b93bd
MA
38672014-02-08 Michael Albinus <michael.albinus@gmx.de>
3868
3869 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3870 Insert output at end of buffer. (Bug#16120)
3871
b772a699
LI
38722014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3873
18c6aa8c
LI
3874 * simple.el (choose-completion-string-functions): Document new
3875 calling convention (bug#14153).
54dd147a 3876 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 3877
dce8463b
LI
3878 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3879
b772a699 3880 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 3881 (find-grep-dired): Doc fix (bug#14288).
b772a699 3882
2423c8d5
JL
38832014-02-08 Juri Linkov <juri@jurta.org>
3884
3885 * isearch.el (isearch-quote-char): Check character validity
3886 like in `quoted-insert' (bug#16677).
3887
518f26c2
LI
38882014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3889
893cc908
LI
3890 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3891
9165ffc0
LI
3892 * isearch.el (isearch-hide-immediately): Doc clarification
3893 (bug#14723).
3894
6ef4f3ce
LI
3895 * simple.el (line-move): Document utility function used many
3896 places in the Emacs sources (bug#14843).
3897
be58a238 3898 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 3899 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 3900 (dired-up-directory): Doc fix (bug#14848).
be58a238 3901
dd7aafbb
LI
3902 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3903
15cb9968
LI
3904 * files.el (file-relative-name): Doc fix (bug#15159).
3905
9788effd
LI
3906 * fringe.el (fringe-styles): Doc fix (bug#15239).
3907
c96411bd
LI
3908 * isearch.el (isearch-filter-predicate): Documentation typo fix
3909 (bug#15474).
3910
ea838c36
LI
3911 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3912
0d8a4ae7
LI
3913 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3914
f7a17bb3
LI
3915 * replace.el (replace-match-maybe-edit): Doc clarification
3916 (bug#15632).
3917
1bde5c3b
LI
3918 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3919
518f26c2
LI
3920 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3921
dd8e49fd
GM
39222014-02-08 Glenn Morris <rgm@gnu.org>
3923
3924 * help-fns.el (describe-variable):
3925 Check {file,dir}-local-variables-alist, and buffer-file-name,
3926 in the correct buffer.
3927
7e088b29
IL
39282014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3929
3930 * help-fns.el (describe-variable): Fix the case where
3931 a value is directory-local with no dir-locals file. (Bug#16635)
3932
41a4a82f
GM
39332014-02-08 Glenn Morris <rgm@gnu.org>
3934
3935 * abbrev.el (edit-abbrevs-mode):
3936 Derive from fundamental-mode. (Bug#16682)
3937
e255a703
JB
39382014-02-07 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * simple.el (quoted-insert): Check character validity (bug#16677).
3941
c99cf5ee
JL
39422014-02-07 Juri Linkov <juri@jurta.org>
3943
3944 * desktop.el (desktop-read): Claim the lock when the owner is not
3945 the current process. (Bug#16157)
3946
7d7a68d8
JL
39472014-02-07 Juri Linkov <juri@jurta.org>
3948
3949 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3950 to "\\` ". (Bug#16651)
3951
2b777cd9
JL
39522014-02-07 Juri Linkov <juri@jurta.org>
3953
3954 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3955 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3956 (desktop-auto-save-cancel-timer): New function with some code from
3957 `desktop-auto-save-set-timer'.
3958 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3959 Instead of setting `desktop-save-mode' to nil, call
3960 `desktop-save-mode' with arg 0. (Bug#16630)
3961
60eabbb9
GM
39622014-02-07 Glenn Morris <rgm@gnu.org>
3963
99cf3859
GM
3964 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3965 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3966 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3967
2b568bc9
GM
3968 * obsolete/iswitchb.el: Move to obsolete/.
3969 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3970 since obsolete/ is not scanned for autoloads.
3971 * emacs-lisp/authors.el (authors-valid-file-names):
3972 Add iswitchb.el.
3973
60eabbb9
GM
3974 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3975 Disable now non-functional find-file-hook.
3976
629de968
MA
39772014-02-06 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3980 instead of ";" in order to avoid additional prompts. Let heredoc
3981 scripts read from tty. (Bug#16582)
3982 (tramp-send-command): No special handling of heredocs, it isn't
3983 necessary anymore.
3984
29127376
SM
39852014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3988 with a space (bug#16664). Limit the symbols considered to the ones
3989 that are bound or fbound (bug#16646).
3990
79b6e0a9
GM
39912014-02-06 Glenn Morris <rgm@gnu.org>
3992
3993 * epa.el (epa-mail-aliases): Doc fix.
3994
a333e4d2
DG
39952014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3996
29127376
SM
3997 * emacs-lisp/lisp.el (lisp-completion-at-point):
3998 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
3999 (bug#16604).
4000
4001 * minibuffer.el (completion-table-merge): New function.
4002
9a83b32b
MA
40032014-02-05 Michael Albinus <michael.albinus@gmx.de>
4004
4005 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4006 (tramp-sh-handle-set-file-acl)
4007 (tramp-sh-handle-start-file-process)
4008 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4009 (tramp-find-executable, tramp-send-command): Use it.
4010
451ea3e6
GM
40112014-02-05 Glenn Morris <rgm@gnu.org>
4012
9a83b32b 4013 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 4014
dd27d13b
FEG
40152014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4016
35e951cd 4017 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
4018 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4019
08e41897
AL
40202014-02-04 Anders Lindgren <andlind@gmail.com>
4021
4022 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4023 the names (bug#16620).
4024
764ec9e5
MR
40252014-02-03 Martin Rudalics <rudalics@gmx.at>
4026
08e41897
AL
4027 * faces.el (window-divider): New default value. Rewrite doc-string.
4028 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 4029
6da8227c
DG
40302014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4031
4032 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4033 `protected' and `public' can also be called without arguments.
4034
6a6b8e40
GM
40352014-02-03 Glenn Morris <rgm@gnu.org>
4036
7bcbca40
GM
4037 * register.el (window-configuration-to-register)
4038 (frame-configuration-to-register): Unadvertise unused argument.
4039 * frameset.el (frameset-to-register): Remove unused argument.
4040
719d965d 4041 * frameset.el (frameset-to-register):
6a6b8e40
GM
4042 * kmacro.el (kmacro-to-register):
4043 * register.el (increment-register):
4044 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4045 (calc-append-to-register, calc-prepend-to-register):
4046 * play/gametree.el (gametree-layout-to-register)
4047 (gametree-apply-register-layout):
4048 * textmodes/picture.el (picture-clear-rectangle-to-register)
4049 (picture-yank-rectangle-from-register):
4050 * vc/emerge.el (emerge-combine-versions-register):
4051 Use register-read-with-preview to read registers.
4052
5dca7759
JT
40532014-02-03 João Távora <joaotavora@gmail.com>
4054
4055 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4056 when at beginning of (possibly narrowed) buffer.
4057
709085b9
DC
40582014-02-02 Daniel Colascione <dancol@dancol.org>
4059
c295fc18 4060 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 4061 Also try to display local help from just before point.
709085b9 4062
99f7b0a6
AM
40632014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4064
4065 c-parse-state. Don't "append-lower-brace-pair" in certain
4066 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4067 recognised as a comment.
4068
4069 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4070 as well as normal comment starter.
4071 (c-parse-state-get-strategy): Extra return possibility
4072 'back-and-forward.
4073 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4074 return value list to indicate replacement of a brace-pair cons
4075 with its car.
4076 (c-parse-state-1): With 'back-and-forward, only call
4077 c-append-lower-brace-pair-to state-cache when cons-separated.
4078
f0a10576
JD
40792014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4080
4081 * term/ns-win.el (ns-suspend-error): New function.
4082 (ns-initialize-window-system): Add ns-suspend-error to
4083 suspend-hook (Bug#16612).
4084
b8d552c2
DC
40852014-02-02 Daniel Colascione <dancol@dancol.org>
4086
35e951cd
JB
4087 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4088 Make loading cc-mode silent.
b8d552c2 4089
f2b7d123
DC
40902014-02-02 Daniel Colascione <dancol@dancol.org>
4091
35e951cd
JB
4092 * comint.el (comint-prompt-read-only): Change doc to suggest
4093 remap keybinding.
f2b7d123 4094
4472a196
GM
40952014-02-02 Glenn Morris <rgm@gnu.org>
4096
4097 * register.el (register-read-with-preview, point-to-register)
4098 (window-configuration-to-register, frame-configuration-to-register)
4099 (jump-to-register, number-to-register, view-register, insert-register)
4100 (copy-to-register, append-to-register, prepend-to-register)
4101 (copy-rectangle-to-register): Doc fixes.
4102
70e5a261
SM
41032014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4106 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4107 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4108 * help-fns.el (describe-function-1): Use it.
4109
7c324762
GM
41102014-02-02 Glenn Morris <rgm@gnu.org>
4111
4112 * register.el (register-preview-default): New function,
4113 split from register-preview.
4114 (register-preview-function): Rename from register-preview-functions,
4115 make it not a hook.
4116 (register-preview): Use register-preview-function.
4117 (register-read-with-preview): Error on non-character event. (Bug#16595)
4118
a09beb3d
DG
41192014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4120
4121 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4122 `:' before binary operators (bug#16609). Don't check for `:'
4123 before `[' and `(', or their syntax status. A percent literal
4124 can't end with either.
68e004e0
DG
4125 (ruby-font-lock-keywords): For built-ins that require arguments,
4126 check that they're followed by something that looks like argument
4127 (bug#16610).
a09beb3d 4128
ed4d2875
LI
41292014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4130
4131 * subr.el (butlast): Document what an omitted N means (bug#13437).
4132 (nbutlast): Ditto.
4133
dba6e3ec
LI
41342014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4135
4136 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4137 depth shallower (bug#16587).
cc477daa
LI
4138 (shr-tag-svg): Respect `shr-inhibit-images'.
4139 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 4140
e2a67bd0
DG
41412014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4142
4143 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4144 (ruby-smie-grammar): Make "." right-associative. Make its priority
4145 lower than the ternary and all binary operators.
4146 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
4147 parent, or the first "." parent at indentation.
4148 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
4149 (Bug#16593)
4150
bd21bf41
JL
41512014-01-31 Juri Linkov <juri@jurta.org>
4152
4153 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4154 from `make-hash-table'.
4155
4156 * textmodes/ispell.el (ispell-init-process): Change message format
4157 to be consistent with other messages.
4158
b7e615b9
GM
41592014-01-31 Glenn Morris <rgm@gnu.org>
4160
a69ecd19
GM
4161 * delsel.el (delete-selection-mode): Doc fix.
4162
9997d7e3
GM
4163 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4164 (trace-function-background): Doc fixes.
4165
fbb764b8
GM
4166 * ido.el (ido-use-virtual-buffers): Doc fix.
4167 Reset :version, since the default value has not changed.
4168
da942af1
GM
4169 * register.el (register-preview-delay, register-read-with-preview):
4170 Doc fixes.
4171
b7e615b9
GM
4172 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4173 do not mess with mail-buffer position (fixes 2009-11-03 change).
4174 * progmodes/cc-mode.el (c-submit-bug-report):
4175 Check auto-fill-mode is bound. (Bug#16592)
4176
0a25002d
DH
41772014-01-31 Darren Hoo <darren.hoo@gmail.com>
4178
4179 * startup.el (fancy-splash-image-file): New function,
4180 split from fancy-splash-head.
4181 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4182 so that we are both using the same image. (Bug#16574)
4183
ad78f432
GM
41842014-01-30 Glenn Morris <rgm@gnu.org>
4185
6bbc0c84
GM
4186 * simple.el (eval-expression): Doc fix.
4187
ad78f432
GM
4188 * hexl.el (hexl-mode-hook):
4189 * ielm.el (ielm-mode-hook):
4190 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4191 (lisp-interaction-mode-hook):
20f39add 4192 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
4193 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4194
7b2f049c
SM
41952014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4198 is a symbol (bug#16584).
4199
0c633f13
GM
42002014-01-30 Glenn Morris <rgm@gnu.org>
4201
4202 * help.el (help-for-help-internal): Add "P" to text.
4203
5e61c1ef
GM
42042014-01-29 Glenn Morris <rgm@gnu.org>
4205
4206 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4207
1dcb169c
MR
42082014-01-28 Martin Rudalics <rudalics@gmx.at>
4209
4210 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4211 height constraints.
4212
a9128931
LL
42132014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4214
4215 * progmodes/hideif.el: Extend to full CPP expression syntax.
4216 (hif-token-alist): Add missing tokens.
4217 (hif-token-regexp): Add support for float/octal/hex immediates.
4218 (hif-string-literal-regexp): New const.
4219 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4220 (hif-exprlist): New function.
4221 (hif-parse-if-exp): Use it.
4222 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4223 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4224 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4225 (hif-logxor, hif-comma): New functions.
4226
a22359a7
GM
42272014-01-28 Glenn Morris <rgm@gnu.org>
4228
793ffe81
GM
4229 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4230
e3bd7eed
GM
4231 * indent.el (tab-stop-list): Doc fix. Add :version.
4232
a22359a7
GM
4233 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4234 (cvs-append-to-ignore): Add compatibility alias.
4235
52695556 42362014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 4237
bac524e0
GM
4238 * dired.el (dired-hide-details-mode): Don't autoload it,
4239 since it cannot be used outside Dired buffers anyway.
4240
52695556 4241 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 4242
52695556
GM
4243 * dired.el (dired-hide-details-hide-symlink-targets)
4244 (dired-hide-details-hide-information-lines)
4245 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
4246
4247 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4248 * strokes.el (strokes-file): Doc fix. Bump :version.
4249 (strokes-help): Doc fix.
4250 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4251 * emulation/viper.el (viper): Doc fix for custom group.
4252 (top-level): Remove oh-so-no-longer-relevant text about vip.
4253 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4254
4255 * ido.el (ido-save-directory-list-file):
4256 * saveplace.el (save-place-file):
4257 * calendar/timeclock.el (timeclock-file):
4258 * net/quickurl.el (quickurl-url-file):
4259 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4260 * progmodes/idlwave.el (idlwave-config-directory):
4261 * textmodes/remember.el (remember-data-file):
4262 Bump :version.
4263
169d6004
GM
42642014-01-26 Glenn Morris <rgm@gnu.org>
4265
de6a923b
GM
4266 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4267 Doc fix. Make obsolete.
4268 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4269
169d6004
GM
4270 * sort.el (delete-duplicate-lines): Doc fix.
4271
ed85dee6
RS
42722014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4273
4274 * progmodes/ada-mode.el (ada):
4275 * woman.el (woman): Link to info manual and Commentary section.
4276
4277 * progmodes/flymake.el (flymake):
4278 * nxml/nxml-mode.el (nxml):
4279 * net/eww.el (eww):
4280 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4281 * htmlfontify.el (htmlfontify):
4282 * ses.el (ses):
4283 * epa.el (epa):
4284 * ido.el (ido): Link to info manual.
4285
e0c67e1d
LL
42862014-01-25 Leo Liu <sdl.web@gmail.com>
4287
4288 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4289
35408b1a
AS
42902014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4291
4292 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4293 (bug#16537).
4294
76c3fa95
JB
42952014-01-24 Juanma Barranquero <lekktu@gmail.com>
4296
f77c7a99
JB
4297 * net/eww.el (eww-download-callback):
4298 Fix reference to eww-download-directory.
4299
76c3fa95
JB
4300 * emacs-lisp/bytecomp.el (byte-compile-file):
4301 Remove unused local variable `file-name'.
4302
1e548e40
GM
43032014-01-24 Glenn Morris <rgm@gnu.org>
4304
03f3b318
GM
4305 * woman.el (woman-default-faces, woman-monochrome-faces):
4306 Fix obsolescence specification.
4307
1e548e40
GM
4308 * subr.el (with-demoted-errors): Doc fix.
4309
d4f0427b
SM
43102014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4313 (cl--macroexp-fboundp): New function.
4314 (cl--make-type-test): Use it.
4315
1670e27f
GM
43162014-01-23 Glenn Morris <rgm@gnu.org>
4317
4318 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4319 * simple.el (eval-expression): Doc fixes.
4320
80efa207
GM
43212014-01-22 Glenn Morris <rgm@gnu.org>
4322
4323 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4324
29afcbab
SM
43252014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/package.el: Write files silently.
4328 (package-autoload-ensure-default-file, package--write-file-no-coding)
4329 (package-generate-description-file, package--download-one-archive)
4330 (package-install-from-archive): Tell `write-region' to stay quiet.
4331 (package-menu-mode, package-menu--print-info): Omit the Archive column
4332 if there's only one archive.
4333 (package-all-keywords, package--has-keyword-p): Remove dead code.
4334
2a5bce4f
GM
43352014-01-22 Glenn Morris <rgm@gnu.org>
4336
edace89f
GM
4337 * version.el (emacs-bzr-version-bzr): Fix typo.
4338
2a5bce4f
GM
4339 * version.el (emacs-repository-get-version):
4340 Check either .bzr or .git, but not both.
4341 Make the git case actually use the DIR argument, and return nil
4342 rather than the empty string.
983664c0 4343 Avoid error if .git exists but the git executable is not found.
2a5bce4f 4344
6cb4da45
MR
43452014-01-22 Martin Rudalics <rudalics@gmx.at>
4346
4347 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
4348 * window.el (window-total-size, window-size): New argument ROUND.
4349 (window--min-delta-1, window-min-delta, window--max-delta-1):
4350 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
4351 columns a window can shrink (Bug#16430).
4352 (fit-window-to-buffer): Simplify code.
4353 * term.el (term-window-width): Call window-body-width again.
4354
cc0f2ece
GM
43552014-01-22 Glenn Morris <rgm@gnu.org>
4356
7b997b14
GM
4357 * image.el (image-format-suffixes): Doc fix.
4358
44e76f9d
GM
4359 * international/quail.el (quail-define-package): Doc fix.
4360
35e951cd 4361 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 4362 (authors-renamed-files-alist): Additions.
7bfc1caa 4363
85a5f61f
GM
4364 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4365 reverts 2014-01-09 change. (Bug#16422)
4366
cc0f2ece
GM
4367 * calc/calc-embed.el (thing-at-point-looking-at):
4368 * emacs-lisp/map-ynp.el (x-popup-dialog):
4369 * obsolete/lmenu.el (x-popup-dialog):
4370 * emacs-lisp/package.el (url-recreate-url):
4371 * mail/mailclient.el (clipboard-kill-ring-save):
4372 * subr.el (x-popup-dialog): Update declaration.
4373 * mail/rmail.el (rmail-mime-message-p):
4374 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4375
00d2a6bb
DC
43762014-01-21 Daniel Colascione <dancol@dancol.org>
4377
4378 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4379 Correctly detect when we're inside an arithmetic expansion form
4380 containing nested parenthesis.
c295fc18 4381 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
4382 to detect cases where we shouldn't expand "<<" to a heredoc
4383 skeleton.
4384
dd9d2e9d
SM
43852014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4388 (eldoc--message-command-p): New function.
4389 (eldoc-display-message-p): Use it.
4390 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4391 message is not automatically erased for us.
4392 (eldoc-print-current-symbol-info): Erase previous message, if any.
4393
e7d807ca
TH
43942014-01-21 Tassilo Horn <tsdh@gnu.org>
4395
4ff0a0e5
TH
4396 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4397 specify it's an interactive function.
4398
dd9d2e9d
SM
4399 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4400 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
4401 citations with optional arguments.
4402
87503791
LL
44032014-01-21 Leo Liu <sdl.web@gmail.com>
4404
4405 * simple.el (read--expression): Don't enable eldoc-mode.
4406
6cc750ee
SM
44072014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * simple.el (move-beginning-of-line): Make sure we don't move forward
4410 (bug#16497).
4411
71f16bda
JL
44122014-01-20 Juri Linkov <juri@jurta.org>
4413
4414 * saveplace.el (toggle-save-place, save-place-to-alist)
4415 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4416 'dired-mode) before checking for dired-directory. (Bug#16477)
4417
3c5a4839
JL
44182014-01-20 Juri Linkov <juri@jurta.org>
4419
4420 * indent.el (indent-line-to): Use backward-to-indentation
4421 instead of back-to-indentation. (Bug#16461)
4422
f952002e
PE
44232014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4424
4425 Revert some of the CANNOT_DUMP fix (Bug#16494).
4426 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4427 but fixing this can wait until after the next release.
4428 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4429
93675500
MA
44302014-01-19 Michael Albinus <michael.albinus@gmx.de>
4431
4432 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4433 Use `password-word-equivalents'.
4434 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4435 to t. (Bug#5664, Bug#13124)
4436
e3af763f
AM
44372014-01-19 Alan Mackenzie <acm@muc.de>
4438
4439 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4440 points.
4441 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 4442 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
4443 * progmodes/cc-mode.el (c-before-change, c-after-change)
4444 (c-font-lock-fontify-region): Bind it here.
4445
4ff6d92d
MR
44462014-01-19 Martin Rudalics <rudalics@gmx.at>
4447
4448 * term.el (term-window-width): Call window-text-width instead of
4449 window-width (Bug#16470).
4450
9a685cf6
PE
44512014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4452
4453 * simple.el (password-word-equivalents): Remove duplicates.
4454 Sort, to make this easier next time.
4455 Downcase. Omit ": " after "jelszó".
4456
5aa78c2d
JD
44572014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4458
4459 * term/common-win.el (saved-region-selection): Defvar it.
4460 (x-select-text): Set saved-region-selection (Bug#16382).
4461
cabb250c
GM
44622014-01-18 Glenn Morris <rgm@gnu.org>
4463
4464 * emacs-lisp/authors.el (authors-aliases)
4465 (authors-renamed-files-alist): Add some entries.
4466
a1340440
MA
44672014-01-17 Michael Albinus <michael.albinus@gmx.de>
4468
93675500
MA
4469 * net/tramp.el (tramp-password-prompt-regexp):
4470 Use `password-word-equivalents' if available.
a1340440
MA
4471 (tramp-action-password, tramp-process-one-action)
4472 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4473
681ce5d2
CY
44742014-01-17 Chong Yidong <cyd@gnu.org>
4475
4476 * simple.el (password-word-equivalents): New defcustom.
4477 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4478 to 24.4.
4479 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4480 to t. (Bug#13124)
4481
fb3d479c
DG
44822014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4483
4484 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
4485 (ruby-align-to-stmt-keywords): Change the default value.
4486 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
4487 choices.
4488 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4489 keywords, check against the value of `ruby-alignable-keywords'
4490 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4491
0d613483
GM
44922014-01-17 Glenn Morris <rgm@gnu.org>
4493
fc23fe2d
GM
4494 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4495
0d613483 4496 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 4497 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
4498 (authors-ignored-files): Add some entries, remove others.
4499 (authors-ambiguous-files, authors-valid-file-names):
4500 Add some entries.
4501 (authors-renamed-files-alist): Add, remove, and adjust entries.
4502 (authors-renamed-files-regexps): Add some entries.
4503 Remove some very broad ones. Make some entries `lax'.
4504 (authors-lax-changelogs): New constant.
4505 (authors-disambiguate-file-name): Treat top-level specially.
4506 (authors-lax-changelog-p): New function.
4507 (authors-canonical-file-name): Check file as written against
4508 authors-valid-file-names. Do not special-case etc/.
4509 Handle `lax' logs and authors-renamed-files-regexps elements.
4510
2dbf4ffd
DG
45112014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4512
4513 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
4514 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4515 callers.
2dbf4ffd 4516
87b2a7f2
SM
45172014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4520 Assume we're already in the proper buffer.
4521 Inspired by Anders Lindgren <andlind@gmail.com>.
4522 (follow-post-command-hook): Call it from the right buffer.
4523 (follow-comint-scroll-to-bottom): Adjust call.
4524 (follow-all-followers): Use get-buffer-window-list.
4525
93acfb0e
DC
45262014-01-15 Daniel Colascione <dancol@dancol.org>
4527
4528 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4529 `buffer-file-name' in interactive-form so that we don't leave
4530 pathless file names in `file-name-history'.
4531
ccc6b208
JL
45322014-01-15 Juri Linkov <juri@jurta.org>
4533
4534 * indent.el (indent-rigidly): Set deactivate-mark to nil
4535 in transient indentation mode. (Bug#16438)
4536
5c92e00d
DG
45372014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4538
4539 * emacs-lisp/package.el (package-desc-keywords): New function
4540 (Bug#16222).
4541 (describe-package-1, package-all-keywords)
4542 (package--has-keyword-p): Use it.
4543
dac69660
NR
45442014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4545
4546 * simple.el (define-alternatives): When creating the
4547 COMMAND-alternatives variable, assign COMMAND as its definition
4548 name so that `describe-variable' can relocate it.
4549
8b63edf8
ML
45502014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4551
4552 * font-lock.el (font-lock-keywords): Fix typo in docstring
4553 (bug#16307).
4554
c6a0b8eb
AM
45552014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4556
4557 * ispell.el (ispell-region): Reset `in-comment' for new line
4558 instead of wrongly reset `add-coment' (bug#13577).
4559
02bf443d
DU
45602014-01-14 Daiki Ueno <ueno@gnu.org>
4561
4562 * epa-file.el (epa-file-write-region): Encode the region according
4563 to `buffer-file-format'. Problem reported at:
4564 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4565
fd7fde15
SM
45662014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4569 so it applies in the right buffer (bug#16410).
4570
c176054f
DC
45712014-01-13 Daniel Colascione <dancol@dancol.org>
4572
4573 * textmodes/rst.el (rst-define-key): Provide deprecated
4574 keybindings through named functions instead of anonymous ones so
4575 that "??" doesn't appear in describe-mode output.
4576
e3f33e5d
BG
45772014-01-13 Bastien Guerry <bzg@gnu.org>
4578
4579 * simple.el (define-alternatives): Call the selected command
4580 interactively. When setting `COMMAND--implementation' for the
4581 first time, tell the user how to chose another implementation.
4582 Enhance the docstring.
4583
c055d654
SM
45842014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4587 (log-edit--match-first-line): New function.
4588 (log-edit-font-lock-keywords): Use it.
4589 (log-edit-mode): Make jit-lock-defer-multiline work.
4590
d791cc3b
BG
45912014-01-13 Bastien Guerry <bzg@gnu.org>
4592
4593 * rect.el (rectangle-mark-mode): When the region is not active,
4594 display a message saying that the mark as been set and that
4595 rectangle mode is in use.
4596 (rectangle--highlight-for-redisplay): Only put an overlay with a
4597 visible vertical bar when (display-graphic-p) is non-nil.
4598 This partially fixes Bug#16403.
4599
3c0c4562
JL
46002014-01-13 Juri Linkov <juri@jurta.org>
4601
4602 * info.el (Info-find-file): Go to DIR before displaying the error
4603 about a nonexistent file if no previous Info file is visited.
4604 Use `user-error' instead of `error' for "Info file %s does not exist".
4605 (Info-find-node-2): In case of a nonexistent node in unwind forms
4606 go to the Top node if there is no previous node to revert to.
4607 (Bug#16405)
4608
25a700d0
MR
46092014-01-13 Martin Rudalics <rudalics@gmx.at>
4610
4611 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
4612 * window.el (fit-frame-to-buffer): Fix doc-string.
4613 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
4614 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4615 when avoiding that frame goes partially off-screen.
4616 (fit-window-to-buffer): Respect window-min-height/-width
4617 (Bug#14096).
4618
6ae948d8
SM
46192014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4620
4621 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4622 after an empty line.
4623
6137cb82
SM
46242014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * net/shr.el (shr-render-region): Autoload.
4627
e6344e17
XF
46282014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4629
4630 * net/eww.el (eww-download-directory): Rename from
4631 `eww-download-path' (Bug#16419).
4632
3b922c70
LL
46332014-01-12 Leo Liu <sdl.web@gmail.com>
4634
4635 * dired-x.el (dired-mode-map): Fix last change.
4636
4637 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4638
4fa51741
PE
46392014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4640
4641 Spelling fixes.
4642 * emacs-lisp/generic.el (generic--normalize-comments):
4643 Rename from generic--normalise-comments. All uses changed.
35e951cd 4644 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
4645 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4646 (bubbles--neighborhood-available)
4647 (bubbles--update-neighborhood-score):
4648 Rename from names with 'neighbourhood'. All uses changed.
4649
9b335362
LL
46502014-01-12 Leo Liu <sdl.web@gmail.com>
4651
4652 Re-implement the feature of showing eldoc info after editing.
4653 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4654 (eldoc-edit-message-commands): New function.
4655 (eldoc-print-after-edit): New variable.
4656 (eldoc-pre-command-refresh-echo-area): Emit message only by
4657 eldoc-message-commands.
4658 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4659 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 4660 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 4661 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 4662
e2a095b1
GM
46632014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4664 Eric S. Raymond <esr@thyrsus.com>
9685190b 4665
841a6d0c 4666 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 4667 function works correctly in either a Bazaar or Git repo.
0abf4134 4668
e2a095b1
GM
46692014-01-11 Eric S. Raymond <esr@thyrsus.com>
4670
6137cb82
SM
4671 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4672 Goes with removal of the joke manpages from /etc.
9685190b 4673
c295fc18 46742014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 4675
6137cb82
SM
4676 * mail/rmail.el (rmail-get-coding-system):
4677 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 4678
d2f16e93
GM
46792014-01-10 Glenn Morris <rgm@gnu.org>
4680
4681 * emacs-lisp/authors.el (authors-fixed-entries):
4682 Update for files that no longer exist.
4683
7e03bb32
ER
46842014-01-10 Eric S. Raymond <esr@thyrsus.com>
4685
4686 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 4687 24.3 (Tested).
7e03bb32 4688
dd806710
BB
46892014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4690
4691 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4692 and Podfile.
4693
ed6ec139
EZ
46942014-01-10 Eli Zaretskii <eliz@gnu.org>
4695
4696 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4697
cc33cac9
CY
46982014-01-10 Chong Yidong <cyd@gnu.org>
4699
6137cb82 4700 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 4701
d9d836b5
AL
47022014-01-10 Anders Lindgren <andlind@gmail.com>
4703
4704 * follow.el (follow-cache-command-list): Include right-char and
4705 left-char.
4706
06827ec8
PE
47072014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4708
4709 Spelling fixes.
4710 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4711 * woman.el (woman-mark-horizontal-position):
4712 Rename from woman-mark-horizonal-position. Use changed.
4713
458dbf5e
GM
47142014-01-10 Glenn Morris <rgm@gnu.org>
4715
dad6fae7
GM
4716 * info.el (info-initialize): If running uninstalled, ensure our
4717 own info files are always found first, even if INFOPATH is set.
4718
458dbf5e
GM
4719 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4720
05e0afce
DE
47212014-01-09 David Engster <deng@randomsample.de>
4722
4723 * emacs-lisp/eieio-custom.el:
4724 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4725 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4726 * emacs-lisp/eieio.el: Regenerate autoloads.
4727
f29778b3
ER
47282014-01-09 Eric S. Raymond <esr@thyrsus.com>
4729
4730 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 4731 following renames. (Bug#8756)
f29778b3 4732
684d44ef
SM
47332014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4736 (bug#16382).
4737 (activate-mark): Add `no-tmm' argument.
4738 (set-mark, push-mark-command): Use it instead of running
4739 activate-mark-hook by hand.
4740
9475054f
ER
47412014-01-08 Eric S. Raymond <esr@thyrsus.com>
4742
4743 In preparation for the move to git, sanitize out some
4744 Bazaar-specific names.
4745
38942b9c
GM
4746 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4747
9475054f 4748 * version.el (emacs-bzr-version): Name changed to
689c9ca5 4749 emacs-repository-version. Obsolete-variable alias made.
9475054f 4750 * loadup.el: Follow through on this name change.
a12bf61e 4751 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
4752 assumption about the version control system in use.
4753
0f918d96 47542014-01-08 David Engster <deng@randomsample.de>
abb82152 4755
684d44ef
SM
4756 * help-fns.el (help-fns-describe-function-functions):
4757 New variable to call functions for augmenting help buffers.
abb82152
DE
4758 (describe-function-1): Remove explicit calls to
4759 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
4760 `help-fns--obsolete'. Put them in above new variable instead, and
4761 call them through `run-hook-with-args'.
4762 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4763 `eieio-describe-class'. Not meant for interactive use anymore,
4764 but to augment existing help buffers. Remove optional second
684d44ef
SM
4765 argument. Create proper button for file location.
4766 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
4767 possible.
4768 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4769 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
4770 (describe-method, describe-generic, eieio-describe-method):
4771 Remove aliases.
0f918d96
DE
4772 (eieio-help-constructor, eieio-help-generic): Rename from
4773 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4774 Rewrite to use `insert' in the current buffer and use proper help
4775 buttons.
4776 (eieio-help-find-method-definition)
4777 (eieio-help-find-class-definition): Also accept symbols as
4778 arguments.
4779 (eieio-help-mode-augmentation-maybee): Remove.
4780 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
4781 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4782 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 4783
136b74c5
PE
47842014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4785
4786 Spelling fixes.
4787 * language/china-util.el (hz-ascii-designation):
4788 Rename from hz-ascii-designnation.
4789 (hz-ascii-designation): Rename from hz-ascii-designnation.
4790 All uses changed.
4791
ec6c7de2
SM
47922014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4795 package-alist.
4796
d6262c7c
BG
47972014-01-08 Bastien Guerry <bzg@gnu.org>
4798
4b9e6087
GM
4799 * emacs-lisp/package.el (package-delete):
4800 Correctly delete the package from package-alist.
d6262c7c 4801
0a3eec32
DU
48022014-01-08 Daiki Ueno <ueno@gnu.org>
4803
4804 * emacs-lisp/package.el (url-recreate-url): Declare.
4805 (url-http-target-url): Declare.
4b9e6087 4806 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
4807 (package--check-signature): Don't re-signal errors from
4808 package--with-work-buffer. Suggested by Stefan Monnier.
4809
68f0bb97
BG
48102014-01-07 Bastien Guerry <bzg@gnu.org>
4811
4812 * minibuffer.el (completion--try-word-completion): When both a
4813 hyphen and a space are possible candidates for the character
4814 following a word, display both candidates. (Bug#15980)
4815
7e1899d7
MR
48162014-01-07 Martin Rudalics <rudalics@gmx.at>
4817
4818 * window.el (balance-windows-2): While rounding don't give a
c295fc18 4819 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 4820
0030ec15
GM
48212014-01-07 Glenn Morris <rgm@gnu.org>
4822
4823 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4824 (menu-bar-help-menu): Use view-external-packages instead.
4825
2b6b4f20
BG
48262014-01-07 Bastien Guerry <bzg@gnu.org>
4827
4828 * emacs-lisp/package.el (package-delete): Also delete the package
4829 name from `package-alist', not its description only.
4830
e9be0a13
GM
48312014-01-07 Glenn Morris <rgm@gnu.org>
4832
4833 * help.el (view-external-packages):
4834 * menu-bar.el (menu-bar-help-extra-packages):
4835 Visit efaq.info rather than etc/MORE.STUFF.
4836
e4f74da9
JL
48372014-01-07 Juri Linkov <juri@jurta.org>
4838
4839 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4840 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4841
4842 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4843 that shadows RET. (Bug#16342)
4844
de7ce2d1
CY
48452014-01-07 Chong Yidong <cyd@gnu.org>
4846
4847 * isearch.el (isearch-yank-char, isearch-yank-word)
4848 (isearch-yank-line): Doc fix.
4849
6bdd9204
SM
48502014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4853 * emacs-lisp/elint.el (elint-find-builtins):
4854 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4855 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4856 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4857 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4858 * apropos.el (apropos-safe-documentation):
4859 * subr.el (symbol-file): Remove redundant fboundp.
4860 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4861
daccca97
BG
48622014-01-06 Bastien Guerry <bzg@gnu.org>
4863
4864 * hl-line.el (global-hl-line-overlay): Make a local variable.
4865 (global-hl-line-overlays): New variable to store all overlays.
4866 (global-hl-line-mode): Don't delete overlays from the current
4867 buffer when `global-hl-line-sticky-flag' is non-nil.
4868 (global-hl-line-highlight): Add new overlays to
4869 `global-hl-line-overlays'.
4870 (global-hl-line-unhighlight-all): New function to delete all
4871 overlays when turning off `global-hl-line-mode'.
4872 This fixes Bug#16183.
4873
ec00f20f
SM
48742014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * subr.el (set-transient-map): Fix nested case and docstring.
4877
a0031f97
TH
48782014-01-06 Tassilo Horn <tsdh@gnu.org>
4879
4880 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4881 `Texinfo' entry.
4882
bf6a77f3
DC
48832014-01-06 Daniel Colascione <dancol@dancol.org>
4884
4885 Fix defun navigation in vc log view.
4886
4887 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4888 like `beginning-of-defun'.
c295fc18 4889 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
4890 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4891 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 4892 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 4893 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 4894
d5081c1e
PE
48952014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4896
4897 Spelling fixes.
4898 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4899 * emacs-lisp/debug.el (cancel-debug-on-entry):
4900 * epg.el (epg-error-to-string):
4901 * files.el (recover-file):
4902 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4903 * mail/emacsbug.el (report-emacs-bug-hook):
4904 * mail/sendmail.el (mail-recover):
4905 * ses.el (ses-yank-resize):
4906 * term/ns-win.el (ns-print-buffer):
4907 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4908 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4909 All uses changed.
4910 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4911
53f6b148
LL
49122014-01-06 Leo Liu <sdl.web@gmail.com>
4913
4914 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 4915 to avoid shadowing global key. (Bug#16354)
53f6b148 4916
b82ace2f
DC
49172014-01-06 Daniel Colascione <dancol@dancol.org>
4918
4919 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4920 rst-mode.
4921
3669b636
MR
49222014-01-05 Martin Rudalics <rudalics@gmx.at>
4923
4924 * window.el (balance-windows): Add mising t to fix Bug#16351.
4925
1a29adc2
LMI
49262014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4927
4928 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4929 (bug#16285).
3d95a0f4
LMI
4930 (shr-insert): If we have a word that's longer than `shr-width',
4931 break after it anyway. Otherwise we'll do no breaking once we get
4932 such a long word.
1a29adc2 4933
f4018140
KN
49342014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4935
3fcfc4ee 4936 * net/eww.el (eww): Support single/double quote for search.
c295fc18 4937 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
4938 (eww-history-quit): Delete and use quit-window.
4939 (eww-history-kill): Delete, because it doesn't work well and
4940 not necessary.
4941 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 4942
4e619754
PE
49432014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4944
73dbf960
PE
4945 Fix misspelling of 'chinese' in rx (Bug#16237).
4946 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4947 chinese-two-byte.
4948
4e619754
PE
4949 Change subword regexps back to vars (Bug#16296).
4950 * progmodes/subword.el (subword-forward-regexp)
4951 (subword-backward-regexp): Change these back to variables.
4952
e18b70fc
SM
49532014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4956 syntax-begin-function (bug#16247).
4957
0d53f628
CY
49582014-01-03 Chong Yidong <cyd@gnu.org>
4959
4960 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4961 (advice--docstring): Delete variable.
4962 (advice--make-1): Leave the docstring empty.
4963 (advice-add): Use function-documentation for advised docstring.
4964
4965 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4966 Ignore function-documentation property when getting documentation.
4967 (ad-activate-advised-definition): Use function-documentation
4968 generate the docstring.
4969 (ad-make-advised-definition): Don't call
4970 ad-make-advised-definition-docstring.
4971 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4972 Delete functions.
4973
4974 * progmodes/sql.el (sql-help): Use function-documentation instead
4975 of dynamic-docstring-function property. No need to autoload now.
4976 (sql--help-docstring): New variable.
4977 (sql--make-help-docstring): Use it.
4978
6f547583
SM
49792014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4980
6ef9aed8
SM
4981 * ielm.el (ielm-tab): Retarget.
4982 (ielm-map): Use ielm-tab for tab.
4983 (ielm-complete-filename): Use comint-filename-completion.
4984 (ielm-complete-symbol): Remove.
4985 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4986 remove ielm-tab from completion-at-point-functions (bug#16224).
4987
6f547583
SM
4988 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4989 Beware signals raised by predicates (bug#16201).
4990
a574edbe
RS
49912014-01-02 Richard Stallman <rms@gnu.org>
4992
e831604d
RS
4993 * dired-aux.el (dired-do-print): Handle printer-name.
4994
6f547583
SM
4995 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4996 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
4997 (rmail-epa-decrypt): Turn off mime processing.
4998
3fcfc4ee 4999 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
5000 Add parens in message-id.
5001
5002 * mail/rmail.el (rmail-get-coding-function): Variable.
5003 (rmail-get-coding-system): Use it.
5004
04311a16
KH
50052013-12-31 Eli Zaretskii <eliz@gnu.org>
5006
5007 * international/mule-conf.el: Unify the charset indian-is13194.
5008 (indian-is13194): Specify unify-map.
5009
c8d89778
LL
50102013-12-31 Leo Liu <sdl.web@gmail.com>
5011
5012 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5013
e63ace37
DC
50142013-12-30 Daniel Colascione <dancol@dancol.org>
5015
9e0bf19a
DC
5016 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5017 of printing a useless when we resume from sleep.
5018
e63ace37 5019 * progmodes/sh-script.el
c295fc18 5020 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
5021 in indentation code. (Bug#16233)
5022
e9d6c46a
JT
50232013-12-28 João Távora <joaotavora@gmail.com>
5024
6f547583
SM
5025 * elec-pair.el (electric-pair-post-self-insert-function):
5026 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 5027
bf7bea5d
EZ
50282013-12-28 Eli Zaretskii <eliz@gnu.org>
5029
5030 * frame.el (window-system-for-display): Don't allow to create a
5031 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5032
8449dd1f
GM
50332013-12-28 Glenn Morris <rgm@gnu.org>
5034
9c5a5c77
GM
5035 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5036 Update callers.
5037
5038 * apropos.el (apropos-match-face):
5039 * calculator.el (calculator-displayer):
5040 * dabbrev.el (dabbrev-search-these-buffers-only):
5041 * face-remap.el (buffer-face-mode-face):
5042 * simple.el (yank-handled-properties):
5043 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5044 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5045 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5046 (hashcash-double-spend-database):
5047 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5048 (ruby-deep-indent-paren-style):
5049 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5050 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5051 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5052 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5053 Specify custom types.
5054
bb098075
GM
5055 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5056 * bookmark.el (bookmark-bmenu-use-header-line):
5057 * doc-view.el (doc-view-scale-internally):
5058 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5059 * register.el (register-preview-delay):
5060 * net/shr.el (shr-bullet):
5061 * progmodes/cfengine.el (cfengine-cf-promises)
5062 (cfengine-parameters-indent):
5063 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5064 * textmodes/reftex-vars.el (reftex-label-regexps):
5065 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5066
9c61f806
GM
5067 * net/tls.el (tls-certtool-program): Fix default value.
5068
5069 * desktop.el (desktop-restore-in-current-display):
5070 * newcomment.el (comment-empty-lines):
5071 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5072 (idlwave-pad-keyword):
5073 * progmodes/tcl.el (tcl-tab-always-indent):
5074 * textmodes/reftex-vars.el (reftex-index-default-tag):
5075 * elec-pair.el (electric-pair-skip-whitespace):
5076 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5077
8449dd1f
GM
5078 * emacs-lisp/authors.el (authors-ignored-files)
5079 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5080
fdadeb49
JC
50812013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5082
72140a0f
GM
5083 * shell.el (shell-dynamic-complete-command): Doc fix.
5084 (shell--command-completion-data): Shell completion now matches
5085 executable filenames from the current buffer's directory, on
da5ecfa9 5086 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 5087
e572a7d8
LI
50882013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5089
5090 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5091
7514d3f8
SM
50922013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5093
a4151f3b
SM
5094 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5095 (bug#16251).
5096
7514d3f8
SM
5097 * electric.el: Move all electric-pair-* to elec-pair.el.
5098 * elec-pair.el: New file, split from electric.el.
5099
ac5758d1
LI
51002013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5101
5102 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5103 indentation level is larger than the width, because that will
5104 infloop.
5105 (shr-insert): Fill repeatedly long texts, so that Japanese is
5106 formatted correctly (bug#16263).
24a6b65e
LI
5107 (shr-find-fill-point): Off by one error in comparison with the
5108 indentation.
ac5758d1 5109
7514d3f8 51102013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
5111
5112 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 5113 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
5114 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5115 if that keeps or improves their balance in buffers.
5116 (electric-pair-delete-adjacent-pairs): Delete the pair when
5117 backspacing over adjacent matched delimiters.
5118 (electric-pair-open-extra-newline): Open extra newline when
5119 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
5120 (electric--sort-post-self-insertion-hook):
5121 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
5122 minor-modes are activated.
5123 * simple.el (newline-and-indent): Call newline with interactive
5124 set to t.
5125 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
5126 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5127 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5128 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
5129 electric-pair-open-newline-between-pairs to nil.
5130
fbcc63a3
FEG
51312013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5132
5133 * progmodes/python.el: Use lexical-binding.
5134 (python-nav-beginning-of-defun): Stop searching ASAP.
5135
ed78d16c
XF
51362013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5137
5138 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5139 Fix interactive spec. Doc fix. (Bug#15754)
5140
38b2c142
KY
51412013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5142
5143 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 5144 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
5145 Fix edebug spec (bug#16184).
5146
3c856c14
LI
51472013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5148
83fa295c 5149 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
5150 (shr-insert): Don't infloop if we can't find a good place to break
5151 the line (bug#16256).
3c856c14 5152
01379221
FEG
51532013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5154
35e951cd 5155 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
5156 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5157 python-nav-lisp-forward-sexp-safe.
5158 (python-nav--forward-sexp): New argument SAFE allows switching
5159 forward sexp movement behavior for parens.
5160 (python-nav-forward-sexp): Throw errors on unterminated parens
5161 (Bug#16191).
5162 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5163 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
5164 (python-shell-buffer-substring):
5165 Use `python-nav-forward-sexp-safe'.
01379221 5166
99e4926f
LI
51672013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5168
5169 * net/shr.el (shr-find-fill-point): Don't break lines before a
5170 quotation mark.
c6c20584
LI
5171 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5172 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 5173 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 5174
fec0e828
KN
51752013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5176
5177 * net/eww.el (eww-form-textarea): Use a different face for
5178 textareas than text input since they have different keymaps
5179 (bug#16142).
5180
89c868ad
FEG
51812013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5182
7514d3f8
SM
5183 * progmodes/python.el (python-nav-beginning-of-statement):
5184 Speed up (Bug#15295).
89c868ad 5185
eeef121a
LI
51862013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5187
5188 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5189 the window configuration.
5190
121ea65f
EZ
51912013-12-24 Eli Zaretskii <eliz@gnu.org>
5192
5193 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5194 we run on MS-Windows or MS-DOS.
5195
18cee9ec
MR
51962013-12-24 Martin Rudalics <rudalics@gmx.at>
5197
5198 * window.el (balance-windows-area): Call window-size instead of
5199 window-height and window-width. Bug#16241.
5200
58f2b9a5
LI
52012013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5202
5203 * net/eww.el (eww-bookmark-quit): Remove.
5204 (eww-bookmark-browse): Restore the window configuration when you
5205 choose a bookmark (bug#16144).
5206
d64b6308
DC
52072013-12-24 Daniel Colascione <dancol@dancol.org>
5208
5209 * icomplete.el: Remove redundant :group arguments to `defcustom'
5210 throughout.
5211 (icomplete-show-matches-on-no-input): New customizable variable.
5212 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5213 we have something to show.
7514d3f8 5214 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 5215
0da54898
DC
52162013-12-23 Daniel Colascione <dancol@dancol.org>
5217
5218 * icomplete.el: Move `provide' to end of file.
5219
b90aa4f4
TZ
52202013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5221
5222 * net/gnutls.el (gnutls-verify-error): Add version tag.
5223
8cd22a08
CY
52242013-12-23 Chong Yidong <cyd@gnu.org>
5225
5226 * subr.el (set-transient-map): Rename from
5227 set-temporary-overlay-map. Doc fix.
5228
5229 * face-remap.el (text-scale-adjust):
5230 * indent.el (indent-rigidly):
5231 * kmacro.el (kmacro-call-macro):
5232 * minibuffer.el (minibuffer-force-complete):
5233 * repeat.el (repeat):
5234 * simple.el (universal-argument--mode):
5235 * calendar/todo-mode.el (todo-insert-item--next-param):
5236 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5237
7510b021
CY
5238 * indent.el (indent-rigidly): Use substitute-command-keys.
5239
72140a0f 52402013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
5241
5242 * net/eww.el (eww-tag-select): Add text-property to jump to next
5243 select field.
e9dc713d 5244 (eww): Add non-supported ftp error.
56890ecd 5245
1f87a56c
DG
52462013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5247
5248 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5249 comments. Handle electric indent after typing `?' and `!'.
5250
dca38cf9
CY
52512013-12-22 Chong Yidong <cyd@gnu.org>
5252
5253 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
5254 applicable to a frame, fall back on the defface spec.
5255 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 5256
f2351498
DG
52572013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5258
5259 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5260 after `{'. We need it after block openers, and it doesn't seem
5261 to hurt after hash openers.
5262
6cddebc1
DG
52632013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5264
5265 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5266 extracted from `ruby-smie-rules'.
5267 (ruby--electric-indent-chars): New variable.
5268 (ruby--electric-indent-p): New function.
5269 (ruby-mode): Use `electric-indent-functions' instead of
5270 `electric-indent-chars'.
5271
65a1da00
DG
52722013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5275 docstring.
5276 (ruby-smie-rules): Indent plus one level after `=>'.
5277
b51ad4cf
RS
52782013-12-21 Richard Stallman <rms@gnu.org>
5279
5280 * simple.el (newline): Doc fix.
5281
72140a0f 52822013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 5283
e9dc713d 5284 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
5285 (eww-history-browse, eww-history-quit, eww-history-kill)
5286 (eww-history-mode-map, eww-history-mode): New command and
5287 functions to list browser histories.
e9dc713d
JB
5288 (eww-form-text): Support text form with disabled
5289 and readonly attributes.
5290 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 5291
5e1901c1
RS
52922013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5293
5294 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5295 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5296 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5297 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5298 Use `user-error'.
5299 (eww-bookmark-mode-map): Add menu.
5300 (eww-render, eww-mode): Use `setq-local'.
5301 (eww-tool-bar-map): New variable.
5302 (eww-mode): Set `tool-bar-map'.
5303 (eww-view-source): Check for `html-mode' with `fboundp'.
5304
073d5cfd
LMI
53052013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5306
5307 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5308 elements with text inside. Also remove debugging.
5309
41cf3d11
JD
53102013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5311
5312 * cus-start.el (all): Add ns-use-srgb-colorspace.
5313
aac2b673
CY
53142013-12-21 Chong Yidong <cyd@gnu.org>
5315
5316 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5317 undefined. Thus, theme settings for undefined faces do not take
5318 effect until the faces are defined with defface, the same as with
5319 theme variables.
5320
5321 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5322 (face-spec-reset-face): Don't assign extra properties in temacs.
5323 (face-spec-recalc): Apply X resources too.
5324
bacb0e77
CY
53252013-12-21 Chong Yidong <cyd@gnu.org>
5326
5327 * faces.el (face-spec-set):
5328 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5329 * custom.el (defface): Doc fixes (Bug#16203).
5330
77221051
CY
5331 * indent.el (indent-rigidly-map): Add docstring, and move commands
5332 into named functions.
5333 (indent-rigidly-left, indent-rigidly-right)
5334 (indent-rigidly-left-to-tab-stop)
5335 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5336 indentation direction based on bidi direction, and accumulate
5337 sequential commands in a single undo boundary.
5338 (indent-rigidly--pop-undo): New utility function.
5339
e0eb0550
JB
53402013-12-20 Juanma Barranquero <lekktu@gmail.com>
5341
5342 * faces.el (read-face-name): Require crm.el when using crm-separator.
5343
3282bd2e
DC
53442013-12-20 Daniel Colascione <dancol@dancol.org>
5345
5346 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5347 so that we don't reflow comments into the shebang line.
5348
1d42e5b6
JL
53492013-12-20 Juri Linkov <juri@jurta.org>
5350
5351 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5352 a position when `dired-directory' is non-nil. Check integer
5353 positions with `integerp'.
5354 (toggle-save-place, save-places-to-alist): Add check for
5355 `dired-directory'.
5356 (save-place-find-file-hook): Check integer positions with
5357 `integerp'.
5358 (save-place-dired-hook): Use `dired-goto-file' when
5359 `dired-filename' is found in the assoc list. Check integer
5360 positions with `integerp'.
5361 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5362
5363 * dired.el (dired-initial-position-hook): Rename back from
5364 `dired-initial-point-hook'.
5365 (dired-initial-position): Rename `dired-initial-point-hook' to
5366 `dired-initial-position-hook'.
5367 (dired-file-name-at-point): Doc fix. (Bug#15329)
5368
24da7273
JL
53692013-12-20 Juri Linkov <juri@jurta.org>
5370
5371 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5372 (read-regexp-suggestions): New function.
5373 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5374 Use `read-regexp-suggestions'. Add non-empty default to history
5375 for empty input.
5376 (occur-read-regexp-defaults-function): Remove function.
5377 (occur-read-primary-args): Use `regexp-history-last' instead of
5378 `occur-read-regexp-defaults-function'.
5379
5380 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5381 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5382 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5383 `hi-lock-read-regexp-defaults-function'. Doc fix.
5384 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5385 with `find-tag-default-as-symbol-regexp'. Doc fix.
5386 (hi-lock-read-regexp-defaults): Remove function.
5387 (hi-lock-regexp-okay): Add check for null.
5388
5389 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5390 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5391
5392 * subr.el (find-tag-default-as-symbol-regexp): New function.
5393 (find-tag-default-as-regexp): Move symbol regexp formatting to
5394 `find-tag-default-as-symbol-regexp'.
5395
137f57c8
S
53962013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5397
5398 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5399 (Bug#14179)
5400
f3a66082
SB
54012013-12-20 Stephen Berman <stephen.berman@gmx.net>
5402
5403 * calendar/todo-mode.el: New implementation of item insertion
5404 commands and key bindings.
5405 (todo-key-prompt): New face.
5406 (todo-insert-item): New command.
5407 (todo-insert-item--parameters): New defconst, replacing defvar
5408 todo-insertion-commands-args-genlist.
5409 (todo-insert-item--param-key-alist): New defconst, replacing
5410 defvar todo-insertion-commands-arg-key-list.
5411 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5412 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5413 (todo-insert-item--next-param): New functions.
5414 (todo-insert-item--args, todo-insert-item--argleft)
5415 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5416 New variables.
5417 (todo-key-bindings-t): Change binding of "i" from
5418 todo-insertion-map to todo-insert-item.
5419 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5420 (todo-insertion-command-name, todo-insertion-commands-names)
5421 (todo-define-insertion-command, todo-insertion-commands)
5422 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5423
2f99433b
SB
54242013-12-20 Stephen Berman <stephen.berman@gmx.net>
5425
5426 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5427 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5428 eval-when-compile.
5429 (todo-move-category): Allow choosing a non-existing todo file to
5430 move the category to, and create that file.
5431 (todo-default-priority): New user option.
5432 (todo-set-item-priority): Use it.
5433 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5434 (desktop-restore-file-buffer): Declare.
5435 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5436 (todo-modes-set-2): Locally set desktop-save-buffer to
5437 todo-desktop-save-buffer.
5438 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5439 (auto-mode-alist): Add autoload cookie.
5440
131e4695
BB
54412013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5442
5443 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5444 helpers.el was a poor choice of name.
3cbfb935
BB
5445 (string-remove-prefix): New function.
5446 (string-remove-suffix): New function.
131e4695 5447
c44de18d
MR
54482013-12-20 Martin Rudalics <rudalics@gmx.at>
5449
5450 Fix assignment for new window total sizes.
5451 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
5452 (window--pixel-to-total-1, window--pixel-to-total):
5453 Fix calculation of new total sizes.
c44de18d 5454
ca65efcc
VS
54552013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5456
5457 * comint.el (comint-output-filter): Fix rear-nonsticky property
5458 placement (Bug#16010).
5459
a9574eb7
CY
54602013-12-20 Chong Yidong <cyd@gnu.org>
5461
5462 * faces.el (read-color): Minor fix for completion function.
5463
b520f210
DG
54642013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5465
e0eb0550
JB
5466 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5467 New option. (Bug#16182)
b520f210
DG
5468 (ruby-smie--indent-to-stmt-p): Use it.
5469 (ruby-smie-rules): Revert the logic in the handling of `when'.
5470 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5471 (ruby-deep-arglist, ruby-deep-indent-paren)
5472 (ruby-deep-indent-paren-style): Update docstrings to note that the
5473 vars don't have any effect with SMIE.
5474
26b75b45
JB
54752013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5476
5477 * calc/calc.el (calc-enter, calc-pop): Use the variable
5478 `calc-context-sensitive-enter'.
5479
cf91cee7
LMI
54802013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5481
5482 * net/shr.el (shr-insert): Protect against infloops in degenerate
5483 tables.
5484
51d971b4
RS
54852013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5486
5487 * progmodes/octave.el (octave): Add link to manual and octave
5488 homepage.
5489 (octave-mode-menu): Link to octave-mode manual.
5490
8c2e462a
LL
54912013-12-20 Leo Liu <sdl.web@gmail.com>
5492
5493 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5494 insertion using skeleton-end-newline. (Bug#16138)
5495
501158bc
JL
54962013-12-20 Juri Linkov <juri@jurta.org>
5497
5498 * replace.el (occur-engine): Use `add-face-text-property'
5499 to add the face property to matches and titles. (Bug#14645)
5500
5501 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5502 the palette of other hi-lock colors.
5503 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5504
50ab1da6
JL
55052013-12-19 Juri Linkov <juri@jurta.org>
5506
5507 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5508 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5509 (minibuffer-history-symbol): Move variable declaration closer to
5510 its usage.
5511
5512 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5513 (Bug#14785)
5514
3d6e95e7
JL
55152013-12-19 Juri Linkov <juri@jurta.org>
5516
5517 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5518 New function.
5519 (log-edit-hook): Add it to :options. (Bug#16170)
5520
b41594fd
JL
55212013-12-19 Juri Linkov <juri@jurta.org>
5522
5523 * simple.el (eval-expression-print-format): Don't check for
5524 command names and the last command. Always display additional
5525 formats of the integer result in the echo area, and insert them
5526 to the current buffer only with a zero prefix arg.
5527 Display character when char-displayable-p is non-nil.
5528 (eval-expression): With a zero prefix arg, set `print-length' and
5529 `print-level' to nil, and insert the integer values from
5530 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5531
5532 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5533 `eval-last-sexp-arg-internal'. Doc fix.
5534 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5535 `eval-last-sexp-print-value'. Doc fix.
5536 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5537 Set `print-length' and `print-level' to nil when arg is zero.
5538 (eval-last-sexp): Doc fix.
5539 (eval-defun-2): Print the integer values from
5540 `eval-expression-print-format' at the end.
5541
5542 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5543 values from `eval-expression-print-format' at the end.
5544
5545 * ielm.el (ielm-eval-input): Print the integer
5546 values from `eval-expression-print-format' at the end.
5547
8f2be364
TZ
55482013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5549
5550 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5551 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5552
2230a6e3
SM
55532013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5556 (hl-line-highlight, global-hl-line-highlight): Use it.
5557 (hl-line-overlay): Use defvar-local.
5558
1269a680
JD
55592013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5560
5561 * term/ns-win.el: Require dnd.
5562 (global-map): Remove drag items.
5563 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
5564 (ns-set-background-at-mouse):
5565 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5566 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5567 New functions.
1269a680 5568
049638ad
GM
55692013-12-19 Glenn Morris <rgm@gnu.org>
5570
5571 * emacs-lisp/ert.el (ert-select-tests):
5572 Fix string/symbol mixup. (Bug#16121)
5573
ce41edb4
DG
55742013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5575
5576 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5577 keywords to their parent.
5578
7e1549c9
DG
55792013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5580
5581 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5582 first arg to be a string (fixed dead code), or an operator symbol.
5583 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5584 operator symbols.
5585 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5586 did nothing. Don't respond to `(:after ".")', it will be called
5587 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5588 change anything. Only return indentation for binary operators
5589 when they are hanging. De-dent opening paren when its parent is
5590 `.', otherwise it looks bad when the dot is not at bol or eol
5591 (bug#16182).
5592
3ee4cd64
JL
55932013-12-19 Juri Linkov <juri@jurta.org>
5594
5595 * replace.el (query-replace-read-args): Split a non-negative arg
5596 and a negative arg into separate elements.
5597 (query-replace, query-replace-regexp, replace-string)
5598 (replace-regexp): Add arg `backward'. Doc fix.
5599 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5600 move point to the beginning of the match.
5601 (replace-search, replace-highlight): Use new arg `backward'
5602 to set the value of `isearch-forward'.
5603 (perform-replace): Add arg `backward' and use it to perform
5604 replacement backward. (Bug#14979)
5605
5606 * isearch.el (isearch-query-replace): Use a negative prefix arg
5607 to call `perform-replace' with a non-nil arg `backward'.
5608
0cda6b7b
JL
56092013-12-18 Juri Linkov <juri@jurta.org>
5610
5611 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5612 to the default list. Move `log-edit-show-files' to the end.
5613 Add more available functions to options.
5614 (log-edit): Move default specific settings to
5615 `log-edit-insert-message-template'. Don't move point.
5616 (log-edit-insert-message-template): New function.
5617 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5618 (Bug#16170)
5619
b216f0a6
JL
56202013-12-18 Juri Linkov <juri@jurta.org>
5621
5622 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5623 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5624
1d1c55dc
LL
56252013-12-18 Leo Liu <sdl.web@gmail.com>
5626
e9dc713d
JB
5627 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5628 (Bug#16186)
1d1c55dc 5629
64e4c76e
EZ
56302013-12-18 Eli Zaretskii <eliz@gnu.org>
5631
5632 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5633 formats for displaying file sizes when the -s switch is given.
5634 Instead, compute a separate format for displaying the size in
5635 blocks, which is displayed in addition to the "regular" size.
5636 When -h is given in addition to -s, produce size in blocks in
5637 human-readable form as well. (Bug#16179)
5638
b2984e39
TH
56392013-12-18 Tassilo Horn <tsdh@gnu.org>
5640
2230a6e3
SM
5641 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5642 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 5643
50ff2e06
CY
56442013-12-18 Chong Yidong <cyd@gnu.org>
5645
0081bc84
CY
5646 * cus-edit.el (custom-magic-alist): Fix "themed" description
5647 (Bug#14348).
5648
a7ee9424
CY
5649 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5650 is non-nil, do not create a new entry in the symbol's theme-value
5651 or theme-face property; update theme-settings only (Bug#14664).
18874304 5652 (custom-available-themes): Doc fix.
a7ee9424 5653
8f942537
CY
5654 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5655 (Bug#15674).
5656
50ff2e06
CY
5657 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5658
83c60f60
KI
56592013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5660
5661 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5662 (Bug#13914).
5663
e0eb0550 56642013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
5665
5666 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5667
1f41ee56
GM
56682013-12-18 Glenn Morris <rgm@gnu.org>
5669
5670 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 5671 * cus-start.el (load-prefer-newer): New option.
1f41ee56 5672
e82134b1
LW
56732013-12-18 Le Wang <l26wang@gmail.com>
5674
2230a6e3
SM
5675 * comint.el (comint-previous-matching-input-from-input):
5676 Retain point (Bug#13404).
e82134b1 5677
33f5d4c1
CY
56782013-12-18 Chong Yidong <cyd@gnu.org>
5679
5680 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5681
ccc9f6dc
GM
56822013-12-18 Glenn Morris <rgm@gnu.org>
5683
5684 * mail/emacsbug.el (report-emacs-bug):
5685 Only mention enable-multibyte-characters if non-standard.
5686
33dd8e95
JL
56872013-12-17 Juri Linkov <juri@jurta.org>
5688
5689 * arc-mode.el (archive-extract-by-file): Check if directory exists
5690 before deletion to not show irrelevant errors if it doesn't exist.
5691
7a409b30
JL
56922013-12-17 Juri Linkov <juri@jurta.org>
5693
5694 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5695 (Bug#14751)
5696
5697 * net/eww.el (browse-web): Add alias to `eww'.
5698 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5699 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5700
5701 * net/browse-url.el (browse-url-browser-function): Move `eww'
5702 closer to similar functions.
5703
5704 * startup.el (fancy-startup-screen, fancy-about-screen):
5705 Set browse-url-browser-function to eww-browse-url locally.
5706 (Bug#14751)
5707
2d6b6005
SM
57082013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * window.el (window--pixel-to-total): Remove unused `mini' var.
5711 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5712 (split-window): Remove unused `new' var.
5713 (window--display-buffer): Remove unused `frame' and `delta' vars.
5714 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5715 and display-width'.
5716
cf2b7efc
MR
57172013-12-17 Martin Rudalics <rudalics@gmx.at>
5718
5719 * dired.el (dired-mark-pop-up):
5720 * register.el (register-preview): Don't bind
5721 split-height-threshold here since it's now done in
5722 display-buffer-below-selected.
5723
ed3af8a7 57242013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5725
5726 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5727 xterm-rgb-convert-to-16bit.
5728 (rxvt-register-default-colors): Standardize with
5729 xterm-register-default-colors (Bug#14078).
5730
76da3455
DK
57312013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5732
5733 * simple.el (kill-region): Pass mark first, then point, so that
5734 kill-append works right (Bug#12819).
5735 (copy-region-as-kill, kill-ring-save): Likewise.
5736
2b84d763
LL
57372013-12-17 Leo Liu <sdl.web@gmail.com>
5738
5739 * net/rcirc.el (rcirc-add-face):
5740 * eshell/em-prompt.el (eshell-emit-prompt):
5741 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5742 (Bug#16167)
5743
e2f6a0bc
CY
57442013-12-17 Chong Yidong <cyd@gnu.org>
5745
5746 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5747 Suggested by Xue Fuqiao.
5748
35b249a6
DG
57492013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5750
5751 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5752
e9145444
SM
57532013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * net/shr.el (shr-insert-document): Remove unused var
5756 `shr-preliminary-table-render'.
5757 (shr-rescale-image): Remove unused arg `force'.
5758 (shr-put-image): Update calls accordingly.
5759 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5760
5556c0ce
DG
57612013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5762
5763 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5764 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5765 :close-all, to see which indentation method to use (Bug#16116).
5766 (smie-rules-function): Document the method :close-all.
5767
11bade0a
LMI
57682013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5769
1c4b1e61
LMI
5770 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5771
11bade0a
LMI
5772 * net/eww.el (eww-display-html): If we can't find the anchor we're
5773 looking for, then go to point-min.
5774
8fb8c4f3
PE
57752013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5776
5777 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5778 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5779 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5780 Expand dir too, in case it's relative.
5781
6c8e0ae6
JL
57822013-12-16 Juri Linkov <juri@jurta.org>
5783
5784 * desktop.el (desktop-auto-save-timeout): Change default to
5785 `auto-save-timeout'. Doc fix.
5786 (desktop-save): Skip the timestamp in desktop-saved-frameset
5787 when checking for auto-save changes.
5788 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5789 `desktop-auto-save' is called repeatedly by the idle timer.
5790 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5791 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5792 (Bug#15331)
5793
2178e858
JL
57942013-12-16 Juri Linkov <juri@jurta.org>
5795
5796 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5797 (Bug#16035)
5798 (isearch-pre-command-hook): Check `this-command' for symbolp.
5799
39cb42c6
SM
58002013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5803
5b9b750a
TZ
58042013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5805
5806 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5807 (cfengine3--current-function): Bring in the current-function
5808 functionality from `cfengine3--current-word'.
5809 (cfengine3-completion-function): Bring in the
5810 bounds-of-current-word functionality from
5811 `cfengine3--current-word'.
5812
d144ef06
MR
58132013-12-16 Martin Rudalics <rudalics@gmx.at>
5814
39cb42c6
SM
5815 * window.el (display-buffer-below-selected):
5816 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 5817
a8bbe298
LL
58182013-12-16 Leo Liu <sdl.web@gmail.com>
5819
5820 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5821 Remove NOMSG arg and all uses changed.
5822
2013a2f9
SM
58232013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5826 (cua--deactivate-rectangle): Don't deactivate the mark.
5827 (cua-set-rectangle-mark): Don't set mark-active since
5828 cua--activate-rectangle already does it for us.
5829 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5830 non-rectangular region.
5831
5832 * emulation/cua-base.el (cua-repeat-replace-region):
5833 Use with-current-buffer.
5834
5835 * net/gnutls.el: Use cl-lib.
5836 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5837
5ae811dd
TZ
58382013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5839
5840 * emacs-lisp/package.el (package-built-in-p): Support both
5841 built-in and the package.el converted package descriptions.
5842 (package-show-package-list): Allow keywords.
5843 (package-keyword-button-action): Use it instead of
5844 `finder-list-matches'.
5845 (package-menu-filter-interactive): Interactive filtering (by
5846 keyword) function.
5847 (package-menu--generate): Support keywords and change keymappings
5848 and headers when they are given.
5849 (package--has-keyword-p): Helper function.
5850 (package-menu--refresh): Use it.
5851 (package--mapc): Helper function.
5852 (package-all-keywords): Use it.
5853 (package-menu-mode-map): Set up menu items and keybindings to
5854 provide a filtering UI.
5855
31b4827e
TZ
58562013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5857
5858 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5859 the behavior when a certificate fails validation. Defaults to
5860 old behavior: never abort, just warn.
5861 (gnutls-negotiate): Use it.
5862
f93cc74f
MR
58632013-12-14 Martin Rudalics <rudalics@gmx.at>
5864
5865 * window.el (display-buffer-below-selected): Never split window
5866 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5867
f77d7d17
TW
58682013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5869
5870 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5871 (package-buffer-info): Use it (bug#15108).
aa2bddd7 5872
7514d3f8
SM
58732013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5874
aa2bddd7 5875 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 5876 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 5877
276bc333
DG
58782013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5879
5880 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5881 open-paren tokens when preceded by a open-paren, too.
5882 (ruby-smie-rules): Handle virtual indentation after open-paren
5883 tokens specially. If there is code between it and eol, return the
5884 column where is starts (Bug#16118).
5885
d43957f3
TZ
58862013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5887
a5c1ac0c 5888 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 5889 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
5890 (cfengine3--current-word): Fix parameters.
5891 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
5892 (cfengine3-completion-function, cfengine3--current-function):
5893 Use `assq' for symbols.
d43957f3
TZ
5894 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5895
06a4f110
GM
58962013-12-13 Glenn Morris <rgm@gnu.org>
5897
5898 * loadup.el (load-path): Warn if site-load or site-init changes it.
5899 No more need to reset it when bootstrapping.
5900
978a5fda
TZ
59012013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5902
5903 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5904 locations for cf-promises.
5905 (cfengine-mode-syntax-functions-regex): New caching variable.
5906 (cfengine3-fallback-syntax): Fallback syntax for cases where
5907 cf-promises doesn't run.
5908 (cfengine3--current-word): Reimplement using
5909 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
5910 (cfengine3-completion-function, cfengine3--current-function):
5911 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
5912 (cfengine3-clear-syntax-cache): New function.
5913 (cfengine3-make-syntax-cache): Simplify and create
5914 `cfengine-mode-syntax-functions-regex' on demand.
5915 (cfengine3-format-function-docstring): Don't call
5916 `cfengine3-make-syntax-cache' explicitly.
5917
71e6691e
MR
59182013-12-13 Martin Rudalics <rudalics@gmx.at>
5919
5920 Fix windmove-find-other-window broken after pixelwise resizing
5921 (Bug#16017).
5922 * windmove.el (windmove-other-window-loc): Revert change from
5923 2013-12-04.
5924 (windmove-find-other-window): Call window-in-direction.
5925 * window.el (window-in-direction): New arguments SIGN, WRAP and
5926 MINI to emulate original windmove-find-other-window behavior.
5927
84c73ba0
DG
59282013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5929
5930 * simple.el (blink-matching--overlay): New variable.
5931 (blink-matching-open): Instead of moving point, highlight the
5932 matching paren with an overlay
5933 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5934
5935 * faces.el (paren-showing-faces, show-paren-match)
5936 (show-paren-mismatch): Move from paren.el.
5937
b9e20952
LL
59382013-12-13 Leo Liu <sdl.web@gmail.com>
5939
5940 * indent.el (indent-region): Disable progress reporter in
5941 minibuffer. (Bug#16108)
5942
5943 * bindings.el (visual-order-cursor-movement): Fix version.
5944
ce030451
FEG
59452013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5946
5947 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5948 Also match after beginning of line.
5949 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 5950 files. Thanks to Russell Sim. (Bug#15378)
ce030451 5951
4a9c6865
JL
59522013-12-13 Juri Linkov <juri@jurta.org>
5953
5954 * simple.el <Keypad support>: Remove key bindings duplicated
5955 with bindings.el. (Bug#14397)
5956
2bc170c3
JL
59572013-12-13 Juri Linkov <juri@jurta.org>
5958
5959 * comint.el (comint-mode-map): Replace `delete-char' with
5960 `delete-forward-char'. (Bug#16109)
5961
bc9222c9
FEG
59622013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5963
aa2bddd7 5964 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 5965 Fix de-denters cornercase. (Bug#15731)
bc9222c9 5966
cb3a1380
SM
59672013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5970 (advice--make): Pay attention to `depth'.
5971 (advice--make-1): Don't autoload commands eagerly.
5972 * emacs-lisp/elp.el (elp-instrument-function):
5973 * emacs-lisp/trace.el (trace-function-internal):
5974 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5975
5976 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5977
01633a17
EZ
59782013-12-12 Eli Zaretskii <eliz@gnu.org>
5979
5980 * term/w32-win.el (w32-handle-dropped-file):
5981 * startup.el (normal-top-level):
5982 * net/browse-url.el (browse-url-file-url):
5983 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5984 decode file names using 'utf-8' rather than
5985 file-name-coding-system.
5986
09faee72
FEG
59872013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5988
5989 * progmodes/python.el (python-indent-context)
5990 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 5991 behavior for comment blocks. (Bug#15916)
09faee72 5992
f4f84024 59932013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 5994
cb3a1380
SM
5995 * progmodes/python.el (python-indent-calculate-indentation):
5996 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
5997 operators when they are just string constituents. (Bug#15812)
5998
d5ccb7be
JL
59992013-12-12 Juri Linkov <juri@jurta.org>
6000
6001 * uniquify.el (uniquify-buffer-name-style): Change default to
6002 `post-forward-angle-brackets'.
6003
6004 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6005 `uniquify'. Change default to `post-forward-angle-brackets'.
6006
7b3f5679
GM
60072013-12-11 Glenn Morris <rgm@gnu.org>
6008
6009 * emacs-lisp/package.el (finder-list-matches):
6010 Autoload rather than falsely declaring.
6011
f4fe8fdd
TZ
60122013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6013
6014 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6015 (eww-mode-map): Use them.
6016
3c29190f
MR
60172013-12-11 Martin Rudalics <rudalics@gmx.at>
6018
6019 * window.el (display-buffer-in-side-window): Fix doc-string
6020 (Bug#16115).
6021
0cd616a2
JB
60222013-12-11 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * vc/vc-git.el: Silence byte-compiler warnings.
6025 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6026 (log-edit-set-header): Declare.
6027
3ef8e0d1
EZ
60282013-12-11 Eli Zaretskii <eliz@gnu.org>
6029
6030 * Makefile.in (custom-deps, finder-data): Run output file names
6031 through unmsys--file-name. (Bug#16099)
6032
afdadaf7
SM
60332013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6034
7ae3ae39 6035 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 6036 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 6037
5b4f37ab
SM
6038 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6039 instead of deleting the selection "by hand" (bug#16098).
6040 Rely on insert-for-yank to yank rectangles.
6041 (cua-highlight-region-shift-only): Mark obsolete.
6042 (cua-mode): Don't enable/disable transient-mark-mode,
6043 shift-select-mode (cua-mode works both with and without them), and
6044 pc-selection-mode (obsolete).
6045 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6046 (cua--deactivate-rectangle): Deactivate it.
6047
4b72c12b
SM
6048 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6049 (delete-selection-helper): Make sure yank starts at the top of the
6050 deleted region.
6051 (minibuffer-keyboard-quit): Use region-active-p.
6052
e82af72d
SM
6053 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6054
afdadaf7
SM
6055 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6056 to `delete' (bug#16109).
6057
ed4bc201
RS
60582013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6059
6060 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6061 info manual and show keybindings and set `:group' keyword.
6062
bb8097b9
JL
60632013-12-11 Juri Linkov <juri@jurta.org>
6064
6065 * delsel.el (delete-active-region): Let-bind `this-command'
6066 to prevent `kill-region' from changing its original value.
6067 (delete-selection-helper): Handle `overwrite-mode' for the type
6068 `kill' exactly the same way as for the type `t'.
6069 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6070 Support more commands. (Bug#13312)
6071
c1916ff5
JL
60722013-12-11 Juri Linkov <juri@jurta.org>
6073
6074 * bindings.el: Map kp keys to non-kp keys systematically
6075 with basic modifiers control, meta and shift. (Bug#14397)
6076
7514d3f8 60772013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
6078
6079 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6080 "Close browser" menu items. Fix wrong function of "List
6081 bookmarks".
6082
4cc51eaf
JL
60832013-12-11 Juri Linkov <juri@jurta.org>
6084
6085 * misearch.el (multi-isearch-buffers): Set the value of
6086 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6087 arg of isearch-forward to t.
6088 (multi-isearch-buffers-regexp): Set the value of
6089 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6090 arg of isearch-forward-regexp to t.
6091 (multi-isearch-files): Set the value of
6092 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6093 arg of isearch-forward to t.
6094 (multi-isearch-files-regexp): Set the value of
c295fc18 6095 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
6096 arg of isearch-forward-regexp to t. (Bug#16035)
6097
6098 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6099 arg of isearch-forward to t.
6100 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6101 arg of isearch-forward-regexp to t.
6102 (dired-isearch-filter-filenames): Remove unnecessary check for
6103 `dired-isearch-filenames'.
6104
6105 * comint.el (comint-history-isearch-backward):
6106 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6107 (comint-history-isearch-backward-regexp):
6108 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6109
ceac12b7
EZ
61102013-12-10 Eli Zaretskii <eliz@gnu.org>
6111
6112 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6113 unmsys--file-name. (Bug#16099)
6114
5a565782
TZ
61152013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6116
cb3a1380
SM
6117 * emacs-lisp/package.el (package-keyword-button-action):
6118 Remove finder.el require dependency.
5a565782 6119
a81fc7ba
TZ
61202013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6121
6122 * emacs-lisp/package.el: Require finder.el.
6123 (describe-package-1): Add keyword buttons.
6124 (package-make-button): New convenience function.
6125 (package-keyword-button-action): Keyword button action using
e0eb0550 6126 `finder-list-matches'.
a81fc7ba 6127
6aaca951
EZ
61282013-12-09 Eli Zaretskii <eliz@gnu.org>
6129
6130 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6131 last commit.
6132
a1099a91
MA
61332013-12-09 Michael Albinus <michael.albinus@gmx.de>
6134
6135 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6136 symlinked files.
6137
8212d9c0
DG
61382013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6139
6140 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6141 after the end of a percent literal.
6142
8f48d131
CD
61432013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6144
cb3a1380
SM
6145 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6146 Handle caret-delimited strings (Bug#16079).
8f48d131 6147
ff8c9764
DG
61482013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6149
cb3a1380
SM
6150 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6151 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
6152 `ruby-parse-partial' (Bug#16078).
6153
d64643b4
LL
61542013-12-09 Leo Liu <sdl.web@gmail.com>
6155
6156 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6157
47e59c66
DG
61582013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6159
6160 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6161 (js-switch-indent-offset): New option.
6162 (js--proper-indentation): Use it. And handle the case when
6163 "default" is actually a key in an object literal.
6164 (js--same-line): New function.
6165 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
6166 (js--indent-in-array-comp, js--array-comp-indentation):
6167 New functions.
47e59c66
DG
6168 (js--proper-indentation): Use them, to handle array comprehension
6169 continuations.
6170
974ebc9c
LL
61712013-12-08 Leo Liu <sdl.web@gmail.com>
6172
6173 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6174 (flymake-make-overlay): Remove arg MOUSE-FACE.
6175 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6176
27262e39
SM
61772013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6180 New function.
6181 (redisplay-highlight-region-function): Use it.
6182
6183 * emulation/cua-base.el (cua--explicit-region-start)
6184 (cua--last-region-shifted): Remove.
6185 (cua--deactivate): Use deactivate-mark.
6186 (cua--pre-command-handler-1): Don't handle shift-selection.
6187 (cua--post-command-handler-1): Don't change transient-mark-mode.
6188 (cua--select-keymaps): Use region-active-p rather than
6189 cua--explicit-region-start or cua--last-region-shifted.
6190 (cua-mode): Enable shift-select-mode.
6191
6407822c
LL
61922013-12-08 Leo Liu <sdl.web@gmail.com>
6193
27262e39
SM
6194 * progmodes/flymake.el (flymake-popup-current-error-menu):
6195 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
6196 (flymake-posn-at-point-as-event, flymake-popup-menu)
6197 (flymake-make-emacs-menu): Remove. (Bug#16077)
6198
00a2b823
SM
61992013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6200
02033d49
SM
6201 * rect.el (rectangle-mark-mode): Activate mark even if
6202 transient-mark-mode is off (bug#16066).
6203 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6204 is > mark and at bolp.
6205
6f8dfccf
SM
6206 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6207 (region-extract-function): Use it.
6208 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6209 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6210 Delete functions.
6211 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6212 kill-ring-save, kill-region, delete-char, delete-forward-char.
6213 Ignore self-insert-iso.
6214
6215 * emulation/cua-gmrk.el (cua--init-global-mark):
6216 Ignore `self-insert-iso'.
6217
6218 * emulation/cua-base.el (cua--prefix-copy-handler)
6219 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6220 checking cua--rectangle.
6221 (cua-delete-region): Use region-extract-function.
6222 (cua-replace-region): Delete function.
6223 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6224 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6225 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6226 (cua--init-keymaps): Don't remap delete-selection commands.
6227 (cua-mode): Use delete-selection-mode instead of rolling our own
6228 (bug#16085).
6229
6230 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6231 Obey region-extract-function.
6232
00a2b823
SM
6233 Make registers and delete-selection-mode work on rectangles.
6234 * register.el (describe-register-1): Don't modify the register's value.
6235 (copy-to-register): Obey region-extract-function.
6236 * delsel.el (delete-active-region): Obey region-extract-function.
6237
a92fa5f1
LL
62382013-12-08 Leo Liu <sdl.web@gmail.com>
6239
6240 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6241 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6242 (flymake-compilation-prevents-syntax-check)
6243 (flymake-start-syntax-check-on-newline)
6244 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6245 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6246 (flymake-xml-program, flymake-master-file-dirs)
6247 (flymake-master-file-count-limit)
6248 (flymake-allowed-file-name-masks): Relocate.
6249 (flymake-makehash, flymake-float-time)
6250 (flymake-replace-regexp-in-string, flymake-split-string)
6251 (flymake-get-temp-dir): Remove.
6252 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6253 (flymake-current-row, flymake-selected-frame)
6254 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6255 related functions. (Bug#16077)
6256
73c8ceea
BB
62572013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6258
6259 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6260
faec28d9
TH
62612013-12-07 Tassilo Horn <tsdh@gnu.org>
6262
6263 * help-fns.el (describe-function-1): Use new advice-* functions
6264 rather than old ad-* functions. Fix function type description and
6265 source links for advised functions and subrs.
6266
e330b646
LMI
62672013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6268
00a2b823 6269 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 6270
4803595d
MA
62712013-12-06 Michael Albinus <michael.albinus@gmx.de>
6272
6273 * progmodes/compile.el (compilation-start):
6274 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6275
6276 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6277 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6278
fa834a93
DG
62792013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6280
00a2b823
SM
6281 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6282 Touch up the last change.
fa834a93 6283
b2856a6f
LL
62842013-12-06 Leo Liu <sdl.web@gmail.com>
6285
6286 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6287 (inferior-octave-startup): Always use "octave> " for prompt.
6288 (octave-goto-function-definition)
6289 (octave-sync-function-file-names)
6290 (octave-find-definition-default-filename): Remove redundant backquotes.
6291
af67e79a
DG
62922013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6293
6294 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6295 syntax for `?'.
6296 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6297 where appropriate already.
6298 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6299 end of method names (Bug#15874).
6300
bf093209
JL
63012013-12-06 Juri Linkov <juri@jurta.org>
6302
6303 * isearch.el (isearch--saved-overriding-local-map):
6304 New internal variable.
6305 (isearch-mode): Set it to the initial value of
6306 `overriding-terminal-local-map'.
6307 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6308 with `isearch--saved-overriding-local-map'. (Bug#16035)
6309
16588fad
DG
63102013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6311
00a2b823
SM
6312 * progmodes/octave.el (inferior-octave-completion-table):
6313 Turn back into function, use `completion-table-with-cache'
16588fad
DG
6314 (Bug#11906). Update all references.
6315
6316 * minibuffer.el (completion-table-with-cache): New function.
6317
bf4906d7
CD
63182013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6319
6320 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6321
ff69c18f
TZ
63222013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6323
6324 * net/eww.el (eww-current-source): New variable to store page
6325 source.
6326 (eww-display-html, eww-mode, eww-save-history)
6327 (eww-restore-history): Use it.
6328 (eww-view-source): New command to view page source.
6329 Opportunistically uses `html-mode' to highlight the buffer.
6330 (eww-mode-map): Install it.
6331
b85eff45
MA
63322013-12-05 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * net/dbus.el (dbus-unregister-service)
6335 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6336 Fix docstring.
6337 (dbus-unregister-service): Skip :serial entries in
6338 `dbus-registered-objects-table'.
6339 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6340
39eb0899
TZ
63412013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6342
6343 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6344 around keywords with extra `split-string' argument.
6345
456760a5
MR
63462013-12-04 Martin Rudalics <rudalics@gmx.at>
6347
6348 * windmove.el (windmove-other-window-loc): Handle navigation
6349 between windows (excluding the minibuffer window - Bug#16017).
6350
81961e4c
MA
63512013-12-04 Michael Albinus <michael.albinus@gmx.de>
6352
6353 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6354 in D-Bus type syntax.
6355 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6356 preserve unibyte strings. (Bug#16048)
6357
8497f938
SM
63582013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6361 Call force-mode-line-update is the proper buffer (bug#16042).
6362
dda61916
DG
63632013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6364
6365 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6366 `log-edit-remember-comment', make argument optional. Adjust all
6367 callers.
6368 (log-edit-mode): Add `log-edit-remember-comment' to
6369 `kill-buffer-hook' locally.
6370 (log-edit-kill-buffer): Don't remember comment explicitly since
6371 the buffer is killed anyway.
6372
c085e5b9
JL
63732013-12-04 Juri Linkov <juri@jurta.org>
6374
6375 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6376 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6377
e0eb0550 63782013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
6379
6380 * notifications.el (notifications-close-notification): Call the
81961e4c 6381 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 6382
39fa32d6
KY
63832013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6384
6385 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6386
9139632a
JL
63872013-12-03 Juri Linkov <juri@jurta.org>
6388
6389 * progmodes/compile.el (compilation-start): Rename window alist
6390 entry `no-display-ok' to `allow-no-window'.
6391
6392 * simple.el (shell-command): Add window alist entry
6393 `allow-no-window' to `display-buffer'.
6394 (async-shell-command): Doc fix.
6395
6396 * window.el (display-buffer-no-window): New action function.
6397 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6398
0f457a37
DG
63992013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6400
6401 * vc/log-edit.el (log-edit-set-header): Extract from
6402 `log-edit-toggle-header'.
6403 (log-edit-extract-headers): Separate the summary, when extracted
6404 from header, from the rest of the message with an empty line.
6405
6406 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6407 line, if present, to the Summary header.
6408
0962f376
SM
64092013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6412 in current-buffer (bug#16029).
6413
f345395c
HE
64142013-12-02 Helmut Eller <eller.helmut@gmail.com>
6415
6416 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6417 (debugger-mode-map): Bind it.
6418 (debugger--backtrace-base): New function.
6419 (debugger-eval-expression): Use it.
6420 (debugger-frame-number): Skip local vars when present.
6421 (debugger--locals-visible-p, debugger--insert-locals)
6422 (debugger--show-locals, debugger--hide-locals): New functions.
6423
a8a15d9d
MA
64242013-12-02 Michael Albinus <michael.albinus@gmx.de>
6425
6426 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6427 "LC_ALL".
6428 (tramp-get-remote-locale): New defun.
6429 (tramp-open-connection-setup-interactive-shell): Use it.
6430
0518b057
LL
64312013-12-02 Leo Liu <sdl.web@gmail.com>
6432
6433 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6434
6435 * progmodes/sh-script.el (sh-shell-process):
6436 * progmodes/octave.el (inferior-octave-process-live-p):
6437 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6438 (gdb-inferior-io-sentinel):
6439 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6440
3adc9c6d
DG
64412013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6442
6443 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6444 `save-selected-window' to `log-edit-hide-buf'. This makes
6445 `log-edit-show-files' idempotent.
6446 (log-edit-show-files): Mark the new window as dedicated.
6447
47e8b74e
DG
64482013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6449
6450 * vc/log-edit.el (log-edit-mode-map): Add binding for
6451 `log-edit-kill-biffer'.
6452 (log-edit-hide-buf): Add a FIXME comment.
6453 (log-edit-add-new-comment): New function, extracted from
6454 `log-edit-done'.
6455 (log-edit-done, log-edit-add-to-changelog): Use it.
6456 (log-edit-kill-buffer): New command.
6457
1f6e1bb0
LMI
64582013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6459
6460 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6461 instead of killing the buffer.
6462
fb651d15
SM
64632013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6466
8feacce0
RS
64672013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6468
fb651d15 6469 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 6470 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
6471 (eww-form-checkbox, eww-toggle-checkbox):
6472 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6473
e0eb0550 6474 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 6475 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 6476 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
6477 no :src tag was specified.
6478
fb651d15 6479 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
6480 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6481 Use \\` to match beginning of string instead of ^.
6482 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 6483 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 6484
177948a5
RS
6485 * net/shr.el (shr-tag-video): Display content for video if no
6486 poster is available.
eb2dd24d 6487 (shr-tag-audio): Add support for <audio> tag.
177948a5 6488
e0eb0550 6489 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
6490 (eww-process-text-input): Treat input types in
6491 `eww-text-input-types' as text.
6492
8feacce0
RS
6493 * net/shr.el (shr-tag-table): Fix comment typo.
6494
513562a1
LMI
64952013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
6497 * net/eww.el (eww-follow-link): New command to avoid reloading
6498 pages when we follow #target links (bug#15243).
de8a5633 6499 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 6500
9dd99753
KN
65012013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6502
6503 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6504 forms.
6505
3e9876de
LMI
65062013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6507
6508 * net/eww.el (eww-restore-history): Update the window title after
6509 moving in the history.
ab6dea82 6510 (eww-current-dom): New variable used to save the current DOM.
3e9876de 6511
52789f7f
DG
65122013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6513
6514 * vc/log-edit.el (log-edit-mode-map): Add binding for
6515 `log-edit-beginning-of-line'.
6516 (log-edit-setup-add-author): New user option.
6517 (log-edit-beginning-of-line): New command.
6518 (log-edit): Move major mode call above the contents setup so that
6519 the local variable values are already applied.
6520 (log-edit): Only insert "Author: " when
6521 `log-edit-setup-add-author' is non-nil.
6522 (log-edit): When SETUP is non-nil, position point after ": "
6523 instead of point-min.
6524
2e6710c3
GM
65252013-12-01 Glenn Morris <rgm@gnu.org>
6526
6527 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6528
fadec31f
EZ
65292013-11-30 Eli Zaretskii <eliz@gnu.org>
6530
6531 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 6532 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
6533 visible. (Bug#16014)
6534
10634b40 65352013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
6536
6537 Support resizing frames and windows pixelwise.
6538 * cus-start.el (frame-resize-pixelwise)
6539 (window-resize-pixelwise): New entries.
6540 * emacs-lisp/debug.el (debug): Use window-total-height instead
6541 of window-total-size.
6542 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
6543 * help.el (describe-bindings-internal): Use help-buffer as
6544 argument for with-help-window.
880e6158
MR
6545 (temp-buffer-max-width): New option.
6546 (resize-temp-buffer-window, help-window-setup)
6547 (with-help-window): Rewrite.
6548 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6549 dragging dividers.
6550 * window.el (frame-char-size, window-min-pixel-height)
6551 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6552 (window-min-pixel-width, window-safe-min-pixel-size)
6553 (window-combination-p, window-safe-min-size)
6554 (window-resizable-p, window--size-to-pixel)
6555 (window--pixel-to-size, window--resize-apply-p): New functions.
6556 (window-safe-min-height): Fix doc-string.
6557 (window-size, window-min-size, window--min-size-1)
6558 (window-sizable, window-sizable-p, window--min-delta-1)
6559 (window-min-delta, window--max-delta-1, window-max-delta)
6560 (window--resizable, window--resizable-p, window-resizable)
6561 (window-full-height-p, window-full-width-p, window-at-side-p)
6562 (window--in-direction-2, window-in-direction)
6563 (window--resize-reset-1, window--resize-mini-window)
6564 (window-resize, window-resize-no-error)
6565 (window--resize-child-windows-normal)
6566 (window--resize-child-windows, window--resize-siblings)
6567 (window--resize-this-window, window--resize-root-window)
6568 (window--resize-root-window-vertically)
6569 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6570 (maximize-window, minimize-window, delete-window)
6571 (quit-restore-window, window-split-min-size, split-window)
6572 (balance-windows-2, balance-windows)
6573 (balance-windows-area-adjust, balance-windows-area)
6574 (window--state-get-1, window-state-get, window--state-put-1)
6575 (window--state-put-2, window-state-put)
fb651d15
SM
6576 (display-buffer-record-window, window--display-buffer):
6577 Make functions handle pixelwise sizing of windows.
880e6158 6578 (display-buffer--action-function-custom-type)
fb651d15
SM
6579 (display-buffer-fallback-action):
6580 Add display-buffer-in-previous-window.
880e6158
MR
6581 (display-buffer-use-some-window): Resize window to height it had
6582 before.
6583 (fit-window-to-buffer-horizontally): New option.
6584 (fit-frame-to-buffer): Describe new values.
6585 (fit-frame-to-buffer-bottom-margin): Replace with
6586 fit-frame-to-buffer-margins.
6587 (window--sanitize-margin): New function.
6588 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6589 using window-text-pixel-size.
6590
f9b697dd
GM
65912013-11-30 Glenn Morris <rgm@gnu.org>
6592
3e2fb4db
GM
6593 * emacs-lisp/bytecomp.el (byte-compile-form):
6594 Make the `interactive-only' warning like the `obsolete' one.
6595 * comint.el (comint-run):
6596 * files.el (insert-file-literally, insert-file):
6597 * replace.el (replace-string, replace-regexp):
6598 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6599 (goto-line, insert-buffer, next-line, previous-line):
6600 Tweak `interactive-only' spec.
6601
f9b697dd
GM
6602 Stop keeping (most) generated cedet grammar files in the repository.
6603 * Makefile.in (semantic): New.
6604 (compile-main): Depend on semantic.
6605
da048127
SM
66062013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6607
7784b779
SM
6608 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6609 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6610
4e36a6a6
SM
6611 * uniquify.el (uniquify-buffer-name-style): Change default.
6612
6613 * loadup.el: Preload "uniquify".
6614
e0ba1308
SM
6615 * time.el (display-time-update): Update all mode lines (bug#15999).
6616
da048127
SM
6617 * electric.el (electric-indent-mode): Enable by default.
6618 * loadup.el: Preload "electric".
6619
015b3b3e
BB
66202013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6621
6622 * emacs-lisp/helpers.el (string-empty-p): New function.
6623 (string-blank-p): New function.
6624
7efb806d
AP
66252013-11-29 Andreas Politz <politza@hochschule-trier.de>
6626
6627 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6628 (Bug#14029).
6629
c8f0efc2
AP
66302013-11-29 Andreas Politz <politza@fh-trier.de>
6631 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6632 allow non-lambda lists as functions.
6633 (imenu--in-alist): Don't recurse into non-subalists.
6634 (imenu): Don't pass function itself as an argument (Bug#14029).
6635
bd15d9d1
SM
66362013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * progmodes/python.el (python-mode-map): Remove binding for ":".
6639 (python-indent-electric-colon): Remove command.
6640 (python-indent-post-self-insert-function): Integrate the previous code
6641 of python-indent-electric-colon. Make it conditional on
6642 electric-indent-mode.
6643 (python-mode): Add ?: to electric-indent-chars.
6644 Move python-indent-post-self-insert-function to the end of
6645 post-self-insert-hook.
6646
1b10adb6
SM
66472013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6648
655ab9a3
SM
6649 * doc-view.el (doc-view-goto-page): Update mode-line.
6650
1b10adb6
SM
6651 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6652
7e3bf78c
GM
66532013-11-27 Glenn Morris <rgm@gnu.org>
6654
6655 * international/charprop.el, international/uni-bidi.el:
6656 * international/uni-category.el, international/uni-combining.el:
6657 * international/uni-comment.el, international/uni-decimal.el:
6658 * international/uni-decomposition.el, international/uni-digit.el:
6659 * international/uni-lowercase.el, international/uni-mirrored.el:
6660 * international/uni-name.el, international/uni-numeric.el:
6661 * international/uni-old-name.el, international/uni-titlecase.el:
6662 * international/uni-uppercase.el:
6663 Remove generated files from VCS repository.
6664
fb6a5d68
EZ
66652013-11-27 Eli Zaretskii <eliz@gnu.org>
6666
6667 * filenotify.el (file-notify-add-watch): Don't special-case
6668 w32notify when computing the directory to watch.
6669
cb6c95a3
GM
66702013-11-27 Glenn Morris <rgm@gnu.org>
6671
20372d0c
GM
6672 Make bootstrap without generated uni-*.el files possible again.
6673 * loadup.el: Update command-line-args checking for unidata-gen.
6674 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6675 * composite.el, international/characters.el:
6676 Handle unicode tables being undefined.
6677
52d6635f 6678 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
6679 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6680 (compile-main): Depend on leim rule.
6681 (leim): New rule.
6682 * loadup.el: Move leim-list.el to leim/ subdirectory.
6683 * startup.el (normal-top-level): No more leim directory.
6684 * international/ja-dic-cnv.el (skkdic-convert):
6685 Disable version-control and autoloads in output files.
6686 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6687 Disable version-control and autoloads in output files.
6688 * leim/quail: Move here from ../leim.
6689 * leim/quail/hangul.el (hangul-input-method-activate):
6690 Add autoload cookie.
6691 (generated-autoload-load-name): Set file-local value.
6692 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6693 (generated-autoload-load-name): Set file-local value.
6694
7514d3f8 66952013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 6696
e0eb0550 6697 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 6698 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 6699 (eww-quit): Ask confirmation before quitting eww.
e47112ee 6700
0e2c793f
EZ
67012013-11-26 Eli Zaretskii <eliz@gnu.org>
6702
6703 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6704 reading output from Diff on MS-Windows and MS-DOS.
6705
447bdcb8
BB
67062013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6707
6708 * emacs-lisp/helpers.el (string-reverse): New function.
6709
5fbf6856
MA
67102013-11-26 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6713 names on MS Windows, like "/[::1]:".
6714
6715 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6716 SWITCHES.
6717
624780f0
GM
67182013-11-26 Glenn Morris <rgm@gnu.org>
6719
0bf3f0fa
GM
6720 * progmodes/python.el (python-indent-guess-indent-offset):
6721 Avoid corner-case error. (Bug#15975)
6722
624780f0
GM
6723 Preload leim-list.el. (Bug#4789)
6724 * loadup.el: Load leim-list.el when found.
6725 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6726
4301875e 67272013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
6728
6729 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6730
4301875e
BB
6731 * emacs-lisp/helpers.el (string-join): New function.
6732
1633a815 67332013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
6734
6735 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6736 Mark as obsolete and replace it with a symbol property.
6737 (byte-compile-form): Use new 'interactive-only property.
6738 * comint.el, files.el, replace.el, simple.el:
6739 Apply new 'interactive-only properly.
6740
00139435
MR
67412013-11-25 Martin Rudalics <rudalics@gmx.at>
6742
6743 * window.el (display-buffer-at-bottom): Make sure that
6744 split-window-sensibly creates the new window on bottom
6745 (Bug#15961).
6746
5f5b128d
DK
67472013-11-23 David Kastrup <dak@gnu.org>
6748
6749 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6750 on the conflict markers when available.
6751 (smerge--get-marker): New function.
6752 (smerge-end-re, smerge-base-re): Add subgroup.
6753
623891e5
SM
67542013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * frame.el (handle-focus-in, handle-focus-out): Add missing
6757 interactive spec.
6758
05ca27d8
MA
67592013-11-25 Michael Albinus <michael.albinus@gmx.de>
6760
6761 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6762 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6763
511fa0d3
SM
67642013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6765
e82ad66c
SM
6766 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6767 (gomoku--last-pos): New var.
6768 (gomoku--intangible-chars): New const.
6769 (gomoku--intangible): New function.
6770 (gomoku-mode): Use it. Derive from special-mode.
6771 (gomoku-move-up): Adjust line count.
6772 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6773 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6774 Simplify accordingly.
6775
511fa0d3
SM
6776 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6777 Remove blink-cursor code.
6778 (blink-cursor-timer-function, blink-cursor-suspend):
6779 Don't special-case GUIs.
6780 (blink-cursor-mode): Use focus-in/out-hook.
6781
6f20dd03
DG
67822013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6783
6784 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6785 work when annotation is invisible (Bug#13886).
6786
431dec31 67872013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
6788
6789 * json.el (json-alist-p): Only return non-nil if the alist has
6790 simple keys (Bug#13518).
6791
431dec31 67922013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
6793
6794 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6795 when control-statement is the first statement in a buffer (Bug#15956).
6796
ee4f0261
DG
67972013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6798
6799 * imenu.el (imenu-generic-skip-comments-and-strings):
6800 New option (Bug#15560).
6801 (imenu--generic-function): Use it.
6802
c484f866
JS
68032013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6804
e9dc713d
JB
6805 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6806 (Bug#13898)
c484f866 6807
41ce6f70
BB
68082013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6809
b55aea38
BB
6810 * emacs-lisp/helpers.el: Add some string helpers.
6811 (string-trim-left): Removes leading whitespace.
6812 (string-trim-right): Removes trailing whitespace.
6813 (string-trim): Removes leading and trailing whitespace.
6814
41ce6f70
BB
6815 * subr.el (string-suffix-p): New function.
6816
3cfb6af3
GM
68172013-11-23 Glenn Morris <rgm@gnu.org>
6818
6819 * progmodes/python.el (python-shell-send-file):
6820 Add option to delete file when done. (Bug#15647)
6821 (python-shell-send-string, python-shell-send-region): Use it.
6822
c27924b7
IS
68232013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6824
e1b01c7f
IS
6825 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6826 to set buffer-read-only to t, never to nil. (Bug#15938)
6827
c27924b7
IS
6828 * textmodes/tex-mode.el (latex-noindent-environments):
6829 Add safe-local-variable property. (Bug#15936)
6830
17e0445b
GM
68312013-11-23 Glenn Morris <rgm@gnu.org>
6832
92f78ea3
GM
6833 * textmodes/enriched.el (enriched-mode): Doc fix.
6834 * emacs-lisp/authors.el (authors-renamed-files-alist):
6835 Add enriched.doc -> enriched.txt.
6836
17e0445b
GM
6837 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6838
965bb23a
LL
68392013-11-22 Leo Liu <sdl.web@gmail.com>
6840
6841 * progmodes/octave.el (inferior-octave-startup): Spit out error
6842 message.
6843
d19ffd64
BB
68442013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6845
6846 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6847 Improve docstring.
15ba2182
BB
6848 Add :version.
6849 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 6850
7a7567d2
LL
68512013-11-22 Leo Liu <sdl.web@gmail.com>
6852
6853 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6854 (Bug#15076)
8c09f64b
LL
6855 (octave-help-mode): Adapt to change to help-mode-finish to use
6856 derived-mode-p on 2013-09-17.
6857 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 6858 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 6859
724bc265
LL
68602013-11-22 Leo Liu <sdl.web@gmail.com>
6861
6862 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6863 (inferior-octave-startup, inferior-octave-check-process)
6864 (inferior-octave-track-window-width-change)
6865 (octave-completion-at-point, octave-eldoc-function): Use it.
6866 (octave-kill-process): Provide confirmation. (Bug#10564)
6867
38637cca
LL
68682013-11-21 Leo Liu <sdl.web@gmail.com>
6869
511fa0d3
SM
6870 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6871 Fix obsolete variable comment-use-global-state.
38637cca 6872
06e752b4
RS
68732013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6874
511fa0d3
SM
6875 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6876 Add `octave-source-file'.
06e752b4
RS
6877 (octave-source-file): New function. (Bug#15935)
6878
7514d3f8 68792013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
6880
6881 * net/eww.el (eww-local-regex): New variable.
6882 (eww): Use it to detect localhost and similar.
6883
b6ffa04a
LL
68842013-11-21 Leo Liu <sdl.web@gmail.com>
6885
6886 Add completion for command `ag'.
2021a200
LL
6887 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6888 (pcomplete/ag): New function.
e9dc713d 6889 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 6890
d1a6bccc
SM
68912013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6894 (bug#14646).
6895 (make-obsolete): Remove interactive spec.
6896
2df10228
GM
68972013-11-21 Glenn Morris <rgm@gnu.org>
6898
6899 * startup.el (command-line-1): Use path-separator with -L.
6900
86fd16b6
TZ
69012013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6902
6903 * emacs-lisp/package.el (describe-package-1): Add package archive
6904 to shown fields.
6905
0449d6cd 69062013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
6907
6908 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6909 Change default to "# encoding: %s" to differentiate it from the
6910 default Ruby encoding comment template.
6911
dc7e8c17 69122013-11-20 era eriksson <era+emacsbugs@iki.fi>
6913
6914 * ses.el (ses-mode): Doc fix. (Bug#14748)
6915
f0cfa5fe
LL
69162013-11-20 Leo Liu <sdl.web@gmail.com>
6917
6918 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6919
826dc7b6
DN
69202013-11-19 Dan Nicolaescu <dann@gnu.org>
6921
6922 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6923 when rebase or bisect are in progress.
6924
a6e3a5d5
XF
69252013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6926
6927 * filenotify.el (file-notify-add-watch): Doc fix.
6928
f130cb76
LL
69292013-11-19 Leo Liu <sdl.web@gmail.com>
6930
e0855d7d
LL
6931 * obsolete/rcompile.el: Mark obsolete.
6932
f130cb76 6933 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
6934 (compilation-goto-locus, compilation-find-file):
6935 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
6936 (Bug#13594)
6937
6938 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
6939 new parameter no-display-ok. Return either a window or nil
6940 but never a non-window value.
f130cb76 6941
1f35d401
SM
69422013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6943
25158c76
SM
6944 * electric.el (electric-indent-mode-map): Remove.
6945 (electric-indent-mode): Change the global-map instead (bug#15915).
6946
6947 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6948 Use add-function.
1f35d401 6949
9bc67baa
SM
69502013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6951
986545b5
SM
6952 * emacs-lisp/nadvice.el (remove-function): Align with
6953 add-function's behavior.
6954
9bc67baa
SM
6955 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6956 (gdb--string-regexp): New constant.
6957 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6958 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6959 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6960 submatch 1.
6961 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6962 Adjust use accordingly.
6963 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6964
56cd894e
AS
69652013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6966
6967 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6968 interpolation curlies (Bug#15914).
6969
014690de
JB
69702013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6971
6972 * calc/calc.el (calc-context-sensitive-enter): New variable.
6973 (calc-enter): Use `calc-context-sensitive-enter'.
6974
7e26a6c3
TZ
69752013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6976
6977 * progmodes/cfengine.el: Version bump.
6978 (cfengine-cf-promises): New defcustom to locate cf-promises.
6979 (cfengine3-vartypes): Add new "data" type.
6980 (cfengine3--current-word): New function to get current name-like
6981 word or its bounds.
6982 (cfengine3--current-function): New function to look up a CFEngine
6983 function's definition.
6984 (cfengine3-format-function-docstring): New function.
6985 (cfengine3-make-syntax-cache): New function.
6986 (cfengine3-documentation-function): New function: ElDoc glue.
6987 (cfengine3-completion-function): New function: completion glue.
6988 (cfengine3-mode): Set `compile-command',
6989 `eldoc-documentation-function', and add to
6990 `completion-at-point-functions'.
6991
355204dd
MA
69922013-11-16 Michael Albinus <michael.albinus@gmx.de>
6993
6994 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6995 `tramp-current-connection'.
6996
43cebc23
DG
69972013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6998
6999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7000 nil/self/true/false with "end of symbol".
7001
a3fed6ff
BB
70022013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7003
7004 * subr.el (version-regexp-alist): Fix a typo.
7005
e675b3e4
MA
70062013-11-15 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7009 "en_US.utf8" and "LC_CTYPE" to "".
7010 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7011 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7012
a1f03e89
LL
70132013-11-15 Leo Liu <sdl.web@gmail.com>
7014
7015 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7016
5d9d9451
SM
70172013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7018
58362662
CS
7019 * progmodes/gud.el (ctl-x-map):
7020 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
7021 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7022
6c1bf086
BB
70232013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7024
0d5363c4
BB
7025 * subr.el (version-regexp-alist):
7026 Recognize hg, svn and darcs versions as snapshot versions.
7027
4e9fc48c
BB
7028 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7029 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7030 (ruby--encoding-comment-required-p): Extract from
7031 `ruby-mode-set-encoding'.
7032 (ruby-mode-set-encoding): Add the ability to always insert an
7033 utf-8 encoding comment. Fix and simplify coding comment update
7034 logic.
6c1bf086 7035
2f7e72f8
MA
70362013-11-14 Michael Albinus <michael.albinus@gmx.de>
7037
7038 * net/tramp-gvfs.el (top): Run init code only when
7039 `tramp-gvfs-enabled' is not nil.
7040 (tramp-gvfs-enabled): Check also :system bus.
7041
0f137a73
SM
70422013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 Sync with upstream verilog-mode revision 78e66ba.
7045 * progmodes/verilog-mode.el (verilog-end-of-defun)
7046 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7047 (verilog-get-end-of-defun): Remove unused argument.
7048 (verilog-comment-depth): Remove unused local `e'.
7049 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7050 Don't pass arg to verilog-get-end-of-defun.
7051
1c276bdd
GM
70522013-11-14 Glenn Morris <rgm@gnu.org>
7053
7054 * obsolete/assoc.el (aget): Prefix dynamic variable.
7055
7056 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7057
ff6ec81d
SM
70582013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * widget.el, hfy-cmap.el: Remove bogus package version number.
7061
75f777b6
GM
70622013-11-13 Glenn Morris <rgm@gnu.org>
7063
1d43dba1
GM
7064 * replace.el (replace-eval-replacement):
7065 Try to give more helpful error message. (Bug#15836)
7066
ff4b7bd5
GM
7067 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7068 (archive-7z-update): Avoid custom type mismatches.
7069
75f777b6
GM
7070 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7071
11151a06
MA
70722013-11-13 Michael Albinus <michael.albinus@gmx.de>
7073
e675b3e4 7074 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
7075 address can be empty.
7076
7077 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7078 Accept nil SWITCHES.
7079 (tramp-gvfs-handle-write-region): Implement APPEND.
7080
7b08f97e
DG
70812013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7082
7083 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
7084 binary "|" operator and closing block args delimiter.
7085 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
7086 (ruby-smie--implicit-semi-p): Not after "|" operator.
7087 (ruby-smie--closing-pipe-p): New function.
7088 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7089 (ruby-smie-rules): Indent after "|".
7090
f201cf3a
GM
70912013-11-12 Glenn Morris <rgm@gnu.org>
7092
7093 * ps-print.el (ps-face-attribute-list):
7094 Handle anonymous faces. (Bug#15827)
7095
e6f759f9
MR
70962013-11-12 Martin Rudalics <rudalics@gmx.at>
7097
7098 * window.el (display-buffer-other-frame): Fix doc-string.
7099 (Bug#15868)
7100
ecda65d4
SM
71012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7104
7ce8fcc3
MA
71052013-11-11 Michael Albinus <michael.albinus@gmx.de>
7106
7107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7108 (tramp-sh-handle-file-local-copy): Don't write a message when
7109 saving temporary files.
7110
7111 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7112 both directories are remote.
7113 (tramp-smb-handle-directory-files): Do not return double entries.
7114 Do not expand full file names.
7115 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7116 (tramp-smb-handle-write-region): Implement APPEND.
7117 (tramp-smb-get-stat-capability): Fix a stupid bug.
7118
7818df11
SM
71192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7122
608c2085
NT
71232013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7124
7125 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7126 throwing error over malformed let/let* (bug#15814).
7127
122a7e46
SM
71282013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * iswitchb.el (iswitchb-mode): Mark obsolete.
7131
766284d9
GM
71322013-11-11 Glenn Morris <rgm@gnu.org>
7133
7134 * international/uni-bidi.el, international/uni-category.el:
7135 * international/uni-name.el, international/uni-numeric.el:
7136 Regenerate for Unicode 6.3.0.
7137
7072a4e9
MA
71382013-11-10 Michael Albinus <michael.albinus@gmx.de>
7139
7140 * net/tramp.el (tramp-methods):
7141 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7142 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7143
c9df215b
AS
71442013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7145
608c2085
NT
7146 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7147 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 7148
fa47d796
DG
71492013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7150
7151 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 7152 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
7153 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7154 (ispell-complete-word): Call `ispell-lookup-words' with the value
7155 independent of `ispell-look-p'.
7156
1629a329
DG
71572013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7158
7159 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7160 Not after "||".
7161 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7162 their parent.
7163
ad16897c
SM
71642013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7167 (ruby-font-lock-keywords): Use backquote.
7168
ffa2df72
DG
71692013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7170
7171 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7172 (ruby-smie--backward-token): Only consider full-string matches.
7173
5b97b4c0
JD
71742013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7175
7176 * faces.el (describe-face): Add distant-foreground.
7177
71731c03
BB
71782013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7179
4e9fc48c
BB
7180 * progmodes/ruby-mode.el: Improve encoding comment handling.
7181 (ruby-encoding-magic-comment-style): New option.
7182 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
7183 (ruby--insert-coding-comment, ruby--detect-encoding):
7184 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
7185 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7186 to control the style of the auto-inserted encoding comment.
71731c03 7187
da3b328d
DG
71882013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7189
ad16897c
SM
7190 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7191 Use `smie-backward-sexp' with token argument.
da3b328d 7192
1606c2d3
MA
71932013-11-08 Michael Albinus <michael.albinus@gmx.de>
7194
7195 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7196 Remove instrumentation code.
7197
b0f4c320
GM
71982013-11-08 Glenn Morris <rgm@gnu.org>
7199
7200 * progmodes/autoconf.el (autoconf-mode):
7201 Tweak comment-start-skip. (Bug#15822)
7202
43668fb1
SM
72032013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7206 at bobp (bug#15826).
7207 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7208
daddb3fd
DH
72092013-11-08 Darren Hoo <darren.hoo@gmail.com>
7210
7211 * man.el (Man-start-calling): New macro, extracted from
7212 Man-getpage-in-background.
7213 (Man-getpage-in-background): Use it.
7214 (Man-update-manpage): New command.
7215 (Man-mode-map): Bind it.
7216
1f923923
DG
72172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7218
7219 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7220 of "and", "or", "&&" and "||".
7221 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7222 argument. Prohibit opening curly brace because it could only be a
7223 block opener in that position.
daddb3fd
DH
7224 (ruby-smie--forward-token, ruby-smie--backward-token):
7225 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
7226 arguments.
7227 (ruby-smie--indent-to-stmt): New function, seeks the end of
7228 previous statement or beginning of buffer.
7229 (ruby-smie-rules): Use it.
7230 (ruby-smie-rules): Check if there's a ":" before a curly block
7231 opener candidate; if there is, it's a hash.
7232
3220d527
SM
72332013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7236 (cl--block-wrapper): Fix last accidental change.
7237
1eb1f9e0
MA
72382013-11-07 Michael Albinus <michael.albinus@gmx.de>
7239
7240 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7241 Instrument, in order to hunt failure on hydra.
7242
e6e4db3c
NT
72432013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7244
7245 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7246 malformed bindings form (bug#15814).
7247
b420ccfc
DG
72482013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7249
7250 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
7251 "." compared to " @ ". This incidentally fixes some indentation
7252 examples with "do".
e6e4db3c 7253 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
7254 (ruby-smie-grammar): New tokens: "and" and "or".
7255 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7256 Exclude "and" and "or". Remove "do" in order to work around token
7257 priorities.
7258 (ruby-smie-rules): Add all infix tokens. Handle the case of
7259 beginning-of-buffer.
b420ccfc 7260
6b4ac03e
GM
72612013-11-06 Glenn Morris <rgm@gnu.org>
7262
7263 * Makefile.in (setwins_almost, setwins_for_subdirs):
7264 Avoid accidental matches.
7265
5ca114d1
SM
72662013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * menu-bar.el (popup-menu): Use key-binding.
7269
f72552bd
EZ
72702013-11-06 Eli Zaretskii <eliz@gnu.org>
7271
7272 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7273 menus, support also the menus produced by minor modes.
7274 (Bug#15817)
7275
5d5c701e
LL
72762013-11-06 Leo Liu <sdl.web@gmail.com>
7277
7278 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 7279 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 7280
0a8b75e2
GM
72812013-11-06 Glenn Morris <rgm@gnu.org>
7282
7283 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
7284 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7285 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 7286
a35287ea
SM
72872013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7288
feca4e2d
SM
7289 * electric.el (electric-indent-just-newline): New command.
7290 (electric-indent-mode-map): New keymap.
7291 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7292 Re-add :group which weren't redundant.
7293
a35287ea
SM
7294 * electric.el (electric-indent-local-mode): New minor mode.
7295 (electric-indent-functions-without-reindent): New var.
7296 (electric-indent-post-self-insert-function): Use it.
7297 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7298
375761b2
EZ
72992013-11-05 Eli Zaretskii <eliz@gnu.org>
7300
9a6ad735
EZ
7301 * international/quail.el (quail-help): Be more explicit about the
7302 meaning of the labels shown on the keys. (Bug#15800)
7303
375761b2
EZ
7304 * startup.el (normal-top-level): Load the subdirs.el files before
7305 setting the locale environment. (Bug#15805)
7306
520a6e4a
SM
73072013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7308
0acfafef
SM
7309 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7310 via arguments so as to get the right ones (bug#15418).
7311
520a6e4a
SM
7312 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7313
15826261
MA
73142013-11-05 Michael Albinus <michael.albinus@gmx.de>
7315
7316 Fix problems found while writing a test suite.
7317
7318 * net/tramp-compat.el (tramp-compat-load): New defun.
7319 * net/tramp.el (tramp-handle-load): Use it.
7320
7321 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7322 "(numberp ok-if-already-exists)" correctly.
7323
d35f31a4
XF
73242013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7325
7326 * international/characters.el (glyphless-char-display-control):
7327 Add usage note.
7328
ae93bc74
BB
73292013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7330
520a6e4a
SM
7331 * progmodes/python.el (python-mode):
7332 * progmodes/scheme.el (scheme-mode):
7333 * progmodes/prolog.el (prolog-mode):
7334 * progmodes/ruby-mode.el (ruby-mode):
7335 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7336 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 7337
0ade65b5
SM
73382013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7339
a0d5f7a4
SM
7340 * rect.el (rectangle--highlight-for-redisplay):
7341 * emacs-lisp/smie.el (smie--next-indent-change):
7342 Use buffer-chars-modified-tick.
7343
c93f3f5c
SM
7344 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7345
0ade65b5
SM
7346 * electric.el (electric-indent-post-self-insert-function):
7347 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7348
ef9dd188
HE
73492013-11-04 Helmut Eller <eller.helmut@gmail.com>
7350
7351 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7352
306e7308
NT
73532013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7354
7355 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7356 (bug#15786).
7357
e5afbcac
SM
73582013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7359
1d01ad41
SM
7360 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7361
e5afbcac
SM
7362 * progmodes/python.el: Fix up last change.
7363 (python-shell--save-temp-file): New function.
7364 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7365 `string' comes from the current buffer.
7366 (python-shell-send-string-no-output): Remove `msg' arg.
7367 (python--use-fake-loc): New var.
7368 (python-shell-buffer-substring): Obey it. Try to compensate for the
7369 extra coding line added by python-shell--save-temp-file.
7370 (python-shell-send-region): Use python-shell--save-temp-file and
7371 python-shell-send-file directly. Add `nomain' argument.
7372 (python-shell-send-buffer): Use python-shell-send-region.
7373 (python-electric-pair-string-delimiter): New function.
7374 (python-mode): Use it.
7375
d0065ff1
EZ
73762013-11-04 Eli Zaretskii <eliz@gnu.org>
7377
7378 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7379 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7380 environment and decoding all of the default-directory's to here
7381 from command-line.
7382 (command-line): Decode also argv[0].
7383
7384 * loadup.el: Error out if default-directory is a multibyte string
7385 when we are dumping.
7386
7387 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7388
7397c587
TZ
73892013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7390
7391 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
7392 (package-menu--print-info, package-menu--archive-predicate):
7393 Add Archive column to package list.
7397c587 7394
b27cc9fc
MA
73952013-11-04 Michael Albinus <michael.albinus@gmx.de>
7396
7397 Fix problems found while writing a test suite.
7398
7399 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7400 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7401 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7402 to nil when running original file name handler. Otherwise,
7403 there are problems with constructs like "$$FOO".
7404
7405 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7406 for `localname'.
7407
d8c4f18a
BB
74082013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7409
7b530552
BB
7410 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7411
7412 * subr.el (version<, version<=, version=):
7413 Update docstrings with information for snapshot versions.
7414
d8c4f18a
BB
7415 * helpers.el: New library for misc helper functions.
7416 (hash-table-keys): New function returning a list of hash keys.
7417 (hash-table-values): New function returning a list of hash values.
7418
dca01b09
DG
74192013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7420
7421 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7422 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7423
0a749fa0
MN
74242013-11-04 Michal Nazarewicz <mina86@mina86.com>
7425
7426 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7427 checking whether point is after a 1-letter word.
7428
74292013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
7430
7431 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7432 Don't infloop when expanding region over `multiline' syntax-type that
7433 begins a line (bug#15778).
7434
4aca7145
SM
74352013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7438 Make it into a proper minor mode.
9b017563 7439 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
7440 (rectangle-mark-mode-map): New keymap.
7441 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7442
a0833f62
GM
74432013-11-04 Glenn Morris <rgm@gnu.org>
7444
7445 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7446
e61845c1
SM
74472013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7450 (ruby-smie-rules): Use smie-rule-parent instead.
7451
7452 * emacs-lisp/smie.el (smie-rule-parent): Always call
7453 smie-indent-virtual rather than only for hanging tokens.
7454 (smie--next-indent-change): New helper command.
7455
62942f89
GM
74562013-11-03 Glenn Morris <rgm@gnu.org>
7457
7458 * Makefile.in (abs_srcdir): Remove.
7459 (emacs): Unset EMACSLOADPATH.
7460
b0b9e592
GM
74612013-11-02 Glenn Morris <rgm@gnu.org>
7462
18ba6a33 7463 * Makefile.in (EMACS): Use a relative filename.
8061810d 7464 (abs_top_builddir): Remove.
18ba6a33
GM
7465 (custom-deps, finder-data, autoloads): Use --chdir.
7466
6a8b929e
GM
7467 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7468
c617f3d0
GM
7469 Use relative filenames in TAGS files.
7470 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7471 (lisptagsfiles4, TAGS): Use relative file names.
7472 (TAGS-LISP): Remove.
7473 (maintainer-clean): No more TAGS-LISP file.
7474
b0b9e592
GM
7475 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7476 (lisptagsfiles4): Use absolute filenames again.
7477 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7478 Remove all *loaddefs files, not just the first. Remove esh-groups.
7479 (maintainer-clean): Delete TAGS, TAGS-LISP.
7480
d1c0ea6a
BB
74812013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7482
e61845c1
SM
7483 * emacs-lisp/package.el (package-version-join):
7484 Recognize snapshot versions.
d1c0ea6a 7485
684d71c6
BB
74862013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7487
7488 * subr.el (version-regexp-alist): Add support for snapshot versions.
7489
3d42b968
DG
74902013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7491
e61845c1
SM
7492 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7493 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
7494 skip over our direct parent if it's an assignment token..
7495 (ruby-smie-rules): Use it.
7496
7ffd3721
DG
74972013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7498
8449dd1f 7499 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
7500 unconditionally. Remove now unnecessary forward declarations.
7501 Remove XEmacs-specific setup.
7502 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7503 (ruby-font-lock-syntactic-keywords)
7504 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7505 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7506 (ruby-here-doc-end-syntax): Remove.
7507 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7508 defined as function.
7509
a3996a2e
BB
75102013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7511
7512 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7513
6f9260e8
BB
75142013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7515
7516 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7517 table and abbrev table, `define-derived-mode' does that for us
7518 anyway.
7519
6014de84
GM
75202013-11-01 Glenn Morris <rgm@gnu.org>
7521
7522 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7523 files is atomic for some time, so no parallel compilation issues).
7524
3c334c14
JD
75252013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7526
7527 * faces.el (face-x-resources): Add :distant-foreground.
7528 (region): Use :distant-foreground for gtk and ns.
7529
9bc236c8
TH
75302013-11-01 Tassilo Horn <tsdh@gnu.org>
7531
5246583b 7532 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
7533 BibTeX.
7534 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7535 (reftex-locate-bibliography-files): Us it.
7536
d14c81ee
CB
75372013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7538
0e7690de
CB
7539 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7540 allow comments in pbm files.
7541
d14c81ee
CB
7542 * term/w32-win.el (dynamic-library-alist): Support newer versions
7543 of libjpeg starting with v7: look only for the DLL from the
7544 version against which Emacs was built.
ac1bf374 7545 Support versions of libpng beyond 1.4.x.
019c8218 7546 Support libtiff v4.x.
d14c81ee 7547
983d0df5
BB
75482013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7549
7550 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7551 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7552 Add property :safe.
7553 (ruby-deep-arglist): Add property :type.
7554
47f58d85
GM
75552013-10-31 Glenn Morris <rgm@gnu.org>
7556
7557 * Makefile.in (custom-deps, finder-data): No need to setq the target
7558 variables, we are in the right directory and the defaults work fine.
7559
4f85b479
GM
75602013-10-30 Glenn Morris <rgm@gnu.org>
7561
ca7dd4cd
GM
7562 * Makefile.in (autoloads): Do not use abs_lisp.
7563
4f85b479
GM
7564 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7565 `newline' does not respect `standard-output', so use `princ'.
7566
cf59e41c
AA
75672013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7568
7569 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7570 * buff-menu.el (Buffer-menu--unmark): New function.
7571 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7572
74cf04fb
GM
75732013-10-30 Glenn Morris <rgm@gnu.org>
7574
b040b60e
GM
7575 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7576
f53d3815
GM
7577 * emacs-lisp/package.el (lm-homepage): Declare.
7578
5413d873
GM
7579 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7580 Fix doc typos.
7581
cecedb36
GM
7582 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7583
74cf04fb
GM
7584 * Makefile.in (finder-data, autoloads, update-subdirs)
7585 (compile-main, compile-clean, compile-always, bootstrap-clean):
7586 Check return value of cd.
7587 (compile-calc): Remove.
7588
195ee2f0
SM
75892013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7590
ae4002ce
SM
7591 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7592
7593 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7594 (byte-compile-and-folded): New function.
7595 (=, <, >, <=, >=): Use it.
7596
7597 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7598 (path-separator, null-device, buffer-file-coding-system)
7599 (lpr-headers-switches): Check system-type before modifying them.
7600 (find-buffer-file-type-coding-system): Mark obsolete.
7601 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7602 find-file-not-found-set-buffer-file-coding-system.
35e951cd 7603 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 7604 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 7605 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
7606 (w32-direct-print-region-helper, w32-direct-print-region-function)
7607 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7608 * startup.el (normal-top-level-add-subdirs-to-load-path):
7609 * ps-print.el (ps-print-region-function):
7610 * lpr.el (print-region-function): Use new name.
7611
53b39e89
SM
7612 * subr.el (custom-declare-variable-early): Remove function.
7613 (custom-declare-variable-list): Remove var.
7614 (error, user-error): Remove `while' loop.
7615 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7616 (user-emacs-directory-warning, locate-user-emacs-file):
7617 Move to files.el.
7618 * simple.el (read-quoted-char-radix, read-quoted-char):
7619 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7620 Move from subr.el.
7621 * custom.el (custom-declare-variable-list): Don't process
7622 custom-declare-variable-list.
7623
195ee2f0
SM
7624 * progmodes/python.el (python-shell-get-buffer): New function.
7625 (python-shell-get-process): Use it.
7626 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7627 Python which encoding was used. Don't split-string since we only care
7628 about the first line. Return the temp-file, if applicable.
7629 (python-shell-send-region): Tell compile.el how to turn locations in
7630 the temp-file into locations in the source buffer.
7631
7e3561ee
SM
76322013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7633
4c9797cb
SM
7634 * subr.el (undefined): Add missing behavior from the C code for
7635 unbound keys.
7636
3472b6c6
SM
7637 * rect.el: Use lexical-binding. Add new rectangular region support.
7638 (rectangle-mark): New command.
7639 (rectangle--region): New var.
7640 (deactivate-mark-hook): Reset rectangle--region.
7641 (rectangle--extract-region, rectangle--insert-for-yank)
7642 (rectangle--highlight-for-redisplay)
7643 (rectangle--unhighlight-for-redisplay): New functions.
7644 (region-extract-function, redisplay-unhighlight-region-function)
7645 (redisplay-highlight-region-function): Use them to handle
7646 rectangular region.
7647 * simple.el (region-extract-function): New var.
7648 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7649 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7650 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7651 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7652 (redisplay-unhighlight-region-function)
7653 (redisplay-highlight-region-function): New vars.
7654 (redisplay--update-region-highlight): New function.
7655 (pre-redisplay-function): Use it.
7656 (exchange-point-and-mark): Don't deactivate the mark before
7657 reactivate-it anyway.
7658 * comint.el (comint-kill-region): Remove yank-handler argument.
7659 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7660 (delete-char): Remove property, since it's now part of their
7661 default behavior.
7662 (self-insert-iso): Remove property since this command doesn't exist.
7663
7e3561ee
SM
7664 * emacs-lisp/package.el (package--download-one-archive)
7665 (describe-package-1): Don't query the user about final newline.
7666
b9bef71f
DC
76672013-10-29 Daniel Colascione <dancol@dancol.org>
7668
7669 * net/tramp.el (tramp-methods): Document new functionality.
7670 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7671 tramp-hostname-checker if method provides one instead of scanning
7672 argument list for "%h" to decide hostname acceptability.
7673
4efc33f0
MA
76742013-10-28 Michael Albinus <michael.albinus@gmx.de>
7675
7676 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7677 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7678 Handle COPY-CONTENTS. (Bug#15737)
7679
ed42a877
DU
76802013-10-28 Daiki Ueno <ueno@gnu.org>
7681
9b017563 7682 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 7683 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 7684
18c9f8a2
XF
76852013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7686
35e951cd 7687 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 7688
b1e8e010
AM
76892013-10-27 Alan Mackenzie <acm@muc.de>
7690
7691 Indent statements in macros following "##" correctly.
7e3561ee
SM
7692 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7693 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 7694
73d40d1e 76952013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
7696
7697 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7698
c8c605ac
DG
76992013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7700
7701 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7702 after `=' is probably a new expression.
7703
ca7e59d4
RS
77042013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7705
7706 * man.el (man-imenu-title): New option.
7707 (Man-mode-map): Add menu. (Bug#15722)
7708 (Man-mode): Add imenu to menu.
7709
bae91342
DG
77102013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7711
7712 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7713 specific in what the first arg can be: a non-keyword word,
7714 string/regexp/percent literal opener, opening paren, or unary
7715 operator followed directly by word.
7716
eb89dc14
SM
77172013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7720 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7721 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7722 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7723 Remove vars, they do not apply any more.
7724 (prolog-mode-abbrev-table): Remove redundant declaration.
7725 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7726 (prolog-use-smie): Remove.
7727 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7728 supported by prolog-electric-if-then-else-flag.
7729 (prolog-mode-variables, prolog-menu): Use setq-local.
7730 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7731 Remove binding to `Backspace' since this key doesn't exist anyway.
7732 Remove bindings for electric self-inserting keys.
7733 (prog-mode): Assume it's defined.
7734 (prolog-post-self-insert): New function.
7735 (prolog-mode): Use it.
7736 (prolog-indent-line, prolog-indent-level)
7737 (prolog-find-indent-of-matching-paren)
7738 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7739 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7740 (prolog-goto-next-paren, prolog-in-string-or-comment)
7741 (prolog-tokenize, prolog-inside-mline-comment)
7742 (prolog-find-start-of-mline-comment): Remove functions.
7743 (prolog-find-unmatched-paren, prolog-clause-end)
7744 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7745 (prolog-electric--if-then-else): Rename from
7746 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7747 (prolog-tokenize-searchkey): Remove const.
7748 (prolog-clause-info): Use forward-sexp.
7749 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7750 (prolog-electric-if-then-else): Remove commands.
7751 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7752 for use in post-self-insert-hook.
7753 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7754 for use in post-self-insert-hook.
7755 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7756 for use in post-self-insert-hook.
7757 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7758 adapt it for use in post-self-insert-hook.
7759
3dab0a83
MA
77602013-10-25 Michael Albinus <michael.albinus@gmx.de>
7761
7762 * emacs-lisp/ert.el (ert-run-tests-interactively):
7763 Use `completing-read'. (Bug#9756)
7764
fbfd0e1d
EZ
77652013-10-25 Eli Zaretskii <eliz@gnu.org>
7766
7767 * simple.el (line-move): Call line-move-1 instead of
7768 line-move-visual when the current window hscroll is zero, but
7769 temporary-goal-column indicates we will need to hscroll as result
7770 of the movement. (Bug#15712)
7771
963ce636
DG
77722013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7773
7774 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
7775 capitalization. Use :visible instead of :active.
7776 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
7777 commands that are used with SMIE.
7778 (ruby-do-end-to-brace): Insert space after `{'.
7779
a0be396a
JA
77802013-10-25 John Anthony <john@jo.hnanthony.com>
7781
f73754c9
JA
7782 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7783
7784 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 7785
f5bf77df
GM
77862013-10-25 Glenn Morris <rgm@gnu.org>
7787
7788 * vc/vc.el (vc-print-log): Don't use a working revision unless
7789 one was explicitly specified. (Bug#15322)
7790
37241f62
SM
77912013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * subr.el (add-to-list): Preserve return value in compiler-macro
7794 (bug#15692).
7795
6408a65d
RS
77962013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7797
7798 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7799 result. Ask user to retry using '-all' flag. (Bug#15701)
7800
71e3276b
SM
78012013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * emacs-lisp/smie.el: New smie-config system.
7804 (smie-config): New defcustom.
7805 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7806 (smie-config-guess, smie-config-save): New commands.
7807 (smie-config--mode-local, smie-config--buffer-local)
7808 (smie-config--trace, smie-config--modefuns): New vars.
7809 (smie-config--advice, smie-config--mode-hook)
7810 (smie-config--setter, smie-config-local, smie-config--get-trace)
7811 (smie-config--guess-value, smie-config--guess): New functions.
7812 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7813 text properties. Treat "string fence" syntax like string syntax.
7814
7815 * progmodes/sh-script.el (sh-use-smie): Change default.
7816 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7817 (sh-var-value): Simplify by CSE.
7818 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7819 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7820 is used.
7821 (sh-guess-basic-offset): Use cl-incf.
7822 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7823
60db713e
HE
78242013-10-24 Helmut Eller <eller.helmut@gmail.com>
7825
7826 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7827 (bug#15699).
7828
8b251df6
GM
78292013-10-24 Glenn Morris <rgm@gnu.org>
7830
7831 * Makefile.in (abs_top_srcdir): Remove.
7832 (update-subdirs): Use relative path to update-subdirs.
7833
6be0e22b
EZ
78342013-10-24 Eli Zaretskii <eliz@gnu.org>
7835
7836 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7837 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
7838 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7839 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 7840
50b5b857
MA
78412013-10-24 Michael Albinus <michael.albinus@gmx.de>
7842
7843 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7844 (ert-test-skipped): New error.
7845 (ert-skip, ert-stats-skipped): New defuns.
7846 (ert--skip-unless): New macro.
7847 (ert-test-skipped): New struct.
7848 (ert--run-test-debugger, ert-test-result-type-p)
7849 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7850 (ert--stats-set-test-and-result, ert-char-for-test-result)
7851 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 7852 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 7853 Handle skipped tests. (Bug#9803)
50b5b857 7854
6f317c2f
GM
78552013-10-24 Glenn Morris <rgm@gnu.org>
7856
e43817c1
GM
7857 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7858
6f317c2f
GM
7859 * Makefile.in (abs_top_srcdir): New, set by configure.
7860 (update-subdirs): Correct build-aux location.
7861
369bbf71
DG
78622013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7863
8297b2cf
DG
7864 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7865 value, whether we could auto-deduce `backend', or not.
7866
369bbf71
DG
7867 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7868 with parameters" example. Simplify the "is it block or is it
7869 hash" check, but also make it more thorough.
7870
d5f1282f
MF
78712013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7872
7873 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7874
bc4aaa31
SM
78752013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7876
03d44565
SM
7877 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7878 { if it is hanging.
7879
bc4aaa31
SM
7880 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7881 :before ";".
7882
f493ff19
JB
78832013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7884
7885 * progmodes/compile.el (compilation-directory-matcher)
7886 (compilation-page-delimiter):
7887 Support GNU Make-4.0 directory quoting. (Bug#15678)
7888
c744a3b9
LL
78892013-10-23 Leo Liu <sdl.web@gmail.com>
7890
7891 * ido.el (ido-tidy): Handle read-only text.
7892
b8e3b0a9
GM
78932013-10-23 Glenn Morris <rgm@gnu.org>
7894
7895 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7896 (emacs, compile, compile-always):
7897 Quote entities that might contain whitespace.
7898 (custom-deps, finder-data, autoloads): Use abs_lisp.
7899 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7900 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7901 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7902
ee4282cd
DG
79032013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7904
bc4aaa31
SM
7905 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7906 Use `following-char'.
7790a270 7907
ee4282cd 79082013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
7909
7910 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7911 * progmodes/ruby-mode.el (ruby-smie-rules):
7912 Remove corresponding workaround. Fix indentation rule of ";" so it
7913 also applies when ";" is the parent.
7914
d40a46d7
XF
79152013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7916
7917 * frame.el (display-screens, display-pixel-height)
7918 (display-pixel-width, display-mm-width, display-backing-store)
7919 (display-save-under, display-planes, display-color-cells)
7790a270
SM
7920 (display-visual-class, display-monitor-attributes-list):
7921 Mention the optional ‘display’ argument in doc strings.
d40a46d7 7922
a0f143c9
MG
79232013-10-22 Michael Gauland <mikelygee@amuri.net>
7924
7925 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7926 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7927
18cacc39
DG
79282013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7929
7930 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7931 TODO. Add "." after " @ ".
7932 (ruby-smie--at-dot-call): New function. Checks if point at method
7933 call with explicit target.
7934 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7935 to the method name tokens when it precedes them.
7936 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7937 (ruby-smie-rules): Add rule for indentation before and after "."
7938 token.
7939
df74c4be
SM
79402013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7941
c6dab55f
SM
7942 * textmodes/remember.el (remember-diary-extract-entries):
7943 Avoid add-to-list.
7944
df74c4be
SM
7945 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7946 an instruction.
7947
8c1ae481
DG
79482013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7949
e9dc713d
JB
7950 * progmodes/ruby-mode.el (ruby-smie-grammar):
7951 Add (almost) all infix operators.
cfef16c0
DG
7952 (ruby-smie--implicit-semi-p): Add new operator chars.
7953
8c1ae481
DG
7954 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7955 `smie-down-list'.
7956 (ruby-smie--args-separator-p): Check that there's no newline
7957 between method call and its arguments.
7958
87756ca9
AM
79592013-10-20 Alan Mackenzie <acm@muc.de>
7960
7961 Allow comma separated lists after Java "implements".
7962
df74c4be
SM
7963 * progmodes/cc-engine.el (c-backward-over-enum-header):
7964 Parse commas.
87756ca9
AM
7965 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7966 from a "disallowed" list in enum fontification.
7967
c25f8957
JB
79682013-10-20 Johan Bockgård <bojohan@gnu.org>
7969
df74c4be 7970 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 7971
c25f8957
JB
7972 * progmodes/verilog-mode.el (verilog-mode): Don't set
7973 comment-indent-function globally.
7974
aca5fcdc
JD
79752013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7976
5f161884
JD
7977 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7978 Move Info menu item creation to ns-win.el.
7979
7980 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7981 in menu bar.
7982
a6c4680a 7983 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
7984
7985 * term/ns-win.el (ns-initialize-window-system): ... to here.
7986
914b7f98
SM
79872013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * simple.el (newline): Only run post-self-insert-hook when
7990 called interactively.
7991
846ffe77
JB
79922013-10-19 Johan Bockgård <bojohan@gnu.org>
7993
7994 * icomplete.el (icomplete-with-completion-tables): Add :version.
7995
033f22dd
AM
79962013-10-19 Alan Mackenzie <acm@muc.de>
7997
7998 Fix fontification bugs with constructors and const.
7999
8000 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8001 CASE 2) Remove the check for the absence of a suffix construct
8002 after a function declaration with only types (no identifiers) in
8003 the parentheses. Also, accept a function declaration with just a
8004 type inside the parentheses, if this type can be positively
8005 recognised as such, or if a prefix keyword like "explicit" nails
8006 down the construct as a declaration.
8007
58ce0cfc
EZ
80082013-10-19 Eli Zaretskii <eliz@gnu.org>
8009
8010 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8011 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8012 the problem whereby selecting a menu item that leads to a
8013 minibuffer prompt moves the cursor out of the minibuffer window,
8014 making it hard to type at the prompt. Suggested by Stefan Monnier
8015 <monnier@iro.umontreal.ca>.
8016
50e28e7d
JD
80172013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8018
8019 * menu-bar.el: Don't make Services menu.
8020
7deed4bf
RS
80212013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8022
8023 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8024 (ffap-alist): Use ffap-c++-mode for c++-mode.
8025 (ffap-c++-path): New variable.
8026 (ffap-c++-mode): New function.
8027
7bcb455b
JVJ
80282013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8029
8030 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8031
f0ff1cd5
MA
80322013-10-18 Michael Albinus <michael.albinus@gmx.de>
8033
8034 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8035 introduced on 2013-09-08, which results in an infinite loop
8036 requesting a password.
8037
d64da4b7
GM
80382013-10-18 Glenn Morris <rgm@gnu.org>
8039
8040 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8041
ea89ff08
WS
80422013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8043
8044 Sync with upstream verilog-mode revision 1a6ecec7.
8045 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8046 (verilog-mode-release-date): Remove.
8047 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8048 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8049 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8050 (verilog-auto-tieoff-ignore-regexp)
8051 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8052 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8053 (verilog-signals-with, verilog-dir-cache-preserving)
8054 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8055 Doc fixes.
8056 (verilog-case-fold): New option, to control case folding in
8057 regexp searches, bug597.
8058 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8059 (verilog-string-match-fold, verilog-in-paren-count)
8060 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8061 (verilog-at-close-struct-p): New functions.
8062 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 8063 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
8064 (verilog-leap-to-case-head): Handle "unique0" case.
8065 (verilog-in-constraint-re): New constant.
8066 (verilog-keywords, verilog-type-font-keywords):
8067 Add some SystemVerilog 1800-2012 keywords.
8068 (verilog-label-be): Remove unimplemented argument, bug669.
8069 (verilog-batch-execute-func): When batch expanding clear
8070 create-lockfiles to prevent spurious user locks when a file ends
8071 up not changing.
8072 (verilog-calculate-indent, verilog-calc-1)
8073 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8074 (verilog-do-indent): Fix indentation of nested constraints
8075 and structures.
8076 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8077 (verilog-auto-inst-param): Use verilog-string-match-fold.
8078 (verilog-read-inst-module-matcher):
8079 Fix AUTOINST on gate primitives with #1.
8080 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8081 Reads all user-defined typed variables.
8082 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8083 (verilog-signals-matching-regexp)
8084 (verilog-signals-not-matching-regexp, verilog-auto):
8085 Respect verilog-case-fold.
8086 (verilog-diff-report): Fix line count.
8087 (verilog-auto-assign-modport): Remove unused local `modi'.
8088 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8089 better handle multidimensional arrays.
8090 Fix packed array ports misadding bit index in AUTOINST, bug637.
8091 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8092 to not double-declare existing outputs and inputs, respectively.
8093 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8094 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8095 (verilog-sk-uvm-component): New skeleton.
8096 (verilog-submit-bug-report): Add verilog-case-fold,
8097 remove verilog-mode-release-date.
8098
ef566920
BR
80992013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8100
a12bf61e 8101 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
8102 as before.
8103
29df8a0b
RT
81042013-10-18 Reuben Thomas <rrt@sc3d.org>
8105
e0eb0550 8106 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
8107 remember buffers (bug#13566).
8108
04a19a79
DC
81092013-10-18 Daniel Colascione <dancol@dancol.org>
8110
8111 When evaluating forms in ielm, direct standard output to ielm
8112 buffer. Add new ielm-return-for-effect command. Remove trailing
8113 whitespace throughout.
8114
8115 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8116 (ielm-return-for-effect): New command.
8117 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
8118 (ielm-eval-input): Accept optional `for-effect' parameter.
8119 Bind `standard-output' to stream we create using
04a19a79
DC
8120 `ielm-standard-output-impl'. Suppress printing result when
8121 `for-effect'.
8122 (ielm-standard-output-impl): New function.
8123 (inferior-emacs-lisp-mode): Explain new features in documentation.
8124
4c1f03ef
MA
81252013-10-17 Michael Albinus <michael.albinus@gmx.de>
8126
8127 Code cleanup.
8128
8129 * net/tramp.el (tramp-debug-message): Do not check for connection
8130 buffer.
8131 (tramp-message): Use "vector" connection property.
8132
8133 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8134 (tramp-equal-remote, tramp-eshell-directory-change)
8135 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8136 (tramp-adb-handle-rename-file)
8137 * net/tramp-cmds.el (tramp-list-remote-buffers)
8138 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8139 * net/tramp-compat.el (tramp-compat-process-running-p)
8140 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8141 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8142 (tramp-gvfs-handle-rename-file)
8143 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8144 (tramp-set-file-uid-gid)
8145 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8146 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8147 of `file-remote-p'.
8148
8149 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8150 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8151 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8152 (tramp-gw-open-network-stream): Suppress unrelated traces.
8153
8154 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8155 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8156 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8157 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8158 connection property.
8159
8160 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 8161 persistency file.
4c1f03ef
MA
8162
8163 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8164 Refactor common code. Improve debug message.
8165 (tramp-maybe-open-connection)
8166 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8167 connection buffer too early.
8168
8169 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8170 from `tramp-smb-actions-with-acl'.
8171 (tramp-smb-actions-set-acl): New defconst.
8172 (tramp-smb-handle-copy-directory)
8173 (tramp-smb-action-get-acl): New defun, renamed from
8174 `tramp-smb-action-with-acl'.
8175 (tramp-smb-action-set-acl): New defun.
8176 (tramp-smb-handle-set-file-acl): Rewrite.
8177
642eb8b6
GM
81782013-10-17 Glenn Morris <rgm@gnu.org>
8179
8180 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8181
85527ff3
SM
81822013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8183
921c1d62
SM
8184 * skeleton.el (skeleton-newline): Remove.
8185 (skeleton-internal-1): Use (insert "\n") instead.
8186
e333fb10
SM
8187 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8188 let-bindings.
8189
85527ff3
SM
8190 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8191 forward-sexp-function while we redo its job (bug#15613).
8192
c8722a97
JB
81932013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8194
8195 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8196 represented by lists.
8197
7a550bbb
GM
81982013-10-16 Glenn Morris <rgm@gnu.org>
8199
8200 * tmm.el (tmm--history): New dynamic variable.
8201 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8202
f19da8ad
MA
82032013-10-16 Michael Albinus <michael.albinus@gmx.de>
8204
8205 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8206 (tramp-smb-errors): Add error messages.
8207 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 8208 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
8209 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8210 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8211 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8212 (tramp-smb-get-stat-capability): Fix tests.
8213
a24b9961
DK
82142013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8215
8216 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8217 (bug#15580).
8218
62ad85e6
GM
82192013-10-16 Glenn Morris <rgm@gnu.org>
8220
0283d6b0
GM
8221 * ansi-color.el (ansi-color-drop-regexp):
8222 Add 1J, 1K, 2K. (Bug#15617)
8223
012e2f9f
GM
8224 * files.el (hack-local-variables--warned-lexical): New.
8225 (hack-local-variables):
8226 Warn about misplaced lexical-binding. (Bug#15616)
8227
62ad85e6
GM
8228 * net/eww.el (eww-render): Always set eww-current-url,
8229 and update header line. (Bug#15622)
8230 (eww-display-html): ... Rather than just doing it here.
8231
6456c0ea
EZ
82322013-10-15 Eli Zaretskii <eliz@gnu.org>
8233
8234 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8235 menu navigations commands.
8236
c2de5588
DK
82372013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8238
8239 * progmodes/subword.el (subword-capitalize): Be careful when
8240 the search for [[:alpha:]] fails (bug#15580).
8241
ccd4a783
EZ
82422013-10-14 Eli Zaretskii <eliz@gnu.org>
8243
8244 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8245 to commands that scroll the menu.
8246
1eda1d8d
DG
82472013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8248
c2de5588
DK
8249 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8250 Handle methods ending with `?' and `!'.
1eda1d8d 8251
e70181b8
AM
82522013-10-14 Akinori MUSHA <knu@iDaemons.org>
8253
8254 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8255 `japanese-cp932' to `cp932' to fix the problem where saving a
8256 source file written in Shift_JIS twice would end up having
8257 `coding: japanese-cp932' which Ruby could not recognize.
8258 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8259 in `ruby-encoding-map'.
8260 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8261 doesn't need to be explicitly declared in magic comment.
8262 (ruby-encoding-map): Add type declaration for better customize UI.
8263
9148ee92
GM
82642013-10-13 Glenn Morris <rgm@gnu.org>
8265
a5d38e34
GM
8266 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8267 Occur buffers are read-only. http://bugs.debian.org/720775
8268
9148ee92
GM
8269 * emacs-lisp/authors.el (authors-fixed-entries):
8270 Comment out old alpha stuff.
8271
a9ba094b
DG
82722013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8273
8274 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8275 to `after-save-hook' instead of `before-save-hook'.
8276 (ruby-mode-set-encoding): Use the value of coding system used to
8277 write the file. Call `basic-save-buffer-1' after modifying the
8278 buffer.
8279
7a068717
AM
82802013-10-13 Alan Mackenzie <acm@muc.de>
8281
8282 Fix indentation/fontification of Java enum with
8283 "implements"/generic.
8284
c2de5588
DK
8285 * progmodes/cc-engine.el (c-backward-over-enum-header):
8286 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
8287 (c-inside-bracelist-p): Uses new function above.
8288 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8289 function above.
8290 (c-font-lock-enum-tail): Uses new function above.
8291
85b64f02
KH
82922013-10-13 Kenichi Handa <handa@gnu.org>
8293
8294 * international/mule-cmds.el (select-safe-coding-system): Remove a
8295 superfluous condition in chekcing whether a coding system is safe
8296 or not.
8297
fc7f501b
OK
82982013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8299
8300 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8301
fdcb2049
AP
83022013-10-13 Andreas Politz <politza@hochschule-trier.de>
8303
8304 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8305
8c106d17
GM
83062013-10-13 Glenn Morris <rgm@gnu.org>
8307
feab892d
GM
8308 * menu-bar.el (menu-bar-update-buffers):
8309 Unify Buffers menu prompt string. (Bug#15576)
8310
b22d0686
GM
8311 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8312
8c106d17
GM
8313 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8314 Add some entries.
8315 (authors-fixed-entries): Use accented form of name.
8316
1b12c797
SM
83172013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8318
650fa7bf 8319 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 8320 method calls (bug#15594).
650fa7bf
SM
8321 (ruby-smie--args-separator-p): New function.
8322 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8323 recognize paren-free method calls.
8324
1b12c797
SM
8325 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8326 internals of universal-argument.
8327
029619c8
EZ
83282013-10-11 Eli Zaretskii <eliz@gnu.org>
8329
8330 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
8331 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8332 dropped menu on second mouse click on the menu bar.
029619c8 8333
dd070019
SM
83342013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8337 (explicit-shell-file-name): Declare.
8338 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8339 (sh-completion-at-point-function): New function.
8340 (sh-mode): Use it.
8341 (sh-smie--keyword-p): Remove unused argument.
8342 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8343 vars.
8344 (sh-set-shell): Always setup SMIE, even if we use the
8345 old indentation code.
8346
0922b826
DG
83472013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8348
b68e2926
DG
8349 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8350 cases of ? and =.
8351 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8352 predicate would return nil are almost non-existent.
8353 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8354
0922b826
DG
8355 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8356 cache also after commands that modify the buffer but don't move
8357 point.
8358
ee041f2d
SM
83592013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * env.el (substitute-env-in-file-name): New function.
8362 (substitute-env-vars): Extend the meaning of the optional arg.
8363
a5dab159
EZ
83642013-10-10 Eli Zaretskii <eliz@gnu.org>
8365
8366 * term/w32-win.el (dynamic-library-alist): Define separate lists
8367 of GIF DLLs for versions before and after 5.0.0 of giflib.
8368 (Bug#15531)
8369
0449d6cd 83702013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
8371
8372 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8373 not locked, use last revision and current source as
8374 defaults. (Bug#15569)
8375
2f6e161e
MY
83762013-10-10 Masatake YAMATO <yamato@redhat.com>
8377
8378 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8379 menu-bar is hidden.
8380
6c8413fc
MR
83812013-10-10 Martin Rudalics <rudalics@gmx.at>
8382
8383 * window.el (pop-to-buffer-same-window): Fix doc-string.
8384 (Bug#15492)
8385
20832de0
SM
83862013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8389
c6e8ae77
AC
83902013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8391
8392 * calendar/icalendar.el (icalendar-import-file):
8393 Fix interactive spec. (Bug#15482)
8394
9db13baf
GM
83952013-10-10 Glenn Morris <rgm@gnu.org>
8396
9271e90e
GM
8397 * desktop.el (desktop-save): Default to saving in .emacs.d,
8398 since PWD is no longer in desktop-path by default. (Bug#15319)
8399
9db13baf
GM
8400 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8401 now that text mode has a menu with the same entry.
8402 (menu-bar-text-mode-auto-fill): Remove now unused func.
8403 * textmodes/text-mode.el (text-mode-map):
8404 Use auto-fill help text from menu-bar.el.
8405
a0be396a 84062013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
8407
8408 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8409
2edcd3c7
JL
84102013-10-09 Juri Linkov <juri@jurta.org>
8411
8412 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8413 instead of this-command-keys. Add universal-argument-more and
8414 universal-argument-minus to the list of prefix commands. (Bug#15568)
8415
574411d0
GM
84162013-10-09 Glenn Morris <rgm@gnu.org>
8417
14afa541
GM
8418 * vc/vc-svn.el (vc-svn-create-repo):
8419 Expand paths in file://... url. (Bug#15446)
8420
574411d0
GM
8421 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8422 Add some entries.
8423 (authors): Remove unused local variables.
8424
79804536
SM
84252013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * profiler.el: Create a more coherent calltree from partial backtraces.
8428 (profiler-format): Hide the tail with `invisible' so that C-s can still
8429 find the hidden elements.
8430 (profiler-calltree-depth): Don't recurse so enthusiastically.
8431 (profiler-function-equal): New hash-table-test.
8432 (profiler-calltree-build-unified): New function.
8433 (profiler-calltree-build): Use it.
8434 (profiler-report-make-name-part): Indent the calltree less.
8435 (profiler-report-mode): Add visibility specs for profiler-format.
8436 (profiler-report-expand-entry, profiler-report-toggle-entry):
8437 Expand the whole subtree when provided with a prefix arg.
8438
238150c8
DG
84392013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8440
8441 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8442 iuwu-mod token.
8443 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8444 hanging iuwu-mod token.
8445 (ruby-smie--forward-token): Do not include a dot after a token in
8446 that token.
8447 (ruby-smie--backward-token): Likewise.
8448
b0949cc4
JL
84492013-10-08 Juri Linkov <juri@jurta.org>
8450
8451 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8452 to isearch-other-control-char.
8453 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8454 and isearch-post-command-hook to post-command-hook.
8455 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8456 and isearch-post-command-hook from post-command-hook.
8457 (isearch-unread-key-sequence)
8458 (isearch-reread-key-sequence-naturally)
8459 (isearch-lookup-scroll-key, isearch-other-control-char)
8460 (isearch-other-meta-char): Remove functions.
8461 (isearch-pre-command-hook, isearch-post-command-hook):
8462 New functions based on isearch-other-meta-char rewritten
8463 relying on the new behavior of overriding-terminal-local-map
8464 that does not replace the local keymaps any more. (Bug#15200)
8465
4ed77415
EZ
84662013-10-08 Eli Zaretskii <eliz@gnu.org>
8467
8468 Support menus on text-mode terminals.
8469 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8470 functionality.
8471
8472 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8473
c2de5588
DK
8474 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8475 Move here from mouse.el.
4ed77415
EZ
8476 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8477 and arrow keys.
8478 (tty-menu-navigation-map): New map for TTY menu navigation.
8479
8480 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8481
8482 * frame.el (display-mouse-p): Report text-mode mouse as available
8483 on w32.
8484 (display-popup-menus-p): Report availability if mouse is
8485 available; don't condition on window-system.
8486
8487 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8488 (tty-menu-selected-face): New faces.
8489
b7d5bd82
TL
84902013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8491
06286513
SM
8492 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8493 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8494 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8495 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8496 New constants.
8497 (lisp-mode-variables): New `elisp' argument.
8498 (emacs-lisp-mode): Use it.
8499 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8500 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8501
b7d5bd82
TL
8502 * indent.el: Use lexical-binding.
8503 (indent-region): Add progress reporter.
8504 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8505 last step.
8506 (indent--next-tab-stop): New function to implement this behavior.
8507 (tab-to-tab-stop, move-to-tab-stop): Use it.
8508
85092013-10-08 Teemu Likonen <tlikonen@iki.fi>
8510
8511 * indent.el (indent-rigidly--current-indentation): New function.
8512 (indent-rigidly-map): New var.
8513 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8514
5ea75d23
BG
85152013-10-08 Bastien Guerry <bzg@gnu.org>
8516
f2726fa2 8517 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 8518
cc5da1ec
SM
85192013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8ffa1a0b
SM
8521 * progmodes/perl-mode.el: Use lexical-binding.
8522 Remove redundant :group args.
8523 (perl-nochange): Change default to be closer to other major modes's
8524 standard behavior.
8525 (perl-indent-line): Don't consider text on current line as a
8526 valid beginning of function from which to indent.
8527
f2223371
SM
8528 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8529 with more than one argument (bug#15538).
8530
44256060
SM
8531 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8532
cc5da1ec
SM
8533 * vc/pcvs.el: Use lexical-binding.
8534 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8535 environment of `eval'.
8536 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8537 than a list of expressions. Adjust callers.
8538 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8539
0ea1599d
DG
85402013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8541
8542 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 8543 case of the dot in a chained method call being on the following line.
0ea1599d 8544
da3e5ebb
SM
85452013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8546
2abb4e65
SM
8547 * electric.el (electric-indent-inhibit): New var.
8548 (electric-indent-post-self-insert-function): Use it.
8549 * progmodes/python.el (python-mode): Set it.
8550
d2e0e795
SM
8551 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8552 open braces.
8553
8554 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8555
bdc6b4c8
SM
8556 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8557 (css-mode): Use electric-indent-chars.
8558
da3e5ebb
SM
8559 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8560 (font-lock-beg, font-lock-end): Move before first use.
8561 (nxml-mode): Use syntax-propertize-function.
8562 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8563 (nxml-extend-after-change-region): Remove.
8564 * nxml/xmltok.el: Use lexical-binding.
8565 (xmltok-save): Use `declare'.
8566 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8567 * nxml/nxml-util.el: Use lexical-binding.
8568 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8569 Use `declare'.
8570 * nxml/nxml-ns.el: Use lexical-binding.
8571 (nxml-ns-save): Use `declare'.
8572 (nxml-ns-prefixes-for): Avoid add-to-list.
8573 * nxml/rng-match.el: Use lexical-binding.
8574 (rng--ipattern): Use cl-defstruct.
8575 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8576 (rng-cons-group-after, rng-subst-group-after)
8577 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8578 Use closures instead of `(lambda...).
8579
f8f91d5d
MA
85802013-10-07 Michael Albinus <michael.albinus@gmx.de>
8581
8582 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8583 of BEG and END.
8584
da3e5ebb
SM
8585 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8586 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
8587 (tramp-gvfs-handle-insert-file-contents): Remove function.
8588
da3e5ebb
SM
8589 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8590 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
8591
8592 * net/trampver.el: Update release number.
8593
7ccae3b1
SM
85942013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8595
55ca2c0d
SM
8596 * progmodes/compile.el (compilation-parse-errors):
8597 Use compilation--put-prop.
8598 (compilation--ensure-parse): Check compilation-multiline.
8599
731fc3ae
SM
8600 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8601
da3e5ebb
SM
8602 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8603 lexical-binding.
a5833280 8604
2e7ba2c2
SM
8605 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8606
7ccae3b1
SM
8607 * progmodes/ruby-mode.el: Fix recently added tests.
8608 (ruby-smie-grammar): Add - and +.
8609 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8610 (ruby-smie--backward-id): New functions.
8611 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8612 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8613 any more.
8614
85698d63
LL
86152013-10-07 Leo Liu <sdl.web@gmail.com>
8616
8617 * register.el (register-preview-delay)
8618 (register-preview-functions): New variables.
8619 (register-read-with-preview, register-preview)
8620 (register-describe-oneline): New functions.
8621 (point-to-register, window-configuration-to-register)
8622 (frame-configuration-to-register, jump-to-register)
8623 (number-to-register, view-register, insert-register)
8624 (copy-to-register, append-to-register, prepend-to-register)
8625 (copy-rectangle-to-register): Use register-read-with-preview to
8626 read register. (Bug#15525)
8627
3986af6c
DS
86282013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8629
8630 * net/network-stream.el (network-stream-open-starttls): Don't add
8631 --insecure if it's already present, because that gnutls-cli
8632 rejects getting that parameter twice.
8633
5cd9cda9
DG
86342013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8635
8636 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8637 keyword, too.
8638
da9ea6d9
DG
86392013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8640
8641 * newcomment.el (comment-use-global-state): Change default value
8642 to t, mark obsolete (Bug#15251).
8643 (comment-beginning): In addition to `comment-to-syntax', check the
8644 value of `comment-use-global-state'.
8645
34d1a133
SM
86462013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8649 (ruby-comment-column): Follow the global default, by default.
8650 (ruby-smie-grammar): Add assignment syntax.
8651 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8652 open-paren, a comma, or a \.
8653 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8654 and line continuations.
8655 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8656 followed by implicit semi-colons. Add rule for string concatenation
8657 and for indentation at BOB.
27821a89 8658 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
8659
8660 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8661 calling next-sexp, since next-token may have skipped chars which
8662 next-sexp doesn't know should be skipped!
8663
6f6ab820
LL
86642013-10-05 Leo Liu <sdl.web@gmail.com>
8665
34d1a133
SM
8666 * progmodes/octave.el (octave-send-region):
8667 Call compilation-forget-errors.
6f6ab820 8668
34ca0f4c
XF
86692013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8670
8671 * vc/vc-svn.el (vc-svn-find-admin-dir):
8672 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8673 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8674 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8675 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8676
a27c1b72
SM
86772013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8680
258ab3bc
SM
86812013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * subr.el (read-passwd): Hide chars even when called within a context
8684 where after-change-functions is disabled (bug#15501).
8685 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8686 until we removed ourself from overriding-terminal-local-map.
8687
939fb29c
LL
86882013-10-04 Leo Liu <sdl.web@gmail.com>
8689
258ab3bc
SM
8690 * progmodes/octave.el (inferior-octave-mode):
8691 Call compilation-forget-errors.
939fb29c 8692
63bd7f35
XF
86932013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8694
8695 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8696
9e6229fa
MA
86972013-10-04 Michael Albinus <michael.albinus@gmx.de>
8698
8699 * net/secrets.el (secrets-create-collection): Add optional
8700 argument ALIAS. Use proper Label keyword. Append ALIAS as
8701 dbus-call-method argument. (Bug#15516)
8702
1dab32a3
LL
87032013-10-04 Leo Liu <sdl.web@gmail.com>
8704
8705 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8706 (inferior-octave-compilation-font-lock-keywords): New variables.
8707 (compilation-error-regexp-alist)
8708 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8709 (inferior-octave-mode): Use compilation-shell-minor-mode.
8710
6cad7ba3
JS
87112013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8712
8713 * minibuffer.el (completion--replace): Be careful that `end' might be
8714 a marker.
8715
acbadd00
DU
87162013-10-03 Daiki Ueno <ueno@gnu.org>
8717
8718 Add support for package signature checking.
8719 * emacs-lisp/package.el (url-http-file-exists-p)
8720 (epg-make-context, epg-context-set-home-directory)
8721 (epg-verify-string, epg-context-result-for)
8722 (epg-signature-status, epg-signature-to-string)
8723 (epg-check-configuration, epg-configuration)
8724 (epg-import-keys-from-file): Declare.
8725 (package-check-signature): New user option.
8726 (package-unsigned-archives): New user option.
8727 (package-desc): Add `signed' field.
8728 (package-load-descriptor): Set `signed' field if .signed file exists.
8729 (package--archive-file-exists-p): New function.
8730 (package--check-signature): New function.
8731 (package-install-from-archive): Check package signature.
8732 (package--download-one-archive): Check archive signature.
8733 (package-delete): Remove .signed file.
8734 (package-import-keyring): New command.
8735 (package-refresh-contents): Import default keyring.
8736 (package-desc-status): Add "unsigned" status.
8737 (describe-package-1, package-menu--print-info)
8738 (package-menu-mark-delete, package-menu--find-upgrades)
8739 (package-menu--status-predicate): Support "unsigned" status.
8740
adf2aa61
SM
87412013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8744 the new compilation scheme using the new byte-codes.
8745
8746 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8747 (byte-pophandler): New byte codes.
8748 (byte-goto-ops): Adjust accordingly.
8749 (byte-compile--use-old-handlers): New var.
8750 (byte-compile-catch): Use new byte codes depending on
8751 byte-compile--use-old-handlers.
8752 (byte-compile-condition-case--old): Rename from
8753 byte-compile-condition-case.
8754 (byte-compile-condition-case--new): New function.
8755 (byte-compile-condition-case): New function that dispatches depending
8756 on byte-compile--use-old-handlers.
8757 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8758 when we can.
8759
8760 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8761 Optimize under `condition-case' and `catch' if
8762 byte-compile--use-old-handlers is nil.
8763 (disassemble-offset): Handle new bytecodes.
8764
328a8179
SM
87652013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * subr.el (error): Use `declare'.
8768 (decode-char, encode-char): Use advertised-calling-convention instead
8769 of the docstring to discourage use of the `restriction' arg.
8770
15a1e936
DU
87712013-10-03 Daiki Ueno <ueno@gnu.org>
8772
8773 * epg.el (epg-verify-file): Add a comment saying that it does not
8774 notify verification error as a return value nor a signal.
8775 (epg-verify-string): Ditto.
8776
376f862a
KR
87772013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8778
8779 * progmodes/compile.el (compilation-start): Try globbing the arg to
8780 `cd' (bug#15417).
8781
a2f93a5f
MA
87822013-10-02 Michael Albinus <michael.albinus@gmx.de>
8783
8784 Sync with Tramp 2.2.8.
8785
8786 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8787 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8788 * net/trampver.el: Update release number.
8789
0daa0804
JD
87902013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8791
8792 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8793 and default-process-coding-system for darwin only.
8794
abd1ae34
SM
87952013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8798
be4e325d
MH
87992013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8800
8801 * vc/vc-git.el (vc-git-grep): Disable pager.
8802
e9155c4a
DG
88032013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8804
494e898b
DG
8805 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8806 Use :url instead of :homepage, as per
8807 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8808
e9155c4a
DG
8809 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8810 non-nil, use `syntax-ppss' (Bug#15251).
8811
481a8e0f
RS
88122013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8813
be4e325d
MH
8814 * progmodes/octave.el (inferior-octave-startup-file):
8815 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 8816
056453c6
DG
88172013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8818
be4e325d
MH
8819 * emacs-lisp/package.el (package-desc-from-define):
8820 Accept additional arguments as plist, convert them to an alist and store
8821 them in the `extras' slot.
056453c6
DG
8822 (package-generate-description-file): Convert extras alist back to
8823 plist and append to the `define-package' form arguments.
8824 (package--alist-to-plist): New function.
8825 (package--ac-desc): Add `extras' slot.
8826 (package--add-to-archive-contents): Check if the archive-contents
8827 vector is long enough, and if it is, pass its `extras' slot value
8828 to `package-desc-create'.
8829 (package-buffer-info): Call `lm-homepage', pass the returned value
8830 to `package-desc-from-define'.
8831 (describe-package-1): Render the homepage button (Bug#13291).
8832
be4e325d
MH
8833 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8834 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 8835
832966e5
JD
88362013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8837
8838 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8839 and default-process-coding-system to utf-8-unix (Bug#15402).
8840
6cfe977d
XF
88412013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8842
8843 * subr.el (looking-back): Do not recommend using looking-back.
8844
38de11bd
AM
88452013-09-28 Alan Mackenzie <acm@muc.de>
8846
8847 Fix indentation/fontification of Java enum with "implements".
8848
8849 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8850 regexp which matches "implements", etc., in Java.
8851 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8852 specifier clauses coming after "enum".
8853 * progmodes/cc-fonts.el (c-font-lock-declarations)
8854 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8855 after "enum".
8856
1610938f
JD
88572013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8858
8859 * faces.el (region): Change ns_selection_color to
8860 ns_selection_fg_color, add ns_selection_bg_color.
8861
e090f499
LL
88622013-09-28 Leo Liu <sdl.web@gmail.com>
8863
4d2e94d1
LL
8864 * progmodes/octave.el (inferior-octave-completion-table)
8865 (inferior-octave-completion-at-point): Minor tweaks.
8866
e090f499
LL
8867 * textmodes/ispell.el (ispell-lookup-words): Rename from
8868 lookup-words. (Bug#15460)
8869 (lookup-words): Obsolete.
8870 (ispell-complete-word, ispell-command-loop): All uses changed.
8871
7e138a62
RS
88722013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8873
a12bf61e 8874 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
8875 (octave-mode-menu): Add octave-send-buffer.
8876 (octave-send-buffer): New function.
8877
5af5ed08
RS
88782013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8879
a12bf61e 8880 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
8881 octave-lookfor.
8882 (octave-mode-menu): Add octave-lookfor.
8883 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8884 octave-lookfor.
8885 (octave-lookfor): New function.
8886
3b7b2692
SM
88872013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8888
35e951cd 8889 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
8890 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8891 its convention.
8892 (cl--loop-set-iterator-function): New function.
8893 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8894 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8895 Bind `it' with `let' instead of substituting it with `cl-subst'.
8896 (cl--unused-var-p): New function.
8897 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8898 Eliminate some unused variable warnings (bug#15326).
8899
529fb53f
TH
89002013-09-27 Tassilo Horn <tsdh@gnu.org>
8901
8902 * doc-view.el (doc-view-scale-reset): Rename from
8903 `doc-view-reset-zoom-level'.
8904 (doc-view-scale-adjust): New command.
8905 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8906 `doc-view-scale-adjust'.
8907
0550c95a
TH
89082013-09-26 Tassilo Horn <tsdh@gnu.org>
8909
8910 * doc-view.el (doc-view-reset-zoom-level): New command.
8911 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8912 zoom commands (bug#15466).
8913
6950f152
KH
89142013-09-26 Kenichi Handa <handa@gnu.org>
8915
8916 * international/quail.el (quail-help): Make it not a command.
8917
39587580
LL
89182013-09-26 Leo Liu <sdl.web@gmail.com>
8919
8920 * minibuffer.el (completion-all-sorted-completions): Make args
8921 optional as they are.
8922
00578659
DC
89232013-09-25 Daniel Colascione <dancol@dancol.org>
8924
8925 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8926 specs are and that they're not evaluated.
8927
0c173878
SS
89282013-09-24 Sam Steingold <sds@gnu.org>
8929
8930 * midnight.el (clean-buffer-list-kill-regexps)
8931 (clean-buffer-list-kill-buffer-names): Update for the new Man
8932 buffer naming which includes the object name.
8933
84998447
SM
89342013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8937 (eshell-parse-command, eshell-parse-pipeline): Use it since
8938 eshell-separate-commands requires a dynamic scoped var.
8939 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8940
33215353
LL
89412013-09-23 Leo Liu <sdl.web@gmail.com>
8942
8943 * autoinsert.el (auto-insert-alist): Make the value of
8944 lexical-binding match its file setting.
8945
57b16162
JB
89462013-09-23 Juanma Barranquero <lekktu@gmail.com>
8947
c8af4e67
JB
8948 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8949
57b16162
JB
8950 * autoarg.el (autoarg-kp-digit-argument):
8951 * electric.el (Electric-command-loop):
8952 * kmacro.el (kmacro-step-edit-insert):
8953 Do not set universal-argument-num-events.
8954
7186ba60
LL
89552013-09-22 Leo Liu <sdl.web@gmail.com>
8956
8957 * files.el (interpreter-mode-alist): Add octave.
8958
ece15004
AM
89592013-09-21 Alan Mackenzie <acm@muc.de>
8960
8961 C++: fontify identifier in declaration following "public:" correctly.
8962 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8963 to match "public", etc.
8964 (c-decl-prefix-re): Add ":" into the C++ value.
8965 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8966 bit. Add a check for a ":" preceded by "public", etc.
8967
75d83e22
EZ
89682013-09-21 Eli Zaretskii <eliz@gnu.org>
8969
8970 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8971 recognized by GDB 7.5 and later.
8972
d052d3bd
XF
89732013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8974
8975 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8976
31dca772
R
89772013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * subr.el (internal--call-interactively): New const.
8980 (called-interactively-p): Use it (bug#3984).
8981
98ccf24e
XF
89822013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8983
8984 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
8985 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8986 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 8987
c39cc7d1
SM
89882013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8991 (eshell-ls-orig-insert-directory): Remove.
8992 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8993 (eshell-ls-use-in-dired): Use advice-add/remove.
8994 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8995 Add `orig-fun' arg for use in :around advice.
8996 Make it check (redundantly) eshell-ls-use-in-dired.
8997
9a0289a2
GM
89982013-09-19 Glenn Morris <rgm@gnu.org>
8999
a2c501b8
GM
9000 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9001
c440407a
GM
9002 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9003
9a0289a2
GM
9004 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9005
85e05915
MA
90062013-09-19 Michael Albinus <michael.albinus@gmx.de>
9007
9008 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9009 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9010 (tramp-get-remote-python): New defuns.
9011 (tramp-get-remote-uid-with-perl)
9012 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9013 contributed by yary <not.com@gmail.com> (tiny change).
9014 (tramp-get-remote-uid-with-python)
9015 (tramp-get-remote-gid-with-python): New defuns. Python code
9016 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9017 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9018
ce503312
GM
90192013-09-19 Glenn Morris <rgm@gnu.org>
9020
f7544773
GM
9021 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9022
72fd2877
GM
9023 * eshell/em-unix.el (eshell-remove-entries):
9024 Rename argument to avoid name-clash with global `top-level'.
9025
336b5a56
GM
9026 * eshell/esh-proc.el (eshell-kill-process-function):
9027 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9028 (eshell-reset-after-proc): Remove unused arg `proc'.
9029
57a3a53d
GM
9030 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9031 (directory-files-and-attributes): Mark unused arg.
9032
3261d4af
GM
9033 * eshell/em-unix.el (eshell-remove-entries):
9034 Remove unused arg `path'. Update callers.
9035
8e51b5d0
GM
9036 * eshell/em-hist.el (eshell-hist-parse-arguments):
9037 Remove unused arg `silent'. Update callers.
9038
ce503312
GM
9039 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9040 Fix (f)boundp mix-up.
9041
9042 * eshell/em-smart.el (eshell-smart-scroll-window)
9043 (eshell-disable-after-change):
336b5a56 9044 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 9045
ee3ce8a7
AM
90462013-09-18 Alan Mackenzie <acm@muc.de>
9047
9048 Fix fontification of type when followed by "const".
9049 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9050 "known" types from fontification.
9051
ec9177ba
GM
90522013-09-18 Glenn Morris <rgm@gnu.org>
9053
7bb3e768
GM
9054 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9055 (chart-face-list): Drop Emacsen without display-color-p.
9056
5148da15
GM
9057 * net/eww.el (libxml-parse-html-region): Declare.
9058 (eww-display-html): Explicit error if no libxml2 support.
9059
2f68e157
GM
9060 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9061
9019d095
GM
9062 * image.el (image-type-from-buffer, image-multi-frame-p):
9063 Remove --without-x warning/error.
67645389 9064
5f30349b 9065 * mouse.el (mouse-yank-primary):
45069b2e 9066 * term.el (term-mouse-paste):
5f30349b
GM
9067 Reorder to silence --without-x compilation.
9068
cd8edbbe
GM
9069 * mpc.el (doc-view-mode): Silence --without-x compilation.
9070
8a78544e
GM
9071 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9072 Silence --without-x compilation.
9073
12679bfd
GM
9074 * progmodes/gud.el (gud-find-file, gud-mode):
9075 Silence --without-x compilation.
9076 (tooltip-mode): Declare.
30810a05 9077
f0047cb9
GM
9078 * wdired.el (dired-backup-overwrite): Remove declaration.
9079 (wdired-mode-map): Add doc string.
9080
e740f9d2
GM
9081 * custom.el (x-get-resource): Declare.
9082
92d77c89
GM
9083 * eshell/em-glob.el (ange-cache):
9084 * eshell/em-unix.el (ange-cache): Declare.
9085
76e69577
GM
9086 * faces.el (x-display-list, x-open-connection, x-get-resource):
9087 Declare.
7e58af4b
GM
9088
9089 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9090 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9091 Declare.
76e69577 9092
4bd4c0af 9093 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 9094
ffb82dbd
GM
9095 * net/gnutls.el (gnutls-log-level): Declare.
9096
986ed135
GM
9097 * net/shr.el (image-size, image-animate): Declare.
9098
e740f9d2
GM
9099 * simple.el (font-info): Declare.
9100
d2f3e9f8
GM
9101 * subr.el (x-popup-dialog): Declare.
9102
047a1a4c
GM
9103 * term/common-win.el (x-select-enable-primary)
9104 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9105 Declare.
9106
f4a1d572
GM
9107 * term/ns-win.el (x-handle-args): Declare.
9108
e843de77
GM
9109 * term/x-win.el (x-select-enable-clipboard): Declare.
9110
5fa89513
GM
9111 * term/w32-win.el (create-default-fontset): Declare.
9112
38702b5b
GM
9113 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9114 Declare.
9115
e740f9d2
GM
9116 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9117 (fit-frame-to-buffer): Explicit error if --without-x.
9118 (mouse-autoselect-window-select): Silence compiler.
9119
49a053fc
GM
9120 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9121
9122 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9123 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9124 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 9125 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
9126 Remove unused local variables.
9127
9128 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9129
ec9177ba
GM
9130 * textmodes/two-column.el: Make 2C-split work for --without-x.
9131 (scroll-bar-columns): Autoload.
9132 (top-level): Require fringe when compiling.
9133
9f25cb77
LL
91342013-09-18 Leo Liu <sdl.web@gmail.com>
9135
9136 * subr.el (add-hook): Robustify to handle closure as well.
9137
2b42da98
GM
91382013-09-17 Glenn Morris <rgm@gnu.org>
9139
9140 * simple.el (messages-buffer-mode-map): Unbind "g".
9141
e8b66a6a
SM
91422013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9c0ad4f7
SM
9144 * help-mode.el (help-mode-finish): Use derived-mode-p.
9145 Remove obsolete highlighting.
9146
7a806dfb
SM
9147 * play/life.el (life-mode): Use define-derived-mode. Derive from
9148 special-mode.
9149 (life): Let-bind inhibit-read-only.
9150 (life-setup): Avoid `setq'. Use `life-mode'.
9151
96dbf5a8
SM
9152 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9153 which should not be needed any more.
9154 (package-menu-refresh, package-menu-describe-package): Use user-error.
9155
e8b66a6a
SM
9156 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9157 (eshell-post-rewrite-command-hook): Make obsolete.
9158 (eshell-parse-command): Simplify.
9159 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9160 (eshell--cmd): Declare.
9161 (eshell-parse-pipeline): Remove unused var `final-p'.
9162 Pass a dynvar to eshell-post-rewrite-command-hook.
9163 Implement the new eshell-post-rewrite-command-function.
9164 (eshell-invoke-directly): Remove unused arg `input'.
9165 * eshell/esh-io.el (eshell-io-initialize):
9166 Use eshell-post-rewrite-command-function (bug#15399).
9167 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9168 adjust to new calling convention.
9169 (eshell-create-handles): Rename args to avoid clashing with dynvar
9170 `standard-output'.
9171
90582f05
GM
91722013-09-17 Glenn Morris <rgm@gnu.org>
9173
9174 * simple.el (messages-buffer-mode): New major mode.
9175 (messages-buffer): New function.
9176 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9177 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 9178 (ert-run-test): Use `messages-buffer' function.
90582f05 9179 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
9180 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9181 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 9182
39eb0cb5 91832013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
9184
9185 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9186
1d42e5b6 9187 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 9188
70568a90
SM
91892013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9190
504a0381
SM
9191 * icomplete.el (icomplete-in-buffer): New var.
9192 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9193 vars and replace them with functions.
9194 (icomplete-minibuffer-setup): Adjust accordingly.
9195 (icomplete--completion-table, icomplete--completion-predicate)
9196 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9197 New functions.
9198 (icomplete-forward-completions, icomplete-backward-completions)
9199 (icomplete-simple-completing-p, icomplete-exhibit)
9200 (icomplete-completions): Use them.
9201 (icomplete--in-region-buffer): New var.
9202 (icomplete--in-region-setup): New function.
9203 (icomplete-mode): Use it.
9204
70568a90
SM
9205 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9206 (bug#15379).
9207 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9208 return args and options.
9209 (eshell-eval-using-options): Use the new return value of
9210 eshell--do-opts to set the options's vars in their scope.
9211 (eshell--set-option): Rename from eshell-set-option.
9212 Add arg `opt-vals'.
9213 (eshell--process-option): Rename from eshell-process-option.
9214 Add arg `opt-vals'.
9215 (eshell--process-args): Use an `opt-vals' alist to store the options's
9216 values during their processing and return them additionally to the
9217 remaining args.
9218
578c21bc
DG
92192013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9220
9221 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9222 continuation character an operator, as far as indentation is
9223 concerned (Bug#15369).
9224
c089653d
MR
92252013-09-15 Martin Rudalics <rudalics@gmx.at>
9226
9227 * window.el (window--state-put-2): Don't process buffer state
9228 when buffer doesn't exist any more (Bug#15382).
9229
1e53bb4b
GM
92302013-09-15 Glenn Morris <rgm@gnu.org>
9231
30753242
GM
9232 * eshell/em-unix.el (eshell/rm):
9233 Make -f ignore missing files. (Bug#15373)
9234
1e53bb4b
GM
9235 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9236 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9237 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9238
0d8863b3
GM
92392013-09-14 Glenn Morris <rgm@gnu.org>
9240
9241 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9242
d3fc6549
GM
92432013-09-13 Glenn Morris <rgm@gnu.org>
9244
9245 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9246 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9247
fcd42c11
DA
92482013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9249
9250 * frame.el (x-focus-frame): Mark as declared in frame.c.
9251
7830899f
SM
92522013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * ls-lisp.el: Use advice-add.
9255 (original-insert-directory): Remove.
9256 (ls-lisp--insert-directory): Rename from insert-directory; add
9257 `orig-fun' argument.
9258 (insert-directory): Advise.
9259
84387cd2
EZ
92602013-09-13 Eli Zaretskii <eliz@gnu.org>
9261
9262 * term.el (term-emulate-terminal): Decode the command string
9263 before passing it to term-command-hook. (Bug#15337)
9264
35ffc6ba
GM
92652013-09-13 Glenn Morris <rgm@gnu.org>
9266
5c3f9bcc
GM
9267 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9268
2ada368a
GM
9269 * eshell/esh-ext.el (eshell-search-path): Declare.
9270
fcef2e13
GM
9271 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9272 Otherwise an error occurs if eshell-dirs module not loaded.
9273
35ffc6ba
GM
9274 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9275
35c3d36e
MA
92762013-09-13 Michael Albinus <michael.albinus@gmx.de>
9277
9278 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9279 `tramp-check-proper-host'. Check for a valid method name.
9280
9281 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9282 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9283 * net/tramp-sh.el (tramp-maybe-open-connection):
9284 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9285
9286 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9287 also for hash values.
9288
ae5e4c48
SM
92892013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9290
379add74
SM
9291 * term/ns-win.el (parameters): Don't declare as dynamic.
9292 (before-make-frame-hook): Don't add ineffective function.
9293
ae5e4c48
SM
9294 * eshell/*.el: Use lexical-binding (bug#15231).
9295
b5623270
KH
92962013-09-12 Kenichi Handa <handa@gnu.org>
9297
ae5e4c48 9298 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 9299
30213927
GM
93002013-09-12 Glenn Morris <rgm@gnu.org>
9301
be94d713 9302 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 9303 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 9304
44915370
GM
9305 * subr.el (do-after-load-evaluation): Also give compiler warnings
9306 when obsolete files are used (except by obsolete files).
9307
a6ae021f
GM
9308 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9309 in the status output, assume `filename' is the first. (Bug#15322)
9310
40e64f0c
GM
9311 * vc/vc.el (vc-deduce-fileset): Doc fix.
9312
16d9f896
GM
9313 * calc/calc-help.el (Info-goto-node):
9314 * progmodes/cperl-mode.el (Info-find-node):
9315 * vc/ediff.el (Info-goto-node): Update declarations.
9316
dea01c6e
GM
9317 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9318
759880bf 9319 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
9320 (vc-bzr-pull): Require vc-dispatcher.
9321 * vc/vc-git.el (vc-compilation-mode): Declare.
9322 (vc-git-pull): Require vc-dispatcher.
9323
08d66420
GM
9324 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9325
30b626e9
GM
9326 * progmodes/octave.el (help-button-action): Declare.
9327
8c05cb10
GM
9328 * shell.el (shell-directory-tracker): Output error as a message
9329 rather than just returning it as a string.
9330 (shell-process-pushd): Remove useless use of message.
9331
30213927
GM
9332 * dframe.el (dframe-timer-fn):
9333 * files.el (dir-locals-read-from-file):
9334 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9335 (mpc-format):
9336 * reveal.el (reveal-post-command):
9337 * saveplace.el (load-save-place-alist-from-file):
9338 * shell.el (shell-resync-dirs):
9339 * w32-common-fns.el (x-get-selection-value):
9340 * emacs-lisp/copyright.el (copyright-find-copyright):
9341 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9342 * emulation/tpu-edt.el (tpu-copy-keyfile):
9343 * play/bubbles.el (bubbles--mark-neighbourhood):
9344 * progmodes/executable.el
9345 (executable-make-buffer-file-executable-if-script-p):
9346 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9347
d3b049e6
SM
93482013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9349
170266d0
SM
9350 Cleanup Eshell to rely less on dynamic scoping.
9351 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9352 last-value, and ext-command here. Bind `args' closer to `body'.
9353 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9354 (eshell--args): Declare new dynamic var.
9355 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9356 last-value, and ext-command. Pass `args' to `body'.
9357 (eshell-process-args): Bind eshell--args.
9358 (eshell-set-option): Use eshell--args.
9359 * eshell/eshell.el (eshell): Use derived-mode-p.
9360 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9361 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9362 (eshell-glob-function): Declare.
9363 * eshell/esh-util.el: Require cl-lib.
9364 (eshell-read-hosts-file): Avoid add-to-list.
9365 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9366 `err'.
9367 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9368 Declare.
9369 (eshell/diff): Remove unused var `err'.
9370 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9371 `killflag'.
9372 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9373 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9374 first use.
9375 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9376 Move declaration before first use.
9377 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
9378 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9379 rely on cl-return.
9380
56834f3b
GM
93812013-09-12 Glenn Morris <rgm@gnu.org>
9382
9383 * term/ns-win.el (global-map): Remove binding for ispell-next,
9384 deleted 1999-05-29. (Bug#15357)
9385
5c91a2b8
GM
93862013-09-11 Glenn Morris <rgm@gnu.org>
9387
da712f22
GM
9388 * echistory.el (electric-command-history): Remove call to deleted func.
9389
512e4cdc
GM
9390 * play/landmark.el (landmark-mode): Fix typos.
9391
d3506ca5
GM
9392 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9393 Check cvs-sort-ignore-file is bound.
9394
5c91a2b8
GM
9395 * savehist.el: No need for cl when compiling on Emacs.
9396
feeff482
SM
93972013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9398
656bd483
SM
9399 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9400 (bug#15338).
d3b049e6
SM
9401 (eshell-self-insert-command, eshell-send-invisible):
9402 Remove unused argument.
656bd483
SM
9403 (eshell-handle-control-codes): Remove unused var `orig'.
9404 Avoid delete-backward-char.
9405
feeff482
SM
9406 * files.el (set-auto-mode): Simplify a bit further.
9407
2a08047a
GM
94082013-09-11 Glenn Morris <rgm@gnu.org>
9409
9410 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9411 (set-auto-mode): Don't regexp-quote elements.
9412 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9413 * progmodes/cc-mode.el (interpreter-mode-alist):
9414 * progmodes/ruby-mode.el (interpreter-mode-alist):
9415 Revert previous change.
9416
34675540
SM
94172013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9418
1b3b87df
SM
9419 * play/snake.el (snake-mode):
9420 * play/mpuz.el (mpuz-mode):
9421 * play/landmark.el (lm-mode):
9422 * play/blackbox.el (blackbox-mode):
9423 * play/5x5.el (5x5-mode):
9424 * obsolete/options.el (Edit-options-mode):
9425 * net/quickurl.el (quickurl-list-mode):
9426 * net/newst-treeview.el (newsticker-treeview-mode):
9427 * mail/rmailsum.el (rmail-summary-mode):
9428 * mail/mspools.el (mspools-mode):
9429 * locate.el (locate-mode):
9430 * ibuffer.el (ibuffer-mode):
9431 * emulation/ws-mode.el (wordstar-mode):
9432 * emacs-lisp/debug.el (debugger-mode):
9433 * array.el (array-mode):
9434 * net/eudc.el (eudc-mode): Use define-derived-mode.
9435 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9436 Move initialization into declaration.
9437 (mairix-searches-mode): Use define-derived-mode.
9438 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9439 (eudc-edit-hotlist): Use dolist.
9440 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9441 (Man-mode): Use define-derived-mode.
9442 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9443 (Info-edit-mode): Use define-derived-mode.
9444 (Info-cease-edit): Use Info-mode.
9445 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9446 into declaration.
9447 (eshell-mode): Use define-derived-mode.
9448 * chistory.el (command-history-mode-map): Rename from
9449 command-history-map.
9450 (command-history-mode): Use define-derived-mode.
da712f22 9451 (Command-history-setup): Remove function.
1b3b87df
SM
9452 * calc/calc.el (calc-trail-mode-map): New var.
9453 (calc-trail-mode): Use define-derived-mode.
9454 (calc-trail-buffer): Set calc-main-buffer manually.
9455 * bookmark.el (bookmark-insert-annotation): New function.
9456 (bookmark-edit-annotation): Use it.
9457 (bookmark-edit-annotation-mode): Make it a proper major mode.
9458 (bookmark-send-edited-annotation): Use derived-mode-p.
9459 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9460 closer to its ideal place. Use \' to match EOS.
9461
34675540
SM
9462 * profiler.el (profiler-calltree-find): Use function-equal.
9463
6a5c15d9
GM
94642013-09-10 Glenn Morris <rgm@gnu.org>
9465
1af4c220
GM
9466 * files.el (interpreter-mode-alist): Convert to regexps.
9467 (set-auto-mode): Adapt for this. (Bug#15306)
9468 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9469 Comment out unused variable.
9470 * progmodes/cc-mode.el (interpreter-mode-alist):
9471 * progmodes/python.el (interpreter-mode-alist):
9472 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9473 * progmodes/sh-script.el (sh-set-shell):
9474 No longer use interpreter-mode-alist to get list of shells.
9475
6a5c15d9
GM
9476 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9477
8c27f5ff
SM
94782013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9479
02ef6c1a 9480 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 9481 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
9482 Bind switch-frame explicitly. Replace universal-argument-minus with
9483 a conditional binding.
9484 (universal-argument-num-events, saved-overriding-map): Remove.
9485 (restore-overriding-map): Remove.
9486 (universal-argument--mode): Rename from save&set-overriding-map,
9487 and rewrite.
9488 (universal-argument, universal-argument-more, negative-argument)
9489 (digit-argument): Adjust accordingly.
9490 (universal-argument-minus): Remove.
9491 (universal-argument-other-key): Remove.
9492
8c27f5ff
SM
9493 * subr.el (with-demoted-errors): Add `format' argument.
9494
6480194c
MA
94952013-09-10 Michael Albinus <michael.albinus@gmx.de>
9496
9497 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9498 `tramp-cleanup-connection'.
9499
9500 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9501 parameters KEEP-DEBUG and KEEP-PASSWORD.
9502
9503 * net/tramp.el (tramp-file-name-handler):
9504 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9505 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9506 (tramp-maybe-open-connection):
8c27f5ff
SM
9507 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9508 Use `tramp-cleanup-connection'.
6480194c 9509
8c27f5ff
SM
9510 * net/tramp-sh.el (tramp-maybe-open-connection):
9511 Catch 'uname-changed inside the progress reporter.
6480194c 9512
e5e916d8
GM
95132013-09-10 Glenn Morris <rgm@gnu.org>
9514
9a2c9b47
GM
9515 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9516
e5e916d8
GM
9517 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9518 returns "alternate access method" in mode (eg "-rw-r--r--.").
9519
144e38fe
GM
95202013-09-08 Glenn Morris <rgm@gnu.org>
9521
9522 * saveplace.el (load-save-place-alist-from-file):
9523 Demote errors. (Bug#15305)
9524
af9ff9e8
MA
95252013-09-08 Michael Albinus <michael.albinus@gmx.de>
9526
9527 Improve compatibility with older Emacsen, and XEmacs.
9528
9529 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9530 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
9531 (with-tramp-progress-reporter): Do not let-bind `result'.
9532 This yields to scoping errors in XEmacs.
af9ff9e8
MA
9533 (tramp-handle-make-auto-save-file-name): New function, moved from
9534 tramp-sh.el.
9535
9536 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9537 for `make-auto-save-file-name'.
8c27f5ff
SM
9538 (tramp-adb--gnu-switches-to-ash):
9539 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9540
9541 * net/tramp-cache.el (tramp-cache-print): Call
9542 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9543
9544 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9545 bound. It isn't for XEmacs.
9546
8c27f5ff
SM
9547 * net/tramp-compat.el (tramp-compat-copy-file):
9548 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
9549 (tramp-compat-replace-regexp-in-string): New defun.
9550
9551 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9552 for `make-auto-save-file-name'.
9553 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9554 `copy-file'.
9555 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9556 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9557 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9558
8c27f5ff
SM
9559 * net/tramp-gw.el (tramp-gw-open-network-stream):
9560 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 9561
8c27f5ff
SM
9562 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9563 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
9564 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9565 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
9566 (tramp-sh-file-inotifywait-process-filter):
9567 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9568 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9569
9570 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9571 for `make-auto-save-file-name'.
8c27f5ff
SM
9572 (tramp-smb-handle-copy-directory):
9573 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9574 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9575 (tramp-smb-handle-copy-file): Improve error message.
9576 (tramp-smb-handle-rename-file): Rename directly only in case
9577 `newname' does not exist yet. This is a restriction of smbclient.
9578 (tramp-smb-maybe-open-connection): Rerun the function only when
9579 `auth-sources' is non-nil.
9580
0ca754d0
KH
95812013-09-08 Kenichi Handa <handa@gnu.org>
9582
e0eb0550 9583 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
9584 more characters.
9585
e8dd0787
AM
95862013-09-07 Alan Mackenzie <acm@muc.de>
9587
9588 Correctly fontify Java class constructors.
9589 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9590 in Java Mode.
9591 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
9592 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9593 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
9594 "typeless" declaration there.
9595
f2f248e7
RW
95962013-09-07 Roland Winkler <winkler@gnu.org>
9597
9598 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9599 field subtitle for entry type book.
9600
67982e2b
SM
96012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * minibuffer.el: Make minibuffer-complete call completion-in-region
9604 rather than other way around.
9605 (completion--some, completion-pcm--find-all-completions):
9606 Don't delay signals when debugging.
9607 (minibuffer-completion-contents): Beware fields within the
9608 minibuffer contents.
9609 (completion-all-sorted-completions): Use defvar-local.
9610 (completion--do-completion, completion--cache-all-sorted-completions)
9611 (completion-all-sorted-completions, minibuffer-force-complete):
9612 Add args `beg' and `end'.
9613 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9614 (minibuffer-complete): Use completion-in-region.
9615 (completion-complete-and-exit): New fun, extracted from
9616 minibuffer-complete-and-exit.
9617 (minibuffer-complete-and-exit): Use it.
9618 (completion--complete-and-exit): Rename from
9619 minibuffer--complete-and-exit.
9620 (completion-in-region--single-word): New function, extracted from
9621 minibuffer-complete-word.
9622 (minibuffer-complete-word): Use it.
9623 (display-completion-list): Make `common-substring' argument obsolete.
9624 (completion--in-region): Call completion--in-region-1 instead of
9625 minibuffer-complete.
9626 (completion-help-at-point): Pass boundaries to
9627 minibuffer-completion-help as args rather than via an overlay.
9628 (completion-pcm--string->pattern): Use `any-delim'.
9629 (completion-pcm--optimize-pattern): New function.
9630 (completion-pcm--pattern->regex): Handle `any-delim'.
9631 * icomplete.el (icomplete-forward-completions)
9632 (icomplete-backward-completions, icomplete-completions):
9633 Adjust calls to completion-all-sorted-completions and
9634 completion--cache-all-sorted-completions.
9635 (icomplete-with-completion-tables): Default to t.
9636 * emacs-lisp/crm.el (crm--current-element): Rename from
9637 crm--select-current-element. Don't put an overlay but return the
9638 boundaries instead.
9639 (crm--completion-command): Take two new args to bind to the boundaries.
9640 (crm-completion-help): Adjust accordingly.
9641 (crm-complete): Use completion-in-region.
9642 (crm-complete-word): Use completion-in-region--single-word.
9643 (crm-complete-and-exit): Use completion-complete-and-exit.
9644
e17d94a5
SM
96452013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9648 than dynamically.
9649
96727100
JL
96502013-09-06 Juri Linkov <juri@jurta.org>
9651
9652 * info.el (Info-display-images-node): When image file doesn't exist
9653 display text version of the image if it's provided in the Info file.
9654 Otherwise, display the location of missing image from SRC attribute.
9655 Add help-echo text property from ALT attribute. (Bug#15279)
9656
86cf7329
SM
96572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9660 (edit-abbrevs-mode): Use define-derived-mode.
9661
9662 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9663 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9664 that it's defined.
9665 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9666 Use define-derived-mode.
9667
9668 * epg.el (epg-start-encrypt): Minor CSE simplification.
9669
816244a2
WX
96702013-09-06 William Xu <william.xwl@gmail.com>
9671
9672 * arc-mode.el: Add support for 7za (bug#15264).
9673 (archive-7z-program): New var.
9674 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9675 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9676 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9677
1486fa31
MA
96782013-09-06 Michael Albinus <michael.albinus@gmx.de>
9679
9680 Remove URL syntax.
9681
9682 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9683 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9684 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9685 (tramp-postfix-host-format, tramp-file-name-regexp)
9686 (tramp-completion-file-name-regexp)
9687 (tramp-completion-dissect-file-name)
9688 (tramp-handle-substitute-in-file-name): Remove 'url case.
9689 (tramp-file-name-regexp-url)
9690 (tramp-completion-file-name-regexp-url): Remove constants.
9691
39785324
GM
96922013-09-06 Glenn Morris <rgm@gnu.org>
9693
9694 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9695
1f896cb7
DG
96962013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9697
9698 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9699 keywords" below "here-doc beginnings" (Bug#15270).
9700
c0458e0b
SM
97012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * subr.el (pop): Use `car-safe'.
9704 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9705 to detect unused `pop' return value.
9706
9707 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9708 var `block-regexp'.
9709 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9710 (python-fill-string): Remove unused var `marker'.
9711 (python-skeleton-add-menu-items): Remove unused var `items'.
9712
9713 * international/mule-cmds.el: Require CL.
9714 (find-coding-systems-for-charsets): Avoid add-to-list.
9715 (sanitize-coding-system-list): New function, extracted from
9716 select-safe-coding-system-interactively.
9717 (select-safe-coding-system-interactively): Use it.
9718 (read-input-method-name): Accept symbols for `default'.
9719
9720 * emacs-lisp/advice.el (defadvice): Add indent rule.
9721
6c42fc3e
DH
97222013-09-05 Daniel Hackney <dan@haxney.org>
9723
9724 * dired-x.el:
9725 * net/ange-ftp.el:
9726 * net/browse-url.el:
9727 * net/dbus.el:
9728 * net/eudc.el:
9729 * net/eudcb-ldap.el:
9730 * net/eww.el:
9731 * net/imap.el:
9732 * printing.el:
9733 * vc/ediff-diff.el:
9734 * vc/ediff-init.el:
9735 * vc/ediff-merg.el:
9736 * vc/ediff-mult.el:
9737 * vc/ediff-util.el:
9738 * vc/ediff-wind.el:
9739 * vc/ediff.el:
9740 * vc/emerge.el:
9741 * vc/pcvs.el:
9742 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9743 byte compiler. Remove some unused let-bound variables.
9744
4c528aab
SM
97452013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9748 a "ref-cell", since it gets better optimized (bug#14883).
9749
bd15c390
GM
97502013-09-05 Glenn Morris <rgm@gnu.org>
9751
9752 * progmodes/cc-awk.el (c-forward-sws): Declare.
9753
1c3ac2e5
GM
97542013-09-04 Glenn Morris <rgm@gnu.org>
9755
9756 * generic-x.el [rul-generic-mode]: Require cc-mode.
9757 (c++-mode-syntax-table): Declare.
9758 (rul-generic-mode-syntax-table): Init in the defvar.
9759
52b1cc79
SM
97602013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9761
c828af56
SM
9762 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9763 (vc-do-command, vc-set-async-update):
9764 * vc/vc-mtn.el (vc-mtn-dir-status):
9765 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9766 (vc-hg-pull, vc-hg-merge-branch):
9767 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9768 (vc-git-merge-branch):
9769 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9770 (vc-cvs-dir-status-files):
9771 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9772 (vc-bzr-dir-status-files):
9773 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9774 * vc/vc-annotate.el: Use lexical-binding.
9775 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9776 (vc-sentinel-movepoint): Declare.
9777 (vc-annotate): Don't use `goto-line'.
9778 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9779 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9780 (vc-sentinel-movepoint): Declare.
9781 * vc/vc-svn.el: Use lexical-binding.
9782 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9783 * vc/vc-sccs.el:
9784 * vc/vc-rcs.el: Use lexical-binding.
9785
abae272c
SM
9786 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9787 `deleted'. Don't drop errors silently.
9788
52b1cc79
SM
9789 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9790
63191d9f
XF
97912013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9792
9793 * vc/vc.el (vc-ignore): Rewrite.
9794 (vc-default-ignore): New function.
9795 (vc-default-ignore-completion-table): Use find-ignore-file.
9796
9797 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9798 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9799 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9800 Remove. Most code moved to vc.el.
9801
9d3f707c
SM
98022013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9803
abae272c 9804 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
9805 * net/tramp-smb.el (tramp-smb-get-file-entries):
9806 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9807 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9808
fde38d49
SM
9809 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9810 Update call to it.
9811 (eww-change-select): Remove unused var `properties'.
9812 (eww-make-unique-file-name): Remove unused var `base'.
9813
9814 * finder.el (finder-compile-keywords): Don't mess with windows.
9815
84032db7
SM
9816 * calculator.el (calculator-funcall): Fix typo in last change.
9817
724f5e41
SM
9818 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9819
14b511d4
SM
9820 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9821 <pkg>-autoloads.el file stop us.
9822
9d3f707c 9823 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 9824 warnings, and factor out common code.
9d3f707c 9825
88527bc0
DG
98262013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9827
9828 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9829 two-character operators and whether the character preceding them
9830 changes their meaning (Bug#15208).
9831
96edb677
FEG
98322013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9833
9834 Format code sent to Python shell for robustness.
9d3f707c
SM
9835 * progmodes/python.el (python-shell-buffer-substring):
9836 New function.
96edb677
FEG
9837 (python-shell-send-region, python-shell-send-buffer): Use it.
9838
95beaef3
MA
98392013-09-02 Michael Albinus <michael.albinus@gmx.de>
9840
9841 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9842 * net/tramp.el (tramp-user-error): ... here.
9843 (tramp-find-method, tramp-check-proper-host)
9844 (tramp-dissect-file-name, tramp-debug-message)
9845 (tramp-handle-shell-command):
9846 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9847 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9848
9849 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9850
f167c27b
MR
98512013-09-02 Martin Rudalics <rudalics@gmx.at>
9852
9853 * avoid.el (mouse-avoidance-point-position)
9854 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9855 returns nil.
9856
cd16c5f1
FEG
98572013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9858
9859 * progmodes/python.el (python-shell-completion-get-completions):
9860 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 9861 (python-nav-if-name-main): New command.
cd16c5f1 9862
e73c3a0d
GM
98632013-09-01 Glenn Morris <rgm@gnu.org>
9864
f8ccce03
GM
9865 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9866 Avoid leading space in $wins. Otherwise the sed command used by
9867 eg compile-main ends up containing "/*.el". (Bug#15170)
9868
e73c3a0d
GM
9869 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9870
415f808e
GM
98712013-08-30 Glenn Morris <rgm@gnu.org>
9872
9873 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9874 Fix is-this-a-directory logic. (Bug#15220)
9875
f069bba8
SM
98762013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9877
112798c1
SM
9878 * textmodes/css-mode.el: Use SMIE.
9879 (css-smie-grammar): New var.
9880 (css-smie--forward-token, css-smie--backward-token)
9881 (css-smie-rules): New functions.
9882 (css-mode): Use them.
9883 (css-navigation-syntax-table): Remove var.
9884 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9885 (css-indent-calculate, css-indent-line): Remove functions.
9886
9887 Misc changes to reduce use of `(lambda...); and other cleanups.
9888 * cus-edit.el: Use lexical-binding.
9889 (customize-push-and-save, customize-apropos)
9890 (custom-buffer-create-internal): Use closures.
9891 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9892 * progmodes/ada-xref.el: Use setq.
9893 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9894 * dframe.el: Use lexical-binding.
9895 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9896 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9897 * descr-text.el: Use lexical-binding.
9898 (describe-text-widget, describe-text-sexp, describe-property-list):
9899 Use closures.
9900 * comint.el (comint-history-isearch-push-state): Use a closure.
9901 * calculator.el: Use lexical-binding.
9902 (calculator-number-to-string): Make it work with lexical-binding.
9903 (calculator-funcall): Same and use cl-letf.
9904
2da4c3ab
SM
9905 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9906 (lisp--company-doc-string, lisp--company-location): New functions.
9907 (lisp-completion-at-point): Use them to improve Company support.
9908
f069bba8
SM
9909 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9910 params of lambda expressions.
9911 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9912 (ruby-smie--opening-pipe-p): New function.
9913 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9914 symbols and matched |...| for formal params.
9915 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9916 from being treated as hanging. Handle "rescue".
9917
6758b6a8
GM
99182013-08-29 Glenn Morris <rgm@gnu.org>
9919
9920 * progmodes/cc-engine.el (c-pull-open-brace):
9921 Move definition before use.
9922
e8dfd197
SM
99232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9926 are immutable. Don't use `unsafe' any more.
9927 (cl--defsubst-expand): Don't substitute at the same time as keeping
9928 a residual unused let-binding. Don't use `unsafe' any more.
9929
cc585c96
GM
99302013-08-29 Glenn Morris <rgm@gnu.org>
9931
ba579ea6
GM
9932 * calendar/cal-china.el (calendar-chinese-year-cache):
9933 Recenter on 2015.
9934
8201a87e
GM
9935 * nxml/nxml-util.el (nxml-debug-clear-inside):
9936 Use cl-loop rather than loop.
9937
6ee877c7
GM
9938 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9939
cc585c96
GM
9940 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9941
27be8d39
GM
99422013-08-28 Glenn Morris <rgm@gnu.org>
9943
397440a1
GM
9944 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9945
2bb762d4
GM
9946 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9947
27be8d39
GM
9948 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9949
2d69b99e
SM
99502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9951
f663baa7
SM
9952 * simple.el (repeat-complex-command--called-interactively-skip):
9953 New function.
9954 (repeat-complex-command): Use it (bug#14136).
9955
dd4f8b74
SM
9956 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9957 (c-define-abbrev-table): Add `doc' argument.
9958 (c-mode-abbrev-table, c++-mode-abbrev-table)
9959 (objc-mode-abbrev-table, java-mode-abbrev-table)
9960 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9961 (awk-mode-abbrev-table): Use it.
9962 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9963 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9964 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9965 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9966 Move initialization into the declaration; and remove any
9967 autoload cookie.
9968
b58969f7
SM
9969 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9970 and dynamic let binding.
9971
4021d6a6
SM
9972 * vc/smerge-mode.el: Remove redundant :group args.
9973
2d69b99e
SM
9974 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9975 to load-path.
9976
274919fd
JL
99772013-08-28 Juri Linkov <juri@jurta.org>
9978
9979 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9980 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9981 (isearch-other-meta-char): Handle an undefined shifted printing
9982 character by downshifting it. (Bug#15200)
9983
121f8c95
JL
99842013-08-28 Juri Linkov <juri@jurta.org>
9985
9986 * isearch.el (isearch-search): Change regexp error message for
9987 non-regexp searches. (Bug#15166)
9988
50b13cde
PE
99892013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9990
9991 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9992 for portability to hosts where /bin/sh has problems.
9993
95888bca
SM
99942013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9997
bbe558f1
JL
99982013-08-27 Juri Linkov <juri@jurta.org>
9999
10000 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10001 in the keyboard macro. (Bug#15126)
10002
26f98a7d
JL
100032013-08-27 Juri Linkov <juri@jurta.org>
10004
10005 * isearch.el (isearch-quote-char): Comment out converting unibyte
10006 to multibyte, thus syncing with its `quoted-insert' counterpart.
10007 (Bug#15166)
10008
7c97d35e
MR
100092013-08-27 Martin Rudalics <rudalics@gmx.at>
10010
10011 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
10012 argument in call of get-largest-window (Bug#15185).
10013 Reported by Stephen Leake.
7c97d35e 10014
a0b5606e 100152013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
10016
10017 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10018
9e89d835
SM
100192013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10022 from a matcher-function unless there's no more matches (bug#15161).
10023
78fc2530
MA
100242013-08-26 Michael Albinus <michael.albinus@gmx.de>
10025
10026 * minibuffer.el: Revert change from 2013-08-20.
10027
10028 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10029 with text property `tramp-default', if appropriate.
10030 (tramp-check-proper-host): New defun.
10031 (tramp-dissect-file-name): Do not check hostname. Revert change
10032 of 2013-03-18.
10033 (tramp-backtrace): Make VEC-OR-PROC optional.
10034
10035 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10036 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10037 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
10038 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10039 Apply `tramp-check-proper-host'.
78fc2530 10040
edca97cd
TH
100412013-08-26 Tassilo Horn <tsdh@gnu.org>
10042
10043 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10044 lambda expression in order to have `describe-variable' display it.
10045
df54bcbd
MA
100462013-08-26 Michael Albinus <michael.albinus@gmx.de>
10047
10048 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10049 BUF can be optional. (Bug#15186)
10050
eed99101
XF
100512013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10052
10053 * progmodes/flymake.el (flymake-get-real-file-name-function):
10054 Fix broken customization. (Bug#15184)
10055
b5eb9035
AM
100562013-08-25 Alan Mackenzie <acm@muc.de>
10057
8a51e842
AM
10058 Improve indentation of bracelists defined by macros (without "=").
10059
10060 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10061 expansion begins with "{", regard it as bracelist when it doesn't
10062 contain a ";".
10063
869455d4
AM
10064 Parse C++ inher-intro when there's a template split over 2 lines.
10065
10066 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10067 rigorously the search for "class" etc. followed by ":".
10068
10069 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10070 random languages a regexp which never matches rather than nil.
10071
b5eb9035
AM
10072 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10073
10074 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10075 (c-awk-regexp-one-line-possibly-open-char-list-re)
10076 (c-awk-one-line-possibly-open-regexp-re)
10077 (c-awk-one-line-non-syn-ws*-re): Remove.
10078 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10079 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10080 (c-awk-space*-unclosed-regexp-/-re): New constants.
10081 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10082 aren't regexp delimiters.
10083
10084 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10085 handling for a rare situation in AWK Mode involving unterminated
10086 strings/regexps.
10087
61611d54
GM
100882013-08-23 Glenn Morris <rgm@gnu.org>
10089
2d85dc34
GM
10090 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10091
cb8d2612
GM
10092 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10093
bb35f42f
GM
10094 * files.el (create-file-buffer): If the result would begin with
10095 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 10096
b9808e77
SM
100972013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10098
e3a66363
SM
10099 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10100 text-properties (bug#15155).
10101
b9808e77
SM
10102 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10103 exist any more.
10104 (calc-keypad-redraw): Remove unused var `pad'.
10105 (calc-keypad-press): Remove unused var `menu'.
10106
7fd5f65e
MR
101072013-08-23 Martin Rudalics <rudalics@gmx.at>
10108
b9808e77
SM
10109 * window.el (display-buffer-pop-up-frame):
10110 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
10111 use it as the new frame's buffer (Bug#15133).
10112
8352b530
SM
101132013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * calendar/timeclock.el: Minor cleanups.
10116 (timeclock-ask-before-exiting, timeclock-use-display-time):
10117 Use `symbol'.
10118 (timeclock-modeline-display): Define as alias before the
10119 actual definition.
10120 (timeclock-mode-line-display): Use define-minor-mode.
10121 (timeclock-day-list-template): Make it a function, add an argument.
10122 (timeclock-day-list-required, timeclock-day-list-length)
10123 (timeclock-day-list-debt, timeclock-day-list-span)
10124 (timeclock-day-list-break): Adjust calls accordingly.
10125
9f7b1925
SM
101262013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10129 Use read--expression so that completion works again.
10130
6e50e983
SS
101312013-08-21 Sam Steingold <sds@gnu.org>
10132
10133 Add rudimentary inferior shell interaction
10134 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10135 (sh-set-shell): Reset it.
9f7b1925
SM
10136 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10137 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 10138
dbb0d350
SM
101392013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 * align.el: Use lexical-binding.
10142 (align-region): Simplify accordingly.
10143
c88586a9
MA
101442013-08-20 Michael Albinus <michael.albinus@gmx.de>
10145
10146 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10147
10148 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10149 `non-essential' up.
10150
f95527c8
MA
101512013-08-17 Michael Albinus <michael.albinus@gmx.de>
10152
10153 * net/tramp.el:
10154 * net/tramp-adb.el:
10155 * net/tramp-cmds.el:
10156 * net/tramp-ftp.el:
10157 * net/tramp-gvfs.el:
10158 * net/tramp-gw.el:
10159 * net/tramp-sh.el: Don't wrap external variable declarations by
10160 `eval-when-compile'.
10161
4b5fe4ee
LMI
101622013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10163
10164 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10165 now that Emacs supports ImageMagick animations.
10166
13c366c9
MA
101672013-08-16 Michael Albinus <michael.albinus@gmx.de>
10168
10169 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10170 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10171
3dfc5cd6
MR
101722013-08-16 Martin Rudalics <rudalics@gmx.at>
10173
10174 * window.el (mouse-autoselect-window-select): Do autoselect when
10175 mouse pointer is on margin.
10176
4bbb4381
WP
101772013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10178
10179 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10180
3a2ddc2d
GM
101812013-08-16 Glenn Morris <rgm@gnu.org>
10182
e8bedf5a
GM
10183 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10184 Handle "Remote Directory" response of some clients. (Bug#15058)
10185
58c4682f
GM
10186 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10187 Tweak warning. (Bug#14926)
10188
57953f49
GM
10189 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10190 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10191
3a2ddc2d
GM
10192 * image-mode.el (image-mode-map): Add menu items to reverse,
10193 increase, decrease, reset animation speed.
10194 (image--set-speed, image-increase-speed, image-decrease-speed)
10195 (image-reverse-speed, image-reset-speed): New functions.
10196 (image-mode-map): Add bindings for speed commands.
10197
10198 * image.el (image-animate-get-speed, image-animate-set-speed):
10199 New functions.
10200 (image-animate-timeout): Respect image :speed property.
10201
10fa0ed3
SM
102022013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10205 previous line (bug#15101).
10206 (debugger-eval-expression, debugger-record-expression):
10207 Use read--expression (bug#15102).
10208
5d89d9d2
MA
102092013-08-15 Michael Albinus <michael.albinus@gmx.de>
10210
10211 Remove byte compiler warnings, visible when compiling with
10212 `byte-compile-force-lexical-warnings' set to t.
10213
10214 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10215 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10216 (tramp-handle-unhandled-file-name-directory)
10217 (tramp-handle-file-notify-add-watch, tramp-action-login)
10218 (tramp-action-succeed, tramp-action-permission-denied)
10219 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10220 arguments with "_".
10221
10222 * net/tramp-adb.el (tramp-adb-parse-device-names)
10223 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10224 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10225 (tramp-adb-handle-file-truename): Remove unused arguments.
10226
10227 * net/tramp-cache.el (tramp-flush-directory-property)
10228 (tramp-flush-connection-property, tramp-list-connections)
10229 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10230
10fa0ed3
SM
10231 * net/tramp-compat.el (tramp-compat-make-temp-file):
10232 Rename FILENAME to F.
5d89d9d2
MA
10233
10234 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10235 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10236 (tramp-zeroconf-parse-workstation-device-names)
10237 (tramp-zeroconf-parse-webdav-device-names)
10238 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10239
10240 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10241 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10242
10243 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10244 arguments.
10245 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10246 (tramp-sh-handle-insert-file-contents-literally)
10247 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10248 with "_".
10249 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10250 Remove unused variables.
10251
10252 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10253 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10254 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10255
10256 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10257 Make them a defconst.
10258 (tramp-uuencode-region): Remove unused variable.
10259
62f33bae
JB
102602013-08-14 Juanma Barranquero <lekktu@gmail.com>
10261
10262 * frameset.el (frameset--prop-setter): New function.
10263 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
10264 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10265 parameter was already set in FILTERED. Doc fix.
10266 (frameset--record-minibuffer-relationships): Allow saving a
10267 minibufferless frame without its corresponding minibuffer frame.
10268 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10269 frame, if the frame id matches.
10270 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10271 frames before orphaned ones.
10272 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 10273
c660a885
MR
102742013-08-14 Martin Rudalics <rudalics@gmx.at>
10275
10276 * window.el (window-make-atom): Don't overwrite parameter
10277 already present.
10278 (display-buffer-in-atom-window): Handle special case where we
10279 split an already atomic window.
10280 (window--major-non-side-window, display-buffer-in-side-window)
10281 (window--side-check): Ignore minibuffer window when walking
10282 window tree.
10283 (window-deletable-p): Return 'frame only if no other frame uses
10284 our minibuffer window.
10285 (record-window-buffer): Run buffer-list-update-hook.
10286 (split-window): Make sure window--check-frame won't destroy an
10287 existing atomic window in case the new window gets nested
10288 inside.
10289 (display-buffer-at-bottom): Ignore minibuffer window when
10290 walking window tree. Don't split a side window.
10291 (pop-to-buffer): Don't set-buffer here, the select-window call
10292 should do that.
10293 (mouse-autoselect-window-select): Autoselect only if we are in the
10294 text portion of the window.
10295
8259030d
LMI
102962013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10297
21c58ae2
LMI
10298 * net/shr.el (shr-parse-image-data): New function to grab both the
10299 data itself and the Content-Type.
10300 (shr-put-image): Use it.
10301
10302 * net/eww.el (eww-display-image): Ditto.
10303
8259030d
LMI
10304 * image.el (image-content-type-suffixes): New variable.
10305
ad756449
FEG
103062013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10307
10308 * progmodes/python.el (python-imenu--build-tree)
10309 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10310
f73f4ce6
XF
103112013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10312
10313 * simple.el (backward-word): Mention the optional argument.
10314
1f585e65
SM
103152013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * frameset.el (frameset--make): Rename constructor from make-frameset.
10318 (frameset-p, frameset-valid-p): Don't autoload.
10319 (frameset-valid-p): Use normal accessors.
10320
af1c6c84
GM
103212013-08-13 Glenn Morris <rgm@gnu.org>
10322
55e47f95
GM
10323 * progmodes/compile.el (compile-command): Tweak example in doc.
10324 * obsolete/scribe.el (scribe-mode):
10325 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10326
f0024d8c
GM
10327 * mail/feedmail.el (feedmail-confirm-outgoing)
10328 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10329
10330 * cus-start.el (truncate-partial-width-windows): Fix type.
10331
10332 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10333
af1c6c84
GM
10334 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10335
5514cc4c
SM
103362013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * emacs-lisp/timer.el (timer--time-setter): New function.
10339 (timer--time): Use it as gv-setter.
10340
10341 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10342 setter is not a symbol.
10343
7997a2f1
GJ
103442013-08-12 Grégoire Jadi <daimrod@gmail.com>
10345
10346 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10347 if sending fails. This makes debugging easier.
10348
01f1a9ab
JB
103492013-08-12 Juanma Barranquero <lekktu@gmail.com>
10350
10351 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10352 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10353 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10354
594a4307
EZ
103552013-08-12 Eli Zaretskii <eliz@gnu.org>
10356
10357 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10358
7a22490f 103592013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
10360
10361 * format.el (format-annotate-function):
10362 Handle read-only text properties in the source. (Bug#14887)
10363
3e41a054
LMI
103642013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10365
5514cc4c
SM
10366 * net/eww.el (eww-display-html): Ignore coding system errors.
10367 One web site uses "utf-8lias" as the coding system.
3e41a054 10368
7ec326db
JB
103692013-08-11 Juanma Barranquero <lekktu@gmail.com>
10370
10371 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10372
5660113b
JB
103732013-08-10 Juanma Barranquero <lekktu@gmail.com>
10374
9a4ebc74
JB
10375 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10376 (tutorial--detailed-help): Remove unused local variables.
10377 (tutorial--save-tutorial-to): Use ignore-errors.
10378 (help-with-tutorial): Use looking-at-p.
10379
10380 * view.el (view-buffer-other-window, view-buffer-other-frame):
10381 Mark unused arguments.
10382
10383 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10384 (woman-select-symbol-fonts, woman, woman-find-file)
10385 (woman-insert-file-contents, woman-non-underline-faces):
10386 Use string-match-p.
10387 (woman1-unquote): Move declaration.
10388
10389 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10390 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10391 argument. Remove unused local variable.
10392 (xml-parse-elem-type): Use string-match-p.
10393 (xml-substitute-numeric-entities): Use ignore-errors.
10394
45fdb482
JB
10395 * calculator.el (calculator): Mark unused argument.
10396 (calculator-paste, calculator-quit, calculator-integer-p):
10397 Use ignore-errors.
10398 (calculator-string-to-number, calculator-decimal, calculator-exp)
10399 (calculator-op-or-exp): Use string-match-p.
10400
10401 * dired.el (dired-buffer-more-recently-used-p): Declare.
10402 (dired-insert-set-properties, dired-insert-old-subdirs):
10403 Use ignore-errors.
10404
10405 * dired-aux.el (dired-compress): Use ignore-errors.
10406 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10407 (dired-do-async-shell-command, dired-do-shell-command)
10408 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10409 (dired-insert-subdir-validate): Use string-match-p.
10410 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10411 (dired-add-entry): Use string-match-p, looking-at-p.
10412 (dired-insert-subdir-newpos): Remove unused local variable.
10413
10414 * filenotify.el (file-notify-callback): Remove unused local variable.
10415
10416 * filesets.el (filesets-error): Mark unused argument.
10417 (filesets-which-command-p, filesets-filter-dir-names)
10418 (filesets-directory-files, filesets-get-external-viewer)
10419 (filesets-ingroup-get-data): Use string-match-p.
10420
10421 * find-file.el (ff-other-file-name, ff-other-file-name)
10422 (ff-find-the-other-file, ff-cc-hh-converter):
10423 Remove unused local variables.
10424 (ff-get-file-name): Use string-match-p.
10425 (ff-all-dirs-under): Use ignore-errors.
10426
10427 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10428 (follow-select-if-visible): Remove unused local variable.
10429
10430 * forms.el (read-file-filter): Move declaration.
10431 (forms--make-format, forms--make-parser, forms-insert-record):
10432 Quote function with #'.
10433 (forms--update): Use string-match-p. Quote function with #'.
10434
10435 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10436 (help-make-xrefs): Use looking-at-p.
10437 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10438
10439 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10440 (ibuffer-confirm-operation-on): Use string-match-p.
10441
10442 * msb.el (msb-item-handler, msb-dired-item-handler):
10443 Mark unused arguments.
10444
10445 * ses.el (ses-decode-cell-symbol)
10446 (ses-kill-override): Remove unused local variable.
10447 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10448 (ses-load): Use ignore-errors, looking-at-p.
10449 (ses-jump-safe): Use ignore-errors.
10450 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10451
10452 * tabify.el (untabify, tabify): Mark unused arguments.
10453
10454 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10455 Mark unused argument.
10456 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10457 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10458
c880af52
JB
10459 * emacs-lisp/timer.el (timer--time): Define setter with
10460 gv-define-setter to avoid deprecation warning.
10461
5660113b 10462 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 10463 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
10464 (cmpl-statistics-block): Remove (body was commented out).
10465 All callers changed.
10466 (add-completions-from-buffer, load-completions-from-file):
10467 Remove unused variables.
10468
156aab80
JB
104692013-08-09 Juanma Barranquero <lekktu@gmail.com>
10470
5c5dee78
JB
10471 * filecache.el (file-cache-delete-file-list):
10472 Print message only when told so.
10473 (file-cache-files-matching): Use #' in mapconcat argument.
10474
156aab80
JB
10475 * ffap.el (ffap-url-at-point): Fix reference to variable
10476 thing-at-point-default-mail-uri-scheme.
10477
ad9dcd70
SM
104782013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10479
54bd972f
SM
10480 * subr.el (define-error): New function.
10481 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10482 error-file-not-found and define with define-error.
10483 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10484 and define with define-error.
10485 * userlock.el (file-locked, file-supersession):
10486 * simple.el (mark-inactive):
10487 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10488 * progmodes/ada-mode.el (ada-mode-errors):
10489 * play/life.el (life-extinct):
10490 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10491 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10492 * nxml/rng-util.el (rng-error):
10493 * nxml/rng-uri.el (rng-uri-error):
10494 * nxml/rng-match.el (rng-compile-error):
10495 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10496 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10497 * nxml/nxml-rap.el (nxml-scan-error):
10498 * nxml/nxml-outln.el (nxml-outline-error):
10499 * net/soap-client.el (soap-error):
10500 * net/gnutls.el (gnutls-error):
10501 * net/ange-ftp.el (ftp-error):
10502 * mpc.el (mpc-proc-error):
10503 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10504 (json-number-format, json-string-escape, json-string-format)
10505 (json-key-format, json-object-format):
10506 * jka-compr.el (compression-error):
10507 * international/quail.el (quail-error):
10508 * international/kkc.el (kkc-error):
10509 * emacs-lisp/ert.el (ert-test-failed):
10510 * calc/calc.el (calc-error, inexact-result, math-overflow)
10511 (math-underflow):
10512 * bookmark.el (bookmark-error-no-filename):
10513 * epg.el (epg-error): Define with define-error.
10514
0ea9e53a
SM
10515 * time.el (display-time-event-handler)
10516 (display-time-next-load-average): Don't call sit-for since it seems
10517 unnecessary (bug#15045).
10518
b0429158
SM
10519 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10520 Use #' instead of ' to quote functions.
10521 (checkdoc-output-mode): Use setq-local.
10522 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10523 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10524 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10525 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10526 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10527 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10528 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10529 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10530
ad9dcd70
SM
10531 * ido.el (ido-completion-help): Fix up compiler warning.
10532
77187e6f
JB
105332013-08-09 Juanma Barranquero <lekktu@gmail.com>
10534
10535 * frameset.el (frameset-p): Add autoload cookie.
10536 (frameset--jump-to-register): New function, based on code moved from
10537 register.el.
10538 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10539
10540 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10541 (frameset-restore, frameset-save, frameset-session-filter-alist):
10542 Remove declarations.
10543 (register-alist): Doc fix.
10544 (frameset-to-register): Move to frameset.el.
10545 (jump-to-register, describe-register-1): Remove frameset-specific code.
10546
9d3aa82c
JB
105472013-08-08 Juanma Barranquero <lekktu@gmail.com>
10548
10549 * allout-widgets.el (allout-widgets-pre-command-business)
10550 (allout-widgets-post-command-business)
10551 (allout-widgets-after-change-handler)
10552 (allout-decorate-item-and-context, allout-set-boundary-marker)
10553 (allout-body-modification-handler)
10554 (allout-graphics-modification-handler): Mark ignored arguments.
10555 (allout-widgets-post-command-business)
10556 (allout-widgets-exposure-change-processor)
10557 (allout-widgets-exposure-undo-processor)
10558 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10559 (allout-parse-item-at-point, allout-decorate-item-guides)
10560 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10561 * allout.el (epa-passphrase-callback-function): Declare.
10562 (allout-overlay-insert-in-front-handler)
10563 (allout-overlay-interior-modification-handler)
10564 (allout-isearch-end-handler, allout-chart-siblings)
10565 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10566 (allout-yank-processing, allout-process-exposed)
10567 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 10568 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
10569 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10570 (lisp-indent-defform): Mark ignored arguments.
10571 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10572 (calculate-lisp-indent): Remove unused variables.
10573 * international/characters.el (indian-2-column, arabic-2-column)
10574 (tibetan): Mark ignored arguments.
10575 (use-cjk-char-width-table): Mark ignored arguments.
10576 Remove unused variables.
10577 * international/fontset.el (build-default-fontset-data)
10578 (x-compose-font-name, create-fontset-from-fontset-spec):
10579 Mark ignored arguments.
10580 (fontset-plain-name): Remove unused variables.
10581 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10582 (keyboard-coding-system): Mark ignored arguments.
10583 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10584 * help.el (resize-temp-buffer-window):
10585 * window.el (display-buffer-in-major-side-window)
10586 (display-buffer-in-side-window, display-buffer-in-previous-window):
10587 Remove unused variables.
10588 * isearch.el (isearch-forward-symbol):
10589 * version.el (emacs-bzr-version-bzr):
10590 * international/mule-cmds.el (current-language-environment):
10591 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10592 (x-handle-display):
10593 * term/pc-win.el (x-list-fonts, x-display-planes)
10594 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10595 (x-server-version, x-display-screens, x-display-mm-height)
10596 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10597 (x-selection-owner-p, x-own-selection-internal)
10598 (x-disown-selection-internal, x-get-selection-internal)
10599 (msdos-initialize-window-system):
10600 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10601 * term/x-win.el (x-handle-no-bitmap-icon):
10602 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10603 (vc-default-find-file-hook, vc-default-extra-menu):
10604 Mark ignored arguments.
10605
0ca3f70e
SM
106062013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10609 break-condition in the context of the debugged code (bug#12685).
10610
74c5d24c
CS
106112013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10612
10613 * comint.el:
10614 Do not use an overlay to highlight the last prompt. (Bug#14744)
10615 (comint-mode): Make comint-last-prompt buffer local.
10616 (comint-last-prompt): New variable.
10617 (comint-last-prompt-overlay): Remove. Superseded by
10618 comint-last-prompt.
0ca3f70e
SM
10619 (comint-snapshot-last-prompt, comint-output-filter):
10620 Use comint-last-prompt.
74c5d24c 10621
c03c02ee
JB
106222013-08-08 Juanma Barranquero <lekktu@gmail.com>
10623
a3738d20 10624 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
10625 (frameset-save): Check validity of the resulting frameset.
10626
04263d23
XF
106272013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10628
10629 * ido.el (ido-record-command): Add doc string.
10630
76c5e5ab
JB
106312013-08-08 Juanma Barranquero <lekktu@gmail.com>
10632
10633 * frameset.el (frameset): Do not disable creation of the default
10634 frameset-p predicate. Doc fix.
10635 (frameset-valid-p): New function, copied from the old predicate-p.
10636 Add additional checks.
10637 (frameset-restore): Check with frameset-valid-p.
10638 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10639 (frameset-name, frameset-description, frameset-properties)
10640 (frameset-states): Add docstring.
f9dbf1cb
JB
10641 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10642 (frameset-filter-alist): Doc fixes.
76c5e5ab 10643
bd0c3c0b
JB
106442013-08-08 Juanma Barranquero <lekktu@gmail.com>
10645
10646 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10647
c735544c
SM
106482013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10651 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10652 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10653 (byte-compile-normal-call): Remove obsolescence check.
10654
2805a651
JB
106552013-08-08 Juanma Barranquero <lekktu@gmail.com>
10656
3677ffeb
JB
10657 * frameset.el (frameset-restore): Doc fix.
10658
2805a651
JB
10659 * register.el (frameset-frame-id, frameset-frame-with-id)
10660 (frameset-p, frameset-restore, frameset-save): Declare.
10661 (register-alist): Document framesets.
10662 (frameset-session-filter-alist): Declare.
10663 (frameset-to-register): New function.
10664 (jump-to-register): Implement jumping to framesets. Doc fix.
10665 (describe-register-1): Describe framesets.
10666
10667 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10668
a912c016
JB
106692013-08-07 Juanma Barranquero <lekktu@gmail.com>
10670
10671 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10672 Use lexical-binding.
10673
10674 * frameset.el (frameset): Use type vector, not list (incompatible
10675 change). Do not declare a new constructor, use the default one.
10676 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10677 `name' and `description', respectively, and add read-only slot
10678 `timestamp'. Doc fixes.
10679 (frameset-copy, frameset-persistent-filter-alist)
10680 (frameset-filter-alist, frameset-switch-to-gui-p)
10681 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10682 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10683 (frameset-filter-iconified, frameset-keep-original-display-p):
10684 Doc fixes.
10685 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10686 Rename from frameset-filter-(save|restore)-param. All callers changed.
10687 Doc fix.
10688 (frameset-p): Adapt to change to vector and be more thorough.
10689 Change arg name to OBJECT. Doc fix.
10690 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10691 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10692 All callers changed.
10693 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10694 All callers changed.
10695 (frameset--record-minibuffer-relationships): Rename from
10696 frameset--process-minibuffer-frames. All callers changed.
10697 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10698 Use new default constructor (again). Doc fix.
c295fc18 10699 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
10700 All callers changed.
10701 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10702 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10703 Doc fix.
10704 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10705 PARAMETERS and WINDOW-STATE, respectively.
10706 (frameset-restore): Add new keyword argument PREDICATE.
10707 Reset frameset--target-display to nil. Doc fix.
10708
bb41480a
SM
107092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10710
f001e98e
SM
10711 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10712 (bat-mode): Use it.
10713 (bat-mode-syntax-table): Mark \n as end-of-comment.
10714 (bat-font-lock-keywords): Remove comment rule.
10715
7679edb1
SM
10716 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10717 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10718
bb41480a
SM
10719 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10720 (byte-compile-callargs-warn): Use `push'.
10721 (byte-compile-arglist-warn): Ignore higher-order "calls".
10722 (byte-compile-file-form-autoload): Use `pcase'.
10723 (byte-compile-function-form): If quoting a symbol, check that it exists.
10724
cdc1ebb9
EZ
107252013-08-07 Eli Zaretskii <eliz@gnu.org>
10726
10727 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10728 and add a few popular commands found in batch files.
10729 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10730 (dos-mode): Doc fixes.
10731
312b1740
SM
107322013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10735 (dos-mode): Use setq-local. Add space after "rem".
10736 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10737 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10738
400a3178
AM
107392013-08-07 Arni Magnusson <arnima@hafro.is>
10740
10741 * progmodes/dos.el: New file.
10742 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10743 dos-mode.
10744
3b5c03d3
GM
107452013-08-06 Glenn Morris <rgm@gnu.org>
10746
10747 * calendar/calendar.el: Add new faces, and day-header-array.
10748 (calendar-weekday-header, calendar-weekend-header)
10749 (calendar-month-header): New faces.
10750 (calendar-day-header-construct): New function.
10751 (calendar-day-header-width): Also :set calendar-day-header-array.
10752 (calendar-american-month-header, calendar-european-month-header)
10753 (calendar-iso-month-header): Use calendar- faces.
10754 (calendar-generate-month):
10755 Use calendar-day-header-array for day headers; apply faces to them.
10756 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10757 (calendar-abbrev-construct): Add optional maxlen argument.
10758 (calendar-day-name-array): Doc fix.
10759 (calendar-day-name-array, calendar-abbrev-length)
10760 (calendar-day-abbrev-array):
10761 Also :set calendar-day-header-array, and maybe redraw.
10762 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 10763 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
10764 (calendar-day-name): Add option to use header array.
10765
ec6a2d7a
LMI
107662013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10767
10768 * net/shr.el (shr-render-td): Remove debugging.
10769 (shr-render-td): Make width computation consistent by defaulting
10770 all zero-width columns to 10 characters. This may not be optimal,
10771 but it's at least consistent.
2122cb6d
LMI
10772 (shr-make-table-1): Redo last change to fix the real problem in
10773 colspan handling.
ec6a2d7a 10774
ed4fd9c5
DA
107752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10776
0ca3f70e
SM
10777 * files.el (cache-long-line-scans):
10778 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 10779
64e22afe
JB
107802013-08-06 Juanma Barranquero <lekktu@gmail.com>
10781
024b38fc
JB
10782 * frameset.el (frameset, frameset-filter-alist)
10783 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10784 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10785 (frameset-compute-pos): Rename from frameset--compute-pos,
10786 and add docstring.
10787 (frameset-move-onscreen): Use frameset-compute-pos.
10788 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10789
64e22afe
JB
10790 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10791 Fix typos in docstrings.
10792
c8c2aca8
DA
107932013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10794
10795 * frame.el (get-other-frame): Tiny cleanup.
10796
1d237bba
JB
107972013-08-06 Juanma Barranquero <lekktu@gmail.com>
10798
8951efef
JB
10799 * vc/vc.el (vc-default-ignore-completion-table):
10800 Silence byte-compiler warning.
10801
307764cc 10802 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 10803 slot, which can indeed be nil.
307764cc
JB
10804 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10805 Move entry for `left' from persistent to live filter alist.
10806 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10807 Doc fixes.
10808 (frameset-filter-params): When restoring a frame, copy items added to
10809 `filtered', to avoid unwittingly modifying the original parameters.
10810 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10811 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10812
1d237bba
JB
10813 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10814 to use looking-at-p instead of looking-at. (Bug#15028)
10815
dc6c0eda
SM
108162013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10817
10818 Revert introduction of isearch-filter-predicates (bug#14714).
10819 Rely on add-function instead.
10820 * isearch.el (isearch-filter-predicates): Rename it back to
10821 isearch-filter-predicate.
10822 (isearch-message-prefix): Use advice-function-mapc and advice
10823 properties to get the isearch-message-prefix.
10824 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10825 instead of run-hook-with-args-until-failure.
10826 (isearch-filter-visible): Not obsolete any more.
10827 * loadup.el: Preload nadvice.
10828 * replace.el (perform-replace): Revert to funcall
10829 instead of run-hook-with-args-until-failure.
10830 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10831 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10832 dired-isearch-filenames-toggle; make it into a proper minor mode.
10833 Use add/remove-function.
10834 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10835 Call the minor-mode rather than add/remove-hook.
10836 (dired-isearch-filter-filenames):
10837 Remove isearch-message-prefix property.
10838 * info.el (Info--search-loop): New function, extracted from Info-search.
10839 Funcall isearch-filter-predicate instead of
10840 run-hook-with-args-until-failure isearch-filter-predicates.
10841 (Info-search): Use it.
10842 (Info-mode): Use isearch-filter-predicate instead of
10843 isearch-filter-predicates.
10844
290d5b58
DA
108452013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10846
10847 Do not call to `selected-window' where it is assumed by default.
10848 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10849 `window-hscroll', `window-width', `window-height', `window-buffer',
10850 `window-frame', `window-start', `window-point', `next-window'
10851 and `window-display-table'.
10852 * abbrev.el (abbrev--default-expand):
10853 * bs.el (bs--show-with-configuration):
10854 * buff-menu.el (Buffer-menu-mouse-select):
10855 * calc/calc.el (calc):
10856 * calendar/calendar.el (calendar-generate-window):
10857 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10858 (diary-make-entry):
10859 * comint.el (send-invisible, comint-dynamic-complete-filename)
10860 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10861 * completion.el (complete):
10862 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10863 * disp-table.el (describe-current-display-table):
10864 * doc-view.el (doc-view-insert-image):
10865 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10866 * ehelp.el (with-electric-help):
10867 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10868 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10869 * emacs-lisp/helper.el (Helper-help-scroller):
10870 * emulation/cua-base.el (cua--post-command-handler-1):
10871 * eshell/esh-mode.el (eshell-output-filter):
10872 * ffap.el (ffap-gnus-wrapper):
10873 * help-macro.el (make-help-screen):
10874 * hilit-chg.el (highlight-compare-buffers):
10875 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10876 * hl-line.el (global-hl-line-highlight):
10877 * icomplete.el (icomplete-simple-completing-p):
10878 * isearch.el (isearch-done):
10879 * jit-lock.el (jit-lock-stealth-fontify):
10880 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 10881 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
10882 * mpc.el (mpc-tagbrowser, mpc):
10883 * net/rcirc.el (rcirc-any-buffer):
10884 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10885 * play/landmark.el (landmark-max-width, landmark-max-height):
10886 * play/zone.el (zone):
10887 * progmodes/compile.el (compilation-goto-locus):
10888 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10889 * progmodes/etags.el (find-tag-other-window):
10890 * progmodes/fortran.el (fortran-column-ruler):
10891 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10892 * progmodes/verilog-mode.el (verilog-point-text):
10893 * reposition.el (reposition-window):
10894 * rot13.el (toggle-rot13-mode):
10895 * server.el (server-switch-buffer):
10896 * shell.el (shell-dynamic-complete-command)
10897 (shell-dynamic-complete-environment-variable):
10898 * simple.el (insert-buffer, set-selective-display)
10899 (delete-completion-window):
10900 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10901 (speedbar-recenter):
10902 * startup.el (fancy-splash-head):
10903 * textmodes/ispell.el (ispell-command-loop):
10904 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10905 * tutorial.el (help-with-tutorial):
10906 * vc/add-log.el (add-change-log-entry):
10907 * vc/compare-w.el (compare-windows):
10908 * vc/ediff-help.el (ediff-indent-help-message):
10909 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10910 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10911 (ediff-setup-control-frame):
10912 * vc/emerge.el (emerge-position-region):
10913 * vc/pcvs-util.el (cvs-bury-buffer):
10914 * window.el (walk-windows, mouse-autoselect-window-select):
10915 * winner.el (winner-set-conf, winner-undo): Related users changed.
10916
38276e01
JB
109172013-08-05 Juanma Barranquero <lekktu@gmail.com>
10918
10919 * frameset.el (frameset--set-id): Doc fix.
10920 (frameset-frame-id, frameset-frame-id-equal-p)
10921 (frameset-locate-frame-id): New functions.
10922 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10923 (frameset-restore): Use them.
10924
12b4c0ea
DA
109252013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10926
10927 Do not call to `selected-frame' where it is assumed by default.
10928 Affected functions are `raise-frame', `redraw-frame',
10929 `frame-first-window', `frame-terminal' and `delete-frame'.
10930 * calendar/appt.el (appt-disp-window):
10931 * epg.el (epg-wait-for-completion):
10932 * follow.el (follow-delete-other-windows-and-split)
10933 (follow-avoid-tail-recenter):
10934 * international/mule.el (set-terminal-coding-system):
10935 * mail/rmail.el (rmail-mail-return):
10936 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10937 * progmodes/f90.el (f90-add-imenu-menu):
10938 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10939 * server.el (server-switch-buffer):
10940 * simple.el (delete-completion-window):
10941 * talk.el (talk):
10942 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10943 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10944 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10945 * vc/ediff.el (ediff-documentation): Related users changed.
10946 * frame.el (selected-terminal): Remove the leftover.
10947
17f25e76
GM
109482013-08-05 Glenn Morris <rgm@gnu.org>
10949
10950 * calendar/calendar.el (calendar-generate-month):
10951 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
10952 (calendar-generate-month, calendar-font-lock-keywords):
10953 Fix for calendar-day-header-width > length of any day name.
17f25e76 10954
063233c3
JB
109552013-08-05 Juanma Barranquero <lekktu@gmail.com>
10956
10957 * desktop.el (desktop-clear): Use new name of sort predicate.
10958
10959 * frameset.el (frameset): Add docstring. Move :version property to its
10960 own `version' slot.
10961 (frameset-copy): Rename from copy-frameset.
10962 (frameset-p): Check more thoroughly.
10963 (frameset-prop): Do not check for :version, which is no longer a prop.
10964 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10965 Use new :never value instead of t.
10966 (frameset-filter-alist): Expand and clarify docstring.
10967 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10968 (frameset-filter-minibuffer, frameset-filter-save-param)
10969 (frameset-filter-restore-param, frameset-filter-iconified):
10970 Add pointer to docstring of frameset-filter-alist.
10971 (frameset-filter-params): Rename filter values to be more meaningful:
10972 :never instead of t, and reverse the meanings of :save and :restore.
10973 (frameset--process-minibuffer-frames): Clarify error message.
10974 (frameset-save): Avoid unnecessary and confusing call to framep.
10975 Use new BOA constructor for framesets.
10976 (frameset--reuse-list): Doc fix.
10977 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10978 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10979 (frameset-minibufferless-first-p): Doc fix.
10980 Rename from frameset-sort-frames-for-deletion.
10981 (frameset-restore): Doc fixes. Use new function names.
10982 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10983
d5671a82
JB
109842013-08-04 Juanma Barranquero <lekktu@gmail.com>
10985
10986 * desktop.el (desktop-restore-forces-onscreen)
10987 (desktop-restore-reuses-frames): Document :keyword constant values.
10988 (desktop-filter-parameters-alist): Remove, now identical to
10989 frameset-filter-alist.
10990 (desktop--filter-tty*): Remove, moved to frameset.el.
10991 (desktop-save-frameset, desktop-restore-frameset):
10992 Do not pass :filters argument.
10993
10994 * frameset.el (frameset-live-filter-alist)
10995 (frameset-persistent-filter-alist): New variables.
10996 (frameset-filter-alist): Use them. Add autoload cookie.
10997 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10998 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10999 `frameset--id' (it's supposed to be internal to frameset.el).
11000 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11001 (frameset--initial-params): New function.
11002 (frameset--get-frame): Use it. Doc fix.
11003 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11004 Accept :all, not 'all.
11005 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11006 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11007 with fbound symbols. Fix frame id matching, and remove matching ids if
11008 the frame being restored is deleted. Obey :delete.
11009
671d5c16
SM
110102013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * subr.el (macrop): New function.
11013 (text-clone--maintaining): New var.
11014 (text-clone--maintain): Rename from text-clone-maintain. Use it
11015 instead of inhibit-modification-hooks.
11016
11017 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11018 a proxy, so as handle autoloads and redefinitions of the target.
11019 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11020
11021 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11022 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11023 (pcase--mutually-exclusive-p): New function.
11024 (pcase--split-consp): Use it.
11025 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11026 mutually exclusive with the current predicate.
11027
11028 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11029 (edebug-macrop): Remove. Use `macrop' instead.
11030 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11031 (ad-macro-p):
11032 * eshell/esh-cmd.el (eshell-macrop):
11033 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11034
1d44e9dc
SM
110352013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11038 (advice-mapc): New function, using it.
11039 (advice-function-member-p): New function.
11040 (advice--normalize): Store the cdr in advice--saved-rewrite since
11041 that's the part that will be changed.
11042 (advice--symbol-function): New function.
11043 (advice-remove): Handle removal before the function is defined.
11044 Adjust to new advice--saved-rewrite.
11045 (advice-member-p): Use advice-function-member-p and
11046 advice--symbol-function.
11047
5414a283
JB
110482013-08-04 Juanma Barranquero <lekktu@gmail.com>
11049
51d30f2c
JB
11050 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11051 (frameset-filter-minibuffer): Doc fix.
11052 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
11053 (frameset--set-id, frameset--process-minibuffer-frames)
11054 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11055 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 11056
5414a283
JB
11057 * desktop.el (desktop-clear): Only delete frames when called
11058 interactively and desktop-restore-frames is non-nil. Doc fix.
11059 (desktop-read): Set desktop-saved-frameset to nil.
11060
ab419665
XF
110612013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11062
11063 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 11064 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
11065 (vc--add-line, vc--remove-regexp): New functions.
11066
11067 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11068 (vc-svn-ignore-completion-table): New function.
11069
11070 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 11071 (vc-hg-ignore-completion-table)
ab419665
XF
11072 (vc-hg-find-ignore-file): New functions.
11073
11074 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 11075 (vc-git-ignore-completion-table)
ab419665
XF
11076 (vc-git-find-ignore-file): New functions.
11077
11078 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11079
11080 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 11081 (vc-bzr-ignore-completion-table)
ab419665
XF
11082 (vc-bzr-find-ignore-file): New functions.
11083
2613dea2
JB
110842013-08-03 Juanma Barranquero <lekktu@gmail.com>
11085
11086 * frameset.el (frameset-prop): New function and setter.
11087 (frameset-save): Do not modify frame list passed by the caller.
11088
9c959872
SM
110892013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11092
a104f656
SM
110932013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11094
70122acf
SM
11095 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11096 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11097
a104f656
SM
11098 * custom.el (custom-initialize-default, custom-initialize-set)
11099 (custom-initialize-reset, custom-initialize-changed): Affect the
11100 toplevel-default-value (bug#6275, bug#14586).
11101 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11102 for bug#6275.
11103
f078d570
JB
111042013-08-02 Juanma Barranquero <lekktu@gmail.com>
11105
185e3b5a
JB
11106 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11107 Add cl-def* expressions.
11108
f078d570
JB
11109 * frameset.el (frameset-filter-params): Fix order of arguments.
11110
9421876d
JB
111112013-08-02 Juanma Barranquero <lekktu@gmail.com>
11112
11113 Move code related to saving frames to frameset.el.
11114 * desktop.el: Require frameset.
11115 (desktop-restore-frames): Doc fix.
11116 (desktop-restore-reuses-frames): Rename from
11117 desktop-restoring-reuses-frames.
11118 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11119 (desktop-clear): Clear frames too.
11120 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11121 (desktop--filter-tty*, desktop-save, desktop-read):
11122 Use frameset functions.
11123 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11124 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11125 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11126 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11127 (desktop--process-minibuffer-frames, desktop-save-frames)
11128 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11129 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11130 (desktop--sort-states, desktop-restoring-frames-p)
11131 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11132 (desktop-restoring-frameset-p, desktop-restore-frameset)
11133 (desktop--check-dont-save, desktop-save-frameset): New functions.
11134 (desktop--app-id): New constant.
11135 (desktop-first-buffer, desktop-buffer-ok-count)
11136 (desktop-buffer-fail-count): Move before first use.
11137 * frameset.el: New file.
11138
76dc5996
SM
111392013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11140
11141 * files.el: Use lexical-binding.
11142 (dir-locals-read-from-file): Remove unused `err' variable.
11143 (hack-dir-local-variables--warned-coding): New var.
11144 (hack-dir-local-variables): Use it to avoid repeated warnings.
11145 (make-backup-file-name--default-function): New function.
11146 (make-backup-file-name-function): Use it as default.
11147 (buffer-stale--default-function): New function.
11148 (buffer-stale-function): Use it as default.
11149 (revert-buffer-insert-file-contents--default-function): New function.
11150 (revert-buffer-insert-file-contents-function): Use it as default.
11151 (insert-directory): Avoid add-to-list.
11152
11153 * autorevert.el (auto-revert-handler): Simplify.
11154 Use buffer-stale--default-function.
11155
06d36e2b
TH
111562013-08-01 Tassilo Horn <tsdh@gnu.org>
11157
5f648ab4
TH
11158 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11159
06d36e2b
TH
11160 * whitespace.el (whitespace-ensure-local-variables): New function.
11161 (whitespace-cleanup-region): Call it.
11162 (whitespace-turn-on): Call it.
11163
a43dc424
MA
111642013-08-01 Michael Albinus <michael.albinus@gmx.de>
11165
11166 Complete file name handlers.
11167
11168 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11169 (tramp-handle-verify-visited-file-modtime)
11170 (tramp-handle-file-notify-rm-watch): New functions.
11171 (tramp-call-process): Do not bind `default-directory'.
11172
44e18199
JB
11173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11174 Order alphabetically.
afe1e4c8
GM
11175 <access-file, add-name-to-file, dired-call-process>:
11176 <dired-compress-file, file-acl, file-notify-rm-watch>:
11177 <file-ownership-preserved-p, file-selinux-context>:
11178 <make-directory-internal, make-symbolic-link, set-file-acl>:
11179 <set-file-selinux-context, set-visited-file-modtime>:
11180 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
11181 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11182
11183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
11184 <file-notify-add-watch, file-notify-rm-watch>:
11185 <set-file-times, set-visited-file-modtime>:
11186 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
11187 (with-tramp-gvfs-error-message)
11188 (tramp-gvfs-handle-set-visited-file-modtime)
11189 (tramp-gvfs-fuse-file-name): Remove.
11190 (tramp-gvfs-handle-file-notify-add-watch)
11191 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11192 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11193
44e18199
JB
11194 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11195 Order alphabetically.
afe1e4c8
GM
11196 <file-notify-rm-watch>: Use default Tramp handler.
11197 <executable-find>: Remove private handler.
a43dc424
MA
11198 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11199 `default-directory'.
11200 (tramp-sh-handle-executable-find)
11201 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11202 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11203 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11204 Do not use `format' in `tramp-message'.
11205
11206 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
11207 <file-notify-rm-watch, set-visited-file-modtime>:
11208 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
11209 (tramp-smb-call-winexe): Do not bind `default-directory'.
11210
7188b515
XF
112112013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11212
11213 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11214
2412ee1a
DG
112152013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11216
11217 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11218 use it.
11219 (log-view-diff-changeset): Same.
11220 (log-view-diff-common): Call backend command `previous-revision'
11221 to find out the previous revision, in both cases. Swap the
11222 variables `to' and `fr', so that `fr' usually refers to the
11223 earlier revision (Bug#14989).
11224
5002a754
KRC
112252013-07-31 Kan-Ru Chen <kanru@kanru.info>
11226
11227 * ibuf-ext.el (ibuffer-filter-by-filename):
11228 Make it work with dired buffers too.
11229
44e18199 112302013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
11231
11232 * emacs-lisp/re-builder.el (reb-color-display-p):
11233 * files.el (save-buffers-kill-terminal):
11234 * net/browse-url.el (browse-url):
11235 * server.el (server-save-buffers-kill-terminal):
11236 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11237 Prefer nil to selected-frame for the first arg of frame-parameter.
11238
aeca3fbb
XF
112392013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11240
11241 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11242
158bc55c
SB
112432013-07-30 Stephen Berman <stephen.berman@gmx.net>
11244
11245 * minibuffer.el (completion--twq-all): Try and preserve each
11246 completion's case choice (bug#14907).
11247
d50fceab
LMI
112482013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11249
ac38e731
LMI
11250 * net/network-stream.el (open-network-stream): Mention the new
11251 :nogreeting parameter.
11252 (network-stream-open-starttls): Use the :nogreeting parameter
11253 (bug#14938).
11254
1211de50
LMI
11255 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11256
997798bf
LMI
11257 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11258 more natural than popping.
11259
d50fceab 11260 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 11261 (shr-urlify): Highlight under mouse.
d50fceab 11262
5c09de04
XF
112632013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11264
207d1d04
XF
11265 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11266
11267 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11268
5c09de04
XF
11269 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11270 buffer for output.
11271
3cd51eaa
XF
11272 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11273 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 11274
44e18199 11275 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 11276 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
11277
11278 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11279
11280 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11281 buffer for output.
11282
35a89bdd
EZ
112832013-07-29 Eli Zaretskii <eliz@gnu.org>
11284
11285 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11286 initial frame is minibuffer-less. (Bug#14841)
11287
78822e94
MA
112882013-07-29 Michael Albinus <michael.albinus@gmx.de>
11289
11290 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11291 option.
11292
11293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11294 (tramp-maybe-open-connection): Use it.
11295
9503c190
JB
112962013-07-28 Juanma Barranquero <lekktu@gmail.com>
11297
11298 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11299 minimal set of parameters passed when creating a frame, because
11300 the minibuffer status of a frame cannot be changed later.
11301
d5a845b4
SB
113022013-07-28 Stephen Berman <stephen.berman@gmx.net>
11303
11304 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11305 replace-regexp-in-string and inadvertent omissions in previous change.
11306 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 11307 name of filtered items buffer.
d5a845b4 11308
ddeffb17
JB
113092013-07-28 Juanma Barranquero <lekktu@gmail.com>
11310
11311 * desktop.el: Optionally force offscreen frames back onscreen.
11312 (desktop-restoring-reuses-frames): New option.
11313 (desktop--compute-pos, desktop--move-onscreen): New functions.
11314 (desktop--make-frame): Use desktop--move-onscreen.
11315
f5950f7a
AM
113162013-07-27 Alan Mackenzie <acm@muc.de>
11317
11318 Fontify a Java generic method as a function.
11319 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11320 value to t.
11321
ae43b66a
SB
113222013-07-27 Stephen Berman <stephen.berman@gmx.net>
11323
11324 * calendar/todo-mode.el: Add command to rename todo files.
11325 (todo-rename-file): New command.
11326 (todo-key-bindings-t): Add key binding for it. Change the
11327 bindings of todo-filter-regexp-items(-multifile) to use `x'
11328 instead of `r', since the latter is better suited to the new
11329 renaming command.
11330
5ab78d3d
AM
113312013-07-27 Alan Mackenzie <acm@muc.de>
11332
11333 Make Java try-with-resources statement parse properly.
11334 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11335 (c-block-stmt-1-2-key): New language constants/variables.
11336 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11337 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11338 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 11339 with c-block-stmt-1-2-key.
5ab78d3d 11340
d85c4d50
JB
113412013-07-27 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * desktop.el (desktop--make-frame): Apply most frame parameters after
11344 creating the frame to force (partially or totally) offscreen frames to
11345 be restored as such.
11346
e4c467f9
XF
113472013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11348
11349 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 11350 (Bug#14948)
e4c467f9 11351
7ced0d04
SM
113522013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11355 `base' arg of backtrace-frame.
11356
fec92060
EZ
113572013-07-26 Eli Zaretskii <eliz@gnu.org>
11358
11359 * simple.el (list-processes): Doc fix.
11360
d58d31fb
JB
113612013-07-26 Juanma Barranquero <lekktu@gmail.com>
11362
11363 * desktop.el (desktop--select-frame):
d85c4d50 11364 Try harder to reuse existing frames.
d58d31fb 11365
53ff3e77
SM
113662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11369 (edebug-eval): Use backtrace-eval.
11370 (edebug--display, edebug--recursive-edit): Don't let-bind the
11371 edebug-outer-* vars that keep track of variables we locally let-bind.
11372 (edebug-outside-excursion): Don't restore outside values of locally
11373 let-bound vars.
11374 (edebug--display): Use user-error.
11375 (cl-lexical-debug, cl-debug-env): Remove.
11376
045f7a53
JB
113772013-07-26 Juanma Barranquero <lekktu@gmail.com>
11378
11379 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11380 are restored to be sure that they are visible before deleting any
11381 remaining ones.
11382
59070b32
MM
113832013-07-26 Matthias Meulien <orontee@gmail.com>
11384
742a3501
XF
11385 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11386 vc-print-root-log. (Bug#14948)
59070b32 11387
b1fb3596
RS
113882013-07-26 Richard Stallman <rms@gnu.org>
11389
11390 Add aliases for encrypting mail.
11391 * epa.el (epa-mail-aliases): New option.
11392 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11393 Bind inhibit-read-only so read-only text doesn't ruin everything.
11394 (epa-mail-default-recipients): New subroutine broken out.
11395 Handle epa-mail-aliases.
11396
56ea7291
SM
113972013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 Add support for lexical variables to the debugger's `e' command.
11400 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11401 vars, except for debugger-outer-match-data.
11402 (debugger-frame-number): Move check for "on a function call" from
11403 callers into it. Add `skip-base' argument.
11404 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11405 (debugger-env-macro): Only reset the state stored in non-variables,
11406 i.e. current-buffer and match-data.
11407 (debugger-eval-expression): Rewrite using backtrace-eval.
11408 * subr.el (internal--called-interactively-p--get-frame): Remove.
11409 (called-interactively-p):
11410 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11411 `base' arg of backtrace-frame instead.
11412
15ac32d5
GM
114132013-07-26 Glenn Morris <rgm@gnu.org>
11414
8358a09d
GM
11415 * align.el (align-regexp): Doc fix. (Bug#14857)
11416 (align-region): Explicit error if subexpression missing/does not match.
11417
15ac32d5
GM
11418 * simple.el (global-visual-line-mode):
11419 Do not duplicate the mode lighter. (Bug#14858)
11420
f47ad11b
MR
114212013-07-25 Martin Rudalics <rudalics@gmx.at>
11422
11423 * window.el (display-buffer): In display-buffer bind
11424 split-window-keep-point to t, bug#14829.
11425
02530987
JB
114262013-07-25 Juanma Barranquero <lekktu@gmail.com>
11427
11428 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11429 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11430 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11431 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11432 Change accordingly.
f63ebeb5
JB
11433 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11434 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 11435
6ccb9cab 114362013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 11437
6ccb9cab 11438 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 11439
cb3a56d2
JB
114402013-07-25 Juanma Barranquero <lekktu@gmail.com>
11441
11442 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11443 parameter to modify-frame-parameters if the value has not changed;
11444 this is a workaround for bug#14949.
11445 (desktop--make-frame): On cl-delete-if call, check parameter name,
11446 not full parameter.
11447
7aa7fff0
XF
114482013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11449
11450 * vc/vc.el (vc-ignore): New function.
11451
11452 * vc/vc-svn.el (vc-svn-ignore): New function.
11453
11454 * vc/vc-hg.el (vc-hg-ignore): New function.
11455
11456 * vc/vc-git.el (vc-git-ignore): New function.
11457
11458 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11459 (vc-dir-ignore): New function.
11460
11461 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 11462 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
11463
11464 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11465
11466 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11467
889acc5c
JB
114682013-07-24 Juanma Barranquero <lekktu@gmail.com>
11469
11470 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11471 (desktop-restore-frames): Warn when deleting an existing frame failed.
11472
86c40970
GM
114732013-07-24 Glenn Morris <rgm@gnu.org>
11474
11475 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11476
d5d3c58a
MA
114772013-07-24 Michael Albinus <michael.albinus@gmx.de>
11478
11479 * filenotify.el (file-notify-supported-p):
11480 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11481 Remove functions.
11482
35e951cd 11483 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
11484 (auto-revert-notify-add-watch):
11485 * net/tramp.el (tramp-file-name-for-operation):
11486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11488 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11489 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11490 Remove `file-notify-supported-p' entry.
11491
d100084b
GM
114922013-07-24 Glenn Morris <rgm@gnu.org>
11493
11494 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 11495 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 11496
ac93e56b
SM
114972013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11498
249eea30
SM
11499 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11500 checked with memq (bug#14935).
11501
ac93e56b
SM
11502 * files.el (revert-buffer-function): Use a non-nil default.
11503 (revert-buffer-preserve-modes): Declare var to
11504 provide access to the `preserve-modes' argument.
11505 (revert-buffer): Let-bind it.
11506 (revert-buffer--default): New function, extracted from revert-buffer.
11507
2cdeb903
SM
115082013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * lpr.el: Signal print errors more prominently.
11511 (print-region-function): Don't default to nil.
11512 (lpr-print-region): New function, extracted from print-region-1.
11513 Check lpr's return value and signal an error in case of problem.
11514 (print-region-1): Use it.
11515 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11516 versions instead.
11517 (ps-printer-name): Default to nil.
11518 (ps-printer-name-option): Default to lpr-printer-switch.
11519 (ps-print-region-function): Don't default to nil.
11520 (ps-postscript-code-directory): Simplify default.
11521 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11522 (ps-string-list, ps-eval-switch, ps-flatten-list)
11523 (ps-flatten-list-1): Remove.
11524 (ps-multibyte-buffer): Avoid setq.
11525 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11526 (print-region-function, ps-print-region-function): Don't set them here.
11527
73600831
XF
115282013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11529
35e951cd
JB
11530 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11531 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11532 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
11533 (ido-decorations): Doc fix.
11534
73600831
XF
11535 * ansi-color.el: Fix old URL.
11536
3d012865
MM
115372013-07-23 Michael R. Mauger <michael@mauger.com>
11538
e903c210 11539 * progmodes/sql.el: Version 3.3
3d012865
MM
11540 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11541 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11542 (sql-interactive-remove-continuation-prompt): Rewrite, use
11543 functions above. Fix continuation prompt and complete output line
11544 handling.
11545 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11546 redirected output buffer.
11547 (sql-mode): Restore deleted code (Bug#13591).
11548
da77a2e2
JB
115492013-07-23 Juanma Barranquero <lekktu@gmail.com>
11550
11551 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11552
80ff0c71
MA
115532013-07-23 Michael Albinus <michael.albinus@gmx.de>
11554
11555 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11556
11557 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11558 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11559 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11560
b61d71e4
JB
115612013-07-23 Juanma Barranquero <lekktu@gmail.com>
11562
11563 * desktop.el (desktop-clear): Simplify; remove useless checks
11564 against invalid buffer names.
11565 (desktop-list*): Use cl-list*.
11566 (desktop-buffer-info, desktop-create-buffer): Simplify.
11567
c3512092
LL
115682013-07-23 Leo Liu <sdl.web@gmail.com>
11569
11570 * bookmark.el (bookmark-make-record): Restore NAME as a default
11571 value. (Bug#14933)
11572
0ac26976
SM
115732013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11574
7d22ce18
SM
11575 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11576 extracted from autoload--insert-text.
11577 (autoload--insert-text): Remove.
11578 (autoload--print-cookie-text): New function, extracted from
11579 autoload--insert-cookie-text.
11580 (autoload--insert-cookie-text): Remove.
11581 (autoload-generate-file-autoloads): Adjust calls accordingly.
11582
9b2607e8
SM
11583 * winner.el (winner-hook-installed-p): Remove.
11584 (winner-mode): Simplify accordingly.
11585
c43a8618
SM
11586 * subr.el (add-to-list): Fix compiler-macro when `append' is
11587 not constant. Don't use `cl-member' for the base case.
11588
0ac26976
SM
11589 * progmodes/subword.el: Fix boundary case (bug#13758).
11590 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11591 own group.
11592 (subword-backward-regexp): Make it a constant.
11593 (subword-forward-internal): Don't treat a trailing capital as the
11594 beginning of a word.
11595
6874724a
AR
115962013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11597
11598 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11599 global value of tabulated-list-revert-hook (bug#14930).
11600
70f1b5e8
JB
116012013-07-22 Juanma Barranquero <lekktu@gmail.com>
11602
a1c80d9d
JB
11603 * desktop.el: Require 'cl-lib.
11604 (desktop-before-saving-frames-functions): New hook.
11605 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11606 for frames being saved. Rename from desktop--save-minibuffer-frames.
11607 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
11608 Do not save frames with non-nil `desktop-dont-save' parameter.
11609 Filter out deleted frames.
a1c80d9d
JB
11610 (desktop--find-frame): Use cl-find-if.
11611 (desktop--select-frame): Use cl-(first|second|third) to access values
11612 of desktop-mini.
11613 (desktop--make-frame): Use cl-delete-if.
11614 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11615 (desktop-restore-frames): Use cl-(first|second|third) to access values
11616 of desktop-mini. Look for visible frame at the end, not while
11617 restoring frames.
11618
70f1b5e8
JB
11619 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11620 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11621 Use string-match-p, looking-at-p (bug#14927).
11622
728dc3cc
JB
116232013-07-21 Juanma Barranquero <lekktu@gmail.com>
11624
56bc453c
JB
11625 * desktop.el (desktop-saved-frame-states):
11626 Rename from desktop--saved-states; all users changed.
11627 (desktop-save-frames): Rename from desktop--save-frames.
11628 Do not save state to desktop file.
11629 (desktop-save): Save desktop-saved-frame-states to desktop file
11630 and reset to nil.
11631 (desktop-restoring-frames-p): New function.
11632 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11633 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11634 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11635
728dc3cc
JB
11636 * desktop.el: Correctly restore iconified frames.
11637 (desktop--filter-iconified-position): New function.
11638 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11639
862f1c9c
GM
116402013-07-20 Glenn Morris <rgm@gnu.org>
11641
c4074c9f
GM
11642 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11643 Let `message' do the formatting.
11644 (def-gdb-preempt-display-buffer): Add explicit format.
11645
d828e5f9
GM
11646 * image-dired.el (image-dired-track-original-file):
11647 Use with-current-buffer.
11648 (image-dired-track-thumbnail): Use with-current-buffer.
11649 Avoid changing point of wrong window.
11650
862f1c9c
GM
11651 * image-dired.el (image-dired-track-original-file):
11652 Avoid changing point of wrong window. (Bug#14909)
11653
f0398ec1 116542013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
11655
11656 * progmodes/gdb-mi.el (gdb-done-or-error):
11657 Guard against "%" in gdb output. (Bug#14127)
11658
1451928f
AS
116592013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11660
763a086d
JB
11661 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11662 (Bug#14826)
f7a03897 11663
1451928f
AS
11664 * international/mule.el (coding-system-iso-2022-flags): Fix last
11665 change.
11666
99107004
KH
116672013-07-20 Kenichi Handa <handa@gnu.org>
11668
763a086d
JB
11669 * international/mule.el (coding-system-iso-2022-flags):
11670 Add `8-bit-level-4'. (Bug#8522)
99107004 11671
48494e06
LMI
116722013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11673
8ba8eec5
LMI
11674 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11675 (bug#14815).
11676
dfbc66e3
LMI
11677 * net/eww.el (eww-process-text-input): Allow inputting when the
11678 point is at the start of the line, as the properties aren't
11679 front-sticky.
11680
48494e06
LMI
11681 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11682 degenerate widths.
11683
77c92cb9
RS
116842013-07-19 Richard Stallman <rms@gnu.org>
11685
aec7da77
RS
11686 * epa.el (epa-popup-info-window): Doc fix.
11687
77c92cb9
RS
11688 * subr.el (split-string): New arg TRIM.
11689
945c5bb1
JB
116902013-07-18 Juanma Barranquero <lekktu@gmail.com>
11691
11692 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11693 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11694
e06ec67f
MA
116952013-07-18 Michael Albinus <michael.albinus@gmx.de>
11696
c7064f05 11697 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
11698 `file-notify-support'. Do not autoload. Adapt all uses.
11699 (file-notify-supported-p): New defun.
11700
c7064f05
JB
11701 * autorevert.el (auto-revert-use-notify):
11702 Use `file-notify-supported-p' instead of `file-notify-support'.
11703 Adapt docstring.
e06ec67f
MA
11704 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11705
11706 * net/tramp.el (tramp-file-name-for-operation):
11707 Add `file-notify-supported-p'.
11708
11709 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11710 New defun.
11711 (tramp-sh-file-name-handler-alist): Add it as handler for
11712 `file-notify-supported-p '.
11713
11714 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11715 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11716 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11717 Add `ignore' as handler for `file-notify-*' functions.
11718
5dc8a629
EZ
117192013-07-17 Eli Zaretskii <eliz@gnu.org>
11720
11721 * simple.el (line-move-partial, line-move): Don't start vscroll or
11722 scroll-up if the current line is not taller than the window.
11723 (Bug#14881)
11724
77aea2fb
DG
117252013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11726
11727 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11728 highlight question marks in the method names as strings.
ac72c08d
DG
11729 (ruby-block-beg-keywords): Inline.
11730 (ruby-font-lock-keyword-beg-re): Extract from
11731 `ruby-font-lock-keywords'.
77aea2fb 11732
18c26d81
JD
117332013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11734
11735 * frame.el (blink-cursor-blinks): New defcustom.
11736 (blink-cursor-blinks-done): New defvar.
11737 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11738 (blink-cursor-timer-function): Check if number of blinks has been
11739 done on X and NS.
11740 (blink-cursor-suspend, blink-cursor-check): New defuns.
11741
da48522e
GM
117422013-07-15 Glenn Morris <rgm@gnu.org>
11743
11744 * edmacro.el (edmacro-format-keys): Fix previous change.
11745
0463c1ef
PE
117462013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11747
11748 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11749 The hack didn't work outside English locales anyway.
11750
b43f6451
JB
117512013-07-15 Juanma Barranquero <lekktu@gmail.com>
11752
11753 * simple.el (define-alternatives): Rename from alternatives-define,
11754 per RMS' suggestion.
11755
b958c0ad
JB
117562013-07-14 Juanma Barranquero <lekktu@gmail.com>
11757
11758 * desktop.el (desktop-restore-frames): Change default to t.
11759 (desktop-restore-in-current-display): Now offer more options.
11760 (desktop-restoring-reuses-frames): New customization option.
11761 (desktop--saved-states): Doc fix.
11762 (desktop-filter-parameters-alist): New variable, renamed and expanded
11763 from desktop--excluded-frame-parameters.
11764 (desktop--target-display): New variable.
11765 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11766 (desktop--filter-tty*, desktop--filter-*-color)
11767 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11768 (desktop--filter-save-desktop-parm)
11769 (desktop-restore-in-original-display-p): New functions.
11770 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11771 (desktop--save-minibuffer-frames): New function, inspired by a similar
11772 function from Martin Rudalics.
11773 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11774 (desktop--restore-in-this-display-p): Remove.
11775 (desktop--find-frame): Rename from desktop--find-frame-in-display
11776 and add predicate argument.
11777 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11778 (desktop--reuse-list): New variable.
11779 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11780 New functions.
11781 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11782
f6dd8b36
MA
117832013-07-14 Michael Albinus <michael.albinus@gmx.de>
11784
11785 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11786
2ce3c565
DG
117872013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11788
763a086d
JB
11789 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11790 Highlight conversion methods on Kernel.
2ce3c565 11791
2cdb7698
AM
117922013-07-13 Alan Mackenzie <acm@muc.de>
11793
11794 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11795 and comment it out. This out-commenting enables certain C++
11796 declarations to be parsed correctly.
11797
1a67b811
EZ
117982013-07-13 Eli Zaretskii <eliz@gnu.org>
11799
1b796d6b
EZ
11800 * international/mule.el (define-coding-system): Doc fix.
11801
1a67b811
EZ
11802 * simple.el (default-font-height): Don't call font-info if the
11803 frame's default font didn't change since the frame was created.
11804 (Bug#14838)
11805
58fbe886
LL
118062013-07-13 Leo Liu <sdl.web@gmail.com>
11807
11808 * ido.el (ido-read-file-name): Guard against non-symbol value.
11809
1f0480d4
FEG
118102013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11811
11812 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11813 in nested defuns.
11814
97ead0e5
LL
118152013-07-13 Leo Liu <sdl.web@gmail.com>
11816
11817 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11818 ido-set-matches call. (Bug#6852)
11819
0880a952
DG
118202013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11821
35e951cd 11822 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
11823 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11824 Ruby 2.0.
11825 (ruby-font-lock-keywords): Distinguish calls to functions with
11826 module-like names from module references. Highlight character
11827 literals.
11828
a7d8babb
SDJ
118292013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11830
11831 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 11832 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 11833
acfcc8c5
JB
118342013-07-12 Juanma Barranquero <lekktu@gmail.com>
11835
11836 * desktop.el (desktop--v2s): Remove unused local variable.
11837 (desktop-save-buffer): Make defvar-local; adjust docstring.
11838 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11839 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11840
051f2775
AS
118412013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11842
11843 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11844
f24e7572
GM
118452013-07-12 Eli Zaretskii <eliz@gnu.org>
11846
11847 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11848 (Bug#14842)
11849
539a920c
GM
118502013-07-12 Glenn Morris <rgm@gnu.org>
11851
11852 * doc-view.el: Require cl-lib at runtime too.
11853 (doc-view-remove-if): Remove.
11854 (doc-view-search-next-match, doc-view-search-previous-match):
11855 Use cl-remove-if.
11856
11857 * edmacro.el: Require cl-lib at runtime too.
11858 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11859 (edmacro-mismatch, edmacro-subseq): Remove.
11860
11861 * shadowfile.el: Require cl-lib.
11862 (shadow-remove-if): Remove.
11863 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11864 Use cl-remove-if.
11865
11866 * wid-edit.el: Require cl-lib.
11867 (widget-choose): Use cl-remove-if.
11868 (widget-remove-if): Remove.
11869
11870 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11871 (ebrowse-delete-if-not): Remove.
11872 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11873 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11874 Use cl-delete-if-not.
11875
1048af7c
JB
118762013-07-12 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11879 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11880
6c0674ee
LL
118812013-07-12 Leo Liu <sdl.web@gmail.com>
11882
11883 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11884
a19b3c2d
GM
118852013-07-11 Glenn Morris <rgm@gnu.org>
11886
4582a01c
GM
11887 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11888 (edebug-gensym-index, edebug-gensym):
11889 Remove reimplementation of cl-gensym.
11890 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11891
11892 * thumbs.el: Require cl-lib at run-time too.
11893 (thumbs-gensym-counter, thumbs-gensym):
11894 Remove reimplementation of cl-gensym.
11895 (thumbs-temp-file): Use cl-gensym.
11896
a19b3c2d
GM
11897 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11898 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11899 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11900 (ert--union, ert--gensym-counter, ert--gensym-counter)
11901 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11902 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11903 (ert-make-test-unbound, ert--expand-should-1)
11904 (ert--expand-should, ert--should-error-handle-error)
11905 (should-error, ert--explain-equal-rec)
11906 (ert--plist-difference-explanation, ert-select-tests)
11907 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11908 Use cl-lib functions rather than reimplementations.
11909
88f6a933
MA
119102013-07-11 Michael Albinus <michael.albinus@gmx.de>
11911
11912 * net/tramp.el (tramp-methods): Extend docstring.
11913 (tramp-connection-timeout): New defcustom.
11914 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11915 (with-tramp-progress-reporter): Simplify.
11916 (tramp-process-actions): Improve messages.
11917
11918 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11919 * net/tramp-sh.el (tramp-maybe-open-connection):
11920 Use `tramp-connection-timeout'.
afe1e4c8 11921 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
11922 (Bug#14808)
11923
a43d577e
LL
119242013-07-11 Leo Liu <sdl.web@gmail.com>
11925
11926 * ido.el (ido-read-file-name): Conform to the requirements of
11927 read-file-name. (Bug#11861)
11928 (ido-read-directory-name): Conform to the requirements of
11929 read-directory-name.
11930
d77974bf
JB
119312013-07-11 Juanma Barranquero <lekktu@gmail.com>
11932
11933 * subr.el (delay-warning): New function.
11934
35cb8a3e
EZ
119352013-07-10 Eli Zaretskii <eliz@gnu.org>
11936
11937 * simple.el (default-line-height): New function.
11938 (line-move-partial, line-move): Use it instead of computing the
11939 line height inline.
11940 (line-move-partial): Always compute ROWH. If the last line is
11941 partially-visible, but its text is completely visible, allow
11942 cursor to enter such a partially-visible line.
11943
525c5c77
MA
119442013-07-10 Michael Albinus <michael.albinus@gmx.de>
11945
11946 Improve error messages. (Bug#14808)
11947
11948 * net/tramp.el (tramp-current-connection): New defvar, moved from
11949 tramp-sh.el.
0ac26976 11950 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 11951 needed anymore.
0ac26976
SM
11952 (tramp-error-with-buffer): Show message in minibuffer.
11953 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
11954 (with-tramp-progress-reporter): Improve messages.
11955 (tramp-process-actions): Use progress reporter. Delete process in
11956 case of error. Improve messages.
11957
763a086d
JB
11958 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11959 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 11960 (tramp-current-connection): Remove.
525c5c77
MA
11961 (tramp-maybe-open-connection): The car of
11962 `tramp-current-connection' are the first 3 slots of the vector.
11963
c7a4d368
TZ
119642013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11965
11966 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11967 inside continued strings.
11968
954b166e
PE
119692013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11970
11971 Timestamp fixes for undo (Bug#14824).
11972 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11973
56973319
LL
119742013-07-10 Leo Liu <sdl.web@gmail.com>
11975
11976 * files.el (require-final-newline): Allow safe local value.
11977 (Bug#14834)
11978
5550a72c
LL
119792013-07-09 Leo Liu <sdl.web@gmail.com>
11980
11981 * ido.el (ido-read-directory-name): Handle fallback.
11982 (ido-read-file-name): Update DIR to ido-current-directory.
11983 (Bug#1516)
c28b9050 11984 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 11985
70c46b28
DG
119862013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11987
11988 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11989 "autoload". Remove "warn lower camel case" section, previously
11990 commented out. Highlight negation char. Do not highlight the
11991 target in singleton method definitions.
11992
0b64b838
SM
119932013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11994
7fd72e2c
SM
11995 * faces.el (tty-setup-hook): Declare the hook.
11996
0b64b838
SM
11997 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11998 and detect when a guard/pred depends on local vars (bug#14773).
11999 (pcase--u1): Adjust caller.
12000
ab49d60b
EZ
120012013-07-08 Eli Zaretskii <eliz@gnu.org>
12002
12003 * simple.el (line-move-partial, line-move): Account for
12004 line-spacing.
701d79aa
EZ
12005 (line-move-partial): Avoid setting vscroll when the last
12006 partially-visible line in window is of default height.
ab49d60b 12007
2d756ae0
LMI
120082013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12009
12010 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12011 been used a while.
12012
ed095bd7
JB
120132013-07-07 Juanma Barranquero <lekktu@gmail.com>
12014
12015 * subr.el (read-quoted-char): Remove unused local variable `char'.
12016
f1e6674b
MK
120172013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12018
584ee3fc
GM
12019 * ediff.el (ediff-version): Version update.
12020 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12021 (ediff-merge-with-ancestor-command, ediff-directories-command)
12022 (ediff-directories3-command, ediff-merge-directories-command)
12023 (ediff-merge-directories-with-ancestor-command): New functions.
12024 All are command-line interfaces to ediff: to facilitate calling
12025 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
12026
12027 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12028 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 12029
584ee3fc
GM
12030 * viper.el (viper-version): Version update.
12031 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 12032
584ee3fc
GM
120332013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12036 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12037 (viper-intercept-ESC-key): Simplify.
12038 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12039 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12040 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12041 (viper-setup-ESC-to-escape): New functions.
12042 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12043 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 12044
9aff9b38
EZ
120452013-07-07 Eli Zaretskii <eliz@gnu.org>
12046
5165d44a
JB
12047 * simple.el (default-font-height, window-screen-lines):
12048 New functions.
9aff9b38
EZ
12049 (line-move, line-move-partial): Use them instead of
12050 frame-char-height and window-text-height. This makes scrolling
12051 text smoother when the buffer's default face uses a font that is
12052 different from the frame's default font.
12053
1afb1d07
JD
120542013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12055
12056 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 12057 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 12058
23de972a
EZ
120592013-07-06 Eli Zaretskii <eliz@gnu.org>
12060
12061 * simple.el (line-move-partial): Adjust the row returned by
12062 posn-at-point for the current window-vscroll. (Bug#14567)
12063
54a42486
MA
120642013-07-06 Michael Albinus <michael.albinus@gmx.de>
12065
35e951cd 12066 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
12067 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12068 spaces.
12069
34ada5f4
MR
120702013-07-06 Martin Rudalics <rudalics@gmx.at>
12071
12072 * window.el (window-state-put-stale-windows): New variable.
12073 (window--state-put-2): Save list of windows without matching buffer.
12074 (window-state-put): Remove "bufferless" windows if possible.
12075
11e03d89
JB
120762013-07-06 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * simple.el (alternatives-define): Remove leftover :group keyword.
12079 Tweak docstring.
12080
3504a4be
LL
120812013-07-06 Leo Liu <sdl.web@gmail.com>
12082
12083 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12084 (ido-enable-virtual-buffers): New variable.
12085 (ido-buffer-internal, ido-toggle-virtual-buffers)
12086 (ido-make-buffer-list): Use it.
12087 (ido-exhibit): Support turning on and off virtual buffers
12088 automatically.
12089
61e56e2c
JB
120902013-07-06 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * simple.el (alternatives-define): New macro.
12093
321e1a9c
SM
120942013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * subr.el (read-quoted-char): Use read-key.
12097 (sit-for): Let read-event decode tty input (bug#14782).
12098
d610f6dd
SB
120992013-07-05 Stephen Berman <stephen.berman@gmx.net>
12100
12101 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
12102 mode command and externally. Fix various related bugs.
12103 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
12104 (todo-delete-file): New command.
12105 (todo-check-file): New function.
12106 (todo-show): Handle external deletion of the file we're trying to
12107 show (bug#14688). Replace called-interactively-p by an optional
12108 prefix argument to avoid problematic interaction with catch form
12109 when byte compiled (bug#14702).
12110 (todo-quit): Handle external deletion of the archive's todo file.
12111 Make sure the buffer that was visiting the archive file is still
12112 live before trying to bury it.
12113 (todo-category-completions): Handle external deletion of any
12114 category completion files.
12115 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12116 of todo files, in case of external deletion.
12117 (todo-add-file): Replace unnecessary setq by let-binding.
12118 (todo-find-archive): Check whether there are any archives.
12119 Replace unnecessary setq by let-binding.
12120 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
12121 archive buffer whether or not the archive already exists.
12122 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
12123 check if the archive is new; if it is, update list of archives.
12124 (todo-default-todo-file): Allow nil to be a valid value for when
12125 there are no todo files.
12126 (todo-reevaluate-default-file-defcustom): Use corrected definition
12127 of todo-default-todo-file.
12128 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12129 (todo-delete-category, todo-show-categories-table)
12130 (todo-category-number): Clarify comment.
12131 (todo-filter-items): Clarify documentation string.
12132 (todo-show-current-file, todo-display-as-todo-file)
12133 (todo-reset-and-enable-done-separator): Tweak documentation string.
12134 (todo-done-separator): Make separator length window-width, since
12135 bug#2749 is now fixed.
12136
ddbdfd6f
MA
121372013-07-05 Michael Albinus <michael.albinus@gmx.de>
12138
321e1a9c
SM
12139 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12140 Support both "gvfs-monitor-dir" and "inotifywait".
12141 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
12142 `tramp-sh-file-notify-process-filter'.
12143 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12144 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12145
96eb829a
LL
121462013-07-05 Leo Liu <sdl.web@gmail.com>
12147
12148 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12149
cf13177e
YM
121502013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12151
12152 * frame.el (display-pixel-height, display-pixel-width)
12153 (display-mm-height, display-mm-width): Mention behavior on
12154 multi-monitor setups in docstrings.
12155 (w32-display-monitor-attributes-list): Declare function.
12156 (display-monitor-attributes-list): Use it.
12157
864c58ca
MA
121582013-07-04 Michael Albinus <michael.albinus@gmx.de>
12159
12160 * filenotify.el: New package.
12161
12162 * autorevert.el (top): Require filenotify.el.
12163 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12164 instead.
12165 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12166 (auto-revert-notify-handler): Use `file-notify-*' functions.
12167
12168 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12169
321e1a9c
SM
12170 * net/tramp.el (tramp-file-name-for-operation):
12171 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
12172
12173 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12174 for `file-notify-add-watch' and `file-notify-rm-watch'.
12175 (tramp-process-sentinel): Improve trace.
12176 (tramp-sh-handle-file-notify-add-watch)
12177 (tramp-sh-file-notify-process-filter)
12178 (tramp-sh-handle-file-notify-rm-watch)
12179 (tramp-get-remote-inotifywait): New defuns.
12180
96673afe
JL
121812013-07-03 Juri Linkov <juri@jurta.org>
12182
12183 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12184 call of `occur-read-primary-args' to interactive spec.
12185
12186 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12187 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12188
924494f4
MM
121892013-07-03 Matthias Meulien <orontee@gmail.com>
12190
12191 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12192 `Buffer-menu-multi-occur'. Add it to the menu.
12193 (Buffer-menu-mode): Document it in docstring.
12194 (Buffer-menu-multi-occur): New command. (Bug#14673)
12195
56f75efc
DG
121962013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12197
12198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12199 keywords and built-ins.
12200
9b057d61
GM
122012013-07-03 Glenn Morris <rgm@gnu.org>
12202
208dee4d
GM
12203 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12204
9b057d61
GM
12205 Make info-xref checks case-sensitive by default
12206 * info.el (Info-find-node, Info-find-in-tag-table)
12207 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12208 Add option for exact case matching of nodes.
12209 * info-xref.el (info-xref): New custom group.
12210 (info-xref-case-fold): New option.
12211 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12212
e01aa29c
LL
122132013-07-03 Leo Liu <sdl.web@gmail.com>
12214
12215 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12216
3086ca2e
DG
122172013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12218
12219 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12220 middle of block statement initially, lower the depth. Remove
12221 FIXME comment, not longer valid. Remove middle of block statement
12222 detection, no need to do that anymore since we've been using
12223 `ruby-parse-region' here.
12224
a3b49114
JD
122252013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12226
12227 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12228
08e5c823 122292013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
12230
12231 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12232
2addf922
JB
122332013-07-01 Juanma Barranquero <lekktu@gmail.com>
12234
12235 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12236 (desktop-restore-in-current-display): New customization option.
12237 (desktop--excluded-frame-parameters): Add `font'.
12238 (desktop--save-frames): Rename from desktop--save-windows.
12239 (desktop--restore-in-this-display-p): New function.
12240 (desktop--make-full-frame): Remove unwanted width/height from
12241 full(width|height) frames.
12242 (desktop--restore-frames): Rename from desktop--restore-windows.
12243 Obey desktop-restore-current-display. Do not delete old frames or
12244 select a new frame unless we were able to restore at least one frame.
12245
ef099a94
MN
122462013-06-30 Michal Nazarewicz <mina86@mina86.com>
12247
12248 * files.el (find-file-noselect): Simplify conditional expression.
12249
a12bf61e 12250 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
12251 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12252
12253 Add `remember-notes' function to store random notes across Emacs
12254 restarts.
3fcfc4ee
JB
12255 * textmodes/remember.el (remember-data-file): Add :set callback to
12256 affect notes buffer (if any).
ef099a94
MN
12257 (remember-notes): New command.
12258 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12259 New defcustoms for the `remember-notes' function.
12260 (remember-notes-save-and-bury-buffer): New command.
12261 (remember-notes-mode-map): New variable.
12262 (remember-mode): New minor mode.
12263 (remember-notes--kill-buffer-query): New function.
12264 * startup.el (initial-buffer-choice): Add notes to custom type.
12265
0865d506
EZ
122662013-06-30 Eli Zaretskii <eliz@gnu.org>
12267
0ba54312
EZ
12268 * bindings.el (right-char, left-char): Don't call sit-for, this is
12269 no longer needed. Use arithmetic comparison only for numerical
12270 arguments.
12271
ef099a94
MN
12272 * international/mule-cmds.el (select-safe-coding-system):
12273 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 12274
2fae38e5
LMI
122752013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12276
12277 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12278 progression on degenerate tables.
ef099a94 12279 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 12280
a47cbd64
JB
122812013-06-30 Juanma Barranquero <lekktu@gmail.com>
12282
12283 Some fixes and improvements for desktop frame restoration.
12284 It is still experimental and disabled by default.
12285 * desktop.el (desktop--save-windows): Put the selected frame at
12286 the head of the list.
12287 (desktop--make-full-frame): New function.
12288 (desktop--restore-windows): Try to re-select the frame that was
12289 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
12290 just show an error message and continue. Set up maximized frames
12291 so they have default non-maximized dimensions.
a47cbd64 12292
6dbafa30
DG
122932013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12294
ef099a94
MN
12295 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12296 Don't start heredoc inside a string or comment.
6dbafa30 12297
4c672a0f
EZ
122982013-06-29 Eli Zaretskii <eliz@gnu.org>
12299
12300 * bindings.el (visual-order-cursor-movement): New defcustom.
12301 (right-char, left-char): Provide visual-order cursor motion by
12302 calling move-point-visually. Update the doc strings.
12303
50960f36
KH
123042013-06-28 Kenichi Handa <handa@gnu.org>
12305
12306 * international/mule.el (define-coding-system): New coding system
12307 properties :inhibit-null-byte-detection,
12308 :inhibit-iso-escape-detection, and :prefer-utf-8.
12309 (set-buffer-file-coding-system): If :charset-list property of
12310 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12311 appropriate for setting.
12312
c1ea3abf
JB
12313 * international/mule-cmds.el (select-safe-coding-system):
12314 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12315 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
12316
12317 * international/mule-conf.el (prefer-utf-8): New coding system.
12318 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12319 files.
12320
75dbaf9d
IK
123212013-06-28 Ivan Kanis <ivan@kanis.fr>
12322
eadb6068
IK
12323 * net/shr.el (shr-render-region): New function.
12324
75dbaf9d
IK
12325 * net/eww.el: Autoload `eww-browse-url'.
12326
9ea5cf9f
DG
123272013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12328
c1ea3abf
JB
12329 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12330 Adapt to `package-desc-version' being a list.
12331 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
12332 archive element.
12333
39c0e36f
JB
123342013-06-27 Juanma Barranquero <lekktu@gmail.com>
12335
12336 New experimental feature to save&restore window and frame setup.
12337 * desktop.el (desktop-save-windows): New defcustom.
12338 (desktop--saved-states): New var.
12339 (desktop--excluded-frame-parameters): New defconst.
12340 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12341 (desktop--restore-windows, desktop--save-windows): New functions.
12342 (desktop-save): Call `desktop--save-windows'.
12343 (desktop-read): Call `desktop--restore-windows'.
12344
7f13406b
LMI
123452013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12346
ef099a94 12347 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 12348
1e072639
SB
123492013-06-27 Stephen Berman <stephen.berman@gmx.net>
12350
12351 * info.el (Info-try-follow-nearest-node): Move search for footnote
12352 above search for node name to prevent missing a footnote (bug#14717).
12353
f3e2cbde
SB
123542013-06-27 Stephen Berman <stephen.berman@gmx.net>
12355
12356 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12357
99906aa0
LL
123582013-06-27 Leo Liu <sdl.web@gmail.com>
12359
12360 * net/eww.el (eww-read-bookmarks): Check file size.
12361
539f75f4
SM
123622013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12363
12364 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12365 advice--pending if newdef is nil or an autoload (bug#13820).
12366 (advice-mapc): New function.
12367
843571cb
LMI
123682013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12369
12370 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12371 probably.
23a75d7f 12372 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
12373 (eww-add-bookmark): New command.
12374 (eww-bookmark-mode): New mode and commands.
a285ce99 12375 (eww-add-bookmark): Remove newlines from the title.
47fd571b 12376 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 12377
f2136e1e
GM
123782013-06-26 Glenn Morris <rgm@gnu.org>
12379
eab35f39
GM
12380 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12381 (hfy-size): Handle ttys. (Bug#14668)
12382
f2136e1e
GM
12383 * info-xref.el: Update for Texinfo 5 change in *note format.
12384 (info-xref-node-re, info-xref-note-re): New constants.
12385 (info-xref-check-buffer): Use info-xref-note-re.
12386
a49ff80c
SM
123872013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12388
a343d218
SM
12389 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12390
a49ff80c
SM
12391 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12392 nil terminate the loop (bug#14718).
12393
8308f184
LMI
123942013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12395
12396 * net/eww.el: Rework history traversal. When going forward/back,
12397 put these actions into the history, too, so that they can be
12398 replayed.
26bf2b82 12399 (eww-render): Move the history reset to the correct buffer.
8308f184 12400
ec64c273
JL
124012013-06-25 Juri Linkov <juri@jurta.org>
12402
12403 * files-x.el (modify-dir-local-variable): Change the header comment
12404 in the file with directory local variables. (Bug#14692)
12405
e080a9d7
JL
12406 * files-x.el (read-file-local-variable-value): Add `default'.
12407 (Bug#14710)
12408
bfbc93a1
IK
124092013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12410
12411 * net/eww.el (eww-make-unique-file-name): Create a unique file
12412 name before saving to entering `y' accidentally asynchronously.
12413
124142013-06-25 Ivan Kanis <ivan@kanis.fr>
12415
12416 * net/eww.el (eww-download): New command and keystroke.
12417
16f74f10
LMI
124182013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12419
a49ff80c 12420 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
12421
12422 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12423 be more consistent with Info and dired.
12424
12425 * net/eww.el (eww-mode-map): Ditto.
12426
12059709
SM
124272013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12430 packages from archives.
12431 (package-archive-contents): Change format; include obsolete packages.
12432 (package-desc): Use `dir' to mark builtin packages.
12433 (package--from-builtin): Set the `dir' field to `builtin'.
12434 (generated-autoload-file, version-control): Declare.
12435 (package-compute-transaction): Change first arg and return value to be
12436 lists of package-descs. Adjust to new package-archive-contents format.
12437 (package--add-to-archive-contents): Adjust to new
12438 package-archive-contents format.
12439 (package-download-transaction): Arg is now a list of package-descs.
12440 (package-install): If `pkg' is a package name, pass it as
12441 a requirement, so it is subject to the usual (e.g. disabled) checks.
12442 (describe-package): Accept package-desc as well.
12443 (describe-package-1): Describe a specific package-desc. Add links to
12444 other package-descs for the same package name.
12445 (package-menu-describe-package): Pass the actual package-desc.
12446 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12447 works correctly.
12448 (package-desc-status): New function.
12449 (package-menu--refresh): New function, extracted
12450 from package-menu--generate.
12451 (package-menu--generate): Use it.
12452 (package-delete): Update package-alist.
12453 (package-menu-execute): Don't call package-initialize.
12454
12455 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12456 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12457 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12458 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12459 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12460 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12461
8bbdea0f
MR
124622013-06-25 Martin Rudalics <rudalics@gmx.at>
12463
12464 * window.el (window--state-get-1): Workaround for bug#14527.
12465 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12466
e82b0991
LMI
124672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12468
12469 * net/eww.el (eww-back-url): Implement the history by stashing all
12470 the data into a list.
d3f0f918 12471 (eww-forward-url): Allow going forward in the history, too.
e82b0991 12472
c763842b
SM
124732013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12476 for values and use read--expression for expressions (bug#14710).
12477 (read-file-local-variable): Avoid setq.
12478 (read-file-local-variable-mode): Use minor-mode-list.
12479
bceff189
RW
124802013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12481
864c58ca 12482 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
12483 for DOI URLs.
12484
45f431c6
RW
124852013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12486
864c58ca 12487 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
12488 Update imenu-support when dialect changes.
12489
f42d8237
LL
124902013-06-25 Leo Liu <sdl.web@gmail.com>
12491
12492 * ido.el (ido-read-internal): Allow forward slash on windows.
12493
be549ce6
LMI
124942013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12495
12496 * net/eww.el (eww): Start of strings is \\`, not ^.
12497
71d4c19d
IK
124982013-06-24 Ivan Kanis <ivan@kanis.fr>
12499
5196f88a
IK
12500 * net/shr.el (shr-browse-url): Fix interactive spec.
12501
71d4c19d
IK
12502 * net/eww.el (eww): Add a trailing slash to domain names.
12503
ae36ca55
JB
125042013-06-24 Juanma Barranquero <lekktu@gmail.com>
12505
12506 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12507
0ebd92a3
LMI
125082013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12509
bdaa086b
LMI
12510 * net/shr.el (shr-browse-url): Use an external browser if given a
12511 prefix.
12512
c763842b 12513 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 12514
b89fc156
IK
125152013-06-24 Ivan Kanis <ivan@kanis.fr>
12516
12517 * net/eww.el (eww): Work more correctly for file: URLs.
12518 (eww-detect-charset): Allow quoted charsets.
12519 (eww-yank-page-url): New command and keystroke.
12520
18eb4bca
DU
125212013-06-24 Daiki Ueno <ueno@gnu.org>
12522
12523 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12524 file name of gpg executable.
12525 (epg-context-program): New function.
12526 (epg-context-home-directory): New function.
12527 (epg-context-set-program): New function.
12528 (epg-context-set-home-directory): New function.
12529 (epg--start): Use `epg-context-program' instead of
12530 'epg-gpg-program'.
12531 (epg--list-keys-1): Likewise.
12532
6c6268c8
LL
125332013-06-24 Leo Liu <sdl.web@gmail.com>
12534
12535 * ido.el (ido-read-internal): Fix bug#14620.
12536
5e400cb3
JB
125372013-06-23 Juanma Barranquero <lekktu@gmail.com>
12538
12539 * faces.el (face-documentation): Simplify.
12540 (read-face-attribute, tty-find-type, x-resolve-font-name):
12541 Use `string-match-p'.
12542 (list-faces-display): Use `string-match-p'. Simplify.
12543 (face-spec-recalc): Check face to avoid face alias loops.
12544 (read-color): Use `string-match-p' and non-capturing parenthesis.
12545
f3f9606c
LMI
125462013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12547
12548 * net/shr.el (shr-rescale-image): Use the new
12549 :max-width/:max-height functionality.
12550
a3ca09b9
IK
125512013-06-23 Ivan Kanis <ivan@kanis.fr>
12552
12553 * net/eww.el (eww-search-prefix): New variable.
12554 (eww): Use it.
f865b474
IK
12555 (eww-external-browser): New variable.
12556 (eww-mode-map): New keystroke.
12557 (eww-browse-with-external-browser): New command.
a3ca09b9 12558
e854cfc7
IK
12559 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12560
18bb9e21
JB
125612013-06-23 Juanma Barranquero <lekktu@gmail.com>
12562
12563 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12564 Don't skip aligning the next header field when padding is 0;
12565 otherwise, field width is not respected unless the title is as
12566 wide as the field.
12567
5b165ade
SM
125682013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 * emacs-lisp/package.el (package-el-version): Remove.
12571 (package-process-define-package): Fix inf-loop.
12572 (package-install): Allow symbols as arguments again.
12573
12adebe9
DG
125742013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12575
12576 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12577 add some more keyword-like methods.
12578 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12579
388573ee
JB
125802013-06-22 Juanma Barranquero <lekktu@gmail.com>
12581
12582 * bs.el (bs-buffer-show-mark): Make defvar-local.
12583 (bs-mode): Use setq-local.
12584
12585 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12586 (emacs-lock--try-unlocking): Make defvar-local.
12587
4582a01c 125882013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 12589
2663dd23
GM
12590 * play/cookie1.el (cookie-apropos): Minor simplification.
12591
3d94f3ad
GM
12592 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12593
f72e2fdb
DG
125942013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12595
12596 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12597 `regexp-opt', it breaks the build during dumping.
12598
73eab938
DG
125992013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12600
c763842b
SM
12601 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12602 Highlight keyword-like methods on Kernel and Module with
73eab938 12603 font-lock-builtin-face.
5cf8176d
DG
12604 (auto-mode-alist): Consolidate different entries into one regexp
12605 and add more *file-s.
73eab938 12606
d26255f6
SB
126072013-06-21 Stephen Berman <stephen.berman@gmx.net>
12608
12609 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12610
12611 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12612 (diary-entry): Use it in the action of this button type instead of
12613 diary-goto-entry.
12614
12615 * calendar/todo-mode.el: New version.
12616 (todo-add-category): Append new category to end of file and give
12617 it the highest number, instead of putting it at the beginning and
12618 giving it 0. Incorporate noninteractive functionality.
12619 (todo-forward-category): Adapt to 1-based category numbering.
12620 Allow skipping over archived categories.
12621 (todo-backward-category): Derive from todo-forward-category.
12622 (todo-backward-item, todo-forward-item): Make noninteractive and
12623 delegate interactive part to new commands. Make sensitive to done items.
12624 (todo-categories): Make value an alist of category names and
12625 vectors of item counts.
12626 (todo-category-beg): Make a defconst.
12627 (todo-category-number): Use 1 instead of 0 as initial value.
12628 (todo-category-select): Make sensitive to overlays, optional item
12629 highlighting and done items.
12630 (todo-delete-item): Make sensitive to overlays and marked and done items.
12631 (todo-edit-item): Make sensitive to overlays and editing of
12632 date/time header optional. Add format checks.
12633 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12634 no-op if point is not on an item. Advertise using todo-edit-quit.
12635 (todo-edit-mode): Make sensitive to new format, font-locking, and
12636 multiple todo files.
12637 (todo-insert-item, todo-insert-item-here): Derive from
12638 todo-basic-insert-item and extend functionality.
12639 (todo-item-end, todo-item-start): Make sensitive to done items.
12640 (todo-item-string): Don't return text properties. Restore point.
12641 (todo-jump-to-category): Make sensitive to multiple todo files and
12642 todo archives. Use extended category completion.
12643 (todo-lower-item, todo-raise-item): Rename to *-priority and
12644 derive from todo-set-item-priority.
12645 (todo-mode): Derive from special-mode. Make sensitive to new
12646 format, font-locking and multiple todo files. Make read-only.
12647 (todo-mode-map): Don't suppress digit keys, so they can supply
12648 prefix arguments. Add many new key bindings.
12649 (todo-prefix): Insert as an overlay instead of file text.
12650 Change semantics from diary date expression to purely visual mark.
12651 (todo-print): Rename to todo-print-buffer. Make buffer display
12652 features printable. Remove option to restrict number of items
12653 printed. Add option to print to file.
12654 (todo-print-function): Rename to todo-print-buffer-function.
12655 (todo-quit): Extend to handle exiting new todo modes.
12656 (todo-remove-item): Make sensitive to overlays.
12657 (todo-save): Extend to buffers of filtered items.
12658 (todo-show): Make sensitive to done items, multiple todo files and
12659 new todo modes. Offer to convert legacy todo file before creating
12660 first new todo file.
12661 (todo-show-priorities): Rename to todo-top-priorities.
12662 Change semantics of value 0.
12663 (todo-top-priorities): Rename to todo-filter-top-priorities,
12664 derive from todo-filter-items and extend functionality.
12665 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12666 and extend functionality to other types of filtered items.
12667 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12668 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12669 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12670 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12671 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12672 (todo-edit-mode-hook, todo-entry-prefix-function)
12673 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12674 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12675 (todo-initials, todo-insert-threshold, todo-item-string-start)
12676 (todo-line-string, todo-menu, todo-mode-hook)
12677 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12678 (todo-print-priorities, todo-remove-separator)
12679 (todo-save-top-priorities-too, todo-string-count-lines)
12680 (todo-string-multiline-p, todo-time-string-format)
12681 (todo-tmp-buffer-name): Remove.
12682 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12683 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12684 (todo-edit-category-diary-inclusion)
12685 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12686 (todo-edit-file, todo-edit-item-date-day)
12687 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12688 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12689 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12690 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12691 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12692 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12693 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12694 (todo-filter-top-priorities-multifile, todo-find-archive)
12695 (todo-find-filtered-items-file, todo-go-to-source-item)
12696 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12697 (todo-jump-to-archive-category, todo-lower-category)
12698 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12699 (todo-move-category, todo-move-item, todo-next-button)
12700 (todo-next-item, todo-padded-string, todo-powerset)
12701 (todo-previous-button, todo-previous-item)
12702 (todo-print-buffer-to-file, todo-raise-category)
12703 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12704 (todo-set-category-number, todo-set-item-priority)
12705 (todo-set-top-priorities-in-category)
12706 (todo-set-top-priorities-in-file, todo-show-categories-table)
12707 (todo-sort-categories-alphabetically-or-numerically)
12708 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12709 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12710 (todo-toggle-item-header, todo-toggle-item-highlighting)
12711 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12712 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12713 (todo-unarchive-items, todo-unmark-category): New commands.
12714 (todo-absolute-file-name, todo-add-to-buffer-list)
12715 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12716 (todo-basic-insert-item, todo-category-completions)
12717 (todo-category-number, todo-category-string-matcher-1)
12718 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12719 (todo-check-format, todo-clear-matches)
12720 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12721 (todo-current-category, todo-date-string-matcher)
12722 (todo-define-insertion-command, todo-diary-expired-matcher)
12723 (todo-diary-goto-entry, todo-diary-item-p)
12724 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12725 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12726 (todo-done-item-section-p, todo-done-separator)
12727 (todo-done-string-matcher, todo-files, todo-filter-items)
12728 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12729 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12730 (todo-insert-category-line, todo-insert-item-from-calendar)
12731 (todo-insert-sort-button, todo-insert-with-overlays)
12732 (todo-insertion-command-name, todo-insertion-key-bindings)
12733 (todo-label-to-key, todo-longest-category-name-length)
12734 (todo-make-categories-list, todo-mode-external-set)
12735 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12736 (todo-modes-set-3, todo-multiple-filter-files)
12737 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12738 (todo-read-category, todo-read-date, todo-read-dayname)
12739 (todo-read-file-name, todo-read-time)
12740 (todo-reevaluate-category-completions-files-defcustom)
12741 (todo-reevaluate-default-file-defcustom)
12742 (todo-reevaluate-filelist-defcustoms)
12743 (todo-reevaluate-filter-files-defcustom)
12744 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12745 (todo-reset-done-separator, todo-reset-done-separator-string)
12746 (todo-reset-done-string, todo-reset-global-current-todo-file)
12747 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12748 (todo-reset-prefix, todo-set-categories)
12749 (todo-set-date-from-calendar, todo-set-show-current-file)
12750 (todo-set-top-priorities, todo-short-file-name)
12751 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12752 (todo-total-item-counts, todo-update-buffer-list)
12753 (todo-update-categories-display, todo-update-categories-sexp)
12754 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12755 New functions.
12756 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12757 New major modes.
12758 (todo-categories, todo-display, todo-edit, todo-faces)
12759 (todo-filtered): New defgroups.
12760 (todo-archived-only, todo-button, todo-category-string, todo-date)
12761 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12762 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12763 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12764 (todo-add-item-if-new-category, todo-always-add-time-string)
12765 (todo-categories-align, todo-categories-archived-label)
12766 (todo-categories-category-label, todo-categories-diary-label)
12767 (todo-categories-done-label, todo-categories-number-separator)
12768 (todo-categories-todo-label, todo-categories-totals-label)
12769 (todo-category-completions-files, todo-completion-ignore-case)
12770 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12771 (todo-done-separator-string, todo-done-string)
12772 (todo-files-function, todo-filter-done-items, todo-filter-files)
12773 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12774 (todo-initial-category, todo-initial-file, todo-item-mark)
12775 (todo-legacy-date-time-regexp, todo-mode-line-function)
12776 (todo-nondiary-marker, todo-number-prefix)
12777 (todo-print-buffer-function, todo-show-current-file)
12778 (todo-show-done-only, todo-show-first, todo-show-with-done)
12779 (todo-skip-archived-categories, todo-top-priorities-overrides)
12780 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12781 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12782 New defcustoms.
12783 (todo-category-done, todo-date-pattern, todo-date-string-start)
12784 (todo-diary-items-buffer, todo-done-string-start)
12785 (todo-filtered-items-buffer, todo-item-start)
12786 (todo-month-abbrev-array, todo-month-name-array)
12787 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12788 (todo-top-priorities-buffer): New defconsts.
12789 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12790 (todo-categories-with-marks, todo-category-string-face)
12791 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12792 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12793 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12794 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12795 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12796 (todo-font-lock-keywords, todo-global-current-todo-file)
12797 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12798 (todo-insertion-commands-args)
12799 (todo-insertion-commands-args-genlist)
12800 (todo-insertion-commands-names, todo-insertion-map)
12801 (todo-key-bindings-t, todo-key-bindings-t+a)
12802 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12803 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12804 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12805 (todo-visited): New variables.
12806
cad5d1cb
GM
128072013-06-21 Glenn Morris <rgm@gnu.org>
12808
12809 * play/cookie1.el (cookie-apropos): Add optional display argument.
12810 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12811 (psychoanalyze-pinhead): Use cookie-doctor.
12812
9e277302
JB
128132013-06-21 Juanma Barranquero <lekktu@gmail.com>
12814
12815 * emacs-lisp/package.el (tar-get-file-descriptor)
12816 (tar--extract): Declare.
12817
c5b0993e
EW
128182013-06-21 Eduard Wiebe <usenet@pusto.de>
12819
12820 Extend flymake's warning predicate to be a function (bug#14217).
12821 * progmodes/flymake.el (flymake-warning-predicate): New.
12822 (flymake-parse-line): Use it.
12823 (flymake-warning-re): Make obsolete alias to
12824 `flymake-warning-predicate'.
12825
a7d2d465
SM
128262013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12827
12828 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12829 (package-obsolete-list): Remove.
12830 (package-activate): Remove min-version argument. Add `force' argument.
12831 Adjust to new package-alist format.
12832 (package-mark-obsolete): Remove.
12833 (package-unpack): Force reload of the package's autoloads.
12834 (package-installed-p): Check builtins if the installed package is not
12835 recent enough.
12836 (package-initialize): Don't reset package-obsolete-list.
12837 Don't specify which package version to activate.
12838 (package-process-define-package, describe-package-1)
12839 (package-menu--generate): Adjust to new package-alist format.
12840
cedf5c9d
JB
128412013-06-21 Juanma Barranquero <lekktu@gmail.com>
12842
12843 * allout-widgets.el (allout-widgets-mode-off)
12844 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12845 (allout-widgets-post-command-business)
12846 (allout-widgets-after-copy-or-kill-function)
12847 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12848 (allout-decorate-item-and-context)
12849 (allout-graphics-modification-handler): Fix typos in docstrings.
12850 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12851
12852 * cmuscheme.el (scheme-start-file): Doc fix.
12853 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12854 (scheme-input-filter): Use `string-match-p'.
12855
12856 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12857
12858 * dired-x.el: Use Dired consistently in docstrings.
12859
12860 * dired.el: Use Dired consistently in docstrings.
12861 (dired-readin, dired-mode): Use `setq-local'.
12862 (dired-switches-alist): Make defvar-local.
12863 (dired-buffers-for-dir): Use `zerop'.
12864 (dired-safe-switches-p, dired-switches-escape-p)
12865 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12866 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 12867 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
12868 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12869 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12870 (dired-toggle-marks, dired-mark-files-containing-regexp)
12871 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12872 (dired-flag-auto-save-files, dired-flag-backup-files):
12873 Use `looking-at-p'.
12874 (dired-mark-files-regexp, dired-build-subdir-alist):
12875 Use `string-match-p', `looking-at-p'.
12876
12877 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12878 (direct-print-region-helper): Use `string-match-p'.
12879
aed838b5
LL
128802013-06-21 Leo Liu <sdl.web@gmail.com>
12881
cedf5c9d
JB
12882 * comint.el (comint-redirect-results-list-from-process):
12883 Fix infinite loop.
aed838b5 12884
d80a808f
LMI
128852013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12886
12887 * net/eww.el (eww-update-header-line-format): Quote % characters.
12888
e7a526e3
GM
128892013-06-21 Glenn Morris <rgm@gnu.org>
12890
12891 * play/cookie1.el (cookie): New custom group.
12892 (cookie-file): New option.
12893 (cookie-check-file): New function.
12894 (cookie): Make it interactive. Make start and end messages optional.
12895 Interactively, display the result. Default to cookie-file.
12896 (cookie-insert): Default to cookie-file.
12897 (cookie-snarf): Make start and end messages optional.
12898 Default to cookie-file. Use with-temp-buffer.
12899 (cookie-read): Rename from read-cookie.
12900 Make start and end messages optional. Default to cookie-file.
12901 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 12902 Do not autoload it.
e7a526e3
GM
12903 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12904 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12905
62efb35e
LL
129062013-06-21 Leo Liu <sdl.web@gmail.com>
12907
12908 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12909
21e3f963
GM
129102013-06-21 Glenn Morris <rgm@gnu.org>
12911
12912 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12913
fd846ab4
SM
129142013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12915 Daniel Hackney <dan@haxney.org>
12916
12917 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12918 Consolidate the single-file vs tarball code.
12919 (package-desc-suffix): New function.
12920 (package-desc-full-name): Don't bother inlining it.
12921 (package-load-descriptor): Return the new package-desc.
12922 (package-mark-obsolete): Remove unused arg `package'.
12923 (package-unpack): Make it work for single files as well.
12924 Make it update package-alist.
12925 (package--make-autoloads-and-stuff): Rename from
12926 package--make-autoloads-and-compile. Don't compile any more.
12927 (package--compile): New function.
12928 (package-generate-description-file): New function, extracted from
12929 package-unpack-single.
12930 (package-unpack-single): Remove.
12931 (package--with-work-buffer): Add indentation and debugging info.
12932 (package-download-single): Remove.
12933 (package-install-from-archive): Rename from package-download-tar, make
12934 it take a pkg-desc, and make it work for single files as well.
12935 (package-download-transaction): Simplify.
12936 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12937 external tar program.
12938 (package-install-from-buffer): Remove `pkg-desc' argument.
12939 Use package-tar-file-info for tar-mode buffers.
12940 (package-install-file): Simplify accordingly.
12941 (package-archive-base): Change to take a pkg-desc.
12942 * tar-mode.el (tar--check-descriptor): New function, extracted from
12943 tar-get-descriptor.
12944 (tar-get-descriptor): Use it.
12945 (tar-get-file-descriptor): New function.
12946 (tar--extract): New function, extracted from tar-extract.
12947 (tar--extract): Use it.
12948 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12949 case the summary uses non-ascii. Adjust to new calling convention of
12950 package-tar-file-info.
12951
b7deae5e
LL
129522013-06-21 Leo Liu <sdl.web@gmail.com>
12953
fd846ab4
SM
12954 * comint.el (comint-redirect-results-list-from-process):
12955 Fix random delay. (Bug#14681)
b7deae5e 12956
7a65a0b2
JB
129572013-06-21 Juanma Barranquero <lekktu@gmail.com>
12958
12959 * profiler.el (profiler-format-number): Use log, not log10.
12960
1493c2af
JB
129612013-06-20 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12964
aff6371e
SM
129652013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12968 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12969 yet available.
12970 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12971 (AUTOGENEL): ... here.
12972 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12973 (cl--defsubst-expand): Use it.
12974
89561f72
PE
129752013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12976
12977 * subr.el (log10): Move here from C code, and declare as obsolete.
12978 All uses of (log10 X) replaced with (log X 10).
12979
47199123
JB
129802013-06-20 Juanma Barranquero <lekktu@gmail.com>
12981
12982 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12983 Declare with `defvar-local'.
12984 (tabulated-list-use-header-line, tabulated-list-entries)
12985 (tabulated-list-padding, tabulated-list-printer)
12986 (tabulated-list-sort-key): Declare with `defvar-local'.
12987 (tabulated-list-init-header, tabulated-list-print-fake-header):
12988 Use `setq-local'.
12989
4a172eab
MA
129902013-06-20 Michael Albinus <michael.albinus@gmx.de>
12991
47199123
JB
12992 * arc-mode.el (archive-mode): Add `archive-write-file' to
12993 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 12994
5fc0acc0
JB
129952013-06-20 Juanma Barranquero <lekktu@gmail.com>
12996
d5b27848
JB
12997 * cus-edit.el (custom-commands): Fix typos.
12998 (custom-display): Fix tooltip text.
12999 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13000 Fix typos in docstrings.
13001 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13002 (custom-unlispify-menu-entry, custom-magic-value-create)
13003 (custom-add-see-also, custom-group-value-create): Use ?\s.
13004 (custom-guess-type, customize-apropos, editable-field)
13005 (custom-face-value-create): Use `string-match-p'.
13006 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13007
13008 * custom.el (custom-load-symbol): Use `string-match-p'.
13009
a5c581d8
JB
13010 * ansi-color.el: Convert to lexical binding.
13011 (ansi-colors): Fix URL.
13012 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13013 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13014 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13015
970ad972
G
130162013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13017
13018 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13019
13020 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13021
130222013-06-19 Tom Tromey <tromey@redhat.com>
13023
13024 * net/eww.el (eww-top-url): Remove.
13025 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13026 (eww-render): Set new variables. Don't set eww-top-url.
13027 (eww-handle-link): Handle "prev", "home", and "contents".
13028 Downcase the rel text.
13029 (eww-top-url): Choose best top URL.
13030
130312013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13032
13033 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13034 relying in widget.el. Using widget.el leads to too many
13035 user interface inconsistencies.
13036 (eww-self-insert): Implement entering commands in text fields.
13037 (eww-process-text-input): New function to make text input field editing
13038 work.
13039 (eww-submit): Rewrite to use the new-style form methods.
13040 (eww-select-display): Display the correct selected item.
13041 (eww-change-select): Implement changing the select value.
13042 (eww-toggle-checkbox): Implement radio/checkboxes.
13043 (eww-update-field): Fix compilation error.
13044 (eww-tag-textarea): Implement <textarea>.
13045
13046 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13047 we don't shadow mode-specific bindings.
13048
13049 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13050 nothing to push.
13051
13052 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13053
4582a01c 130542013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
13055
13056 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13057
15b263dc
MA
130582013-06-19 Michael Albinus <michael.albinus@gmx.de>
13059
13060 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13061 not needed.
13062
13063 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13064
8f5297f7
LMI
130652013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13066
13067 * net/browse-url.el (browse-url-browser-function):
13068 `eww-browse-url' has the right calling signature, `eww' does not.
13069
011c4552
GM
130702013-06-19 Glenn Morris <rgm@gnu.org>
13071
2285bd27
GM
13072 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13073 Only eval autoloaded macros.
13074 (byte-compile-autoload): Only give the macro warning for macros.
13075
1d653303
GM
13076 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13077 (ps-underlined-faces): Declare.
13078
bdd779ec
GM
13079 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13080 (speedbar-add-supported-extension): Declare.
13081
011c4552
GM
13082 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13083 Don't include a date stamp in the header of the generated file;
13084 it leads to needless differences between output files.
13085
e59dfb0e
MA
130862013-06-19 Michael Albinus <michael.albinus@gmx.de>
13087
c763842b
SM
13088 * net/secrets.el (secrets-struct-secret-content-type):
13089 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 13090 Some servers do not offer introspection.
e59dfb0e 13091
102626e2
SM
130922013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 * electric.el (electric-pair-mode): Improve interaction with
13095 electric-layout-mode.
13096 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13097 (electric-pair-syntax): Use text-mode-syntax-table in comments
13098 and strings.
13099 (electric-pair--insert): New function.
13100 (electric-pair-post-self-insert-function): Use it and
13101 electric--after-char-pos.
13102
ad528125
LL
131032013-06-19 Leo Liu <sdl.web@gmail.com>
13104
13105 * progmodes/octave.el (octave-help): Fix regexp.
13106
924d6997
G
131072013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108
13109 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13110 (shr-table-horizontal-line): Allow nil as a value, and change the
13111 default.
13112 (shr-insert-table-ruler): Respect the nil value.
13113
131142013-06-18 Tom Tromey <tromey@barimba>
13115
13116 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13117 New defvars.
13118 (eww-open-file): New defun.
13119 (eww-render): Initialize new variables.
13120 (eww-display-html): Handle "link" and "a".
13121 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13122 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13123 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
13124 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13125 New defuns.
924d6997 13126
d1bbba4f
DG
131272013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13128
13129 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13130 Distinguish ternary operator tokens from slash symbol and slash
13131 char literal.
13132
14dd22d2
JB
131332013-06-18 Juanma Barranquero <lekktu@gmail.com>
13134
13135 Convert symbol prettification into minor mode and global minor mode.
13136
13137 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13138 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13139 (prettify-symbols--keywords): Rename from
13140 `prog-prettify-symbols-alist' and make a local defvar.
13141 (prettify-symbols--compose-symbol): Rename from
13142 `prog--prettify-font-lock-compose-symbol'.
13143 (prettify-symbols--make-keywords): Rename from
13144 `prog-prettify-font-lock-symbols-keywords' and simplify.
13145 (prog-prettify-install): Remove.
13146 (prettify-symbols-mode): New minor mode, based on
13147 `prog-prettify-install'.
13148 (turn-on-prettify-symbols-mode): New function.
13149 (global-prettify-symbols-mode): New globalized minor mode.
13150
13151 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13152 * progmodes/cfengine.el (cfengine3-mode):
13153 * progmodes/perl-mode.el (perl-mode): Don't call
13154 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13155
292c880c
JL
131562013-06-18 Juri Linkov <juri@jurta.org>
13157
13158 * files-x.el (modify-file-local-variable-message): New function.
13159 (modify-file-local-variable)
13160 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13161 and call `modify-file-local-variable-message' when it's non-nil.
13162 (add-file-local-variable, delete-file-local-variable)
13163 (add-file-local-variable-prop-line)
13164 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13165 and use it. (Bug#9820)
13166
0950aa27
JL
131672013-06-18 Juri Linkov <juri@jurta.org>
13168
13169 * emulation/vi.el (vi-shell-op):
13170 * emulation/vip.el (vip-execute-com, ex-command):
13171 * emulation/viper-cmd.el (viper-exec-bang):
13172 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13173 the call of `shell-command-on-region'. (Bug#14637)
13174
13175 * simple.el (shell-command-on-region): Doc fix.
13176
8fbcca16
SM
131772013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13180 (bug#14633).
13181
dd7426ea
GM
131822013-06-18 Glenn Morris <rgm@gnu.org>
13183
4ba54f7d
GM
13184 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13185
dd7426ea
GM
13186 * newcomment.el (comment-search-forward, comment-search-backward):
13187 Doc fix. (Bug#14376)
13188
58aa805b
JB
131892013-06-18 Juanma Barranquero <lekktu@gmail.com>
13190
13191 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13192 (buffer-face-mode-invoke): Doc fix.
13193
9a08a617
MM
131942013-06-18 Matthias Meulien <orontee@gmail.com>
13195
13196 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 13197 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 13198
f2f426ca
GM
131992013-06-18 Glenn Morris <rgm@gnu.org>
13200
9445f99b
GM
13201 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13202 Replace obsolete function generic-make-keywords with its expansion.
13203
e0df2d14
GM
13204 * progmodes/python.el (ffap-alist): Declare.
13205
f2f426ca
GM
13206 * textmodes/reftex.el (bibtex-mode-map): Declare.
13207
f7f9a720
SM
132082013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13209
13210 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13211 (package-unpack, package-unpack-single): Return the pkg-dir.
13212 (package-download-transaction): Use it to update package-alist.
13213
57ff04e0
LMI
132142013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13215
13216 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13217 possible choice.
13218
c048c022
JL
132192013-06-17 Juri Linkov <juri@jurta.org>
13220
13221 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13222
b5bcaee5
DG
132232013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13224
a020afb9
JB
13225 * emacs-lisp/package.el (package-load-descriptor):
13226 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
13227 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13228
551e07e5
JB
132292013-06-17 Juanma Barranquero <lekktu@gmail.com>
13230
13231 * startup.el (command-line): Expand package name returned by
13232 `package--description-file' (bug#14639).
13233
d363bffb
DG
132342013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13235
13236 * emacs-lisp/package.el (package-load-descriptor): Do not call
13237 `emacs-lisp-mode', just use its syntax table.
13238
f612933b
JB
132392013-06-17 Juanma Barranquero <lekktu@gmail.com>
13240
13241 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13242 `font-lock-extra-managed-props' if any prettifying keyword is added.
13243 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13244 (prog-mode): Use `setq-local'.
13245
db3b7db5
SM
132462013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13247
13248 * international/characters.el (standard-case-table): Set syntax of ?»
13249 and ?« to punctuation.
13250
f3d674df
JB
132512013-06-16 Juanma Barranquero <lekktu@gmail.com>
13252
13253 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13254 Save relevant match data before calling `syntax-ppss' (bug#14595).
13255
31489a32
JL
132562013-06-15 Juri Linkov <juri@jurta.org>
13257
13258 * files-x.el (modify-file-local-variable-prop-line): Add local
13259 variables to the end of the existing comment on the first line.
13260 Use `file-auto-mode-skip' to skip interpreter magic line,
13261 and also skip XML declaration.
13262
66bd25ab
SM
132632013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * startup.el (package--builtin-versions): New var.
13266 (package-subdirectory-regexp): Remove.
13267 (package--description-file): Hard code its value instead.
13268
13269 * emacs-lisp/package.el: Don't activate packages older than builtin.
13270 (package-obsolete-list): Rename from package-obsolete-alist, and make
13271 it into a simple list of package-desc.
13272 (package-strip-version): Remove.
13273 (package-built-in-p): Use package--builtin-versions.
13274 (package-mark-obsolete): Simplify.
13275 (package-process-define-package): Mark it obsolete if older than the
13276 builtin version.
13277 (package-handle-response): Use line-end-position.
13278 (package-read-archive-contents, package--download-one-archive):
13279 Simplify.
13280 (package--add-to-archive-contents): Skip if older than the builtin or
13281 installed version.
13282 (package-menu-describe-package): Fix last change.
13283 (package-list-unversioned): New var.
13284 (package-menu--generate): Use it.
13285
13286 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13287 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13288 (autoload-builtin-package-versions): New variable.
13289 (autoload-generate-file-autoloads): Use them.
13290 Remove the list of autoloaded functions/macros from the
13291 (autoload...) comments.
13292
13293 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13294
9583ec36
EZ
132952013-06-15 Eli Zaretskii <eliz@gnu.org>
13296
13297 * simple.el (line-move-partial): Don't jump to the next screen
13298 line as soon as it becomes visible. Instead, continue enlarging
13299 the vscroll until the portion of a tall screen line that's left on
13300 display is about the height of the frame's default font.
13301 (Bug#14567)
13302
f0100d8a
GM
133032013-06-15 Glenn Morris <rgm@gnu.org>
13304
b86a85ca
GM
13305 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13306 compilation-error-regexp-alist void, or local while let-bound.
13307
f0100d8a
GM
13308 * progmodes/make-mode.el (makefile-mode-syntax-table):
13309 Treat "=" as punctuation. (Bug#14614)
13310
05e7ce90
JB
133112013-06-15 Juanma Barranquero <lekktu@gmail.com>
13312
13313 * help-fns.el (describe-variable):
13314 Add extra line for permanent-local variables.
13315
12e5e86e
SH
133162013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13317
13318 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13319 Add export, import, library. (Bug#9164)
13320 (library): Set indent function.
13321
230dcbaf
GM
133222013-06-14 Glenn Morris <rgm@gnu.org>
13323
13324 * term/xterm.el (xterm--query):
13325 Stop after first matching handler. (Bug#14615)
13326
e36b2d20 133272013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
13328
13329 Add support for dired in saveplace.
13330 * dired.el (dired-initial-position-hook): New variable.
13331 (dired-initial-position): Call hook to place cursor position.
13332 * saveplace.el (save-place-to-alist): Add dired position.
13333 (save-place-dired-hook): New function.
13334
0b31660d
SM
133352013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13336
bf1e6ae8
SM
13337 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13338 through a symbol rather than letrec.
13339
1b8dff23
SM
13340 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13341 (package-desc): Add `dir' field.
13342 (package-desc-full-name): New function.
13343 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13344 (package-maybe-load-descriptor): Remove.
13345 (package-load-all-descriptors): Just call package-load-descriptor.
13346 (package--disabled-p): New function.
13347 (package-desc-vers, package-desc-doc): Remove aliases.
13348 (package--dir): Remove function.
13349 (package-activate): Check if a package is disabled.
13350 (package-process-define-package): New function, extracted from
13351 define-package.
13352 (define-package): Turn into a place holder.
13353 (package-unpack-single, package-tar-file-info):
13354 Use package--description-file.
13355 (package-compute-transaction): Use package--disabled-p.
13356 (package-download-transaction): Don't call
13357 package-maybe-load-descriptor since they're all loaded anyway.
13358 (package-install): Change argument to be a pkg-desc.
13359 (package-delete): Use a single pkg-desc argument.
13360 (describe-package-1): Use package-desc-dir instead of package--dir.
13361 Use package-desc property instead of package-symbol.
13362 (package-install-button-action): Adjust accordingly.
13363 (package--push): Rewrite.
13364 (package-menu--print-info): Adjust accordingly. Change the ID format
13365 to be a pkg-desc.
13366 (package-menu-describe-package, package-menu-get-status)
13367 (package-menu--find-upgrades, package-menu-mark-upgrades)
13368 (package-menu-execute, package-menu--name-predicate):
13369 Adjust accordingly.
13370 * startup.el (package--description-file): New function.
13371 (command-line): Use it.
13372 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13373 Use package-desc-version.
13374
0b31660d
SM
13375 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13376 (byte-compile-preprocess): Use it.
13377 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13378 can't quite recognize.
13379 (byte-compile-add-to-list): Remove.
13380 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13381 (cconv-closure-convert): Add assertion.
13382
13383 * emacs-lisp/map-ynp.el: Use lexical-binding.
13384 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13385 Factor out some repeated code.
13386
de0503df
SM
133872013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 * subr.el (with-eval-after-load): New macro.
13390 (eval-after-load): Allow form to be a function.
13391 take advantage of lexical-binding.
13392 (do-after-load-evaluation): Use dolist and adjust to new format.
13393 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13394
bc5c8c5a
JL
133952013-06-13 Juri Linkov <juri@jurta.org>
13396
13397 * replace.el (perform-replace): Display "symbol " and other search
13398 modes from `isearch-message-prefix' in the *Help* buffer.
13399
13400 * isearch.el (isearch-query-replace): Add " symbol" and other
13401 possible search modes from `isearch-message-prefix' to the prompt.
13402 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13403 when reading a regexp to collect.
13404
a22289f7
JL
134052013-06-13 Juri Linkov <juri@jurta.org>
13406
13407 * isearch.el (word-search-regexp): Match whitespace if the search
13408 string begins or ends in whitespace. The LAX arg is applied to
13409 both ends of the search string. Use `regexp-quote' and explicit
13410 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13411 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13412 boundaries are replaced with symbol boundaries, and characters
13413 between symbols match non-word non-symbol syntax. (Bug#14602)
13414
cb89acab
JL
134152013-06-13 Juri Linkov <juri@jurta.org>
13416
13417 * isearch.el (isearch-del-char): Don't exceed the length of
13418 `isearch-string' by the prefix arg. (Bug#14563)
13419
6e8cfc81
JL
134202013-06-13 Juri Linkov <juri@jurta.org>
13421
13422 * isearch.el (isearch-yank-word, isearch-yank-line)
13423 (isearch-char-by-name, isearch-quote-char)
13424 (isearch-printing-char, isearch-process-search-char):
13425 Add optional count prefix arg. (Bug#14563)
13426
13427 * international/isearch-x.el
13428 (isearch-process-search-multibyte-characters):
13429 Add optional count prefix arg.
13430
c23d55f4
VS
134312013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13434 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13435 lexical-binding.
13436
134372013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13438
13439 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13440
ba947bc4
GM
134412013-06-13 Glenn Morris <rgm@gnu.org>
13442
8baeb37a
GM
13443 * startup.el (tty-handle-args):
13444 Don't just discard "--" and anything after. (Bug#14608)
13445
ba947bc4
GM
13446 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13447
9abefce4
MA
134482013-06-13 Michael Albinus <michael.albinus@gmx.de>
13449
13450 Implement changes in Secret Service API. Make it backward compatible.
13451 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13452 (secrets-create-item): Use it. Prefix properties with interface.
13453
5755011f
MH
134542013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13455
13456 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13457 (term-emulate-terminal): Respect term-suppress-hard-newline.
13458
1261d2da
S
134592013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13460
13461 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13462 Only remove a `thumb-file' overlay. (Bug#14548)
13463
868490bb
GJ
134642013-06-12 Grégoire Jadi <daimrod@gmail.com>
13465
13466 * mail/reporter.el (reporter-submit-bug-report):
13467 Handle missing package-name. (Bug#14600)
13468
79d7167f
TH
134692013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13470
13471 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13472 (reftex-citation-prompt, reftex-default-bibliography)
13473 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13474 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13475 (reftex-bib-sort-author, reftex-bib-sort-year)
13476 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13477 (reftex-extract-bib-entries-from-thebibliography)
13478 (reftex-get-bibkey-default, reftex-get-bib-names)
13479 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13480 (reftex-format-bib-entry, reftex-parse-bibitem)
13481 (reftex-format-bibitem, reftex-do-citation)
13482 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13483 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13484 (reftex-insert-bib-matches, reftex-format-citation)
13485 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13486 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13487 existing comments into docstrings.
13488
5f9dbd7a
XF
134892013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13490
13491 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13492
94df41ab
AS
134932013-06-12 Andreas Schwab <schwab@suse.de>
13494
13495 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13496 for auto-save files.
13497
a7f3fecc
GM
134982013-06-12 Glenn Morris <rgm@gnu.org>
13499
001809f6
GM
13500 * ido.el (ido-delete-ignored-files): Remove.
13501 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13502 Go back to calling ido-ignore-item-p directly.
a7f3fecc 13503
834b5ded
EL
135042013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13505
08c73ed2
EL
13506 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13507
834b5ded
EL
13508 * ido.el (ido-delete-ignored-files): New function,
13509 split from ido-make-file-list-1.
13510 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13511 (ido-make-file-list-1): Use ido-delete-ignored-files.
13512
daabf15a
LL
135132013-06-12 Leo Liu <sdl.web@gmail.com>
13514
13515 * progmodes/octave.el (inferior-octave-startup)
13516 (inferior-octave-completion-table)
13517 (inferior-octave-track-window-width-change)
13518 (octave-eldoc-function-signatures, octave-help)
13519 (octave-find-definition): Use single quoted strings.
13520 (inferior-octave-startup-args): Change default value.
13521 (inferior-octave-startup): Do not hard code "-i" and
13522 "--no-line-editing".
13523 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13524 (inferior-octave-directory-tracker): Use it.
13525 (octave-goto-function-definition): Robustify.
13526 (octave-help): Support highlighting operators in 'See also'.
13527 (octave-find-definition): Find subfunctions only in Octave mode.
13528
cf4e5178
SM
135292013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13530
13531 * help-fns.el (help-fns--compiler-macro): If the handler function is
13532 named, then put a link to it.
13533 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13534 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13535 (cl-typep): Use it.
13536 (cl-eval-when): Simplify debug spec.
13537 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13538 compiler-macro function instead of setting `compiler-macro-file'.
13539
99c81280 135402013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
13541
13542 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13543 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13544
f56be016
SM
135452013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13546 Daniel Hackney <dan@haxney.org>
13547
13548 First part of Daniel Hackney's patch to package.el.
13549 * emacs-lisp/package.el: Use defstruct.
13550 (package-desc): New, main struct.
13551 (package--bi-desc, package--ac-desc): New structs, used to describe the
13552 format in external files.
13553 (package-desc-vers): Replace with package-desc-version accessor.
13554 (package-desc-doc): Replace with package-desc-summary accessor.
13555 (package-activate-1): Remove `package' arg since the pkg-vec now
13556 includes the name.
13557 (define-package): Use package-desc-from-define.
13558 (package-unpack-single): Change file-name arg to be a symbol.
13559 (package--add-to-archive-contents): Use package-desc-create and new
13560 accessor functions to package--ac-desc.
13561 (package-buffer-info, package-tar-file-info): Return a package-desc.
13562 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13563 arg to be a package-desc.
13564 (package-install-file): Adjust accordingly. Use \' to match EOS.
13565 (package--from-builtin): New function.
13566 (describe-package-1, package-menu--generate): Use it.
13567 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13568 (package-generate-autoloads): Idem and return the name of the file.
13569 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13570 Change pkg-info arg to be a package-desc.
13571 Use package-make-ac-desc.
13572 (package-upload-file): Use \' to match EOS.
13573 * finder.el (finder-compile-keywords): Use package-make-builtin.
13574
31119d63
SM
135752013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13576
931a2762
SM
13577 * vc/vc.el (vc-deduce-fileset): Change error message.
13578 (vc-read-backend): New function.
13579 (vc-next-action): Use it.
13580
5a3eb0c6
SM
13581 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13582
e3eb1bb7
SM
13583 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13584 (prolog-font-lock-keywords): Use regexp-opt instead.
13585 Don't manually highlight strings.
13586 (prolog-mode-variables): Simplify comment-start-skip.
13587 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13588
31119d63
SM
13589 * emacs-lisp/generic.el (generic--normalise-comments)
13590 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13591 (generic-mode-set-comments): Use them.
13592 (generic-bracket-support): Use setq-local.
13593 (generic-make-keywords-list): Declare obsolete.
13594
7de135d0
GM
135952013-06-11 Glenn Morris <rgm@gnu.org>
13596
13597 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13598 Prettify after setting font-lock-defaults. (Bug#14574)
13599
fa6bc6fd
JB
136002013-06-11 Juanma Barranquero <lekktu@gmail.com>
13601
13602 * replace.el (query-replace, occur-read-regexp-defaults-function)
13603 (replace-search):
13604 * subr.el (declare-function, number-sequence, local-set-key)
13605 (substitute-key-definition, locate-user-emacs-file)
13606 (with-silent-modifications, split-string, eval-after-load):
13607 Fix typos, remove unneeded backslashes and reflow some docstrings.
13608
cf1f9b9a
SM
136092013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13612 default for Elisp files.
13613
56602a4b
GM
136142013-06-11 Glenn Morris <rgm@gnu.org>
13615
13616 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13617 although define-derived-mode was doing this anyway. (Bug#14583)
13618
30ae0b2c
JB
136192013-06-10 Juanma Barranquero <lekktu@gmail.com>
13620
13621 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13622 Fix make-variable-buffer-local call to refer to the correct variable.
13623
fa472906
AG
136242013-06-10 Aidan Gauland <aidalgol@amuri.net>
13625
13626 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
13627 (eshell-visual-subcommands, eshell-visual-options):
13628 Add summary line to docstrings. Add cross-references.
fa472906 13629
ff4871b9
GM
136302013-06-10 Glenn Morris <rgm@gnu.org>
13631
13632 * epa.el (epa-read-file-name): New function. (Bug#14510)
13633 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13634
04fcf1b0
AG
136352013-06-09 Aidan Gauland <aidalgol@amuri.net>
13636
13637 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13638 output redirection to be ignored with visual commands.
13639
88b00caa
AG
136402013-06-09 Aidan Gauland <aidalgol@amuri.net>
13641
13642 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
13643 (eshell-term-initialize): Move long lambda to separate function
13644 eshell-visual-command-p.
27821a89 13645 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
13646 * eshell/em-script.el (eshell-script-initialize):
13647 Add missing #' to lambda.
88b00caa 13648
fda74125
LL
136492013-06-08 Leo Liu <sdl.web@gmail.com>
13650
13651 * progmodes/octave.el (octave-add-log-current-defun): New function.
13652 (octave-mode): Set add-log-current-defun-function.
13653 (octave-goto-function-definition): Do not move point if not found.
13654 (octave-find-definition): Enhance to try subfunctions first.
13655
467f3b33
GM
136562013-06-08 Glenn Morris <rgm@gnu.org>
13657
13658 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13659 (byte-compile-backward-char, byte-compile-backward-word):
13660 Improve previous change, to handle non-explicit nil.
13661
544badc3
SM
136622013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13663
13664 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13665 (smie--opener/closer-at-point): New function.
13666 (smie--matching-block-data): Use it. Don't match from right after an
13667 opener or right before a closer. Obey smie-blink-matching-inners.
13668 Don't signal a mismatch for repeated inners like "switch..case..case".
13669
a175bf33
LL
136702013-06-07 Leo Liu <sdl.web@gmail.com>
13671
13672 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13673 to t. (Bug#14303)
ce8209d4
LL
13674 (octave-function-header-regexp): Fix. (Bug#14570)
13675 (octave-help-mode-finish-hook, octave-help-mode-finish):
13676 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
13677
13678 * newcomment.el (comment-search-backward): Revert last change.
13679 (Bug#14434)
13680
13681 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13682
a822acff
EZ
136832013-06-07 Eli Zaretskii <eliz@gnu.org>
13684
13685 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13686 through xargs, to avoid failure due to MS-Windows limitations on
13687 command-line length.
13688
961166f5
GM
136892013-06-06 Glenn Morris <rgm@gnu.org>
13690
d0341459
GM
13691 * font-lock.el (lisp-font-lock-keywords-2):
13692 Treat user-error like error.
13693
961166f5
GM
13694 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13695 (byte-compile-backward-char, byte-compile-backward-word):
13696 Handle explicit nil arguments. (Bug#14565)
13697
80fa505f
AM
136982013-06-05 Alan Mackenzie <acm@muc.de>
13699
13700 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 13701 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 13702 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 13703 (Bug#9706)
80fa505f 13704
fccdc796
SM
137052013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13706
13707 * autorevert.el (auto-revert-notify-handler): Use memq.
13708 Hide assertion failure.
13709
13710 * skeleton.el: Use cl-lib.
13711 (skeleton-further-elements): Use defvar-local.
13712 (skeleton-insert): Use cl-progv.
13713
9bfff84b
TZ
137142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13715
13716 * progmodes/prog-mode.el (prog-prettify-symbols)
13717 (prog-prettify-install): Update docstrings.
13718
55577e7c
SM
137192013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * simple.el: Move all the prog-mode code to prog-mode.el.
13722 * progmodes/prog-mode.el: New file.
13723 * loadup.el: Add prog-mode.el.
13724
8fc57765
TZ
137252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13726
13727 * simple.el (prog-prettify-symbols): Add version.
13728 (prog-prettify-install): Add convenience function to prettify symbols.
13729
13730 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13731 (perl--augmented-font-lock-keywords-1)
13732 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13733 variables and use it.
13734
13735 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13736 (cfengine3-mode): Remove unneeded variable and use it.
13737
13738 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13739 (lisp--augmented-font-lock-keywords-1)
13740 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13741 Remove unneeded variables and use it.
13742
650645d5 137432013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
13744
13745 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 13746 to point when opening the connection. (Bug#14380)
28f5da6d 13747
781b4af6
SM
137482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13749
13750 * subr.el (load-history-regexp, load-history-filename-element)
13751 (eval-after-load, after-load-functions, do-after-load-evaluation)
13752 (eval-next-after-load, display-delayed-warnings)
13753 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13754 definition of save-match-data.
13755 (overriding-local-map): Remove accidental obsolescence declaration.
13756
13757 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13758
3ca0d0b4
TZ
137592013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13760
13761 Generalize symbol prettify support to prog-mode and implement it
13762 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13763 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13764 (prog--prettify-font-lock-compose-symbol)
13765 (prog-prettify-font-lock-symbols-keywords): New variables and
13766 functions to support symbol prettification.
13767 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13768 (lisp--augmented-font-lock-keywords-1)
13769 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13770 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13771 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
13772 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13773 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
13774 * progmodes/perl-mode.el (perl-prettify-symbols)
13775 (perl--font-lock-compose-symbol)
13776 (perl--font-lock-symbols-keywords): Move to prog-mode.
13777 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13778 (perl-font-lock-keywords-1)
13779 (perl-font-lock-keywords-2): Remove explicit prettify support.
13780 (perl--augmented-font-lock-keywords)
13781 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
13782 (perl--augmented-font-lock-keywords-2, perl-mode):
13783 Implement prettify support.
3ca0d0b4 13784
976cb066
LL
137852013-06-05 Leo Liu <sdl.web@gmail.com>
13786
27821a89 13787 Re-implement SMIE matching block highlight using
976cb066
LL
13788 show-paren-data-function. (Bug#14395)
13789 * emacs-lisp/smie.el (smie-matching-block-highlight)
13790 (smie--highlight-matching-block-overlay)
13791 (smie--highlight-matching-block-lastpos)
13792 (smie-highlight-matching-block)
13793 (smie-highlight-matching-block-mode): Remove.
13794 (smie--matching-block-data-cache): New variable.
13795 (smie--matching-block-data): New function.
13796 (smie-setup): Use smie--matching-block-data for
13797 show-paren-data-function.
13798
13799 * progmodes/octave.el (octave-mode-menu): Fix.
13800 (octave-find-definition): Skip garbage lines.
13801
208d0342
SM
138022013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 Fix compilation error with simultaneous dynamic+lexical scoping.
13805 Add warning when a defvar appears after the first let-binding.
13806 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13807 (byte-compile-close-variables): Initialize it.
13808 (byte-compile--declare-var): New function.
13809 (byte-compile-file-form-defvar)
13810 (byte-compile-file-form-define-abbrev-table)
13811 (byte-compile-file-form-custom-declare-variable): Use it.
13812 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13813 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13814 (byte-compile-bind): Handle dynamic bindings that shadow
13815 lexical bindings.
13816 (byte-compile-unbind): Make arg non-optional.
13817 (byte-compile-let): Simplify.
13818 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13819 (cconv--analyse-function, cconv-analyse-form): Populate it.
13820 Protect byte-compile-bound-variables to limit the scope of defvars.
13821 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13822 Remove unneeded rule for `declare'.
13823
13824 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13825 so as to avoid depending on cl-adjoin at run-time.
13826 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13827
13828 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13829 (macroexp--warn-and-return): Use it.
13830
1ac2891e
GM
138312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13832
a12bf61e 13833 * subr.el: Convert to lexical binding.
1ac2891e
GM
13834 (overriding-local-map): Make obsolete.
13835 (add-to-list): Doc fix. Add compiler macro.
13836 (read-key): Swap values of local maps.
13837
2587b005
LL
138382013-06-05 Leo Liu <sdl.web@gmail.com>
13839
13840 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13841
f1da3c88
LL
138422013-06-04 Leo Liu <sdl.web@gmail.com>
13843
13844 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13845 (compilation-auto-jump): Suppress the "Mark set" message to give
13846 way to exit message.
13847
3caa391f
AM
138482013-06-04 Alan Mackenzie <acm@muc.de>
13849
13850 Remove faulty optimisation from indentation calculation.
13851 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13852 search limit based on 2000 characters back from indent-point.
13853
068922a2
TH
138542013-06-03 Tassilo Horn <tsdh@gnu.org>
13855
13856 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13857
1f8fdd53
SM
138582013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13859
bbcc4d97
SM
13860 * emacs-lisp/lisp.el: Use lexical-binding.
13861 (lisp--local-variables-1, lisp--local-variables): New functions.
13862 (lisp--local-variables-completion-table): New var.
208d0342 13863 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 13864
1f8fdd53
SM
13865 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13866 eagerly (bug#14422).
13867
c9628c79
MA
138682013-06-03 Michael Albinus <michael.albinus@gmx.de>
13869
13870 * autorevert.el (auto-revert-notify-enabled)
13871 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13872 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13873 (auto-revert-notify-handler): Handle also gfilenotify.
13874
e7b41c4c 13875 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 13876 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 13877 Remove.
c9628c79 13878
e5e4a942
JL
138792013-06-03 Juri Linkov <juri@jurta.org>
13880
13881 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13882 `M-s h .'. (Bug#14427)
13883
13884 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13885 command `hi-lock-face-symbol-at-point'.
13886 (hi-lock-face-symbol-at-point): New command.
13887 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13888 (hi-lock-menu): Add `highlight-symbol-at-point'.
13889 (hi-lock-mode): Doc fix.
13890
13891 * isearch.el (isearch-forward-symbol-at-point): New command.
13892 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13893 (isearch-highlight-regexp): Add a regexp which matches
13894 words/symbols for word/symbol mode.
13895
13896 * subr.el (find-tag-default-bounds): New function with the body
13897 mostly moved from `find-tag-default'.
13898 (find-tag-default): Move most code to `find-tag-default-bounds',
13899 call it and apply `buffer-substring-no-properties' afterwards.
13900
26b3353a
TH
139012013-06-03 Tassilo Horn <tsdh@gnu.org>
13902
781b4af6
SM
13903 * eshell/em-term.el (eshell-term-initialize):
13904 Use `cl-intersection' rather than `intersection'.
26b3353a 13905
51b60f53
XF
139062013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13907
fe054b63 13908 * vc/log-view.el: Doc fix.
d3ffe17c 13909 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 13910
a0eb10b3 139112013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
13912
13913 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13914 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13915 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13916 (eieio-unbound, eieio-default-superclass)
13917 (eieio--define-field-accessors, method-static, method-before)
13918 (method-primary, method-after, method-num-lists)
13919 (method-generic-before, method-generic-primary)
13920 (method-generic-after, method-num-slots)
13921 (eieio-specialized-key-to-generic-key)
13922 (eieio--check-type, class-v, class-p)
13923 (eieio-class-name, define-obsolete-function-alias)
13924 (eieio-class-parents-fast, eieio-class-children-fast)
13925 (same-class-fast-p, class-constructor, generic-p)
13926 (generic-primary-only-p, generic-primary-only-one-p)
13927 (class-option-assoc, class-option, eieio-object-p)
13928 (class-abstract-p, class-method-invocation-order)
13929 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13930 (eieio-class-un-autoload, eieio-defclass)
13931 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13932 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13933 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13934 (eieio-defgeneric-reset-generic-form)
13935 (eieio-defgeneric-form-primary-only)
13936 (eieio-defgeneric-reset-generic-form-primary-only)
13937 (eieio-defgeneric-form-primary-only-one)
13938 (eieio-defgeneric-reset-generic-form-primary-only-one)
13939 (eieio-unbind-method-implementations)
13940 (eieio--defmethod, eieio--typep)
13941 (eieio-perform-slot-validation, eieio-validate-slot-value)
13942 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13943 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13944 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13945 (eieio-slot-name-index, eieio-class-slot-name-index)
13946 (eieio-set-defaults, eieio-initarg-to-attribute)
13947 (eieio-attribute-to-initarg, eieio-c3-candidate)
13948 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13949 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13950 (eieio-class-precedence-list, eieio-generic-call-methodname)
13951 (eieio-generic-call-arglst, eieio-generic-call-key)
13952 (eieio-generic-call-next-method-list)
13953 (eieio-pre-method-execution-functions, eieio-generic-call)
13954 (eieio-generic-call-primary-only, eieiomt-method-list)
13955 (eieiomt-optimizing-obarray, eieiomt-install)
13956 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13957 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 13958 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
13959 (defclass): Remove `eval-and-compile' from macro.
13960 (call-next-method, shared-initialize): Instead of using
13961 `scoped-class' variable, use new eieio--scoped-class, and
13962 eieio--with-scoped-class.
13963 (initialize-instance): Rename local variable 'scoped-class' to
13964 'this-class' to remove ambiguitity from old global.
13965
13966 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13967 eieio.el.
4f405069
JB
13968 (eieio--scoped-class-stack): New variable.
13969 (eieio--scoped-class): New fcn.
890f7890
DE
13970 (eieio--with-scoped-class): New scoping macro.
13971 (eieio-defclass): Use pushnew instead of add-to-list.
13972 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13973 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13974 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13975 `scoped-class' variable, use new eieio--scoped-class, and
13976 eieio--with-scoped-class.
13977
13978 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13979
d105b0e2
TH
139802013-06-02 Tassilo Horn <tsdh@gnu.org>
13981
13982 * eshell/esh-ext.el (eshell-external-command): Pass args to
13983 `eshell-find-interpreter'.
13984 (eshell-find-interpreter): Add new second parameter ARGS.
13985
13986 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 13987 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13988
13989 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 13990 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13991
13992 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13993 (eshell-visual-options): New defcustom.
13994 (eshell-escape-control-x): Adapt docstring.
13995 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13996 `eshell-visual-options' in addition to `eshell-visual-commands'.
13997 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13998
f46305c8 139992013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
14000
14001 * progmodes/python.el (python-indent-block-enders): Add break,
14002 continue and raise keywords.
14003
d870df21
GM
140042013-06-01 Glenn Morris <rgm@gnu.org>
14005
9133b82e
GM
14006 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14007
02c992ec 14008 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
14009 * progmodes/cc-cmds.el (delete-forward-p):
14010 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14011 * progmodes/cc-engine.el (buffer-syntactic-context):
14012 * progmodes/cc-fonts.el (face-property-instance):
14013 * progmodes/cc-mode.el (set-keymap-parents):
14014 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14015 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14016 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
14017 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14018 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 14019
31e7b090
GM
14020 * progmodes/cc-vars.el (other): Emacs has this widget since
14021 at least 21.1, so don't (re)define it.
14022
d870df21
GM
14023 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14024 Replace the obsolete alias pcomplete-arg-quote-list.
14025
c75c93c7
LL
140262013-06-01 Leo Liu <sdl.web@gmail.com>
14027
14028 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14029 punctuation syntax.
14030 (inferior-octave-minimal-columns)
14031 (inferior-octave-last-column-width): New variables.
14032 (inferior-octave-track-window-width-change): New function.
14033 (inferior-octave-mode): Adjust column width so that Octave output,
14034 for example from 'ls', can fit into the window nicely.
14035
973d1e12
DG
140362013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14037
14038 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14039 Highlight expansions inside regexp literals.
14040
0888c286
GM
140412013-05-31 Glenn Morris <rgm@gnu.org>
14042
e26aac1f
GM
14043 * obsolete/sym-comp.el (symbol-complete):
14044 Replace obsolete completion-annotate-function.
14045
0888c286
GM
14046 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14047
19bb8e62
DG
140482013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14049
781b4af6
SM
14050 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14051 New function, checks if point is inside a literal that allows
19bb8e62
DG
14052 expression expansion.
14053 (ruby-syntax-propertize-expansion): Use it.
14054 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14055 around the body.
14056
01dea85f
JL
140572013-05-30 Juri Linkov <juri@jurta.org>
14058
14059 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14060 to "\M-si".
14061 (isearch-invisible): New variable.
14062 (isearch-forward): Doc fix.
14063 (isearch-mode): Set `isearch-invisible'
14064 to the value of `search-invisible'.
14065 (isearch-toggle-case-fold): Doc fix.
14066 (isearch-toggle-invisible): New command.
14067 (isearch-query-replace): Let-bind `search-invisible'
14068 to the value of `isearch-invisible'.
14069 (isearch-search): Use `isearch-invisible' instead of
14070 `search-invisible'. Let-bind `search-invisible'
14071 to the value of `isearch-invisible'. (Bug#11378)
14072
ab1bdce5
JL
140732013-05-30 Juri Linkov <juri@jurta.org>
14074
14075 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14076 call when `query-flag' is nil and `search-invisible' is non-nil.
14077 (Bug#11746)
14078
d6d236e2
GM
140792013-05-30 Glenn Morris <rgm@gnu.org>
14080
8accd027
GM
14081 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14082
2a8bed1c
GM
14083 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14084 (cc-require): Suppress spurious "noruntime" warnings.
14085 (cc-require-when-compile): Use fboundp, for sake of compiler.
14086
d6d236e2
GM
14087 * progmodes/cc-mode.el: Move load of cc-vars before that of
14088 cc-langs (which in turn loads cc-vars), to quieten compiler.
14089
9190b35b
SM
140902013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * paren.el: Simplify the code.
14093 (show-paren-mode): Always start the timer.
14094 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14095 (show-paren--overlay, show-paren--overlay-1): Rename from
14096 show-paren-overlay and show-paren-overlay-1, and initialize to an
14097 overlay rather than to nil.
14098 (show-paren-function): Misc cleanup and simplifications.
14099
4f8d1cf6
SM
141002013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * paren.el (show-paren-data-function): New hook.
14103 (show-paren--default): New function, extracted from show-paren-function.
14104 (show-paren-function): Use show-paren-data-function.
14105
02d844b5
GM
141062013-05-30 Glenn Morris <rgm@gnu.org>
14107
d209d4a9
GM
14108 * ielm.el (ielm-map, ielm-complete-symbol):
14109 Use completion-at-point rather than obsolete functions.
14110 (inferior-emacs-lisp-mode): Doc fix.
14111 Set completion-at-point-functions, rather than
14112 comint-dynamic-complete-functions.
14113
2082faa6
GM
14114 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14115 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14116 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14117
dd8620de
GM
14118 * image.el (image-animated-p): Tweak definition.
14119
ceca95b1
GM
14120 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14121 (rlogin-process-connection-type): Tweak default. Add set-after.
14122 (rlogin-host): Doc fix.
14123 (rlogin): Tweak prompt.
14124 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14125
ee9f1acc
GM
14126 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14127 * progmodes/tcl.el (inferior-tcl-mode-map):
14128 Use completion-at-point rather than obsolete alias.
14129
45ce222e
GM
14130 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14131
02d844b5
GM
14132 * minibuffer.el (read-file-name-completion-ignore-case):
14133 Move before completion--in-region, for eager macro expansion.
14134
ac44d6c1
JL
141352013-05-29 Juri Linkov <juri@jurta.org>
14136
14137 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14138 for total count of matching lines. Add `global-matches' for total
14139 count of matches. Rename `matches' to `lines' for count of
14140 matching lines. Add `matches' for count of matches.
14141 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14142 to `prev-line' for line number of prev match endpt.
14143 Increment `matches' for every match. Print the number of
14144 matching lines in the header.
14145 (occur-context-lines): Rename `lines' to `curr-line'.
14146 Rename `prev-lines' to `prev-line'. (Bug#14017)
14147
3c9c9d38
JL
141482013-05-29 Juri Linkov <juri@jurta.org>
14149
14150 * replace.el (perform-replace): Add `skip-read-only-count',
14151 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14152 Increment them for corresponding conditions and report the number
14153 of skipped occurrences in the final message. (Bug#11746)
14154 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14155 (replace-string, replace-regexp): Doc fix.
14156
33e249a2
SM
141572013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14158
8e399682
SM
14159 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14160
33e249a2 14161 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 14162 prog-mode-map (bug#14504).
33e249a2 14163
f236dd84
LL
141642013-05-29 Leo Liu <sdl.web@gmail.com>
14165
14166 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14167 (octave-help): Small simplification.
14168
14169 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14170 off the highlight first.
14171
3694d13f
GM
141722013-05-29 Glenn Morris <rgm@gnu.org>
14173
03983bdc
GM
14174 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14175 Handle idlwave-last-system-routine-info-cons-cell being nil.
14176
bc74a74a
GM
14177 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14178 (idlwave-write-paths): Simplify via with-temp-buffer.
14179
8b394200
GM
14180 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14181 * emulation/cua-rect.el: Also load cua-base at run time.
14182
3694d13f
GM
14183 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14184 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14185 (cperl-imenu-on-info): Require imenu.
14186
336d7284
AM
141872013-05-28 Alan Mackenzie <acm@muc.de>
14188
14189 Handle "capitalised keywords" correctly.
33e249a2 14190 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 14191
cb29c582
AG
141922013-05-28 Aidan Gauland <aidalgol@amuri.net>
14193
781b4af6 14194 * eshell/em-unix.el: Add -r option to cp.
cb29c582 14195
690e44b2
GM
141962013-05-28 Glenn Morris <rgm@gnu.org>
14197
e658d75c
GM
14198 * vc/vc-arch.el (vc-exec-after): Declare.
14199 (vc-switches): Autoload.
14200 * vc/vc-bzr.el: No need to require vc when compiling.
14201 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14202 (vc-resynch-buffer, vc-dir-refresh): Declare.
14203 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
14204 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14205 (vc-resynch-buffer): Declare.
14206 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 14207 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
14208 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14209 (grep-read-regexp, grep-read-files, grep-expand-template)
14210 (vc-dir-refresh): Declare.
14211 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14212 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14213 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
14214 * vc/vc-mtn.el (vc-exec-after): Declare.
14215 (vc-switches): Autoload.
14216 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14217 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14218 (vc-file-tree-walk): Declare.
712b9732
GM
14219 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14220 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14221 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
14222 * vc/vc-svn.el (vc-exec-after): Declare.
14223 (vc-switches, vc-setup-buffer): Autoload.
14224 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14225 Autoload.
14226 (vc-resynch-buffer): Declare.
14227
98e87fb3
GM
14228 * obsolete/fast-lock.el (byte-compile-warnings):
14229 Don't warn about obsolete features in this obsolete file.
14230
f5379553
GM
14231 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14232 Move definition before use.
14233
7a20ef83
GM
14234 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14235 (dun-unix-verbs): Remove dun-zippy.
14236 (dun-zippy): Remove function.
14237
690e44b2
GM
14238 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14239
3a52ccf7
JL
142402013-05-27 Juri Linkov <juri@jurta.org>
14241
14242 * replace.el (replace-search): New function with code moved out
14243 from `perform-replace'.
14244 (replace-highlight, replace-dehighlight): Move function definitions
14245 up closer to `replace-search'. (Bug#11746)
14246
d289938a
JL
142472013-05-27 Juri Linkov <juri@jurta.org>
14248
14249 * replace.el (perform-replace): Ignore invisible matches.
14250 In addition to checking `query-replace-skip-read-only', also
14251 filter out matches by calling `run-hook-with-args-until-failure'
14252 on `isearch-filter-predicates', and also check `search-invisible'
14253 for t or call `isearch-range-invisible'.
14254 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14255
66fc57e3
JL
142562013-05-27 Juri Linkov <juri@jurta.org>
14257
14258 * isearch.el (isearch-filter-predicates): Rename from
14259 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14260 (isearch-message-prefix): Display text from the property
14261 `isearch-message-prefix' of the currently active filters.
14262 (isearch-search): Don't compare `isearch-filter-predicate' with
14263 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14264 on `isearch-filter-predicates'. Also check `search-invisible' for t
14265 or call `isearch-range-invisible'.
14266 (isearch-filter-visible): Make obsolete.
14267 (isearch-lazy-highlight-search):
14268 Call `run-hook-with-args-until-failure' on
14269 `isearch-filter-predicates' and use `isearch-range-invisible'.
14270
14271 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14272 `isearch-filter-predicates' instead of `funcall'ing
14273 `isearch-filter-predicate'.
14274 (Info-mode): Set `Info-isearch-filter' to
14275 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14276
14277 * dired-aux.el (dired-isearch-filter-predicate-orig):
14278 Remove variable.
14279 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14280 (dired-isearch-filenames-end): Add and remove
14281 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14282 instead of changing the value of `isearch-filter-predicate'.
14283 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14284 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14285 Put property `isearch-message-prefix' to "filename " on
14286 `dired-isearch-filter-filenames'.
14287
14288 * wdired.el (wdired-change-to-wdired-mode):
14289 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14290 locally instead of changing `isearch-filter-predicate'.
14291 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14292
f1a60a0f
DG
142932013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14294
14295 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14296 return the commit hash (Bug#14459). Also set the
14297 `vc-git-detached' property.
14298 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14299 (vc-git-mode-line-string): Use the same help-echo format whether
14300 in detached mode or not, because we know the actual revision now.
14301 When in detached mode, shorten the revision to 7 chars.
14302
7f17cc40
SM
143032013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * emacs-lisp/easy-mmode.el (define-minor-mode):
14306 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14307 mode hook and provide a docstring.
14308
25c8401c
AM
143092013-05-27 Alan Mackenzie <acm@muc.de>
14310
14311 Remove spurious syntax-table text properties inserted by C-y.
14312 * progmodes/cc-mode.el (c-after-change): Also clear hard
14313 syntax-table property with value nil.
14314
dde84790
MA
143152013-05-27 Michael Albinus <michael.albinus@gmx.de>
14316
14317 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14318 when reading the events; the buffer layout shall not be changed.
14319
837fd9af
LL
143202013-05-27 Leo Liu <sdl.web@gmail.com>
14321
14322 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14323 New variable.
14324 (inferior-octave-directory-tracker): Automatically re-sync
14325 default-directory.
14326 (octave-help): Improve handling of 'See also'.
14327
4fd996b3
SM
143282013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14329
416f1802
SM
14330 * doc-view.el: Minor naming convention tweaks.
14331 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14332
4fd996b3
SM
14333 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14334 even if there's no `display' property yet (bug#14435).
14335
a052ef3b
EZ
143362013-05-25 Eli Zaretskii <eliz@gnu.org>
14337
4fd996b3 14338 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
14339
14340 * Makefile.in (custom-deps, finder-data, autoloads)
14341 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14342 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14343 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14344
c9023370
SM
143452013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14346
14347 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14348 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 14349 Don't burp at EOB.
c9023370 14350
24d699fa
LL
143512013-05-25 Leo Liu <sdl.web@gmail.com>
14352
14353 * comint.el (comint-previous-matching-input): Do not flood the
14354 *Messages* buffer with trivial messages.
14355
17e5c0cc
SM
143562013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 * progmodes/flymake.el (flymake-nop): Don't return a string.
14359 (flymake-set-at): Fix typo.
14360
14361 * simple.el (read--expression): New function, extracted from
14362 eval-expression. Set completion-at-point-functions (bug#14465).
14363 (eval-expression, eval-minibuffer): Use it.
14364
5d028165
XF
143652013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14366
14367 * progmodes/flymake.el (flymake-save-buffer-in-file)
14368 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14369 (flymake-selected-frame, flymake-log, flymake-ins-after)
14370 (flymake-set-at, flymake-get-buildfile-from-cache)
14371 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14372 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14373 Refine the doc string.
14374 (flymake-get-file-name-mode-and-masks): Reformat.
14375 (flymake-get-real-file-name-function): Fix a minor bug.
14376
7a1d7ba7
JL
143772013-05-24 Juri Linkov <juri@jurta.org>
14378
14379 * progmodes/grep.el (grep-mode-font-lock-keywords):
14380 Support =linenumber= format used by git-grep for lines with
14381 function names. (Bug#13549)
14382
650cff3d
SM
143832013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14384
14385 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14386 0 after a semi-colon; it works better for smie-auto-fill.
14387 (octave--indent-new-comment-line): New function.
14388 (octave-indent-new-comment-line): Use it (indirectly).
14389 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14390 modify comment-line-break-function.
14391
14392 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14393 (smie-setup): Use add-function to set it.
14394
9631677d
SS
143952013-05-24 Sam Steingold <sds@gnu.org>
14396
14397 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14398 argument (before the `interactive' argument).
14399
50105835
SM
144002013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 * image-mode.el (image-mode-winprops): Add winprops to
14403 image-mode-winprops-alist before running
14404 image-mode-new-window-functions.
14405 * doc-view.el (doc-view-new-window-function): Don't delay
14406 doc-view-goto-page via timers (bug#14435).
14407
57b9823e
TH
144082013-05-24 Tassilo Horn <tsdh@gnu.org>
14409
14410 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14411 (doc-view-desktop-save-buffer): New function.
14412 (doc-view-restore-desktop-buffer): New function.
50105835
SM
14413 (desktop-buffer-mode-handlers):
14414 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
14415 handler.
14416 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14417 `desktop-save-buffer' function.
14418
91aafa16
MA
144192013-05-24 Michael Albinus <michael.albinus@gmx.de>
14420
14421 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14422 (tramp-gvfs-file-name-handler): Raise a user error when
14423 `tramp-gvfs-enabled' is nil.
14424 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14425 Do not raise a user error when loading package. (Bug#14447)
14426
ec076379
MA
14427 * net/xesam.el: Move to obsolete/.
14428
db785726
GM
144292013-05-24 Glenn Morris <rgm@gnu.org>
14430
af5c7606
GM
14431 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14432
e5d1916a
GM
14433 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14434
ded62b08
GM
14435 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14436 (Info-find-node, Man-getpage-in-background): Declare.
14437
9e614a3f
GM
14438 * mail/unrmail.el (unrmail):
14439 Replace obsolete detect-coding-with-priority.
14440
892f8ca3
GM
14441 * net/socks.el (socks-split-string): Use this rather than split-string.
14442 (socks-nslookup-host): Update for above change.
14443 (dynamic-choice, s5-dynamic-choice-match)
14444 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14445 Comment out unused code.
14446
3c291973
GM
14447 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14448 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14449 (gud-tooltip-echo-area): Make obsolete.
14450 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14451
43cc956b
GM
14452 * progmodes/js.el (js--optimize-arglist): Declare.
14453
dab49a3b
GM
14454 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14455
36b9d085
GM
14456 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14457 (ediff-window-C): Declare.
14458
e354ae76
GM
14459 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14460 Tweak requires to silence compiler.
14461
b8e57bf4
GM
14462 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14463 (he-search-string, he-tried-table, he-expand-list)
14464 (he-init-string, he-string-member, he-substitute-string)
14465 (he-reset-string): Declare.
14466
db785726
GM
14467 * obsolete/options.el (list-options): Use custom-variable-p,
14468 rather than obsolete alias.
14469
b3531901
SS
144702013-05-23 Sam Steingold <sds@gnu.org>
14471
14472 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 14473 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
14474 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14475
bdda4c66
SM
144762013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14477
14478 * emacs-lisp/smie.el (smie-indent-forward-token)
14479 (smie-indent-backward-token): Handle string tokens (bug#14381).
14480
c43d45f9
TH
144812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14482
fe1eb856
RS
14483 * ielm.el (ielm-menu): New menu.
14484 (inferior-emacs-lisp-mode): Set comment-start.
96172128 14485
fe1eb856
RS
144862013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14487
a12bf61e 14488 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
14489 Fix deactivate action.
14490
a12bf61e 14491 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 14492 Add cleveref macros.
074dd971 14493
9b017563
JB
14494 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14495 Accept options for bibliography commands.
a12bf61e 14496 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
14497 Add addbibresource. Basic Biblatex support.
14498
7764286e
MA
144992013-05-23 Michael Albinus <michael.albinus@gmx.de>
14500
14501 * net/tramp-gvfs.el (top):
14502 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14503 when loading package. (Bug#14447)
14504
d361bc10
GM
145052013-05-23 Glenn Morris <rgm@gnu.org>
14506
8fa23984
GM
14507 * progmodes/js.el: No need to load comint when compiling.
14508 (ring-insert, comint-send-string, comint-send-input)
14509 (comint-last-input-end, ido-chop): Declare.
14510
a5c7df1a
GM
14511 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14512 * vc/ediff-mult.el: Adjust requires.
14513 (ediff-directories-internal, ediff-directory-revisions-internal)
14514 (ediff-patch-file-internal): Declare.
14515 * vc/ediff-ptch.el: Adjust requires.
14516 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14517 (ediff-find-file): Autoload.
14518 * vc/ediff-util.el: No need to load ediff when compiling.
14519 (ediff-regions-internal): Declare.
14520 * vc/ediff-wind.el: Adjust requires.
14521 (ediff-compute-toolbar-width): Define when compiling.
14522 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14523 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14524 (dired-get-filename, dired-get-marked-files)
14525 (ediff-last-dir-patch, ediff-patch-default-directory)
14526 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14527 (ediff-patch-buffer-internal): Declare.
14528
e2aec513
GM
14529 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14530 (ispell-process, ispell-buffer-local-words, lm-summary)
14531 (lm-section-start, lm-section-end): Declare.
14532 (checkdoc-ispell-init): Simplify.
14533
e68bbd7c
GM
14534 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14535 (he-string-member, he-reset-string, he-substitute-string): Declare.
14536
7efe0991
GM
14537 * eshell/em-ls.el: Adjust requires.
14538 (eshell-glob-regexp): Declare.
f87b1284
GM
14539 * eshell/em-tramp.el: Adjust requires.
14540 (eshell-parse-command): Autoload.
14541 * eshell/em-xtra.el: Adjust requires.
14542 (eshell-parse-command): Autoload.
14543 * eshell/esh-ext.el: Adjust requires.
14544 (eshell-parse-command, eshell-close-handles): Autoload.
14545 * eshell/esh-io.el: Adjust requires.
14546 (eshell-output-filter): Autoload.
14547 * eshell/esh-util.el: No need to load tramp when compiling.
14548 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14549 Declare.
14550 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14551 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14552 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14553 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14554 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14555 * eshell/esh-opt.el, eshell/esh-proc.el:
14556 * eshell/esh-var.el: Adjust requires.
14557 * eshell/eshell.el: Do not require esh-util twice.
14558 (eshell-add-input-to-history): Declare.
14559 (eshell-command): Check history module is active before using it.
14560
d361bc10
GM
14561 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14562
85d090a9
LL
145632013-05-22 Leo Liu <sdl.web@gmail.com>
14564
14565 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14566
5d0acd9d
MA
145672013-05-22 Michael Albinus <michael.albinus@gmx.de>
14568
14569 * autorevert.el (auto-revert-notify-add-watch)
14570 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14571 it indicates changes in file modification time.
14572
0cdffd7d
GM
145732013-05-22 Glenn Morris <rgm@gnu.org>
14574
ca5995ec
GM
14575 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14576 Always delete the autoloaded function from the noruntime and
14577 unresolved functions lists.
14578
6450907e
GM
14579 * allout.el: No need to load epa, epg, overlay when compiling.
14580 (epg-context-set-passphrase-callback, epg-list-keys)
14581 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14582 (epg-key-user-id-list): Declare.
14583
9c6906f6
GM
14584 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14585 (viper-set-parsing-style-toggling-macro)
14586 (viper-set-emacs-state-searchstyle-macros):
14587 Use called-interactively-p on Emacs.
14588 (viper-looking-back): Make it an obsolete alias. Update callers.
14589 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14590 Use looking-back rather than viper-looking-back.
14591 (viper-tmp-insert-at-eob, viper-enlarge-region)
14592 (viper-read-string-with-history, viper-register-to-point)
14593 (viper-append-to-register, viper-change-state-to-vi)
14594 (viper-backward-char-carefully, viper-forward-char-carefully)
14595 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14596 (viper-change-state-to-emacs): Declare.
14597 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14598 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14599 * emulation/viper-mous.el: Do not load viper-cmd.
14600 (viper-backward-char-carefully, viper-forward-char-carefully)
14601 (viper-forward-word, viper-adjust-window): Declare.
14602
5f70c169
GM
14603 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14604
b1b7f300
GM
14605 * progmodes/idlw-help.el (idlwave-help-fontify):
14606 Use called-interactively-p.
14607
f6ebbb46
GM
14608 * term/w32console.el (w32-get-console-codepage)
14609 (w32-get-console-output-codepage): Declare.
14610
0cdffd7d
GM
14611 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14612 Remove unnecessary declarations.
14613 (dframe-message): Doc fix.
14614
14615 * info.el (dframe-select-attached-frame, dframe-current-frame):
14616 Declare.
14617
14618 * speedbar.el (speedbar-message): Make it an obsolete alias.
14619 Update all callers.
14620 (speedbar-with-attached-buffer)
14621 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14622 (speedbar-with-writable): Use backquote.
14623 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14624 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14625 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14626 rather than speedbar- aliases.
14627 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14628 (speedbar-make-specialized-keymap, speedbar-insert-button)
14629 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14630 (speedbar-do-function-pointer): Declare.
14631 (rmail-speedbar-button, rmail-speedbar-find-file)
14632 (rmail-speedbar-move-message):
14633 Use dframe-with-attached-buffer rather than speedbar- alias.
14634 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14635 (dframe-message, speedbar-make-specialized-keymap)
14636 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14637 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14638 (speedbar-insert-button, dframe-select-attached-frame)
14639 (dframe-maybee-jump-to-attached-frame)
14640 (speedbar-change-initial-expansion-list)
14641 (speedbar-previously-used-expansion-list-name): Declare.
14642 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14643 Use dframe-message, dframe-with-attached-buffer rather than
14644 speedbar- aliases.
14645 (gud-sentinel): Silence compiler.
14646 * progmodes/vhdl-mode.el (speedbar-refresh)
14647 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14648 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14649 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14650 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14651 (speedbar-file-lists, speedbar-make-tag-line)
14652 (speedbar-line-directory, speedbar-goto-this-file)
14653 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14654 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14655 (speedbar-make-button, speedbar-reset-scanners)
14656 (speedbar-files-item-info, speedbar-line-text)
14657 (speedbar-find-file-in-frame, speedbar-set-timer)
14658 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14659 (speedbar-with-writable): Do not (re)define it.
14660 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14661 rather than speedbar- alias.
14662
ee44b62a
LL
146632013-05-21 Leo Liu <sdl.web@gmail.com>
14664
14665 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14666 menu items.
14667 (octave-mode): Tweak fill-nobreak-predicate.
14668 (inferior-octave-startup): Check process to avoid infinite loop.
14669 (inferior-octave): Pop to buffer first to show abornmal process
14670 exit information.
14671
640f050f
GM
146722013-05-21 Glenn Morris <rgm@gnu.org>
14673
79458038
GM
14674 * printing.el (pr-menu-bar): Define when compiling.
14675
9cc3e83f
LL
146762013-05-21 Leo Liu <sdl.web@gmail.com>
14677
14678 * progmodes/octave.el (octave-auto-fill): Remove.
14679 (octave-indent-new-comment-line): Improve.
14680 (octave-mode): Use auto fill mode through
4f405069 14681 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 14682 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 14683 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
14684 (octave-help): Show parent directory.
14685
f440830d
GM
146862013-05-21 Glenn Morris <rgm@gnu.org>
14687
14688 * files.el (dired-unmark):
14689 * progmodes/gud.el (gdb-input): Update declarations.
14690
14691 * calculator.el (electric, ehelp): No need to load when compiling.
14692 (Electric-command-loop, electric-describe-mode): Declare.
14693
14694 * doc-view.el (doc-view-current-converter-processes): Move before use.
14695
14696 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14697 Move MODE-set-explicitly definition before use.
14698
14699 * international/mule-diag.el (mule-diag):
14700 Don't use obsolete window-system-version.
14701
14702 * mail/feedmail.el (smtpmail): No need to load when compiling.
14703 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14704
14705 * mail/mail-utils.el (rfc822): No need to load when compiling.
14706 (rfc822-addresses): Autoload it.
14707 (mail-strip-quoted-names): Trivial simplification.
14708
14709 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14710 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14711
14712 * net/snmp-mode.el (tempo): Don't duplicate requires.
14713
14714 * progmodes/prolog.el (info): No need to load when compiling.
14715 (comint): Require before shell requires it.
14716 (Info-goto-node): Autoload it.
14717 (Info-follow-nearest-node): Declare.
14718 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14719
14720 * textmodes/artist.el (picture-mode-exit): Declare.
14721
14722 * textmodes/reftex-parse.el (reftex-parse-from-file):
14723 Trivial rewrite so the compiler can parse it better.
14724
b4da2cbb
LL
147252013-05-20 Leo Liu <sdl.web@gmail.com>
14726
14727 * progmodes/octave.el (octave-help-mode-map)
14728 (octave-help-mode-finish-hook): New variables.
14729 (octave-help-mode, octave-help-mode-finish): New functions.
14730 (octave-help): Use octave-help-mode.
14731
33c0f65b
GM
147322013-05-20 Glenn Morris <rgm@gnu.org>
14733
14734 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14735
1a0a0a8a
DG
147362013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14737
14738 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14739 start at point, so that expansion starting right after opening
14740 slash in a regexp is recognized.
14741 (ruby-syntax-before-regexp-re): New defvar, extracted from
14742 ruby-syntax-propertize-function. Since the value of this regexp
14743 is looked up at runtime now, we should be able to turn
14744 `ruby-syntax-methods-before-regexp' into a defcustom later.
14745 (ruby-syntax-propertize-function): Split regexp matching into two
14746 parts, for opening and closing slashes. That allows us to skip
14747 over string interpolations and support multiline regexps.
14748 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14749 for them, which calls `ruby-syntax-propertize-expansion'.
14750 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14751 call to `ruby-syntax-propertize-function'.
14752 (ruby-syntax-propertize-expansion): Extracted from
14753 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
14754 (ruby-syntax-propertize-percent-literal): Leave point right after
14755 the percent symbol, so that the expression expansion rule can
14756 propertize the contents.
462388b6
DG
14757 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14758 heredoc openers.
14759 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 14760
c1a6c0a4
JL
147612013-05-18 Juri Linkov <juri@jurta.org>
14762
14763 * man.el (Man-default-man-entry): Remove `-' from the end
14764 of the default value. (Bug#14400)
14765
8051fccd
GM
147662013-05-18 Glenn Morris <rgm@gnu.org>
14767
14768 * comint.el (comint-password-prompt-regexp):
14769 Allow "password for XXX" where XXX contains colons (eg https://...).
14770
5e80b74f
LL
147712013-05-18 Leo Liu <sdl.web@gmail.com>
14772
14773 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 14774 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
14775 (octave-source-directories): Don't check process.
14776 (octave-source-directories, octave-find-definition): Doc fix.
14777
521a54c5
GM
147782013-05-18 Glenn Morris <rgm@gnu.org>
14779
86a94b05
GM
14780 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14781 Remove backspace/delete bindings. (Bug#14392)
14782
521a54c5
GM
14783 * cus-dep.el (custom-make-dependencies): Sort the output.
14784 (custom-versions-load-alist): Convert comment to doc.
14785
42caeb89
LL
147862013-05-17 Leo Liu <sdl.web@gmail.com>
14787
14788 * newcomment.el (comment-search-backward): Stricter in finding
14789 comment start. (Bug#14303)
14790
14791 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14792 (octave-comment-start-skip): Properly anchored.
14793
e219dd97
LL
147942013-05-17 Leo Liu <sdl.web@gmail.com>
14795
fe1eb856
RS
14796 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14797 Clean up when turned off. (Bug#14395)
e219dd97
LL
14798 (smie--highlight-matching-block-overlay): No longer buffer-local.
14799 (smie-highlight-matching-block): Adjust.
14800
dc5dcb4b
PE
148012013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14802
14803 Doc string fix for "nanoseconds" (Bug#14406).
14804 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14805 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14806
1db165f0
JB
148072013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14808
14809 * calc/calc-units.el (math-extract-units): Preserve powers
14810 of units.
14811
c7a8fcac
LL
148122013-05-17 Leo Liu <sdl.web@gmail.com>
14813
14814 * subr.el (delete-consecutive-dups): New function.
14815 * ido.el (ido-set-matches-1): Use it.
14816 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14817 * ido.el (ido-remove-consecutive-dups): Remove.
14818
f678b18a
SM
148192013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14820
14821 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14822 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14823 regexp-opt's `words'.
14824
ebfe68e8
LL
148252013-05-16 Leo Liu <sdl.web@gmail.com>
14826
14827 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14828 (smie--highlight-matching-block-overlay)
14829 (smie--highlight-matching-block-lastpos)
14830 (smie--highlight-matching-block-timer): New variables.
14831 (smie-highlight-matching-block): New function.
14832 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14833 (smie-setup): Conditionally enable smie-blink-matching-open.
14834
bc8bc17d
WS
148352013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14836
14837 Sync with upstream verilog-mode r840.
14838 * progmodes/verilog-mode.el (verilog-mode-version)
14839 (verilog-mode-release-date): Update.
14840 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14841 (verilog-sig-tieoff): Fix string error on
14842 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14843 (verilog-read-decls): Fix parameters confusing
14844 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14845
df065a0b
EZ
148462013-05-16 Eli Zaretskii <eliz@gnu.org>
14847
14848 * subr.el (reveal-filename): New function.
14849
14850 * loadup.el: Compute Emacs executable versions on MS-Windows,
14851 where executables have the .exe extension. Add a hard link
14852 emacs-XX.YY.ZZ.exe on MS-Windows.
14853
14854 * Makefile.in (XARGS_LIMIT): New variable.
14855 (custom-deps, finder-data, autoloads)
14856 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14857 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14858 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14859 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14860
2d4bf34b
LL
148612013-05-16 Leo Liu <sdl.web@gmail.com>
14862
14863 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14864 (octave-mode-menu, octave-mode-map): Remove its uses.
14865
6b9c2d85
RZ
148662013-05-16 Reto Zimmermann <reto@gnu.org>
14867
14868 Sync with upstream vhdl mode v3.34.2.
14869 * progmodes/vhdl-mode.el: Use `push' throughout.
14870 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14871 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14872 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14873 (vhdl-actual-generic-name): New option to derive actual generic name.
14874 (vhdl-port-paste-signals): Replace formal by actual generics.
14875 (vhdl-beautify): New name for old group vhdl-align. Update users.
14876 (vhdl-beautify-options): New option.
14877 (vhdl-last-input-event): New compat alias. Use throughout.
14878 (vhdl-goto-line): Replace user level function `goto-line'.
14879 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14880 vhdl-fix-statement-buffer.
14881 (vhdl-create-mode-menu): Add some entries.
14882 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14883 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14884 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14885 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14886 to force statements on one line.
14887 (vhdl-remove-trailing-spaces-region):
14888 New, split from vhdl-remove-trailing-spaces.
14889 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14890 Respect vhdl-beautify-options.
14891 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14892 (vhdl-update-sensitivity-list): Not add with index if exists without.
14893 Not include array index with signal. Ignore keywords in comments.
14894 (vhdl-get-visible-signals): Regexp tweaks.
14895 (vhdl-template-component-inst): Handle empty library.
14896 (vhdl-template-type): Add template for 'enum' type.
14897 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14898 Use vhdl-replace-string.
14899 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14900 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14901 (vhdl-speedbar-initialize): Update for above name change.
14902 (vhdl-compose-wire-components): Fix in handling of constants.
14903 (vhdl-error-regexp-emacs-alist): New variable.
14904 (vhdl-error-regexp-add-emacs): New function;
14905 adds support for new compile.el (Emacs 22+)
14906 (vhdl-generate-makefile-1): Change target order for single lib. units.
14907 Allow use of absolute file names.
14908
9df4ec5e
LL
149092013-05-16 Leo Liu <sdl.web@gmail.com>
14910
14911 * simple.el (prog-indent-sexp): Indent enclosing defun.
14912
f5ba00a6
GM
149132013-05-15 Glenn Morris <rgm@gnu.org>
14914
ed8be7ff
GM
14915 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14916 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14917 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14918 (whitespace-highlight): Move to whitespace group.
14919
14920 * comint.el (comint-source):
14921 * pcmpl-linux.el (pcmpl-linux):
14922 * shell.el (shell-faces):
14923 * eshell/esh-opt.el (eshell-opt):
14924 * international/ccl.el (ccl): Remove empty custom groups.
14925
14926 * completion.el (dynamic-completion-mode):
14927 * jit-lock.el (jit-lock-debug-mode):
14928 * minibuffer.el (completion-in-region-mode):
14929 * type-break.el (type-break-mode-line-message-mode)
14930 (type-break-query-mode):
14931 * emulation/tpu-edt.el (tpu-edt-mode):
14932 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14933 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14934 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14935
14936 * term/xterm.el (xterm): Change parent group to terminals.
14937
14938 * master.el (master): Remove empty custom group.
14939 (master-mode): Remove unused :group argument.
14940 * textmodes/refill.el (refill): Remove empty custom group.
14941 (refill-mode): Remove unused :group argument.
14942
14943 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14944
82a7c41b
GM
14945 * cus-dep.el: Provide a feature.
14946 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
14947 Don't mistakenly ignore files whose basenames match a basename
14948 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 14949 Add a fallback method for getting :group.
f5ba00a6 14950
6d65486d
JL
149512013-05-15 Juri Linkov <juri@jurta.org>
14952
da547b32
JL
14953 * isearch.el (isearch-char-by-name): Rename from
14954 `isearch-insert-char-by-name'. Doc fix.
14955 (isearch-forward): Mention `isearch-char-by-name' in
14956 the docstring. (Bug#13348)
14957
6d65486d
JL
14958 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14959 `exit-minibuffer' instead of
14960 `isearch-nonincremental-exit-minibuffer'.
14961 (isearch-edit-string): Remove mention of
14962 `isearch-nonincremental-exit-minibuffer' from docstring.
14963 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14964 (isearch-forward-exit-minibuffer)
14965 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14966
c9990474
SM
149672013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14968
6e911150
SM
14969 * loadup.el: Just use unversioned DOC.
14970
c9990474
SM
14971 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14972 literals as extending to EOB.
14973 (nxml-last-fontify-end): Remove unused variable.
14974 (nxml-after-change1): Use with-silent-modifications.
14975 (nxml-extend-after-change-region): Simplify.
14976 (nxml-extend-after-change-region1): Remove function.
14977 (nxml-after-change1): Don't adjust for dependent regions.
14978 (nxml-fontify-matcher): Simplify.
14979 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14980 (xmltok-add-dependent): Remove function.
14981 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14982 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14983 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14984 unclosed <[[, <?, comment, and other literals as extending to EOB.
14985 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14986 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14987 Remove functions.
14988 (rng-do-some-validation-1): Don't mark dependent regions.
14989 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14990 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14991 (nxml-clear-dependent-regions): Remove functions.
14992 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14993 (nxml-ensure-scan-up-to-date):
14994 Don't clear&mark dependent regions.
14995
e3772e98
LL
149962013-05-15 Leo Liu <sdl.web@gmail.com>
14997
c9990474
SM
14998 * progmodes/octave.el (octave-goto-function-definition):
14999 Improve and fix callers.
e3772e98 15000
5ac2eb34
SM
150012013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15002
c46c57b0
SM
15003 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15004 the setter (bug#14387).
15005
5ac2eb34
SM
15006 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15007 surrounding group (bug#14402).
15008
180ed218
JL
150092013-05-14 Juri Linkov <juri@jurta.org>
15010
15011 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15012 (Bug#14390)
15013
0ac0fecb
GM
150142013-05-14 Glenn Morris <rgm@gnu.org>
15015
15016 * progmodes/f90.el (f90-imenu-generic-expression):
15017 Fix typo in 2013-05-08 change. (Bug#14402)
15018
2e78e6a7
JPG
150192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15020
5ac2eb34
SM
15021 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15022 Remove signals for which replies are never received.
2e78e6a7 15023
53267cca
JPG
150242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15025
15026 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15027 (gdb-handler-alist, gdb-handler-number): Remove variables.
15028 (gdb-handler-list): New variable.
15029 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15030 (gdb-pending-handler-p, gdb-handle-reply)
15031 (gdb-remove-all-pending-triggers): New functions.
15032 (gdb-discard-unordered-replies): New defcustom.
15033 (gdb-handler): New defstruct.
15034 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15035 instead of gdb-pending-triggers. Update docstring.
15036 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15037 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15038 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15039 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15040 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15041 (gdb-frame-handler): Pending triggers are now automatically managed.
15042 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15043 Remove argument.
15044 (gdb-input): Automatically handles pending triggers. Update docstring.
15045 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15046 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15047 Update comments.
15048 (gdb-done-or-error): Now use gdb-handle-reply.
15049
d04ce803
JPG
150502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15051
15052 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15053 gdb-debug-log.
15054
0114073a
GM
150552013-05-14 Glenn Morris <rgm@gnu.org>
15056
15057 * subr.el (user-emacs-directory-warning): New option.
15058 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15059
4d25fd7e
LL
150602013-05-14 Leo Liu <sdl.web@gmail.com>
15061
15062 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15063 during redisplay.
15064 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
15065 (octave-font-lock-texinfo-comment): Fix invalid search bound
15066 error: wrong side of point.
4d25fd7e 15067
27c8b6eb
GM
150682013-05-14 Glenn Morris <rgm@gnu.org>
15069
61aaeb01
GM
15070 * progmodes/flymake.el (flymake-xml-program): New option.
15071 (flymake-xml-init): Use it.
15072
5bf90bc5
GM
15073 * term/xterm.el: Provide a feature.
15074
15075 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 15076
f4c7dfd2
GM
150772013-05-13 Glenn Morris <rgm@gnu.org>
15078
15079 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15080 Add compat aliases as a hack workaround. (Bug#14384)
15081
2aeb3a1d
LL
150822013-05-13 Leo Liu <sdl.web@gmail.com>
15083
b0e069c2
LL
15084 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15085 ###, and %!.
f5a9432f
LL
15086 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15087 C-M-q.
b0e069c2
LL
15088 (octave-comment-start-skip): Include %!.
15089 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 15090
30ea8374
LL
150912013-05-12 Leo Liu <sdl.web@gmail.com>
15092
15093 * progmodes/octave.el (inferior-octave-startup): Store the value
15094 of __octave_srcdir__ for octave-source-directories.
15095 (inferior-octave-check-process): New function refactored out of
15096 inferior-octave-send-list-and-digest.
15097 (octave-source-directories)
15098 (octave-find-definition-filename-function): New variables.
15099 (octave-source-directories)
15100 (octave-find-definition-default-filename): New functions.
15101 (octave-find-definition): Improve to find functions implemented in C++.
15102
472a3834
GM
151032013-05-12 Glenn Morris <rgm@gnu.org>
15104
15105 * calendar/diary-lib.el (diary-outlook-format-1):
15106 Don't include dayname in the output. (Bug#14349)
15107
3191b52f
GM
151082013-05-11 Glenn Morris <rgm@gnu.org>
15109
0060ac73
GM
15110 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15111
3191b52f
GM
15112 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15113 Treat cc-provide like provide.
15114
e065ba74
KR
151152013-05-11 Kevin Ryde <user42@zip.com.au>
15116
15117 * cus-dep.el (custom-make-dependencies):
15118 Use generated-autoload-load-name for the sake of files such
15119 such cedet/semantic/bovine/c.el, where the base file name
15120 is not in load-path. (Bug#5277)
15121
36f84c37
GM
151222013-05-11 Glenn Morris <rgm@gnu.org>
15123
15124 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15125 Provide features.
15126
c8730c3a
LL
151272013-05-11 Leo Liu <sdl.web@gmail.com>
15128
15129 * progmodes/octave.el (octave-indent-comment): Improve.
15130 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
15131 (octave-eldoc-function-signatures, octave-eldoc-function):
15132 New functions.
c8730c3a
LL
15133 (octave-mode, inferior-octave-mode): Add eldoc support.
15134
212e29f2
RS
151352013-05-11 Richard Stallman <rms@gnu.org>
15136
15137 * epa.el (epa-decrypt-file): Take output file name as argument
15138 and read it using `interactive'.
15139
083fe0d7
LL
151402013-05-11 Leo Liu <sdl.web@gmail.com>
15141
15142 * progmodes/octave.el (octave-beginning-of-line)
15143 (octave-end-of-line): Check before using up-list because it jumps
15144 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
15145 (octave-indent-comment): New function.
15146 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
15147 (octave-begin-keywords, octave-end-keywords)
15148 (octave-reserved-words, octave-smie-bnf-table)
15149 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 15150
8582e4c4
GM
151512013-05-11 Glenn Morris <rgm@gnu.org>
15152
f20def1f
GM
15153 * faces.el (internal-face-x-get-resource):
15154 * frame.el (ns-display-monitor-attributes-list):
d78abe37 15155 * calc/calc-aent.el (math-to-radians-2):
f20def1f 15156 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 15157 Fix declarations.
f20def1f 15158
445f95e2
GM
15159 * calc/calc-menu.el: Make it loadable in isolation.
15160
15161 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15162 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15163 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15164 (eudc-bbdb-query-internal): Require 'bbdb.
15165
99fb2756
GM
15166 * lpr.el (lpr-headers-switches):
15167 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15168
15169 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15170
0da7ad96
GM
15171 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15172
8582e4c4
GM
15173 * term.el (term-set-escape-char): Make it idempotent.
15174
f71c50d0
LL
151752013-05-10 Leo Liu <sdl.web@gmail.com>
15176
5ac2eb34
SM
15177 * progmodes/octave.el (inferior-octave-completion-table):
15178 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
15179 completion due to bug#11906.
15180 (octave-beginning-of-defun): Re-write to be more general.
15181
d5837773
GM
151822013-05-10 Glenn Morris <rgm@gnu.org>
15183
15184 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15185
027c0f75
SM
151862013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * comint.el (comint-redirect-send-command-to-process): Use :around
15189 rather than :override for comint-redirect-filter.
15190 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15191 Call it instead of comint-redirect-original-filter-function (which
15192 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15193
4465bfb4
JD
151942013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15195
15196 * frame.el (display-monitor-attributes-list): Add NS case.
15197 (ns-display-monitor-attributes-list): Declare.
15198
2d809ffa 151992013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
15200
15201 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15202
e54eeb9b
GM
152032013-05-09 Glenn Morris <rgm@gnu.org>
15204
56cd351d
GM
15205 * international/fontset.el (vertical-centering-font-regexp):
15206 Set standard-value.
15207
d84b6108
GM
15208 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15209
a931698a
GM
15210 * bookmark.el (bookmark-search-delay):
15211 * cus-start.el (vertical-centering-font-regexp):
15212 * ps-mule.el (ps-mule-font-info-database-default):
15213 * ps-print.el (ps-default-fg, ps-default-bg):
15214 * type-break.el (type-break-good-break-interval):
15215 * whitespace.el (whitespace-indentation-regexp)
15216 (whitespace-space-after-tab-regexp):
15217 * emacs-lisp/testcover.el (testcover-1value-functions)
15218 (testcover-noreturn-functions, testcover-progn-functions)
15219 (testcover-prog1-functions):
15220 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15221 * eshell/em-glob.el (eshell-glob-translate-alist):
15222 * play/tetris.el (tetris-tty-colors):
15223 * progmodes/cpp.el (cpp-face-default-list):
15224 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15225 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15226 (idlwave-help-browser-generic-args):
15227 * progmodes/make-mode.el (makefile-special-targets-list):
15228 * progmodes/python.el (python-shell-virtualenv-path):
15229 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15230 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15231 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15232 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15233 * textmodes/reftex-vars.el (reftex-format-label-function):
15234 * textmodes/remember.el (remember-diary-file): Fix custom types.
15235
e54eeb9b
GM
15236 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15237 Add :version.
15238
455851dd
LL
152392013-05-09 Leo Liu <sdl.web@gmail.com>
15240
15241 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 15242 Restore file completion. (Bug#14300)
455851dd
LL
15243 (inferior-octave-startup): Fix incorrect highlighting for the
15244 first prompt.
15245
a9e4425b
SM
152462013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * progmodes/ruby-mode.el: First cut at SMIE support.
15249 (ruby-use-smie): New var.
15250 (ruby-smie-grammar): New constant.
15251 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15252 (ruby-smie--forward-token, ruby-smie--backward-token)
15253 (ruby-smie-rules): New functions.
15254 (ruby-mode-variables): Setup SMIE if applicable.
15255
060ca408
EZ
152562013-05-08 Eli Zaretskii <eliz@gnu.org>
15257
15258 * simple.el (line-move-visual): Signal beginning/end of buffer
15259 only if vertical-motion moved less than it was requested. Avoids
15260 silly incorrect error messages when there are display strings with
15261 multiple newlines at EOL.
15262
1d5963cc
SM
152632013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15264
15265 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15266 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15267 (prolog-char-quote-workaround):
15268 * progmodes/cperl-mode.el (cperl-under-as-char):
15269 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
15270 Mark as obsolete.
15271 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
15272 their declaration.
15273 (vhdl-mode-syntax-table-init): Remove.
15274
c9990474
SM
15275 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15276 last change.
1d5963cc
SM
15277
15278 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15279 syntax for "_".
15280 (ld-script-font-lock-keywords):
15281 Change regexps to use things like \_< and \_>.
15282
15283 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15284 Change all regexps to use things like \_< and \_>.
15285
15286 * progmodes/autoconf.el (autoconf-definition-regexp)
15287 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15288 Handle a _ with symbol syntax.
15289 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15290
c9990474
SM
15291 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15292 Consolidate declaration.
1d5963cc
SM
15293 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15294 the declaration.
15295 (ada-create-syntax-table): Remove.
15296 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15297 already has the right syntax nowadays.
15298 (ada-goto-next-word): Don't change the syntax of "_".
15299
15300 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15301 with-wrapper-hook.
15302
72d3cfca
SS
153032013-05-08 Sam Steingold <sds@gnu.org>
15304
15305 * thingatpt.el (thing-at-point): Accept optional second argument
15306 NO-PROPERTIES to strip the text properties from the return value.
15307 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15308 to `thing-at-point' instead of stripping the properties ourselves.
15309 Also, when `thing-at-point' fails to find a url, prepend "http://"
15310 to the filename at point on the assumption that the user is
15311 pointing at something like gnu.org/gnu.
15312
5cb15713
JB
153132013-05-08 Juanma Barranquero <lekktu@gmail.com>
15314
15315 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15316 * faces.el (crm-separator):
15317 Silence byte-compiler.
15318
15319 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15320 (tool-bar-map): Remove unneeded defvars.
15321
ea78b95b
LL
153222013-05-08 Leo Liu <sdl.web@gmail.com>
15323
15324 Re-work a fix for bug#10994 based on Le Wang's patch.
15325 * ido.el (ido-remove-consecutive-dups): New helper.
15326 (ido-completing-read): Use it.
15327 (ido-chop): Revert fix for bug#10994.
15328
dc7466df
AS
153292013-05-08 Adam Spiers <emacs@adamspiers.org>
15330
15331 * cus-edit.el (custom-save-variables):
15332 Pretty-print long values. (Bug#14187)
15333
9ecf672a
GM
153342013-05-08 Glenn Morris <rgm@gnu.org>
15335
15336 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15337 (m4-mode-syntax-table): Init in the defvar.
15338 (m4-mode-abbrev-table): Let define-derived-mode define it.
15339
3f555be8
TT
153402013-05-08 Tom Tromey <tromey@redhat.com>
15341
15342 * progmodes/m4-mode.el (m4-mode-syntax-table):
15343 Do not treat "_" as word constituent. (Bug#14167)
15344
7cc8ae06
GM
153452013-05-07 Glenn Morris <rgm@gnu.org>
15346
4f58bc06
GM
15347 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15348 Remove explicit eshell-isearch-cancel-map.
15349
7cc8ae06
GM
15350 * progmodes/f90.el (f90-smart-end-names): New option.
15351 (f90-smart-end): Doc fix.
15352 (f90-end-block-optional-name): New constant.
15353 (f90-block-match): Respect f90-smart-end-names.
15354
ceb57e59
SM
153552013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15356
15357 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15358 about implicit semi-colons (bug#14218).
15359
4e3f9230
YM
153602013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15361
15362 * frame.el (display-monitor-attributes-list)
15363 (frame-monitor-attributes): New functions.
15364
203a5572
LL
153652013-05-06 Leo Liu <sdl.web@gmail.com>
15366
15367 * progmodes/octave.el (octave-syntax-propertize-function): Change
15368 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15369 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 15370 (octave-completion-at-point): Rename from
203a5572
LL
15371 octave-completion-at-point-function.
15372 (inferior-octave-directory-tracker): Robustify.
15373 (octave-text-functions): Remove and fix its uses. No such things
15374 any more.
15375
ee6cff99
SM
153762013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15377
15378 * emacs-lisp/trace.el (trace--display-buffer): New function.
15379 (trace-make-advice): Use it.
15380
32985194
JL
153812013-05-06 Juri Linkov <juri@jurta.org>
15382
15383 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15384 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15385 Doc fix.
15386 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15387 in the help string. (Bug#12985)
15388
a1c700de
KD
153892013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15390
15391 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15392
c67c0839
SM
153932013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15394
323885fd
SM
15395 * progmodes/perl-mode.el: Add support for here documents.
15396 (perl-syntax-propertize-function): Match here-doc markers.
15397 (perl-syntax-propertize-special-constructs): Find their end.
15398 (perl-imenu-generic-expression): Use [:alnum:].
15399
c67c0839
SM
15400 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15401 (advice--add-function): Refresh the advice if already present
15402 (bug#14317).
15403
d491e7a8
IA
154042013-05-06 Ivan Andrus <darthandrus@gmail.com>
15405
15406 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15407
ddf9925e
GM
154082013-05-06 Glenn Morris <rgm@gnu.org>
15409
7cc3af27
GM
15410 * w32-fns.el (w32-charset-info-alist): Declare.
15411
16e343d6
GM
15412 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15413 of its defcustom properties.
15414 (eshell-cmpl-initialize): No need to load pcomplete.
15415
7d889a47
GM
15416 * generic-x.el: No need to require comint when compiling.
15417
ddf9925e
GM
15418 * net/eudc-export.el: Make it loadable without bbdb.
15419 (top-level): Use require rather than load-library.
15420 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15421 (eudc-batch-export-records-to-bbdb)
15422 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15423 Require bbdb.
15424
1e2c18df
SM
154252013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15426
15427 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15428 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15429 some tweaks, instead.
15430
02502a5f
LL
154312013-05-05 Leo Liu <sdl.web@gmail.com>
15432
15433 * progmodes/octave.el (octave-font-lock-keywords)
15434 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15435 (inferior-octave-send-list-and-digest): Improve error message.
15436 (octave-mode, inferior-octave-mode): Use setq-local.
15437 (octave-help): Set info-lookup-mode.
15438
0dc04f42
RS
154392013-05-05 Richard Stallman <rms@gnu.org>
15440
6c54491c
RS
15441 * vc/compare-w.el (compare-windows-whitespace):
15442 Treat no-break space as whitespace.
15443
0dc04f42
RS
15444 * mail/rmailsum.el (rmail-summary-rmail-update):
15445 Detect empty summary and don't change selected message.
15446 (rmail-summary-goto-msg): Likewise.
15447
df8f35df
RS
15448 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15449 Doc fixes, rename args.
15450
5356e1a3
AM
154512013-05-05 Alan Mackenzie <acm@muc.de>
15452
15453 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15454
d44014cb
JL
154552013-05-05 Juri Linkov <juri@jurta.org>
15456
15457 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15458 to not add the length of the summary segment to the return value.
15459 (Bug#14125)
15460
c129b51f
LL
154612013-05-05 Leo Liu <sdl.web@gmail.com>
15462
15463 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15464 (inferior-octave-output-filter): Remove.
15465 (octave-send-region, inferior-octave-startup): Fix callers.
15466 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15467 (octave-binary-file-extensions): New user variable.
15468 (octave-find-definition): Confirm if opening binary files.
15469 (octave-help-file): Use octave-find-definition to get the binary
15470 confirmation.
15471 (octave-help): Adjust for octave-help-file change.
15472
aa7dab97
SM
154732013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15474
15475 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15476 Merge the two entries that handle function definitions.
15477 (pascal--syntax-propertize): New const.
15478 (pascal-mode): Use it. Use setq-local.
15479
fd3a9a6b
GM
154802013-05-04 Glenn Morris <rgm@gnu.org>
15481
15482 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15483 (diary-from-outlook): Respect diary-from-outlook-function.
15484
30c7e542
SM
154852013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15486
15487 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15488 Move the declaration from C.
15489 (read-minibuffer, eval-minibuffer): Move from C.
15490 (completion-setup-function): Avoid minibuffer-completion-contents.
15491
b54f978b
LL
154922013-05-03 Leo Liu <sdl.web@gmail.com>
15493
15494 * progmodes/octave.el (octave-font-lock-keywords): Do not
15495 dehighlight 'end' in comments or strings.
30c7e542
SM
15496 (octave-completing-read, octave-goto-function-definition):
15497 New helpers.
d4d0f9b3
LL
15498 (octave-help-buffer): New user variable.
15499 (octave-help-file, octave-help-function): New button types.
15500 (octave-help): New command and bind it to C-h ;.
15501 (octave-find-definition): New command and bind it to M-.
d74a1581 15502 (user-error): Alias to error if not defined.
b54f978b 15503
27135018
LL
155042013-05-02 Leo Liu <sdl.web@gmail.com>
15505
15506 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15507 for \. (bug#14332)
15508 (octave-font-lock-keywords): Include [ and {.
15509
0d634d3a
LL
155102013-05-02 Leo Liu <sdl.web@gmail.com>
15511
15512 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15513 (inferior-octave): Remove calling comint-mode and return the buffer.
15514 (inferior-octave-startup): Cosmetic changes.
15515
b4c8295e
LL
155162013-05-02 Leo Liu <sdl.web@gmail.com>
15517
30c7e542
SM
15518 * progmodes/octave.el (octave-syntax-propertize-function):
15519 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 15520
f12ad6ec
GM
155212013-05-02 Glenn Morris <rgm@gnu.org>
15522
15523 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15524 * desktop.el (vc-dir-mode): Just autoload it here.
15525
30cac1e0
AM
155262013-05-02 Alan Mackenzie <acm@muc.de>
15527
15528 Eliminate variable c-standard-font-lock-fontify-region-function.
15529 * progmodes/cc-mode.el
15530 (c-standard-font-lock-fontify-region-function): Remove.
15531 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15532
d8ef28b1
LL
155332013-05-01 Leo Liu <sdl.web@gmail.com>
15534
2640d52e 15535 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 15536 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 15537 variables were removed from Octave in 2007.
d8ef28b1
LL
15538 (inferior-octave-startup): Fix uses.
15539 (comint-line-beginning-position): Remove compatibility code for
15540 emacs 21.
15541
ac63ec89
JL
155422013-05-01 Juri Linkov <juri@jurta.org>
15543
15544 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15545
9e9be37c
JL
155462013-05-01 Juri Linkov <juri@jurta.org>
15547
15548 * comint.el (comint-previous-matching-input): Don't print message
15549 "History item: %d" when `isearch-mode' is active.
15550 (comint-history-isearch-message): Print message "History item: %d"
15551 when `comint-input-ring-index' is not empty and this function is
15552 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15553
9b92c13b
LL
155542013-05-01 Leo Liu <sdl.web@gmail.com>
15555
15556 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15557 definitions. Use completion-at-point to insert keywords.
15558 (octave-abbrev-start): Remove.
15559 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15560
b12d33d7
LL
155612013-04-30 Leo Liu <sdl.web@gmail.com>
15562
15563 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15564 change.
15565
3d1c39fa
AM
155662013-04-30 Alan Mackenzie <acm@muc.de>
15567
15568 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
15569 * progmodes/cc-engine.el (c-back-over-member-initializers):
15570 new function.
3d1c39fa
AM
15571 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15572 (most) member init lists.
15573
5147fc17
RS
155742013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15575
15576 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15577 variable.
15578
5b78d7fc
LL
155792013-04-30 Leo Liu <sdl.web@gmail.com>
15580
15581 * progmodes/octave.el (octave-variables): Remove. No builtin
15582 variables any more. All converted to functions.
15583 (octave-font-lock-keywords, octave-completion-at-point-function):
15584 Fix uses.
15585 (octave-font-lock-texinfo-comment): New user variable.
15586 (octave-texinfo-font-lock-keywords): New variable for texinfo
15587 comment block.
15588 (octave-function-comment-block): New face.
15589 (octave-font-lock-texinfo-comment): New function.
15590 (octave-mode): Font lock texinfo comment block.
15591
38d8527b
LL
155922013-04-29 Leo Liu <sdl.web@gmail.com>
15593
15594 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15595 indexing expression.
15596 (octave-continuation-string): Do not use \.
15597 (inferior-octave-complete-impossible): Remove.
15598 (inferior-octave-completion-table)
15599 (inferior-octave-completion-at-point): Remove its uses.
15600 (inferior-octave-startup): completion_matches was introduced to
15601 Octave in 1996 so safe to assume it.
15602 (octave-function-file-comment): Improve to follow how Octave does it.
15603 (octave-update-function-file-comment): Tweak.
15604
2ec12cb0
LL
156052013-04-29 Leo Liu <sdl.web@gmail.com>
15606
15607 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15608 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15609 (octave-function-file-comment): Fix typo.
15610 (octave-sync-function-file-names): Use read-char-choice.
15611
6eaed048
JB
156122013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15613
15614 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15615 to t for the less important warnings.
15616
3ffa2d4f
DH
156172013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15618
15619 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15620
685c9501
GM
156212013-04-27 Glenn Morris <rgm@gnu.org>
15622
15623 * vc/log-view.el (log-view-current-entry):
15624 Treat "---" separator lines as part of the following rev. (Bug#14169)
15625
0208ede7
JL
156262013-04-27 Juri Linkov <juri@jurta.org>
15627
15628 * subr.el (read-number): Doc fix about using it by interactive
15629 code letter `n'. (Bug#14254)
15630
5db9dace
JL
156312013-04-27 Juri Linkov <juri@jurta.org>
15632
15633 * desktop.el (desktop-auto-save-timeout): New option.
15634 (desktop-file-checksum): New variable.
15635 (desktop-save): Add optional arg `auto-save' and don't auto-save
15636 if nothing changed.
15637 (desktop-auto-save-timer): New variable.
15638 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15639 (after-init-hook): Call `desktop-auto-save-set-timer'.
15640 Suggested by Reuben Thomas <rrt@sc3d.org> in
15641 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15642
b7260dd4
LL
156432013-04-27 Leo Liu <sdl.web@gmail.com>
15644
15645 * progmodes/octave.el (octave-function-file-p)
15646 (octave-skip-comment-forward, octave-function-file-comment)
15647 (octave-update-function-file-comment): New functions.
15648 (octave-mode-map): Bind C-c ; to
15649 octave-update-function-file-comment.
15650 (octave-mode-menu): Add octave-update-function-file-comment.
15651 (octave-mode, inferior-octave-mode): Fix doc-string.
15652 (octave-insert-defun): Conform to Octave's coding convention.
15653 (Bug#14285)
15654
15655 * files.el (basic-save-buffer): Don't let errors in
15656 before-save-hook prevent saving buffer.
15657
c46da669
RW
156582013-04-20 Roland Winkler <winkler@gnu.org>
15659
15660 * faces.el (read-face-name): Use completing-read if arg multiple
15661 is nil.
15662
a81ee1eb
IL
156632013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15664
15665 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
15666 displayed, move point to after the totals line.
15667 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
15668 for the details.
15669
4fac34ce
SM
156702013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15671
15672 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15673 Add current dir to the load-path.
15674 (package-generate-autoloads): Don't rely on
15675 autoload-ensure-default-file.
15676
f6bfc063
RT
156772013-04-26 Reuben Thomas <rrt@sc3d.org>
15678
d40ab5cf
BG
15679 * textmodes/remember.el (remember-store-in-files): Document that
15680 the file name format is passed to `format-time-string'.
f6bfc063 15681
e55d3b04
LL
156822013-04-26 Leo Liu <sdl.web@gmail.com>
15683
15684 * progmodes/octave.el (octave-sync-function-file-names): New function.
15685 (octave-mode): Use it in before-save-hook.
15686
e53052d3
SM
156872013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15688
140ef50c
SM
15689 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15690 (bug#14274).
15691
e53052d3
SM
15692 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15693 \n and comment, even if it's not an implicit ; (bug#14218).
15694
af80458d 156952013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
15696
15697 * subr.el (read-number): Once more use `read' rather than
15698 `string-to-number', to trap non-numeric input. (Bug#14254)
15699
af80458d 157002013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
15701
15702 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15703 Use `syntax-multiline' text property consistently instead of
8a621d53 15704 `font-lock-multiline'. (Bug#14237)
70203c2e 15705
e6ea1f6c
GM
157062013-04-26 Glenn Morris <rgm@gnu.org>
15707
15708 * emacs-lisp/shadow.el (list-load-path-shadows):
15709 No longer necessary to check for duplicate simple.el, since
15710 2012-07-07 change to init_lread to not include installation lisp
15711 directories in load-path when running uninstalled. (Bug#14270)
15712
070ccca4
LL
157132013-04-26 Leo Liu <sdl.web@gmail.com>
15714
15715 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15716 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 15717 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
15718 octave-in-string-or-comment-p.
15719 (octave-in-comment-p, octave-in-string-p)
15720 (octave-in-string-or-comment-p): Replace defsubst with defun.
15721
9d1c5fb6
PE
157222013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15723
15724 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15725
c034abda
BG
157262013-04-25 Bastien Guerry <bzg@gnu.org>
15727
15728 * textmodes/remember.el (remember-data-directory)
15729 (remember-directory-file-name-format): Fix custom types.
15730
584ea277
LL
157312013-04-25 Leo Liu <sdl.web@gmail.com>
15732
e53052d3
SM
15733 * progmodes/octave.el (octave-completion-at-point-function):
15734 Make use of inferior octave process.
584ea277
LL
15735 (octave-initialize-completions): Remove.
15736 (inferior-octave-completion-table): New function.
15737 (inferior-octave-completion-at-point): Use it.
15738 (octave-completion-alist): Remove.
15739
1693b06a
SM
157402013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15743 (opascal-mode-syntax-table): New var.
15744 (opascal-literal-kind, opascal-is-literal-end)
15745 (opascal-literal-token-at): Rewrite.
15746 (opascal--literal-start-re, opascal-font-lock-keywords)
15747 (opascal--syntax-propertize): New constants.
15748 (opascal-font-lock-defaults): Adjust.
15749 (opascal-mode): Use them. Set comment-<foo> variables as well.
15750 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15751 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15752 (delphi-other-face, opascal-other-face): Remove face variables.
15753 (opascal-save-state): Remove macro.
15754 (opascal-fontifying-progress-step): Remove constant.
15755 (opascal--ignore-changes): Remove var.
15756 (opascal-set-token-property, opascal-parse-next-literal)
15757 (opascal-is-stable-literal, opascal-complete-literal)
15758 (opascal-is-literal-start, opascal-face-of)
15759 (opascal-parse-region, opascal-parse-region-until-stable)
15760 (opascal-fontify-region, opascal-after-change)
15761 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15762 (opascal-debug-parse-region, opascal-debug-parse-window)
15763 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15764 (opascal-debug-fontify-buffer): Remove.
15765 (opascal-debug-mode-map): Adjust accordingly.
15766
be64c05d
LL
157672013-04-25 Leo Liu <sdl.web@gmail.com>
15768
15769 Merge octave-mod.el and octave-inf.el into octave.el with some
15770 cleanups.
15771 * progmodes/octave.el: New file renamed from octave-mod.el.
15772 * progmodes/octave-inf.el: Merged into octave.el.
15773 * progmodes/octave-mod.el: Renamed to octave.el.
15774
d79d37bd
TH
157752013-04-25 Tassilo Horn <tsdh@gnu.org>
15776
15777 * textmodes/reftex-vars.el
15778 (reftex-label-ignored-macros-and-environments): New defcustom.
15779
15780 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15781
ced3fc5d
SM
157822013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15783
15784 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15785 (smie-indent-keyword): Improve the check to ensure that the next
15786 comment is really on the same line.
15787 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15788
15789 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15790 semi-colons if the line is not otherwise empty (bug#14218).
15791
1c141dad
GM
157922013-04-25 Glenn Morris <rgm@gnu.org>
15793
15794 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15795
5058062a
SM
157962013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15797
15798 * progmodes/opascal.el (opascal-set-token-property): Rename from
15799 opascal-set-text-properties and only set `token' (bug#14134).
15800 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15801 (opascal-literal-text-properties): Remove.
15802 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15803 Adjust callers.
15804
5db9dace 158052013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
15806
15807 * textmodes/remember.el (remember-handler-functions): Add an
15808 option for a new handler `remember-store-in-files'.
15809 (remember-data-directory, remember-directory-file-name-format):
15810 New options.
15811 (remember-store-in-files): New function to store remember notes
15812 as separate files within a directory.
15813
4391916c
MH
158142013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15815
15816 * progmodes/compile.el (compilation-next-error-function):
15817 Pass "formats" to compilation-find-file (bug#11777).
15818
bb7cdf58
GM
158192013-04-24 Glenn Morris <rgm@gnu.org>
15820
3b8fe752 15821 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
15822 * vc/vc-hg.el (vc-hg-print-log):
15823 * vc/vc-svn.el (vc-svn-print-log):
15824 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15825
bb7cdf58
GM
15826 * vc/vc-bzr.el (vc-bzr-print-log):
15827 * vc/vc-cvs.el (vc-cvs-print-log):
15828 * vc/vc-git.el (vc-git-print-log):
15829 * vc/vc-hg.el (vc-hg-print-log):
15830 * vc/vc-mtn.el (vc-mtn-print-log):
15831 * vc/vc-rcs.el (vc-rcs-print-log):
15832 * vc/vc-sccs.el (vc-sccs-print-log):
15833 * vc/vc-svn.el (vc-svn-print-log):
15834 * vc/vc.el (vc-print-log-internal): Doc fixes.
15835
b46a056e
GM
158362013-04-23 Glenn Morris <rgm@gnu.org>
15837
15838 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15839 Remove venerable code attempting to avoid substitute-command-keys.
15840
0aecf718
TH
158412013-04-23 Tassilo Horn <tsdh@gnu.org>
15842
4391916c
MH
15843 * textmodes/reftex-vars.el (reftex-label-regexps):
15844 Call `reftex-compile-variables' after changes to this variable.
0aecf718 15845
117f94cf
SM
158462013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15847
4391916c 15848 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
15849 Use lexical-binding.
15850 (jit-lock-force-redisplay): Use markers, check buffer's continued
15851 existence and beware narrowed buffers.
15852 (jit-lock-fontify-now): Adjust call accordingly.
15853
1d829c64
SM
158542013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15855
15856 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15857 to avoid misleading the user.
15858
72d548a9
LL
158592013-04-22 Leo Liu <sdl.web@gmail.com>
15860
15861 * info-look.el: Prefer latex2e.info. (Bug#14240)
15862
d0853629
MA
158632013-04-22 Michael Albinus <michael.albinus@gmx.de>
15864
15865 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15866
15867 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 15868 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
15869 (tramp-set-completion-function, tramp-parse-putty):
15870 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15871 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15872 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15873 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15874 (tramp-call-local-coding-command): Use `tramp-call-process'
15875 instead of `tramp-compat-call-process'.
15876
15877 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15878 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 15879 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 15880 (tramp-find-inline-compress): Improve traces.
d0853629
MA
15881 (tramp-maybe-send-script): Check for Perl binary.
15882 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15883
38cc0210
DU
158842013-04-22 Daiki Ueno <ueno@gnu.org>
15885
15886 * epg.el (epg-context-pinentry-mode): New function.
15887 (epg-context-set-pinentry-mode): New function.
15888 (epg--start): Pass --pinentry-mode option to gpg command.
15889
cc641ee1
XF
158902013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15891
02d844b5 15892 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 15893 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 15894 `completion-at-point'. (Bug#13774)
5d4e5c31 15895
cc641ee1
XF
15896 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15897 default key binding for `describe-distribution' has been moved to
15898 `C-h C-o'. (Bug#13970)
15899
1b42ee43
GM
159002013-04-21 Glenn Morris <rgm@gnu.org>
15901
15902 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15903 Add doc strings.
15904 (vc-print-log): Clarify interactive prompt.
15905
a6d63d97
GM
159062013-04-20 Glenn Morris <rgm@gnu.org>
15907
15908 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15909 No longer include timestamp etc information.
15910
d7f5c16f
RW
159112013-04-20 Roland Winkler <winkler@gnu.org>
15912
15913 * faces.el (read-face-name): Bug fix, return just one face if arg
15914 multiple is nil. (Bug#14209)
15915
bcd7a0a4
SM
159162013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15919 (remove-function): Autoload.
15920
15921 * comint.el (comint-redirect-original-filter-function): Remove.
15922 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
15923 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15924 (vc-cvs-annotate-command):
bcd7a0a4
SM
15925 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15926 * progmodes/prolog.el (prolog-consult-compile):
15927 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15928 Use add/remove-function instead.
15929 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15930 (gud-tooltip-process-output, gud-tooltip-tips):
15931 Use add/remove-function instead.
15932 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15933 (scheme-interaction-mode, exit-scheme-interaction-mode):
15934 Use add/remove-function instead.
15935
15936 * vc/vc-dispatcher.el: Use lexical-binding.
15937 (vc--process-sentinel): Rename from vc-process-sentinel.
15938 Change last arg to be the code to run. Don't use vc-previous-sentinel
15939 and vc-sentinel-commands any more.
15940 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15941 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15942
e36b2d20 159432013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 15944
bcd7a0a4 15945 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 15946 Handle function names with a single character. (Bug#14111)
4d3268ba 15947
27821a89 159482013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
15949
15950 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15951 for subroutines defined in an eval (bug#14182).
15952
7d688336
TV
159532013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15954
15955 * bookmark.el (bookmark-completing-read): Improve handling of empty
15956 string (bug#14176).
15957
31dcede0
SM
159582013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15959
15960 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15961
adc31213
FEG
159622013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15963
15964 New faster Imenu implementation (bug#14058).
9b017563 15965 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
15966 (python-imenu-format-item-label-function)
15967 (python-imenu-format-parent-item-label-function)
15968 (python-imenu-format-parent-item-jump-label-function):
15969 New vars.
15970 (python-imenu-format-item-label)
15971 (python-imenu-format-parent-item-label)
15972 (python-imenu-format-parent-item-jump-label)
15973 (python-imenu--put-parent, python-imenu--build-tree)
15974 (python-imenu-create-index, python-imenu-create-flat-index)
15975 (python-util-popn): New functions.
15976 (python-mode): Set imenu-create-index-function to
15977 python-imenu-create-index.
15978
cdca8255
SM
159792013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 * winner.el (winner-active-region): Use region-active-p, activate-mark
15982 and deactivate-mark (bug#14225).
15983
15984 * simple.el (deactivate-mark): Don't inline it.
15985
beb42340
MA
159862013-04-18 Michael Albinus <michael.albinus@gmx.de>
15987
15988 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15989
fc7f4d7e
TH
159902013-04-18 Tassilo Horn <tsdh@gnu.org>
15991
15992 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15993 file extensions from the archive-mode entry in order to prefer
15994 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15995
29f47822
LL
159962013-04-18 Leo Liu <sdl.web@gmail.com>
15997
15998 * bindings.el (help-event-list): Add ?\?.
15999
d36ed1c8
SM
160002013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16001
16002 * subr.el (with-wrapper-hook): Declare obsolete.
16003 * simple.el (filter-buffer-substring-function): New hook.
16004 (filter-buffer-substring): Use it.
16005 (filter-buffer-substring-functions): Mark obsolete.
16006 * minibuffer.el (completion-in-region-function): New hook.
16007 (completion-in-region): Use it.
16008 (completion-in-region-functions): Mark obsolete.
16009 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16010 * abbrev.el (abbrev-expand-function): New hook.
16011 (expand-abbrev): Use it.
16012 (abbrev-expand-functions): Mark obsolete.
16013 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16014 and :filter-return.
16015
04754d36
FEG
160162013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16017
16018 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16019 and do not care about match data.
16020
dd8791e9
SM
160212013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16024 completion tables when completing error conditions and
16025 `declare' arguments.
16026 (lisp-complete-symbol, field-complete): Mark as obsolete.
16027 (check-parens): Unmatched parens are user errors.
16028 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16029
ffe54a13
AM
160302013-04-17 Michal Nazarewicz <mina86@mina86.com>
16031
dd8791e9
SM
16032 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16033 command changed buffer (ie. `flyspell-pre-buffer' is not current
16034 buffer), which prevents making decisions based on invalid value of
16035 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16036 cause an error when `flyspell-pre-point' was nil after switching
16037 buffers.
16038 (flyspell-post-command-hook): No longer needs to change buffers when
16039 checking pre-word. While at it remove unnecessary progn.
ffe54a13 16040
ec7e39f2
AM
160412013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16042
16043 * textmodes/ispell.el (ispell-add-per-file-word-list):
16044 Fix `flyspell-correct-word-before-point' error when accepting
16045 words and `coment-padding' is an integer by using
16046 `comment-normalize-vars' (Bug #14214).
16047
083850a6
FEG
160482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16049
16050 New defun movement commands.
16051 * progmodes/python.el (python-nav--syntactically)
16052 (python-nav--forward-defun, python-nav-backward-defun)
16053 (python-nav-forward-defun): New functions.
16054
619ed6e1
FEG
160552013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16056
16057 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16058 (python-syntax-context): Use named compiler-macro for backwards
16059 compatibility with Emacs 24.x.
16060
7a1beb6c
LL
160612013-04-17 Leo Liu <sdl.web@gmail.com>
16062
16063 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16064 octave-hide-process-buffer.
16065
2d3fa3e5
SM
160662013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16067
16068 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16069 (bug#14216).
16070
7ce5be54
JPG
160712013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16072
16073 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16074 Fix adjustment of offset when receiving incomplete responses from GDB
16075 (bug#14129).
16076
351edece
SM
160772013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16080 python-mode-abbrev-table.
16081 (python-skeleton-define): Adjust accordingly.
16082 (python-mode-abbrev-table): New table that inherits from it so that
16083 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16084
16085 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16086 (abbrev-symbol): Use it.
16087 (abbrev--before-point): Use it since we already handle inheritance.
16088
613f9481
LL
160892013-04-16 Leo Liu <sdl.web@gmail.com>
16090
16091 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16092 binding to info-lookup-symbol.
16093
51646b62
JB
160942013-04-16 Juanma Barranquero <lekktu@gmail.com>
16095
16096 * minibuffer.el (completion--twq-all):
16097 * term/ns-win.el (ns-initialize-window-system):
16098 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16099
efb3f01d
SM
161002013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16101
36c0a301
SM
16102 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16103 global bindings.
16104
efb3f01d
SM
16105 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16106
fb549d64
DG
161072013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16108
16109 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16110 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16111 to nil.
16112 (ruby-end-of-defun): Remove the unused arg, change the docstring
16113 to reflect that this function is only used as the value of
16114 `end-of-defun-function'.
16115 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16116 to reflect an earlier change that beginning/end-of-defun functions
16117 jump between methods in a class definition, as well as top-level
16118 functions.
16119
21e8fe2f
SM
161202013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * minibuffer.el (minibuffer-complete): Don't just scroll
16123 a *Completions* that's been iconified.
16124 (minibuffer-force-complete): Make sure repetitions do cycle when going
16125 through completion-in-region -> minibuffer-complete.
16126
20e527d0
AM
161272013-04-15 Alan Mackenzie <acm@muc.de>
16128
16129 Correct the placement of c-cpp-delimiters when there're #s not at
16130 col 0.
16131
16132 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16133 place a submatch around the #.
21e8fe2f
SM
16134 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16135 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
16136 on the #, not BOL.
16137
dabefae5
SM
161382013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16139
16140 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16141 (advice--member-p): New arg `name'.
16142 (advice--add-function, advice-member-p): Use it (bug#14202).
16143
85c9ab64
AM
161442013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16145
16146 Reformulate java imenu-generic-expression.
16147 The old expression contained ill formed regexps.
16148
16149 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16150 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16151 (cc-imenu-java-method-arg-regexp): New defconsts.
16152 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 16153 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
16154 handling of spaces in the regexp.
16155
0f821d99
AM
161562013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16157
16158 * textmodes/ispell.el (ispell-command-loop): Remove
16159 flyspell highlight of a word when ispell accepts it (bug #14178).
16160
eb922adf
MA
161612013-04-15 Michael Albinus <michael.albinus@gmx.de>
16162
16163 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16164 uses code from the previous `ange-ftp-run-real-handler'.
16165 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16166 only in case that function exist. This is needed for proper
16167 unloading of Tramp.
16168
4d9a0979
TH
161692013-04-15 Tassilo Horn <tsdh@gnu.org>
16170
16171 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16172
16173 * textmodes/reftex.el (reftex-compile-variables): Use it.
16174
a829b0dc
SM
161752013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16176
91e8293c
SM
16177 * files.el (normal-mode): Only use default major-mode if no other mode
16178 was specified.
16179
830aed4d
SM
16180 * emacs-lisp/trace.el (trace-values): New function.
16181
a829b0dc
SM
16182 * files.el: Allow : in local variables (bug#14089).
16183 (hack-local-variable-regexp): New var.
16184 (hack-local-variables-prop-line, hack-local-variables): Use it.
16185
7ae9f0fb
RW
161862013-04-13 Roland Winkler <winkler@gnu.org>
16187
16188 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16189 data before it gets modified by bibtex-beginning-of-entry.
16190
6646e848
RW
161912013-04-13 Roland Winkler <winkler@gnu.org>
16192
16193 * textmodes/bibtex.el (bibtex-url): Doc fix.
16194
161952013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
16196
16197 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16198 does not visit a BibTeX file, exclude it from the list of buffers
16199 returned by bibtex-initialize.
16200
0aa3616e
SB
162012013-04-13 Stephen Berman <stephen.berman@gmx.net>
16202
16203 * window.el (split-window): Remove interactive form, since as a
16204 command this function is a special case of split-window-below.
16205 Correct doc string.
16206
011cddd6
RW
162072013-04-12 Roland Winkler <winkler@gnu.org>
16208
16209 * faces.el (read-face-name): Do not override value of arg default.
16210 Allow single faces and strings as default values. Remove those
16211 elements from return value that are not faces.
16212 (describe-face): Simplify.
16213 (face-at-point): New optional args thing and multiple so that this
16214 function can provide the same functionality previously provided by
16215 read-face-name.
16216 (make-face-bold, make-face-unbold, make-face-italic)
16217 (make-face-unitalic, make-face-bold-italic, invert-face)
16218 (modify-face, read-face-and-attribute): Use face-at-point.
16219
16220 * cus-edit.el (customize-face, customize-face-other-window)
16221 * cus-theme.el (custom-theme-add-face)
16222 * face-remap.el (buffer-face-set)
16223 * facemenu.el (facemenu-set-face): Use face-at-point.
16224
f24e0036
MA
162252013-04-12 Michael Albinus <michael.albinus@gmx.de>
16226
16227 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16228
da3cda2d
TH
162292013-04-10 Tassilo Horn <tsdh@gnu.org>
16230
16231 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16232 off leading { and trailing } from field values.
16233
15e54145
SM
162342013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16235
78ce603d
SM
16236 * emacs-lisp/timer.el (timer--check): New function.
16237 (timer--time, timer-set-function, timer-event-handler): Use it.
16238 (timer-set-idle-time): Simplify.
16239 (timer--activate): CSE.
16240 (timer-event-handler): Give more info in error message.
16241 (internal-timer-start-idle): New function, moved from C.
16242
15e54145
SM
16243 * mpc.el (mpc-proc): Add `restart' argument.
16244 (mpc-proc-cmd): Use it.
16245 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16246 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16247 less often.
16248
7144c627
MY
162492013-04-10 Masatake YAMATO <yamato@redhat.com>
16250
16251 * progmodes/sh-script.el: Implement `sh-mode' own
16252 `add-log-current-defun-function' (bug#14112).
16253 (sh-current-defun-name): New function.
16254 (sh-mode): Use the function.
16255
b39792eb
BG
162562013-04-09 Bastien Guerry <bzg@gnu.org>
16257
16258 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16259
8acdeb71
SM
162602013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16261
6fcdab68
SM
16262 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16263
8acdeb71
SM
16264 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16265 timer (bug#14156).
16266
e3e7b504
NF
162672013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16268
16269 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16270 declaration.
16271
201bb296
LL
162722013-04-07 Leo Liu <sdl.web@gmail.com>
16273
16274 * pcmpl-x.el: New file.
16275
ebb19708
DA
162762013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16277
16278 Do not set x-display-name until X connection is established.
16279 This is needed to prevent from weird situation described at
16280 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16281 * frame.el (make-frame): Set x-display-name after call to
16282 window system initialization function, not before.
16283 * term/x-win.el (x-initialize-window-system): Add optional
16284 display argument and use it.
16285 * term/w32-win.el (w32-initialize-window-system):
16286 * term/ns-win.el (ns-initialize-window-system):
16287 * term/pc-win.el (msdos-initialize-window-system):
16288 Add compatible optional display argument.
16289
33bb237a
EZ
162902013-04-06 Eli Zaretskii <eliz@gnu.org>
16291
16292 * files.el (normal-backup-enable-predicate): On MS-Windows and
16293 MS-DOS compare truenames of temporary-file-directory and of the
16294 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16295 don't fail comparison by compare-strings. Also, compare file
16296 names case-insensitively on MS-Windows and MS-DOS.
16297
134abf1f
SM
162982013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16299
16300 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16301 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16302
d695cb94
DG
163032013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16304
e3e7b504
NF
16305 * whitespace.el (whitespace-color-on, whitespace-color-off):
16306 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 16307
f4ad7ea1 163082013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
16309
16310 * ispell.el (ispell-set-spellchecker-params):
16311 Really set `ispell-args' for all equivs.
16312
632556e4
SM
163132013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16314
16315 * ido.el (ido-completions): Use extra elements of ido-decorations
16316 (bug#14143).
16317 (ido-decorations): Update docstring.
16318
2a417372
MA
163192013-04-05 Michael Albinus <michael.albinus@gmx.de>
16320
16321 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16322 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16323 nil during initialization, in order not to miss changes since the
16324 file was opened. (Bug#14140)
16325
fc164b0c
LL
163262013-04-05 Leo Liu <sdl.web@gmail.com>
16327
16328 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16329
0ccecc08
JB
163302013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16331
16332 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16333
51af1aa2
GM
163342013-04-04 Glenn Morris <rgm@gnu.org>
16335
16336 * electric.el (electric-pair-inhibit-predicate): Add :version.
16337
b208ebc6
SM
163382013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16341 when a package is required several times (bug#14082).
16342
f3d3eaf0
RW
163432013-04-04 Roland Winkler <winkler@gnu.org>
16344
16345 * faces.el (read-face-name): Behave as promised by the docstring.
16346 Assume that arg default is a list of faces.
16347 (describe-face): Call read-face-name with list of default faces.
16348
2575da50
TV
163492013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16350
16351 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16352 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16353 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16354 the header.
16355 (bookmark-exit-hook-internal): Save even if list is empty.
16356
397703b4
YH
163572013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16358
16359 * emacs-lisp/package.el (package-pinned-packages): New var.
16360 (package--add-to-archive-contents): Obey it (bug#14118).
16361
691e26ae
AM
163622013-04-03 Alan Mackenzie <acm@muc.de>
16363
8a621d53
JB
16364 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16365 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
16366
16367 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16368 parameter `not-in-delimiter'. Handle being inside comment opener.
16369 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16370 character in case we're typing a '*' after a '/'.
16371 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16372 instead by passing the parameter to c-state-pp-to-literal.
16373
16374 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16375 for elt. 7 of a parse state.
16376
4b725a70
PE
163772013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16378
16379 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16380 * international/latin1-disp.el, international/mule-util.el:
16381 * language/cyril-util.el, language/european.el, language/ind-util.el:
16382 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16383 * language/tibetan.el, language/viet-util.el:
16384 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16385
15c579f0
SM
163862013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16387
16388 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16389 (electric-pair-post-self-insert-function): Use it.
16390 (electric-pair-default-inhibit): New function, extracted from
16391 electric-pair-post-self-insert-function.
16392
a77e2924
RW
163932013-03-31 Roland Winkler <winkler@gnu.org>
16394
16395 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16396
2bd8a4a8
SM
163972013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16398
16399 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16400
8d3655be 164012013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
16402
16403 Un-indent after "pass" and "return" statements (Bug#13888)
16404 * progmodes/python.el (python-indent-block-enders): New var.
16405 (python-indent-calculate-indentation): Use it.
16406
8d3655be 164072013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
16408
16409 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16410 defun. Defining it as defalias could introduce too eager
16411 byte-compiler optimization. (Bug#14030)
16412
8d3655be 164132013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
16414
16415 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16416
0b1619da
LL
164172013-03-30 Leo Liu <sdl.web@gmail.com>
16418
16419 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16420 (kmacro-execute-from-register): Pass the keyboard macro to
16421 kmacro-call-macro or repeating won't work correctly.
16422
0b938190
TZ
164232013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16424
16425 * progmodes/subword.el: Back to using `forward-symbol'.
16426
16427 * subr.el (forward-whitespace, forward-symbol)
16428 (forward-same-syntax): Move from thingatpt.el.
16429
35710234
LL
164302013-03-29 Leo Liu <sdl.web@gmail.com>
16431
16432 * kmacro.el (kmacro-to-register): New command.
16433 (kmacro-execute-from-register): New function.
16434 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16435
efc0bb73
SM
164362013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16437
16438 * mpc.el: Use defvar-local and setq-local.
16439 (mpc--proc-connect): Connection failures are not bugs.
16440 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16441 (mpc-volume-map): Bind to the up-events.
16442
75a2f981
TZ
164432013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16444
16445 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16446 instead of `forward-symbol'.
16447
17c781d1
SM
164482013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16451 (edebug--recursive-edit): Use it.
16452 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16453 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16454
f67bfbcf
LL
164552013-03-28 Leo Liu <sdl.web@gmail.com>
16456
16457 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16458
b59f639d
EZ
164592013-03-27 Eli Zaretskii <eliz@gnu.org>
16460
16461 * facemenu.el (list-colors-callback): New defvar.
16462 (list-colors-redisplay): New function.
16463 (list-colors-display): Install list-colors-redisplay as the
16464 revert-buffer-function. (Bug#14063)
16465
f557c1b1
SM
164662013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16467
b1da2957
SM
16468 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16469 and suffixes don't overlap (bug#14061).
16470
f557c1b1
SM
16471 * case-table.el: Use lexical-binding.
16472 (case-table-get-table): New function.
16473 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16474
002668e1
TZ
164752013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16476
16477 * progmodes/subword.el: Add `superword-mode' to do word motion
16478 over symbol_words (parallels and leverages `subword-mode' which
16479 does word motion inside MixedCaseWords).
16480
73572c72
AG
164812013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16482
78b8f320 16483 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 16484 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 16485
69b2c07e
SM
164862013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16487
16488 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16489 Change return value to be a sexp. Delay `get-buffer' to after
16490 restoring the desktop (bug#13951).
16491
08bb5ee2
LL
164922013-03-26 Leo Liu <sdl.web@gmail.com>
16493
16494 * register.el: Move semantic tag handling back to
16495 cedet/semantic/senator.el. (Bug#14052)
16496
8d4c974e
SM
164972013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16498
16499 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16500 into the prompt either (bug#13963).
16501
b234d92c
SM
165022013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16505 part of "(error-foo)".
16506
ddfa3cb4
JL
165072013-03-24 Juri Linkov <juri@jurta.org>
16508
16509 * replace.el (list-matching-lines-prefix-face): New defcustom.
16510 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16511 `occur-engine' if `face-differs-from-default-p' returns t.
16512 (occur-engine): Add `,' inside backquote construct to evaluate
16513 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16514 Pass `prefix-face' to the functions `occur-context-lines' and
16515 `occur-engine-add-prefix'.
16516 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16517 `prefix-face' and propertize the prefix with `prefix-face'.
16518 (Bug#14017)
16519
7b0e2f85
LL
165202013-03-24 Leo Liu <sdl.web@gmail.com>
16521
16522 * nxml/rng-valid.el (rng-validate-while-idle)
16523 (rng-validate-quick-while-idle): Guard against deleted buffer.
16524 (Bug#13999)
16525
16526 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16527 is the last entry in kill-buffer-hook.
16528
16529 * files.el (kill-buffer-hook): Doc fix.
16530
b3082f49
DG
165312013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16532
b234d92c
SM
16533 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16534 Make it safe-local.
bde73d27 16535
b3082f49
DG
16536 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16537
a320a2db
LL
165382013-03-23 Leo Liu <sdl.web@gmail.com>
16539
7e74b0fb
LL
16540 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16541 Remove.
16542
16543 * nxml/rng-valid.el (rng-validate-mode)
16544 (rng-after-change-function, rng-do-some-validation):
16545 * nxml/rng-maint.el (rng-validate-buffer):
16546 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16547 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16548 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16549 (nxml-extend-after-change-region): Use with-silent-modifications.
16550
a320a2db
LL
16551 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16552 timer-idle-list.
16553
16554 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16555 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16556 timer-idle-list. (Bug#13999)
16557
e38e6780
JL
165582013-03-23 Juri Linkov <juri@jurta.org>
16559
16560 * info.el (info-index-match): New face.
16561 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16562 main pattern and add text properties with the new face to matches
16563 in index entries relative to the beginning of the index entry.
16564 (Bug#14015)
16565
e8cc7880
DE
165662013-03-21 Eric Ludlam <zappo@gnu.org>
16567
39c87140 16568 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
16569 Inhibit read only while inserting objects.
16570
9bb0d822
TZ
165712013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16572
16573 * progmodes/cfengine.el: Update docs to mention
16574 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16575 symbol motion. Remove "_" from the word syntax.
16576
aa703640
TZ
165772013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16578
16579 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16580 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16581
afff09d0
JL
165822013-03-20 Juri Linkov <juri@jurta.org>
16583
16584 * info.el (Info-next-reference-or-link)
16585 (Info-prev-reference-or-link): New functions.
16586 (Info-next-reference, Info-prev-reference): Use them.
16587 (Info-try-follow-nearest-node): Handle footnote navigation.
16588 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16589
9a1ff164
SM
165902013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16591
16592 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16593 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16594
2667d15d
PE
165952013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16596
16597 Suppress unnecessary non-ASCII chatter during build process.
16598 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16599 (batch-skkdic-convert): Suppress most of the chatter.
16600 It's not needed so much now that machines are faster,
16601 and its non-ASCII component was confusing; see Dmitry Gutov in
16602 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16603
438b0579
LL
166042013-03-20 Leo Liu <sdl.web@gmail.com>
16605
16606 * ido.el (ido-chop): Fix bug#10994.
16607
c128ab07
DG
166082013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16609
16610 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16611 Remove vars.
9a1ff164
SM
16612 (whitespace-color-on, whitespace-color-off):
16613 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 16614
0e6008c5
SM
166152013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16616
16617 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16618 remapping in mode-line.
16619 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16620
627b52b0
DG
166212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16622
16623 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16624 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
16625 (whitespace-font-lock-keywords): Change description.
16626 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16627 the constructed keywords instead.
16628 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 16629
50c3a20b
LL
166302013-03-19 Leo Liu <sdl.web@gmail.com>
16631
16632 * progmodes/compile.el (compilation-display-error): New command.
16633 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16634 C-o. (Bug#13992)
16635
2aa2157b
PE
166362013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16637
16638 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16639
e477dbfa
JD
166402013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16641
16642 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16643
64ab82d1
MA
166442013-03-18 Michael Albinus <michael.albinus@gmx.de>
16645
16646 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16647
16648 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16649 * net/tramp-gvfs.el (top):
16650 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16651 (tramp-handle-shell-command): Use it.
16652 (tramp-dissect-file-name): Raise an error when hostname is a
16653 method name, and neither method nor user is specified.
16654
16655 * net/trampver.el: Update release number.
16656
33cef733
LL
166572013-03-18 Leo Liu <sdl.web@gmail.com>
16658
16659 Make sure eldoc can be turned off properly.
16660 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16661 eldoc-mode.
16662 (eldoc-display-message-p): Revert last change.
16663 (eldoc-display-message-no-interference-p)
16664 (eldoc-print-current-symbol-info): Tweak.
16665
2167b7b2
TH
166662013-03-18 Tassilo Horn <tsdh@gnu.org>
16667
16668 * doc-view.el (doc-view-new-window-function): Check the new window
16669 overlay's display property instead the char property of the
16670 buffer's first char. Use `with-selected-window' instead of
16671 `save-window-excursion' with `select-window'.
16672 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 16673 display property instead the char property of the buffer's first char.
2167b7b2 16674
982efbcd
PE
166752013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16676
16677 Automate the build of ja-dic.el (Bug#13984).
16678 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16679 from the input, rather than assume that it's been done for us by the
16680 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16681 the current date into a ja-dic.el comment, as that complicates
16682 regression testing.
16683
2fcc7665
SM
166842013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16685
16686 * whitespace.el: Fix double evaluation.
16687 (whitespace-space, whitespace-hspace, whitespace-tab)
16688 (whitespace-newline, whitespace-trailing, whitespace-line)
16689 (whitespace-space-before-tab, whitespace-indentation)
16690 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16691 obsolete defvars.
16692 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16693 (whitespace-color-on): Use a single font-lock-add-keywords call.
16694 Fix double-evaluation of face variables.
16695
67c0a6e6
MA
166962013-03-17 Michael Albinus <michael.albinus@gmx.de>
16697
2fcc7665
SM
16698 * net/tramp-adb.el (tramp-adb-parse-device-names):
16699 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 16700 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 16701
69489f1d
LL
167022013-03-17 Leo Liu <sdl.web@gmail.com>
16703
16704 Extend eldoc to display info in the mode-line. (Bug#13978)
16705 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16706 (eldoc-mode-line-string): New variable.
16707 (eldoc-minibuffer-message): New function.
16708 (eldoc-message-function): New variable.
16709 (eldoc-message): Use it.
16710 (eldoc-display-message-p)
2fcc7665
SM
16711 (eldoc-display-message-no-interference-p):
16712 Support eldoc-post-insert-mode.
69489f1d
LL
16713
16714 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16715 (eval-expression): Run it.
16716
9c44569e
RW
167172013-03-17 Roland Winkler <winkler@gnu.org>
16718
16719 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16720 strings in the list of return values.
16721
327f1f6f
JB
167222013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16723
16724 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16725 radix before checking for HMS forms.
16726
67ed8fcd
LL
167272013-03-16 Leo Liu <sdl.web@gmail.com>
16728
16729 * progmodes/scheme.el: Add indentation and font-locking for λ.
16730 (Bug#13975)
16731
78be8b64 167322013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
16733
16734 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16735 token before point (bug#13942).
16736
78be8b64 167372013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 16738
95b43468 16739 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 16740
98e775e6
EZ
167412013-03-16 Eli Zaretskii <eliz@gnu.org>
16742
16743 * startup.el (command-line-normalize-file-name): Fix handling of
16744 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16745 <xfq.free@gmail.com> in
16746 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16747
2edd6029
MA
167482013-03-15 Michael Albinus <michael.albinus@gmx.de>
16749
16750 Sync with Tramp 2.2.7.
16751
16752 * net/trampver.el: Update release number.
16753
d35f5864
TH
167542013-03-14 Tassilo Horn <tsdh@gnu.org>
16755
e903c210 16756 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
16757 (doc-view-insert-image): Don't modify overlay associated to
16758 non-live windows, and implement horizontal centering of image in
16759 case it's smaller than the window.
16760 (doc-view-new-window-function): Force redisplay of new windows on
16761 doc-view buffers.
d35f5864 16762
1c4a85ed
KF
167632013-03-13 Karl Fogel <kfogel@red-bean.com>
16764
16765 * saveplace.el (save-place-alist-to-file): Don't sort
16766 `save-place-alist', just pretty-print it (bug#13882).
16767
85b66a21
MA
167682013-03-13 Michael Albinus <michael.albinus@gmx.de>
16769
a020afb9
JB
16770 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16771 Check whether `default-file-name-coding-system' is bound.
16772 It isn't in XEmacs.
85b66a21 16773
175600da
SM
167742013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16775
e7f7cb1a
SM
16776 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16777 backquotes for `obsolete' (bug#13929).
16778
175600da
SM
16779 * international/mule.el (find-auto-coding): Include file name in
16780 obsolescence warning (bug#13922).
16781
ca68a22e
TZ
167822013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16783
16784 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16785 for CFEngine 3-specific indentation.
16786 (cfengine3-indent-line): Use it. Fix up category regex.
16787 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16788
940e5099
SM
167892013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16790
16791 * type-break.el (type-break-file-name):
16792 * textmodes/remember.el (remember-data-file):
16793 * strokes.el (strokes-file):
16794 * shadowfile.el (shadow-initialize):
16795 * saveplace.el (save-place-file):
16796 * ps-bdf.el (bdf-cache-file):
16797 * progmodes/idlwave.el (idlwave-config-directory):
16798 * net/quickurl.el (quickurl-url-file):
16799 * international/kkc.el (kkc-init-file-name):
16800 * ido.el (ido-save-directory-list-file):
16801 * emulation/viper.el (viper-custom-file-name):
16802 * emulation/vip.el (vip-startup-file):
16803 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16804 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16805
cc725808
PE
168062013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16807
16808 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16809 * language/thai-word.el: Switch to UTF-8.
16810
a020afb9 16811See ChangeLog.16 for earlier changes.
e3d51b27
MR
16812
16813;; Local Variables:
16814;; coding: utf-8
e3d51b27
MR
16815;; End:
16816
ba318903 16817 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
16818
16819 This file is part of GNU Emacs.
16820
16821 GNU Emacs is free software: you can redistribute it and/or modify
16822 it under the terms of the GNU General Public License as published by
16823 the Free Software Foundation, either version 3 of the License, or
16824 (at your option) any later version.
16825
16826 GNU Emacs is distributed in the hope that it will be useful,
16827 but WITHOUT ANY WARRANTY; without even the implied warranty of
16828 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16829 GNU General Public License for more details.
16830
16831 You should have received a copy of the GNU General Public License
16832 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.