Tweak previos change
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8449dd1f
GM
12013-12-28 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/authors.el (authors-ignored-files)
4 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5
fdadeb49
JC
62013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7
72140a0f
GM
8 * shell.el (shell-dynamic-complete-command): Doc fix.
9 (shell--command-completion-data): Shell completion now matches
10 executable filenames from the current buffer's directory, on
11 systems in which this behaviour is the default (windows-nt, ms-dos).
fdadeb49 12
e572a7d8
LI
132013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14
15 * net/shr.el (shr-insert): Don't infloop if the width is zero.
16
7514d3f8
SM
172013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
18
a4151f3b
SM
19 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
20 (bug#16251).
21
7514d3f8
SM
22 * electric.el: Move all electric-pair-* to elec-pair.el.
23 * elec-pair.el: New file, split from electric.el.
24
ac5758d1
LI
252013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
26
27 * net/shr.el (shr-find-fill-point): Don't try to fill if the
28 indentation level is larger than the width, because that will
29 infloop.
30 (shr-insert): Fill repeatedly long texts, so that Japanese is
31 formatted correctly (bug#16263).
24a6b65e
LI
32 (shr-find-fill-point): Off by one error in comparison with the
33 indentation.
ac5758d1 34
7514d3f8 352013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
36
37 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 38 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
39 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
40 if that keeps or improves their balance in buffers.
41 (electric-pair-delete-adjacent-pairs): Delete the pair when
42 backspacing over adjacent matched delimiters.
43 (electric-pair-open-extra-newline): Open extra newline when
44 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
45 (electric--sort-post-self-insertion-hook):
46 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
47 minor-modes are activated.
48 * simple.el (newline-and-indent): Call newline with interactive
49 set to t.
50 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
51 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
52 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
53 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
54 electric-pair-open-newline-between-pairs to nil.
55
fbcc63a3
FEG
562013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
57
58 * progmodes/python.el: Use lexical-binding.
59 (python-nav-beginning-of-defun): Stop searching ASAP.
60
ed78d16c
XF
612013-12-25 Xue Fuqiao <xfq.free@gmail.com>
62
63 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
64 Fix interactive spec. Doc fix. (Bug#15754)
65
38b2c142
KY
662013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
67
68 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 69 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
70 Fix edebug spec (bug#16184).
71
3c856c14
LI
722013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
73
83fa295c 74 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
75 (shr-insert): Don't infloop if we can't find a good place to break
76 the line (bug#16256).
3c856c14 77
01379221
FEG
782013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
79
80 * progmodes/python.el:
81 (python-nav--lisp-forward-sexp): New function.
82 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
83 python-nav-lisp-forward-sexp-safe.
84 (python-nav--forward-sexp): New argument SAFE allows switching
85 forward sexp movement behavior for parens.
86 (python-nav-forward-sexp): Throw errors on unterminated parens
87 (Bug#16191).
88 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
89 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
90 (python-shell-buffer-substring):
91 Use `python-nav-forward-sexp-safe'.
01379221 92
99e4926f
LI
932013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
94
95 * net/shr.el (shr-find-fill-point): Don't break lines before a
96 quotation mark.
c6c20584
LI
97 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
98 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 99 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 100
fec0e828
KN
1012013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
102
103 * net/eww.el (eww-form-textarea): Use a different face for
104 textareas than text input since they have different keymaps
105 (bug#16142).
106
89c868ad
FEG
1072013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
108
7514d3f8
SM
109 * progmodes/python.el (python-nav-beginning-of-statement):
110 Speed up (Bug#15295).
89c868ad 111
eeef121a
LI
1122013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
113
114 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
115 the window configuration.
116
121ea65f
EZ
1172013-12-24 Eli Zaretskii <eliz@gnu.org>
118
119 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
120 we run on MS-Windows or MS-DOS.
121
18cee9ec
MR
1222013-12-24 Martin Rudalics <rudalics@gmx.at>
123
124 * window.el (balance-windows-area): Call window-size instead of
125 window-height and window-width. Bug#16241.
126
58f2b9a5
LI
1272013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
128
129 * net/eww.el (eww-bookmark-quit): Remove.
130 (eww-bookmark-browse): Restore the window configuration when you
131 choose a bookmark (bug#16144).
132
d64b6308
DC
1332013-12-24 Daniel Colascione <dancol@dancol.org>
134
135 * icomplete.el: Remove redundant :group arguments to `defcustom'
136 throughout.
137 (icomplete-show-matches-on-no-input): New customizable variable.
138 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
139 we have something to show.
7514d3f8 140 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 141
0da54898
DC
1422013-12-23 Daniel Colascione <dancol@dancol.org>
143
144 * icomplete.el: Move `provide' to end of file.
145
b90aa4f4
TZ
1462013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
147
148 * net/gnutls.el (gnutls-verify-error): Add version tag.
149
8cd22a08
CY
1502013-12-23 Chong Yidong <cyd@gnu.org>
151
152 * subr.el (set-transient-map): Rename from
153 set-temporary-overlay-map. Doc fix.
154
155 * face-remap.el (text-scale-adjust):
156 * indent.el (indent-rigidly):
157 * kmacro.el (kmacro-call-macro):
158 * minibuffer.el (minibuffer-force-complete):
159 * repeat.el (repeat):
160 * simple.el (universal-argument--mode):
161 * calendar/todo-mode.el (todo-insert-item--next-param):
162 * progmodes/f90.el (f90-abbrev-start): Callers changed.
163
7510b021
CY
164 * indent.el (indent-rigidly): Use substitute-command-keys.
165
72140a0f 1662013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
167
168 * net/eww.el (eww-tag-select): Add text-property to jump to next
169 select field.
e9dc713d 170 (eww): Add non-supported ftp error.
56890ecd 171
1f87a56c
DG
1722013-12-22 Dmitry Gutov <dgutov@yandex.ru>
173
174 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
175 comments. Handle electric indent after typing `?' and `!'.
176
dca38cf9
CY
1772013-12-22 Chong Yidong <cyd@gnu.org>
178
179 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
180 applicable to a frame, fall back on the defface spec.
181 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 182
f2351498
DG
1832013-12-22 Dmitry Gutov <dgutov@yandex.ru>
184
185 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
186 after `{'. We need it after block openers, and it doesn't seem
187 to hurt after hash openers.
188
6cddebc1
DG
1892013-12-22 Dmitry Gutov <dgutov@yandex.ru>
190
191 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
192 extracted from `ruby-smie-rules'.
193 (ruby--electric-indent-chars): New variable.
194 (ruby--electric-indent-p): New function.
195 (ruby-mode): Use `electric-indent-functions' instead of
196 `electric-indent-chars'.
197
65a1da00
DG
1982013-12-22 Dmitry Gutov <dgutov@yandex.ru>
199
200 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
201 docstring.
202 (ruby-smie-rules): Indent plus one level after `=>'.
203
b51ad4cf
RS
2042013-12-21 Richard Stallman <rms@gnu.org>
205
206 * simple.el (newline): Doc fix.
207
72140a0f 2082013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 209
e9dc713d 210 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
211 (eww-history-browse, eww-history-quit, eww-history-kill)
212 (eww-history-mode-map, eww-history-mode): New command and
213 functions to list browser histories.
e9dc713d
JB
214 (eww-form-text): Support text form with disabled
215 and readonly attributes.
216 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 217
5e1901c1
RS
2182013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
219
220 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
221 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
222 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
223 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
224 Use `user-error'.
225 (eww-bookmark-mode-map): Add menu.
226 (eww-render, eww-mode): Use `setq-local'.
227 (eww-tool-bar-map): New variable.
228 (eww-mode): Set `tool-bar-map'.
229 (eww-view-source): Check for `html-mode' with `fboundp'.
230
073d5cfd
LMI
2312013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
232
233 * net/shr.el (shr--extract-best-source): Don't bug out on audio
234 elements with text inside. Also remove debugging.
235
41cf3d11
JD
2362013-12-21 Jan Djärv <jan.h.d@swipnet.se>
237
238 * cus-start.el (all): Add ns-use-srgb-colorspace.
239
aac2b673
CY
2402013-12-21 Chong Yidong <cyd@gnu.org>
241
242 * custom.el (custom-theme-recalc-face): Do nothing if the face is
243 undefined. Thus, theme settings for undefined faces do not take
244 effect until the faces are defined with defface, the same as with
245 theme variables.
246
247 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
248 (face-spec-reset-face): Don't assign extra properties in temacs.
249 (face-spec-recalc): Apply X resources too.
250
bacb0e77
CY
2512013-12-21 Chong Yidong <cyd@gnu.org>
252
253 * faces.el (face-spec-set):
254 * cus-face.el (custom-theme-set-faces, custom-set-faces):
255 * custom.el (defface): Doc fixes (Bug#16203).
256
77221051
CY
257 * indent.el (indent-rigidly-map): Add docstring, and move commands
258 into named functions.
259 (indent-rigidly-left, indent-rigidly-right)
260 (indent-rigidly-left-to-tab-stop)
261 (indent-rigidly-right-to-tab-stop): New functions. Decide on
262 indentation direction based on bidi direction, and accumulate
263 sequential commands in a single undo boundary.
264 (indent-rigidly--pop-undo): New utility function.
265
e0eb0550
JB
2662013-12-20 Juanma Barranquero <lekktu@gmail.com>
267
268 * faces.el (read-face-name): Require crm.el when using crm-separator.
269
3282bd2e
DC
2702013-12-20 Daniel Colascione <dancol@dancol.org>
271
272 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
273 so that we don't reflow comments into the shebang line.
274
1d42e5b6
JL
2752013-12-20 Juri Linkov <juri@jurta.org>
276
277 * saveplace.el (save-place-to-alist): Add `dired-filename' as
278 a position when `dired-directory' is non-nil. Check integer
279 positions with `integerp'.
280 (toggle-save-place, save-places-to-alist): Add check for
281 `dired-directory'.
282 (save-place-find-file-hook): Check integer positions with
283 `integerp'.
284 (save-place-dired-hook): Use `dired-goto-file' when
285 `dired-filename' is found in the assoc list. Check integer
286 positions with `integerp'.
287 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
288
289 * dired.el (dired-initial-position-hook): Rename back from
290 `dired-initial-point-hook'.
291 (dired-initial-position): Rename `dired-initial-point-hook' to
292 `dired-initial-position-hook'.
293 (dired-file-name-at-point): Doc fix. (Bug#15329)
294
24da7273
JL
2952013-12-20 Juri Linkov <juri@jurta.org>
296
297 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
298 (read-regexp-suggestions): New function.
299 (read-regexp): Use `read-regexp-defaults-function' to get default values.
300 Use `read-regexp-suggestions'. Add non-empty default to history
301 for empty input.
302 (occur-read-regexp-defaults-function): Remove function.
303 (occur-read-primary-args): Use `regexp-history-last' instead of
304 `occur-read-regexp-defaults-function'.
305
306 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
307 (hi-lock-line-face-buffer, hi-lock-face-buffer)
308 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
309 `hi-lock-read-regexp-defaults-function'. Doc fix.
310 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
311 with `find-tag-default-as-symbol-regexp'. Doc fix.
312 (hi-lock-read-regexp-defaults): Remove function.
313 (hi-lock-regexp-okay): Add check for null.
314
315 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
316 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
317
318 * subr.el (find-tag-default-as-symbol-regexp): New function.
319 (find-tag-default-as-regexp): Move symbol regexp formatting to
320 `find-tag-default-as-symbol-regexp'.
321
137f57c8
S
3222013-12-20 E Sabof <esabof@gmail.com> (tiny change)
323
324 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
325 (Bug#14179)
326
f3a66082
SB
3272013-12-20 Stephen Berman <stephen.berman@gmx.net>
328
329 * calendar/todo-mode.el: New implementation of item insertion
330 commands and key bindings.
331 (todo-key-prompt): New face.
332 (todo-insert-item): New command.
333 (todo-insert-item--parameters): New defconst, replacing defvar
334 todo-insertion-commands-args-genlist.
335 (todo-insert-item--param-key-alist): New defconst, replacing
336 defvar todo-insertion-commands-arg-key-list.
337 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
338 (todo-insert-item--argsleft, todo-insert-item--apply-args)
339 (todo-insert-item--next-param): New functions.
340 (todo-insert-item--args, todo-insert-item--argleft)
341 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
342 New variables.
343 (todo-key-bindings-t): Change binding of "i" from
344 todo-insertion-map to todo-insert-item.
345 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
346 (todo-insertion-command-name, todo-insertion-commands-names)
347 (todo-define-insertion-command, todo-insertion-commands)
348 (todo-insertion-key-bindings, todo-insertion-map): Remove.
349
2f99433b
SB
3502013-12-20 Stephen Berman <stephen.berman@gmx.net>
351
352 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
353 (todo-toggle-item-highlighting): Use eval-and-compile instead of
354 eval-when-compile.
355 (todo-move-category): Allow choosing a non-existing todo file to
356 move the category to, and create that file.
357 (todo-default-priority): New user option.
358 (todo-set-item-priority): Use it.
359 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
360 (desktop-restore-file-buffer): Declare.
361 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
362 (todo-modes-set-2): Locally set desktop-save-buffer to
363 todo-desktop-save-buffer.
364 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
365 (auto-mode-alist): Add autoload cookie.
366
131e4695
BB
3672013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
368
369 * emacs-lisp/subr-x.el: Renamed from helpers.el.
370 helpers.el was a poor choice of name.
3cbfb935
BB
371 (string-remove-prefix): New function.
372 (string-remove-suffix): New function.
131e4695 373
c44de18d
MR
3742013-12-20 Martin Rudalics <rudalics@gmx.at>
375
376 Fix assignment for new window total sizes.
377 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
378 (window--pixel-to-total-1, window--pixel-to-total):
379 Fix calculation of new total sizes.
c44de18d 380
ca65efcc
VS
3812013-12-20 Vitalie Spinu <spinuvit@gmail.com>
382
383 * comint.el (comint-output-filter): Fix rear-nonsticky property
384 placement (Bug#16010).
385
a9574eb7
CY
3862013-12-20 Chong Yidong <cyd@gnu.org>
387
388 * faces.el (read-color): Minor fix for completion function.
389
b520f210
DG
3902013-12-20 Dmitry Gutov <dgutov@yandex.ru>
391
e0eb0550
JB
392 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
393 New option. (Bug#16182)
b520f210
DG
394 (ruby-smie--indent-to-stmt-p): Use it.
395 (ruby-smie-rules): Revert the logic in the handling of `when'.
396 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
397 (ruby-deep-arglist, ruby-deep-indent-paren)
398 (ruby-deep-indent-paren-style): Update docstrings to note that the
399 vars don't have any effect with SMIE.
400
26b75b45
JB
4012013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
402
403 * calc/calc.el (calc-enter, calc-pop): Use the variable
404 `calc-context-sensitive-enter'.
405
cf91cee7
LMI
4062013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
407
408 * net/shr.el (shr-insert): Protect against infloops in degenerate
409 tables.
410
51d971b4
RS
4112013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
412
413 * progmodes/octave.el (octave): Add link to manual and octave
414 homepage.
415 (octave-mode-menu): Link to octave-mode manual.
416
8c2e462a
LL
4172013-12-20 Leo Liu <sdl.web@gmail.com>
418
419 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
420 insertion using skeleton-end-newline. (Bug#16138)
421
501158bc
JL
4222013-12-20 Juri Linkov <juri@jurta.org>
423
424 * replace.el (occur-engine): Use `add-face-text-property'
425 to add the face property to matches and titles. (Bug#14645)
426
427 * hi-lock.el (hi-green): Use lighter color "light green" closer to
428 the palette of other hi-lock colors.
429 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
430
50ab1da6
JL
4312013-12-19 Juri Linkov <juri@jurta.org>
432
433 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
434 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
435 (minibuffer-history-symbol): Move variable declaration closer to
436 its usage.
437
438 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
439 (Bug#14785)
440
3d6e95e7
JL
4412013-12-19 Juri Linkov <juri@jurta.org>
442
443 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
444 New function.
445 (log-edit-hook): Add it to :options. (Bug#16170)
446
b41594fd
JL
4472013-12-19 Juri Linkov <juri@jurta.org>
448
449 * simple.el (eval-expression-print-format): Don't check for
450 command names and the last command. Always display additional
451 formats of the integer result in the echo area, and insert them
452 to the current buffer only with a zero prefix arg.
453 Display character when char-displayable-p is non-nil.
454 (eval-expression): With a zero prefix arg, set `print-length' and
455 `print-level' to nil, and insert the integer values from
456 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
457
458 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
459 `eval-last-sexp-arg-internal'. Doc fix.
460 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
461 `eval-last-sexp-print-value'. Doc fix.
462 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
463 Set `print-length' and `print-level' to nil when arg is zero.
464 (eval-last-sexp): Doc fix.
465 (eval-defun-2): Print the integer values from
466 `eval-expression-print-format' at the end.
467
468 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
469 values from `eval-expression-print-format' at the end.
470
471 * ielm.el (ielm-eval-input): Print the integer
472 values from `eval-expression-print-format' at the end.
473
8f2be364
TZ
4742013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
475
476 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
477 2013-12-11T19:01:44Z!tzz@lifelogs.com.
478
2230a6e3
SM
4792013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
482 (hl-line-highlight, global-hl-line-highlight): Use it.
483 (hl-line-overlay): Use defvar-local.
484
1269a680
JD
4852013-12-19 Jan Djärv <jan.h.d@swipnet.se>
486
487 * term/ns-win.el: Require dnd.
488 (global-map): Remove drag items.
489 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
490 (ns-set-background-at-mouse):
491 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
492 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
493 New functions.
1269a680 494
049638ad
GM
4952013-12-19 Glenn Morris <rgm@gnu.org>
496
497 * emacs-lisp/ert.el (ert-select-tests):
498 Fix string/symbol mixup. (Bug#16121)
499
ce41edb4
DG
5002013-12-19 Dmitry Gutov <dgutov@yandex.ru>
501
502 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
503 keywords to their parent.
504
7e1549c9
DG
5052013-12-19 Dmitry Gutov <dgutov@yandex.ru>
506
507 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
508 first arg to be a string (fixed dead code), or an operator symbol.
509 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
510 operator symbols.
511 (ruby-smie-rules): Remove parent token check in the `.' clause, it
512 did nothing. Don't respond to `(:after ".")', it will be called
513 with :before anyway. Remove the ` @ ' rule, it didn't seem to
514 change anything. Only return indentation for binary operators
515 when they are hanging. De-dent opening paren when its parent is
516 `.', otherwise it looks bad when the dot is not at bol or eol
517 (bug#16182).
518
3ee4cd64
JL
5192013-12-19 Juri Linkov <juri@jurta.org>
520
521 * replace.el (query-replace-read-args): Split a non-negative arg
522 and a negative arg into separate elements.
523 (query-replace, query-replace-regexp, replace-string)
524 (replace-regexp): Add arg `backward'. Doc fix.
525 (replace-match-maybe-edit): When new arg `backward' is non-nil,
526 move point to the beginning of the match.
527 (replace-search, replace-highlight): Use new arg `backward'
528 to set the value of `isearch-forward'.
529 (perform-replace): Add arg `backward' and use it to perform
530 replacement backward. (Bug#14979)
531
532 * isearch.el (isearch-query-replace): Use a negative prefix arg
533 to call `perform-replace' with a non-nil arg `backward'.
534
0cda6b7b
JL
5352013-12-18 Juri Linkov <juri@jurta.org>
536
537 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
538 to the default list. Move `log-edit-show-files' to the end.
539 Add more available functions to options.
540 (log-edit): Move default specific settings to
541 `log-edit-insert-message-template'. Don't move point.
542 (log-edit-insert-message-template): New function.
543 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
544 (Bug#16170)
545
b216f0a6
JL
5462013-12-18 Juri Linkov <juri@jurta.org>
547
548 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
549 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
550
1d1c55dc
LL
5512013-12-18 Leo Liu <sdl.web@gmail.com>
552
e9dc713d
JB
553 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
554 (Bug#16186)
1d1c55dc 555
64e4c76e
EZ
5562013-12-18 Eli Zaretskii <eliz@gnu.org>
557
558 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
559 formats for displaying file sizes when the -s switch is given.
560 Instead, compute a separate format for displaying the size in
561 blocks, which is displayed in addition to the "regular" size.
562 When -h is given in addition to -s, produce size in blocks in
563 human-readable form as well. (Bug#16179)
564
b2984e39
TH
5652013-12-18 Tassilo Horn <tsdh@gnu.org>
566
2230a6e3
SM
567 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
568 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 569
50ff2e06
CY
5702013-12-18 Chong Yidong <cyd@gnu.org>
571
0081bc84
CY
572 * cus-edit.el (custom-magic-alist): Fix "themed" description
573 (Bug#14348).
574
a7ee9424
CY
575 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
576 is non-nil, do not create a new entry in the symbol's theme-value
577 or theme-face property; update theme-settings only (Bug#14664).
18874304 578 (custom-available-themes): Doc fix.
a7ee9424 579
8f942537
CY
580 * cus-theme.el (custom-new-theme-mode-map): Add bindings
581 (Bug#15674).
582
50ff2e06
CY
583 * replace.el (occur-engine): Avoid infloop (Bug#7593).
584
83c60f60
KI
5852013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
586
587 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
588 (Bug#13914).
589
e0eb0550 5902013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
591
592 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
593
1f41ee56
GM
5942013-12-18 Glenn Morris <rgm@gnu.org>
595
596 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 597 * cus-start.el (load-prefer-newer): New option.
1f41ee56 598
e82134b1
LW
5992013-12-18 Le Wang <l26wang@gmail.com>
600
2230a6e3
SM
601 * comint.el (comint-previous-matching-input-from-input):
602 Retain point (Bug#13404).
e82134b1 603
33f5d4c1
CY
6042013-12-18 Chong Yidong <cyd@gnu.org>
605
606 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
607
ccc9f6dc
GM
6082013-12-18 Glenn Morris <rgm@gnu.org>
609
610 * mail/emacsbug.el (report-emacs-bug):
611 Only mention enable-multibyte-characters if non-standard.
612
33dd8e95
JL
6132013-12-17 Juri Linkov <juri@jurta.org>
614
615 * arc-mode.el (archive-extract-by-file): Check if directory exists
616 before deletion to not show irrelevant errors if it doesn't exist.
617
7a409b30
JL
6182013-12-17 Juri Linkov <juri@jurta.org>
619
620 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
621 (Bug#14751)
622
623 * net/eww.el (browse-web): Add alias to `eww'.
624 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
625 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
626
627 * net/browse-url.el (browse-url-browser-function): Move `eww'
628 closer to similar functions.
629
630 * startup.el (fancy-startup-screen, fancy-about-screen):
631 Set browse-url-browser-function to eww-browse-url locally.
632 (Bug#14751)
633
2d6b6005
SM
6342013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * window.el (window--pixel-to-total): Remove unused `mini' var.
637 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
638 (split-window): Remove unused `new' var.
639 (window--display-buffer): Remove unused `frame' and `delta' vars.
640 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
641 and display-width'.
642
cf2b7efc
MR
6432013-12-17 Martin Rudalics <rudalics@gmx.at>
644
645 * dired.el (dired-mark-pop-up):
646 * register.el (register-preview): Don't bind
647 split-height-threshold here since it's now done in
648 display-buffer-below-selected.
649
ed3af8a7 6502013-12-17 oblique <psyberbits@gmail.com> (tiny change)
651
652 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
653 xterm-rgb-convert-to-16bit.
654 (rxvt-register-default-colors): Standardize with
655 xterm-register-default-colors (Bug#14078).
656
76da3455
DK
6572013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
658
659 * simple.el (kill-region): Pass mark first, then point, so that
660 kill-append works right (Bug#12819).
661 (copy-region-as-kill, kill-ring-save): Likewise.
662
2b84d763
LL
6632013-12-17 Leo Liu <sdl.web@gmail.com>
664
665 * net/rcirc.el (rcirc-add-face):
666 * eshell/em-prompt.el (eshell-emit-prompt):
667 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
668 (Bug#16167)
669
e2f6a0bc
CY
6702013-12-17 Chong Yidong <cyd@gnu.org>
671
672 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
673 Suggested by Xue Fuqiao.
674
35b249a6
DG
6752013-12-17 Dmitry Gutov <dgutov@yandex.ru>
676
677 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
678
e9145444
SM
6792013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * net/shr.el (shr-insert-document): Remove unused var
682 `shr-preliminary-table-render'.
683 (shr-rescale-image): Remove unused arg `force'.
684 (shr-put-image): Update calls accordingly.
685 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
686
5556c0ce
DG
6872013-12-17 Dmitry Gutov <dgutov@yandex.ru>
688
689 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
690 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
691 :close-all, to see which indentation method to use (Bug#16116).
692 (smie-rules-function): Document the method :close-all.
693
11bade0a
LMI
6942013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
695
1c4b1e61
LMI
696 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
697
11bade0a
LMI
698 * net/eww.el (eww-display-html): If we can't find the anchor we're
699 looking for, then go to point-min.
700
8fb8c4f3
PE
7012013-12-16 Paul Eggert <eggert@cs.ucla.edu>
702
703 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
704 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
705 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
706 Expand dir too, in case it's relative.
707
6c8e0ae6
JL
7082013-12-16 Juri Linkov <juri@jurta.org>
709
710 * desktop.el (desktop-auto-save-timeout): Change default to
711 `auto-save-timeout'. Doc fix.
712 (desktop-save): Skip the timestamp in desktop-saved-frameset
713 when checking for auto-save changes.
714 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
715 `desktop-auto-save' is called repeatedly by the idle timer.
716 (desktop-auto-save-set-timer): Replace `run-with-timer' with
717 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
718 (Bug#15331)
719
2178e858
JL
7202013-12-16 Juri Linkov <juri@jurta.org>
721
722 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
723 (Bug#16035)
724 (isearch-pre-command-hook): Check `this-command' for symbolp.
725
39cb42c6
SM
7262013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
729
5b9b750a
TZ
7302013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
731
732 * progmodes/cfengine.el (cfengine3--current-word): Remove.
733 (cfengine3--current-function): Bring in the current-function
734 functionality from `cfengine3--current-word'.
735 (cfengine3-completion-function): Bring in the
736 bounds-of-current-word functionality from
737 `cfengine3--current-word'.
738
d144ef06
MR
7392013-12-16 Martin Rudalics <rudalics@gmx.at>
740
39cb42c6
SM
741 * window.el (display-buffer-below-selected):
742 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 743
a8bbe298
LL
7442013-12-16 Leo Liu <sdl.web@gmail.com>
745
746 * progmodes/compile.el (compile-goto-error): Do not push-mark.
747 Remove NOMSG arg and all uses changed.
748
2013a2f9
SM
7492013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
752 (cua--deactivate-rectangle): Don't deactivate the mark.
753 (cua-set-rectangle-mark): Don't set mark-active since
754 cua--activate-rectangle already does it for us.
755 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
756 non-rectangular region.
757
758 * emulation/cua-base.el (cua-repeat-replace-region):
759 Use with-current-buffer.
760
761 * net/gnutls.el: Use cl-lib.
762 (gnutls-negotiate): `mapcan' -> cl-mapcan.
763
5ae811dd
TZ
7642013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
765
766 * emacs-lisp/package.el (package-built-in-p): Support both
767 built-in and the package.el converted package descriptions.
768 (package-show-package-list): Allow keywords.
769 (package-keyword-button-action): Use it instead of
770 `finder-list-matches'.
771 (package-menu-filter-interactive): Interactive filtering (by
772 keyword) function.
773 (package-menu--generate): Support keywords and change keymappings
774 and headers when they are given.
775 (package--has-keyword-p): Helper function.
776 (package-menu--refresh): Use it.
777 (package--mapc): Helper function.
778 (package-all-keywords): Use it.
779 (package-menu-mode-map): Set up menu items and keybindings to
780 provide a filtering UI.
781
31b4827e
TZ
7822013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
783
784 * net/gnutls.el (gnutls-verify-error): New defcustom to control
785 the behavior when a certificate fails validation. Defaults to
786 old behavior: never abort, just warn.
787 (gnutls-negotiate): Use it.
788
f93cc74f
MR
7892013-12-14 Martin Rudalics <rudalics@gmx.at>
790
791 * window.el (display-buffer-below-selected): Never split window
792 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
793
f77d7d17
TW
7942013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
795
796 * emacs-lisp/package.el (package--prepare-dependencies): New function.
797 (package-buffer-info): Use it (bug#15108).
aa2bddd7 798
7514d3f8
SM
7992013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
800
aa2bddd7 801 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 802 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 803
276bc333
DG
8042013-12-14 Dmitry Gutov <dgutov@yandex.ru>
805
806 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
807 open-paren tokens when preceded by a open-paren, too.
808 (ruby-smie-rules): Handle virtual indentation after open-paren
809 tokens specially. If there is code between it and eol, return the
810 column where is starts (Bug#16118).
811
d43957f3
TZ
8122013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
813
a5c1ac0c 814 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 815 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
816 (cfengine3--current-word): Fix parameters.
817 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
818 (cfengine3-completion-function, cfengine3--current-function):
819 Use `assq' for symbols.
d43957f3
TZ
820 (cfengine3--current-function): Fix `cfengine3--current-word' call.
821
06a4f110
GM
8222013-12-13 Glenn Morris <rgm@gnu.org>
823
824 * loadup.el (load-path): Warn if site-load or site-init changes it.
825 No more need to reset it when bootstrapping.
826
978a5fda
TZ
8272013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
828
829 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
830 locations for cf-promises.
831 (cfengine-mode-syntax-functions-regex): New caching variable.
832 (cfengine3-fallback-syntax): Fallback syntax for cases where
833 cf-promises doesn't run.
834 (cfengine3--current-word): Reimplement using
835 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
836 (cfengine3-completion-function, cfengine3--current-function):
837 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
838 (cfengine3-clear-syntax-cache): New function.
839 (cfengine3-make-syntax-cache): Simplify and create
840 `cfengine-mode-syntax-functions-regex' on demand.
841 (cfengine3-format-function-docstring): Don't call
842 `cfengine3-make-syntax-cache' explicitly.
843
71e6691e
MR
8442013-12-13 Martin Rudalics <rudalics@gmx.at>
845
846 Fix windmove-find-other-window broken after pixelwise resizing
847 (Bug#16017).
848 * windmove.el (windmove-other-window-loc): Revert change from
849 2013-12-04.
850 (windmove-find-other-window): Call window-in-direction.
851 * window.el (window-in-direction): New arguments SIGN, WRAP and
852 MINI to emulate original windmove-find-other-window behavior.
853
84c73ba0
DG
8542013-12-13 Dmitry Gutov <dgutov@yandex.ru>
855
856 * simple.el (blink-matching--overlay): New variable.
857 (blink-matching-open): Instead of moving point, highlight the
858 matching paren with an overlay
859 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
860
861 * faces.el (paren-showing-faces, show-paren-match)
862 (show-paren-mismatch): Move from paren.el.
863
b9e20952
LL
8642013-12-13 Leo Liu <sdl.web@gmail.com>
865
866 * indent.el (indent-region): Disable progress reporter in
867 minibuffer. (Bug#16108)
868
869 * bindings.el (visual-order-cursor-movement): Fix version.
870
ce030451
FEG
8712013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
872
873 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
874 Also match after beginning of line.
875 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 876 files. Thanks to Russell Sim. (Bug#15378)
ce030451 877
4a9c6865
JL
8782013-12-13 Juri Linkov <juri@jurta.org>
879
880 * simple.el <Keypad support>: Remove key bindings duplicated
881 with bindings.el. (Bug#14397)
882
2bc170c3
JL
8832013-12-13 Juri Linkov <juri@jurta.org>
884
885 * comint.el (comint-mode-map): Replace `delete-char' with
886 `delete-forward-char'. (Bug#16109)
887
bc9222c9
FEG
8882013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
889
aa2bddd7 890 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 891 Fix de-denters cornercase. (Bug#15731)
bc9222c9 892
cb3a1380
SM
8932013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
896 (advice--make): Pay attention to `depth'.
897 (advice--make-1): Don't autoload commands eagerly.
898 * emacs-lisp/elp.el (elp-instrument-function):
899 * emacs-lisp/trace.el (trace-function-internal):
900 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
901
902 * iswitchb.el (iswitchb-mode): Don't belittle ido.
903
01633a17
EZ
9042013-12-12 Eli Zaretskii <eliz@gnu.org>
905
906 * term/w32-win.el (w32-handle-dropped-file):
907 * startup.el (normal-top-level):
908 * net/browse-url.el (browse-url-file-url):
909 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
910 decode file names using 'utf-8' rather than
911 file-name-coding-system.
912
09faee72
FEG
9132013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
914
915 * progmodes/python.el (python-indent-context)
916 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 917 behavior for comment blocks. (Bug#15916)
09faee72 918
f4f84024 9192013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 920
cb3a1380
SM
921 * progmodes/python.el (python-indent-calculate-indentation):
922 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
923 operators when they are just string constituents. (Bug#15812)
924
d5ccb7be
JL
9252013-12-12 Juri Linkov <juri@jurta.org>
926
927 * uniquify.el (uniquify-buffer-name-style): Change default to
928 `post-forward-angle-brackets'.
929
930 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
931 `uniquify'. Change default to `post-forward-angle-brackets'.
932
7b3f5679
GM
9332013-12-11 Glenn Morris <rgm@gnu.org>
934
935 * emacs-lisp/package.el (finder-list-matches):
936 Autoload rather than falsely declaring.
937
f4fe8fdd
TZ
9382013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
939
940 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
941 (eww-mode-map): Use them.
942
3c29190f
MR
9432013-12-11 Martin Rudalics <rudalics@gmx.at>
944
945 * window.el (display-buffer-in-side-window): Fix doc-string
946 (Bug#16115).
947
0cd616a2
JB
9482013-12-11 Juanma Barranquero <lekktu@gmail.com>
949
950 * vc/vc-git.el: Silence byte-compiler warnings.
951 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
952 (log-edit-set-header): Declare.
953
3ef8e0d1
EZ
9542013-12-11 Eli Zaretskii <eliz@gnu.org>
955
956 * Makefile.in (custom-deps, finder-data): Run output file names
957 through unmsys--file-name. (Bug#16099)
958
afdadaf7
SM
9592013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
960
7ae3ae39 961 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 962 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 963
5b4f37ab
SM
964 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
965 instead of deleting the selection "by hand" (bug#16098).
966 Rely on insert-for-yank to yank rectangles.
967 (cua-highlight-region-shift-only): Mark obsolete.
968 (cua-mode): Don't enable/disable transient-mark-mode,
969 shift-select-mode (cua-mode works both with and without them), and
970 pc-selection-mode (obsolete).
971 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
972 (cua--deactivate-rectangle): Deactivate it.
973
4b72c12b
SM
974 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
975 (delete-selection-helper): Make sure yank starts at the top of the
976 deleted region.
977 (minibuffer-keyboard-quit): Use region-active-p.
978
e82af72d
SM
979 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
980
afdadaf7
SM
981 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
982 to `delete' (bug#16109).
983
ed4bc201
RS
9842013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
985
986 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
987 info manual and show keybindings and set `:group' keyword.
988
bb8097b9
JL
9892013-12-11 Juri Linkov <juri@jurta.org>
990
991 * delsel.el (delete-active-region): Let-bind `this-command'
992 to prevent `kill-region' from changing its original value.
993 (delete-selection-helper): Handle `overwrite-mode' for the type
994 `kill' exactly the same way as for the type `t'.
995 (insert-char, quoted-insert, reindent-then-newline-and-indent):
996 Support more commands. (Bug#13312)
997
c1916ff5
JL
9982013-12-11 Juri Linkov <juri@jurta.org>
999
1000 * bindings.el: Map kp keys to non-kp keys systematically
1001 with basic modifiers control, meta and shift. (Bug#14397)
1002
7514d3f8 10032013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1004
1005 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1006 "Close browser" menu items. Fix wrong function of "List
1007 bookmarks".
1008
4cc51eaf
JL
10092013-12-11 Juri Linkov <juri@jurta.org>
1010
1011 * misearch.el (multi-isearch-buffers): Set the value of
1012 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1013 arg of isearch-forward to t.
1014 (multi-isearch-buffers-regexp): Set the value of
1015 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1016 arg of isearch-forward-regexp to t.
1017 (multi-isearch-files): Set the value of
1018 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1019 arg of isearch-forward to t.
1020 (multi-isearch-files-regexp): Set the value of
1021 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1022 arg of isearch-forward-regexp to t. (Bug#16035)
1023
1024 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1025 arg of isearch-forward to t.
1026 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1027 arg of isearch-forward-regexp to t.
1028 (dired-isearch-filter-filenames): Remove unnecessary check for
1029 `dired-isearch-filenames'.
1030
1031 * comint.el (comint-history-isearch-backward):
1032 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1033 (comint-history-isearch-backward-regexp):
1034 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1035
ceac12b7
EZ
10362013-12-10 Eli Zaretskii <eliz@gnu.org>
1037
1038 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1039 unmsys--file-name. (Bug#16099)
1040
5a565782
TZ
10412013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1042
cb3a1380
SM
1043 * emacs-lisp/package.el (package-keyword-button-action):
1044 Remove finder.el require dependency.
5a565782 1045
a81fc7ba
TZ
10462013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1047
1048 * emacs-lisp/package.el: Require finder.el.
1049 (describe-package-1): Add keyword buttons.
1050 (package-make-button): New convenience function.
1051 (package-keyword-button-action): Keyword button action using
e0eb0550 1052 `finder-list-matches'.
a81fc7ba 1053
6aaca951
EZ
10542013-12-09 Eli Zaretskii <eliz@gnu.org>
1055
1056 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1057 last commit.
1058
a1099a91
MA
10592013-12-09 Michael Albinus <michael.albinus@gmx.de>
1060
1061 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1062 symlinked files.
1063
8212d9c0
DG
10642013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1065
1066 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1067 after the end of a percent literal.
1068
8f48d131
CD
10692013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1070
cb3a1380
SM
1071 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1072 Handle caret-delimited strings (Bug#16079).
8f48d131 1073
ff8c9764
DG
10742013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1075
cb3a1380
SM
1076 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1077 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1078 `ruby-parse-partial' (Bug#16078).
1079
d64643b4
LL
10802013-12-09 Leo Liu <sdl.web@gmail.com>
1081
1082 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1083
47e59c66
DG
10842013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1085
1086 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1087 (js-switch-indent-offset): New option.
1088 (js--proper-indentation): Use it. And handle the case when
1089 "default" is actually a key in an object literal.
1090 (js--same-line): New function.
1091 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1092 (js--indent-in-array-comp, js--array-comp-indentation):
1093 New functions.
47e59c66
DG
1094 (js--proper-indentation): Use them, to handle array comprehension
1095 continuations.
1096
974ebc9c
LL
10972013-12-08 Leo Liu <sdl.web@gmail.com>
1098
1099 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1100 (flymake-make-overlay): Remove arg MOUSE-FACE.
1101 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1102
27262e39
SM
11032013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1106 New function.
1107 (redisplay-highlight-region-function): Use it.
1108
1109 * emulation/cua-base.el (cua--explicit-region-start)
1110 (cua--last-region-shifted): Remove.
1111 (cua--deactivate): Use deactivate-mark.
1112 (cua--pre-command-handler-1): Don't handle shift-selection.
1113 (cua--post-command-handler-1): Don't change transient-mark-mode.
1114 (cua--select-keymaps): Use region-active-p rather than
1115 cua--explicit-region-start or cua--last-region-shifted.
1116 (cua-mode): Enable shift-select-mode.
1117
6407822c
LL
11182013-12-08 Leo Liu <sdl.web@gmail.com>
1119
27262e39
SM
1120 * progmodes/flymake.el (flymake-popup-current-error-menu):
1121 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1122 (flymake-posn-at-point-as-event, flymake-popup-menu)
1123 (flymake-make-emacs-menu): Remove. (Bug#16077)
1124
00a2b823
SM
11252013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1126
02033d49
SM
1127 * rect.el (rectangle-mark-mode): Activate mark even if
1128 transient-mark-mode is off (bug#16066).
1129 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1130 is > mark and at bolp.
1131
6f8dfccf
SM
1132 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1133 (region-extract-function): Use it.
1134 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1135 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1136 Delete functions.
1137 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1138 kill-ring-save, kill-region, delete-char, delete-forward-char.
1139 Ignore self-insert-iso.
1140
1141 * emulation/cua-gmrk.el (cua--init-global-mark):
1142 Ignore `self-insert-iso'.
1143
1144 * emulation/cua-base.el (cua--prefix-copy-handler)
1145 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1146 checking cua--rectangle.
1147 (cua-delete-region): Use region-extract-function.
1148 (cua-replace-region): Delete function.
1149 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1150 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1151 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1152 (cua--init-keymaps): Don't remap delete-selection commands.
1153 (cua-mode): Use delete-selection-mode instead of rolling our own
1154 (bug#16085).
1155
1156 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1157 Obey region-extract-function.
1158
00a2b823
SM
1159 Make registers and delete-selection-mode work on rectangles.
1160 * register.el (describe-register-1): Don't modify the register's value.
1161 (copy-to-register): Obey region-extract-function.
1162 * delsel.el (delete-active-region): Obey region-extract-function.
1163
a92fa5f1
LL
11642013-12-08 Leo Liu <sdl.web@gmail.com>
1165
1166 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1167 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1168 (flymake-compilation-prevents-syntax-check)
1169 (flymake-start-syntax-check-on-newline)
1170 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1171 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1172 (flymake-xml-program, flymake-master-file-dirs)
1173 (flymake-master-file-count-limit)
1174 (flymake-allowed-file-name-masks): Relocate.
1175 (flymake-makehash, flymake-float-time)
1176 (flymake-replace-regexp-in-string, flymake-split-string)
1177 (flymake-get-temp-dir): Remove.
1178 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1179 (flymake-current-row, flymake-selected-frame)
1180 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1181 related functions. (Bug#16077)
1182
73c8ceea
BB
11832013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1184
1185 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1186
faec28d9
TH
11872013-12-07 Tassilo Horn <tsdh@gnu.org>
1188
1189 * help-fns.el (describe-function-1): Use new advice-* functions
1190 rather than old ad-* functions. Fix function type description and
1191 source links for advised functions and subrs.
1192
e330b646
LMI
11932013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1194
00a2b823 1195 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1196
4803595d
MA
11972013-12-06 Michael Albinus <michael.albinus@gmx.de>
1198
1199 * progmodes/compile.el (compilation-start):
1200 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1201
1202 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1203 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1204
fa834a93
DG
12052013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1206
00a2b823
SM
1207 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1208 Touch up the last change.
fa834a93 1209
b2856a6f
LL
12102013-12-06 Leo Liu <sdl.web@gmail.com>
1211
1212 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1213 (inferior-octave-startup): Always use "octave> " for prompt.
1214 (octave-goto-function-definition)
1215 (octave-sync-function-file-names)
1216 (octave-find-definition-default-filename): Remove redundant backquotes.
1217
af67e79a
DG
12182013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1219
1220 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1221 syntax for `?'.
1222 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1223 where appropriate already.
1224 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1225 end of method names (Bug#15874).
1226
bf093209
JL
12272013-12-06 Juri Linkov <juri@jurta.org>
1228
1229 * isearch.el (isearch--saved-overriding-local-map):
1230 New internal variable.
1231 (isearch-mode): Set it to the initial value of
1232 `overriding-terminal-local-map'.
1233 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1234 with `isearch--saved-overriding-local-map'. (Bug#16035)
1235
16588fad
DG
12362013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1237
00a2b823
SM
1238 * progmodes/octave.el (inferior-octave-completion-table):
1239 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1240 (Bug#11906). Update all references.
1241
1242 * minibuffer.el (completion-table-with-cache): New function.
1243
bf4906d7
CD
12442013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1245
1246 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1247
ff69c18f
TZ
12482013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1249
1250 * net/eww.el (eww-current-source): New variable to store page
1251 source.
1252 (eww-display-html, eww-mode, eww-save-history)
1253 (eww-restore-history): Use it.
1254 (eww-view-source): New command to view page source.
1255 Opportunistically uses `html-mode' to highlight the buffer.
1256 (eww-mode-map): Install it.
1257
b85eff45
MA
12582013-12-05 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/dbus.el (dbus-unregister-service)
1261 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1262 Fix docstring.
1263 (dbus-unregister-service): Skip :serial entries in
1264 `dbus-registered-objects-table'.
1265 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1266
39eb0899
TZ
12672013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1268
1269 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1270 around keywords with extra `split-string' argument.
1271
456760a5
MR
12722013-12-04 Martin Rudalics <rudalics@gmx.at>
1273
1274 * windmove.el (windmove-other-window-loc): Handle navigation
1275 between windows (excluding the minibuffer window - Bug#16017).
1276
81961e4c
MA
12772013-12-04 Michael Albinus <michael.albinus@gmx.de>
1278
1279 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1280 in D-Bus type syntax.
1281 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1282 preserve unibyte strings. (Bug#16048)
1283
8497f938
SM
12842013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1287 Call force-mode-line-update is the proper buffer (bug#16042).
1288
dda61916
DG
12892013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1292 `log-edit-remember-comment', make argument optional. Adjust all
1293 callers.
1294 (log-edit-mode): Add `log-edit-remember-comment' to
1295 `kill-buffer-hook' locally.
1296 (log-edit-kill-buffer): Don't remember comment explicitly since
1297 the buffer is killed anyway.
1298
c085e5b9
JL
12992013-12-04 Juri Linkov <juri@jurta.org>
1300
1301 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1302 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1303
e0eb0550 13042013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1305
1306 * notifications.el (notifications-close-notification): Call the
81961e4c 1307 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1308
39fa32d6
KY
13092013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1310
1311 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1312
9139632a
JL
13132013-12-03 Juri Linkov <juri@jurta.org>
1314
1315 * progmodes/compile.el (compilation-start): Rename window alist
1316 entry `no-display-ok' to `allow-no-window'.
1317
1318 * simple.el (shell-command): Add window alist entry
1319 `allow-no-window' to `display-buffer'.
1320 (async-shell-command): Doc fix.
1321
1322 * window.el (display-buffer-no-window): New action function.
1323 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1324
0f457a37
DG
13252013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1326
1327 * vc/log-edit.el (log-edit-set-header): Extract from
1328 `log-edit-toggle-header'.
1329 (log-edit-extract-headers): Separate the summary, when extracted
1330 from header, from the rest of the message with an empty line.
1331
1332 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1333 line, if present, to the Summary header.
1334
0962f376
SM
13352013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1336
1337 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1338 in current-buffer (bug#16029).
1339
f345395c
HE
13402013-12-02 Helmut Eller <eller.helmut@gmail.com>
1341
1342 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1343 (debugger-mode-map): Bind it.
1344 (debugger--backtrace-base): New function.
1345 (debugger-eval-expression): Use it.
1346 (debugger-frame-number): Skip local vars when present.
1347 (debugger--locals-visible-p, debugger--insert-locals)
1348 (debugger--show-locals, debugger--hide-locals): New functions.
1349
a8a15d9d
MA
13502013-12-02 Michael Albinus <michael.albinus@gmx.de>
1351
1352 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1353 "LC_ALL".
1354 (tramp-get-remote-locale): New defun.
1355 (tramp-open-connection-setup-interactive-shell): Use it.
1356
0518b057
LL
13572013-12-02 Leo Liu <sdl.web@gmail.com>
1358
1359 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1360
1361 * progmodes/sh-script.el (sh-shell-process):
1362 * progmodes/octave.el (inferior-octave-process-live-p):
1363 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1364 (gdb-inferior-io-sentinel):
1365 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1366
3adc9c6d
DG
13672013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1368
1369 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1370 `save-selected-window' to `log-edit-hide-buf'. This makes
1371 `log-edit-show-files' idempotent.
1372 (log-edit-show-files): Mark the new window as dedicated.
1373
47e8b74e
DG
13742013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1375
1376 * vc/log-edit.el (log-edit-mode-map): Add binding for
1377 `log-edit-kill-biffer'.
1378 (log-edit-hide-buf): Add a FIXME comment.
1379 (log-edit-add-new-comment): New function, extracted from
1380 `log-edit-done'.
1381 (log-edit-done, log-edit-add-to-changelog): Use it.
1382 (log-edit-kill-buffer): New command.
1383
1f6e1bb0
LMI
13842013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1385
1386 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1387 instead of killing the buffer.
1388
fb651d15
SM
13892013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1392
8feacce0
RS
13932013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1394
fb651d15 1395 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1396 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1397 (eww-form-checkbox, eww-toggle-checkbox):
1398 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1399
e0eb0550 1400 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1401 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1402 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1403 no :src tag was specified.
1404
fb651d15 1405 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1406 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1407 Use \\` to match beginning of string instead of ^.
1408 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1409 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1410
177948a5
RS
1411 * net/shr.el (shr-tag-video): Display content for video if no
1412 poster is available.
eb2dd24d 1413 (shr-tag-audio): Add support for <audio> tag.
177948a5 1414
e0eb0550 1415 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1416 (eww-process-text-input): Treat input types in
1417 `eww-text-input-types' as text.
1418
8feacce0
RS
1419 * net/shr.el (shr-tag-table): Fix comment typo.
1420
513562a1
LMI
14212013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1422
1423 * net/eww.el (eww-follow-link): New command to avoid reloading
1424 pages when we follow #target links (bug#15243).
de8a5633 1425 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1426
9dd99753
KN
14272013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1428
1429 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1430 forms.
1431
3e9876de
LMI
14322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1433
1434 * net/eww.el (eww-restore-history): Update the window title after
1435 moving in the history.
ab6dea82 1436 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1437
52789f7f
DG
14382013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1439
1440 * vc/log-edit.el (log-edit-mode-map): Add binding for
1441 `log-edit-beginning-of-line'.
1442 (log-edit-setup-add-author): New user option.
1443 (log-edit-beginning-of-line): New command.
1444 (log-edit): Move major mode call above the contents setup so that
1445 the local variable values are already applied.
1446 (log-edit): Only insert "Author: " when
1447 `log-edit-setup-add-author' is non-nil.
1448 (log-edit): When SETUP is non-nil, position point after ": "
1449 instead of point-min.
1450
2e6710c3
GM
14512013-12-01 Glenn Morris <rgm@gnu.org>
1452
1453 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1454
fadec31f
EZ
14552013-11-30 Eli Zaretskii <eliz@gnu.org>
1456
1457 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1458 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1459 visible. (Bug#16014)
1460
10634b40 14612013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1462
1463 Support resizing frames and windows pixelwise.
1464 * cus-start.el (frame-resize-pixelwise)
1465 (window-resize-pixelwise): New entries.
1466 * emacs-lisp/debug.el (debug): Use window-total-height instead
1467 of window-total-size.
1468 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1469 * help.el (describe-bindings-internal): Call help-buffer
1470 (temp-buffer-max-width): New option.
1471 (resize-temp-buffer-window, help-window-setup)
1472 (with-help-window): Rewrite.
1473 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1474 dragging dividers.
1475 * window.el (frame-char-size, window-min-pixel-height)
1476 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1477 (window-min-pixel-width, window-safe-min-pixel-size)
1478 (window-combination-p, window-safe-min-size)
1479 (window-resizable-p, window--size-to-pixel)
1480 (window--pixel-to-size, window--resize-apply-p): New functions.
1481 (window-safe-min-height): Fix doc-string.
1482 (window-size, window-min-size, window--min-size-1)
1483 (window-sizable, window-sizable-p, window--min-delta-1)
1484 (window-min-delta, window--max-delta-1, window-max-delta)
1485 (window--resizable, window--resizable-p, window-resizable)
1486 (window-full-height-p, window-full-width-p, window-at-side-p)
1487 (window--in-direction-2, window-in-direction)
1488 (window--resize-reset-1, window--resize-mini-window)
1489 (window-resize, window-resize-no-error)
1490 (window--resize-child-windows-normal)
1491 (window--resize-child-windows, window--resize-siblings)
1492 (window--resize-this-window, window--resize-root-window)
1493 (window--resize-root-window-vertically)
1494 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1495 (maximize-window, minimize-window, delete-window)
1496 (quit-restore-window, window-split-min-size, split-window)
1497 (balance-windows-2, balance-windows)
1498 (balance-windows-area-adjust, balance-windows-area)
1499 (window--state-get-1, window-state-get, window--state-put-1)
1500 (window--state-put-2, window-state-put)
fb651d15
SM
1501 (display-buffer-record-window, window--display-buffer):
1502 Make functions handle pixelwise sizing of windows.
880e6158 1503 (display-buffer--action-function-custom-type)
fb651d15
SM
1504 (display-buffer-fallback-action):
1505 Add display-buffer-in-previous-window.
880e6158
MR
1506 (display-buffer-use-some-window): Resize window to height it had
1507 before.
1508 (fit-window-to-buffer-horizontally): New option.
1509 (fit-frame-to-buffer): Describe new values.
1510 (fit-frame-to-buffer-bottom-margin): Replace with
1511 fit-frame-to-buffer-margins.
1512 (window--sanitize-margin): New function.
1513 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1514 using window-text-pixel-size.
1515
f9b697dd
GM
15162013-11-30 Glenn Morris <rgm@gnu.org>
1517
3e2fb4db
GM
1518 * emacs-lisp/bytecomp.el (byte-compile-form):
1519 Make the `interactive-only' warning like the `obsolete' one.
1520 * comint.el (comint-run):
1521 * files.el (insert-file-literally, insert-file):
1522 * replace.el (replace-string, replace-regexp):
1523 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1524 (goto-line, insert-buffer, next-line, previous-line):
1525 Tweak `interactive-only' spec.
1526
f9b697dd
GM
1527 Stop keeping (most) generated cedet grammar files in the repository.
1528 * Makefile.in (semantic): New.
1529 (compile-main): Depend on semantic.
1530
da048127
SM
15312013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1532
7784b779
SM
1533 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1534 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1535
4e36a6a6
SM
1536 * uniquify.el (uniquify-buffer-name-style): Change default.
1537
1538 * loadup.el: Preload "uniquify".
1539
e0ba1308
SM
1540 * time.el (display-time-update): Update all mode lines (bug#15999).
1541
da048127
SM
1542 * electric.el (electric-indent-mode): Enable by default.
1543 * loadup.el: Preload "electric".
1544
015b3b3e
BB
15452013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1546
1547 * emacs-lisp/helpers.el (string-empty-p): New function.
1548 (string-blank-p): New function.
1549
7efb806d
AP
15502013-11-29 Andreas Politz <politza@hochschule-trier.de>
1551
1552 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1553 (Bug#14029).
1554
c8f0efc2
AP
15552013-11-29 Andreas Politz <politza@fh-trier.de>
1556 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1557 allow non-lambda lists as functions.
1558 (imenu--in-alist): Don't recurse into non-subalists.
1559 (imenu): Don't pass function itself as an argument (Bug#14029).
1560
bd15d9d1
SM
15612013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * progmodes/python.el (python-mode-map): Remove binding for ":".
1564 (python-indent-electric-colon): Remove command.
1565 (python-indent-post-self-insert-function): Integrate the previous code
1566 of python-indent-electric-colon. Make it conditional on
1567 electric-indent-mode.
1568 (python-mode): Add ?: to electric-indent-chars.
1569 Move python-indent-post-self-insert-function to the end of
1570 post-self-insert-hook.
1571
1b10adb6
SM
15722013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1573
655ab9a3
SM
1574 * doc-view.el (doc-view-goto-page): Update mode-line.
1575
1b10adb6
SM
1576 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1577
7e3bf78c
GM
15782013-11-27 Glenn Morris <rgm@gnu.org>
1579
1580 * international/charprop.el, international/uni-bidi.el:
1581 * international/uni-category.el, international/uni-combining.el:
1582 * international/uni-comment.el, international/uni-decimal.el:
1583 * international/uni-decomposition.el, international/uni-digit.el:
1584 * international/uni-lowercase.el, international/uni-mirrored.el:
1585 * international/uni-name.el, international/uni-numeric.el:
1586 * international/uni-old-name.el, international/uni-titlecase.el:
1587 * international/uni-uppercase.el:
1588 Remove generated files from VCS repository.
1589
fb6a5d68
EZ
15902013-11-27 Eli Zaretskii <eliz@gnu.org>
1591
1592 * filenotify.el (file-notify-add-watch): Don't special-case
1593 w32notify when computing the directory to watch.
1594
cb6c95a3
GM
15952013-11-27 Glenn Morris <rgm@gnu.org>
1596
20372d0c
GM
1597 Make bootstrap without generated uni-*.el files possible again.
1598 * loadup.el: Update command-line-args checking for unidata-gen.
1599 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1600 * composite.el, international/characters.el:
1601 Handle unicode tables being undefined.
1602
52d6635f 1603 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1604 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1605 (compile-main): Depend on leim rule.
1606 (leim): New rule.
1607 * loadup.el: Move leim-list.el to leim/ subdirectory.
1608 * startup.el (normal-top-level): No more leim directory.
1609 * international/ja-dic-cnv.el (skkdic-convert):
1610 Disable version-control and autoloads in output files.
1611 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1612 Disable version-control and autoloads in output files.
1613 * leim/quail: Move here from ../leim.
1614 * leim/quail/hangul.el (hangul-input-method-activate):
1615 Add autoload cookie.
1616 (generated-autoload-load-name): Set file-local value.
1617 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1618 (generated-autoload-load-name): Set file-local value.
1619
7514d3f8 16202013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1621
e0eb0550 1622 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1623 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1624 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1625
0e2c793f
EZ
16262013-11-26 Eli Zaretskii <eliz@gnu.org>
1627
1628 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1629 reading output from Diff on MS-Windows and MS-DOS.
1630
447bdcb8
BB
16312013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1632
1633 * emacs-lisp/helpers.el (string-reverse): New function.
1634
5fbf6856
MA
16352013-11-26 Michael Albinus <michael.albinus@gmx.de>
1636
1637 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1638 names on MS Windows, like "/[::1]:".
1639
1640 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1641 SWITCHES.
1642
624780f0
GM
16432013-11-26 Glenn Morris <rgm@gnu.org>
1644
0bf3f0fa
GM
1645 * progmodes/python.el (python-indent-guess-indent-offset):
1646 Avoid corner-case error. (Bug#15975)
1647
624780f0
GM
1648 Preload leim-list.el. (Bug#4789)
1649 * loadup.el: Load leim-list.el when found.
1650 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1651
4301875e 16522013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1653
1654 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1655
4301875e
BB
1656 * emacs-lisp/helpers.el (string-join): New function.
1657
1633a815 16582013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1659
1660 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1661 Mark as obsolete and replace it with a symbol property.
1662 (byte-compile-form): Use new 'interactive-only property.
1663 * comint.el, files.el, replace.el, simple.el:
1664 Apply new 'interactive-only properly.
1665
00139435
MR
16662013-11-25 Martin Rudalics <rudalics@gmx.at>
1667
1668 * window.el (display-buffer-at-bottom): Make sure that
1669 split-window-sensibly creates the new window on bottom
1670 (Bug#15961).
1671
5f5b128d
DK
16722013-11-23 David Kastrup <dak@gnu.org>
1673
1674 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1675 on the conflict markers when available.
1676 (smerge--get-marker): New function.
1677 (smerge-end-re, smerge-base-re): Add subgroup.
1678
623891e5
SM
16792013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * frame.el (handle-focus-in, handle-focus-out): Add missing
1682 interactive spec.
1683
05ca27d8
MA
16842013-11-25 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1687 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1688
511fa0d3
SM
16892013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1690
e82ad66c
SM
1691 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1692 (gomoku--last-pos): New var.
1693 (gomoku--intangible-chars): New const.
1694 (gomoku--intangible): New function.
1695 (gomoku-mode): Use it. Derive from special-mode.
1696 (gomoku-move-up): Adjust line count.
1697 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1698 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1699 Simplify accordingly.
1700
511fa0d3
SM
1701 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1702 Remove blink-cursor code.
1703 (blink-cursor-timer-function, blink-cursor-suspend):
1704 Don't special-case GUIs.
1705 (blink-cursor-mode): Use focus-in/out-hook.
1706
6f20dd03
DG
17072013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1708
1709 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1710 work when annotation is invisible (Bug#13886).
1711
431dec31 17122013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1713
1714 * json.el (json-alist-p): Only return non-nil if the alist has
1715 simple keys (Bug#13518).
1716
431dec31 17172013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1718
1719 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1720 when control-statement is the first statement in a buffer (Bug#15956).
1721
ee4f0261
DG
17222013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1723
1724 * imenu.el (imenu-generic-skip-comments-and-strings):
1725 New option (Bug#15560).
1726 (imenu--generic-function): Use it.
1727
c484f866
JS
17282013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1729
e9dc713d
JB
1730 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1731 (Bug#13898)
c484f866 1732
41ce6f70
BB
17332013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1734
b55aea38
BB
1735 * emacs-lisp/helpers.el: Add some string helpers.
1736 (string-trim-left): Removes leading whitespace.
1737 (string-trim-right): Removes trailing whitespace.
1738 (string-trim): Removes leading and trailing whitespace.
1739
41ce6f70
BB
1740 * subr.el (string-suffix-p): New function.
1741
3cfb6af3
GM
17422013-11-23 Glenn Morris <rgm@gnu.org>
1743
1744 * progmodes/python.el (python-shell-send-file):
1745 Add option to delete file when done. (Bug#15647)
1746 (python-shell-send-string, python-shell-send-region): Use it.
1747
c27924b7
IS
17482013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1749
e1b01c7f
IS
1750 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1751 to set buffer-read-only to t, never to nil. (Bug#15938)
1752
c27924b7
IS
1753 * textmodes/tex-mode.el (latex-noindent-environments):
1754 Add safe-local-variable property. (Bug#15936)
1755
17e0445b
GM
17562013-11-23 Glenn Morris <rgm@gnu.org>
1757
92f78ea3
GM
1758 * textmodes/enriched.el (enriched-mode): Doc fix.
1759 * emacs-lisp/authors.el (authors-renamed-files-alist):
1760 Add enriched.doc -> enriched.txt.
1761
17e0445b
GM
1762 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1763
965bb23a
LL
17642013-11-22 Leo Liu <sdl.web@gmail.com>
1765
1766 * progmodes/octave.el (inferior-octave-startup): Spit out error
1767 message.
1768
d19ffd64
BB
17692013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1770
1771 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1772 Improve docstring.
15ba2182
BB
1773 Add :version.
1774 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1775
7a7567d2
LL
17762013-11-22 Leo Liu <sdl.web@gmail.com>
1777
1778 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1779 (Bug#15076)
8c09f64b
LL
1780 (octave-help-mode): Adapt to change to help-mode-finish to use
1781 derived-mode-p on 2013-09-17.
1782 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1783 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1784
724bc265
LL
17852013-11-22 Leo Liu <sdl.web@gmail.com>
1786
1787 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1788 (inferior-octave-startup, inferior-octave-check-process)
1789 (inferior-octave-track-window-width-change)
1790 (octave-completion-at-point, octave-eldoc-function): Use it.
1791 (octave-kill-process): Provide confirmation. (Bug#10564)
1792
38637cca
LL
17932013-11-21 Leo Liu <sdl.web@gmail.com>
1794
511fa0d3
SM
1795 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1796 Fix obsolete variable comment-use-global-state.
38637cca 1797
06e752b4
RS
17982013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1799
511fa0d3
SM
1800 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1801 Add `octave-source-file'.
06e752b4
RS
1802 (octave-source-file): New function. (Bug#15935)
1803
7514d3f8 18042013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1805
1806 * net/eww.el (eww-local-regex): New variable.
1807 (eww): Use it to detect localhost and similar.
1808
b6ffa04a
LL
18092013-11-21 Leo Liu <sdl.web@gmail.com>
1810
1811 Add completion for command `ag'.
2021a200
LL
1812 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1813 (pcomplete/ag): New function.
e9dc713d 1814 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1815
d1a6bccc
SM
18162013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1819 (bug#14646).
1820 (make-obsolete): Remove interactive spec.
1821
2df10228
GM
18222013-11-21 Glenn Morris <rgm@gnu.org>
1823
1824 * startup.el (command-line-1): Use path-separator with -L.
1825
86fd16b6
TZ
18262013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1827
1828 * emacs-lisp/package.el (describe-package-1): Add package archive
1829 to shown fields.
1830
0449d6cd 18312013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1832
1833 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1834 Change default to "# encoding: %s" to differentiate it from the
1835 default Ruby encoding comment template.
1836
dc7e8c17 18372013-11-20 era eriksson <era+emacsbugs@iki.fi>
1838
1839 * ses.el (ses-mode): Doc fix. (Bug#14748)
1840
f0cfa5fe
LL
18412013-11-20 Leo Liu <sdl.web@gmail.com>
1842
1843 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1844
826dc7b6
DN
18452013-11-19 Dan Nicolaescu <dann@gnu.org>
1846
1847 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1848 when rebase or bisect are in progress.
1849
a6e3a5d5
XF
18502013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1851
1852 * filenotify.el (file-notify-add-watch): Doc fix.
1853
f130cb76
LL
18542013-11-19 Leo Liu <sdl.web@gmail.com>
1855
e0855d7d
LL
1856 * obsolete/rcompile.el: Mark obsolete.
1857
f130cb76 1858 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1859 (compilation-goto-locus, compilation-find-file):
1860 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1861 (Bug#13594)
1862
1863 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1864 new parameter no-display-ok. Return either a window or nil
1865 but never a non-window value.
f130cb76 1866
1f35d401
SM
18672013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1868
25158c76
SM
1869 * electric.el (electric-indent-mode-map): Remove.
1870 (electric-indent-mode): Change the global-map instead (bug#15915).
1871
1872 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1873 Use add-function.
1f35d401 1874
9bc67baa
SM
18752013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1876
986545b5
SM
1877 * emacs-lisp/nadvice.el (remove-function): Align with
1878 add-function's behavior.
1879
9bc67baa
SM
1880 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1881 (gdb--string-regexp): New constant.
1882 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1883 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1884 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1885 submatch 1.
1886 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1887 Adjust use accordingly.
1888 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1889
56cd894e
AS
18902013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1891
1892 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1893 interpolation curlies (Bug#15914).
1894
014690de
JB
18952013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1896
1897 * calc/calc.el (calc-context-sensitive-enter): New variable.
1898 (calc-enter): Use `calc-context-sensitive-enter'.
1899
7e26a6c3
TZ
19002013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1901
1902 * progmodes/cfengine.el: Version bump.
1903 (cfengine-cf-promises): New defcustom to locate cf-promises.
1904 (cfengine3-vartypes): Add new "data" type.
1905 (cfengine3--current-word): New function to get current name-like
1906 word or its bounds.
1907 (cfengine3--current-function): New function to look up a CFEngine
1908 function's definition.
1909 (cfengine3-format-function-docstring): New function.
1910 (cfengine3-make-syntax-cache): New function.
1911 (cfengine3-documentation-function): New function: ElDoc glue.
1912 (cfengine3-completion-function): New function: completion glue.
1913 (cfengine3-mode): Set `compile-command',
1914 `eldoc-documentation-function', and add to
1915 `completion-at-point-functions'.
1916
355204dd
MA
19172013-11-16 Michael Albinus <michael.albinus@gmx.de>
1918
1919 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1920 `tramp-current-connection'.
1921
43cebc23
DG
19222013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1923
1924 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1925 nil/self/true/false with "end of symbol".
1926
a3fed6ff
BB
19272013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1928
1929 * subr.el (version-regexp-alist): Fix a typo.
1930
e675b3e4
MA
19312013-11-15 Michael Albinus <michael.albinus@gmx.de>
1932
1933 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1934 "en_US.utf8" and "LC_CTYPE" to "".
1935 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1936 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1937
a1f03e89
LL
19382013-11-15 Leo Liu <sdl.web@gmail.com>
1939
1940 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1941
5d9d9451
SM
19422013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1943
58362662
CS
1944 * progmodes/gud.el (ctl-x-map):
1945 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1946 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1947
6c1bf086
BB
19482013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1949
0d5363c4
BB
1950 * subr.el (version-regexp-alist):
1951 Recognize hg, svn and darcs versions as snapshot versions.
1952
4e9fc48c
BB
1953 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1954 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1955 (ruby--encoding-comment-required-p): Extract from
1956 `ruby-mode-set-encoding'.
1957 (ruby-mode-set-encoding): Add the ability to always insert an
1958 utf-8 encoding comment. Fix and simplify coding comment update
1959 logic.
6c1bf086 1960
2f7e72f8
MA
19612013-11-14 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * net/tramp-gvfs.el (top): Run init code only when
1964 `tramp-gvfs-enabled' is not nil.
1965 (tramp-gvfs-enabled): Check also :system bus.
1966
0f137a73
SM
19672013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 Sync with upstream verilog-mode revision 78e66ba.
1970 * progmodes/verilog-mode.el (verilog-end-of-defun)
1971 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1972 (verilog-get-end-of-defun): Remove unused argument.
1973 (verilog-comment-depth): Remove unused local `e'.
1974 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1975 Don't pass arg to verilog-get-end-of-defun.
1976
1c276bdd
GM
19772013-11-14 Glenn Morris <rgm@gnu.org>
1978
1979 * obsolete/assoc.el (aget): Prefix dynamic variable.
1980
1981 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1982
ff6ec81d
SM
19832013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * widget.el, hfy-cmap.el: Remove bogus package version number.
1986
75f777b6
GM
19872013-11-13 Glenn Morris <rgm@gnu.org>
1988
1d43dba1
GM
1989 * replace.el (replace-eval-replacement):
1990 Try to give more helpful error message. (Bug#15836)
1991
ff4b7bd5
GM
1992 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1993 (archive-7z-update): Avoid custom type mismatches.
1994
75f777b6
GM
1995 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1996
11151a06
MA
19972013-11-13 Michael Albinus <michael.albinus@gmx.de>
1998
e675b3e4 1999 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2000 address can be empty.
2001
2002 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2003 Accept nil SWITCHES.
2004 (tramp-gvfs-handle-write-region): Implement APPEND.
2005
7b08f97e
DG
20062013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2007
2008 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2009 binary "|" operator and closing block args delimiter.
2010 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2011 (ruby-smie--implicit-semi-p): Not after "|" operator.
2012 (ruby-smie--closing-pipe-p): New function.
2013 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2014 (ruby-smie-rules): Indent after "|".
2015
f201cf3a
GM
20162013-11-12 Glenn Morris <rgm@gnu.org>
2017
2018 * ps-print.el (ps-face-attribute-list):
2019 Handle anonymous faces. (Bug#15827)
2020
e6f759f9
MR
20212013-11-12 Martin Rudalics <rudalics@gmx.at>
2022
2023 * window.el (display-buffer-other-frame): Fix doc-string.
2024 (Bug#15868)
2025
ecda65d4
SM
20262013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2029
7ce8fcc3
MA
20302013-11-11 Michael Albinus <michael.albinus@gmx.de>
2031
2032 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2033 (tramp-sh-handle-file-local-copy): Don't write a message when
2034 saving temporary files.
2035
2036 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2037 both directories are remote.
2038 (tramp-smb-handle-directory-files): Do not return double entries.
2039 Do not expand full file names.
2040 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2041 (tramp-smb-handle-write-region): Implement APPEND.
2042 (tramp-smb-get-stat-capability): Fix a stupid bug.
2043
7818df11
SM
20442013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2047
608c2085
NT
20482013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2049
2050 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2051 throwing error over malformed let/let* (bug#15814).
2052
122a7e46
SM
20532013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * iswitchb.el (iswitchb-mode): Mark obsolete.
2056
766284d9
GM
20572013-11-11 Glenn Morris <rgm@gnu.org>
2058
2059 * international/uni-bidi.el, international/uni-category.el:
2060 * international/uni-name.el, international/uni-numeric.el:
2061 Regenerate for Unicode 6.3.0.
2062
7072a4e9
MA
20632013-11-10 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp.el (tramp-methods):
2066 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2067 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2068
c9df215b
AS
20692013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2070
608c2085
NT
2071 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2072 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2073
fa47d796
DG
20742013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2075
2076 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2077 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2078 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2079 (ispell-complete-word): Call `ispell-lookup-words' with the value
2080 independent of `ispell-look-p'.
2081
1629a329
DG
20822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2085 Not after "||".
2086 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2087 their parent.
2088
ad16897c
SM
20892013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2092 (ruby-font-lock-keywords): Use backquote.
2093
ffa2df72
DG
20942013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2095
2096 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2097 (ruby-smie--backward-token): Only consider full-string matches.
2098
5b97b4c0
JD
20992013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2100
2101 * faces.el (describe-face): Add distant-foreground.
2102
71731c03
BB
21032013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2104
4e9fc48c
BB
2105 * progmodes/ruby-mode.el: Improve encoding comment handling.
2106 (ruby-encoding-magic-comment-style): New option.
2107 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2108 (ruby--insert-coding-comment, ruby--detect-encoding):
2109 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2110 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2111 to control the style of the auto-inserted encoding comment.
71731c03 2112
da3b328d
DG
21132013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2114
ad16897c
SM
2115 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2116 Use `smie-backward-sexp' with token argument.
da3b328d 2117
1606c2d3
MA
21182013-11-08 Michael Albinus <michael.albinus@gmx.de>
2119
2120 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2121 Remove instrumentation code.
2122
b0f4c320
GM
21232013-11-08 Glenn Morris <rgm@gnu.org>
2124
2125 * progmodes/autoconf.el (autoconf-mode):
2126 Tweak comment-start-skip. (Bug#15822)
2127
43668fb1
SM
21282013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2131 at bobp (bug#15826).
2132 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2133
daddb3fd
DH
21342013-11-08 Darren Hoo <darren.hoo@gmail.com>
2135
2136 * man.el (Man-start-calling): New macro, extracted from
2137 Man-getpage-in-background.
2138 (Man-getpage-in-background): Use it.
2139 (Man-update-manpage): New command.
2140 (Man-mode-map): Bind it.
2141
1f923923
DG
21422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2143
2144 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2145 of "and", "or", "&&" and "||".
2146 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2147 argument. Prohibit opening curly brace because it could only be a
2148 block opener in that position.
daddb3fd
DH
2149 (ruby-smie--forward-token, ruby-smie--backward-token):
2150 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2151 arguments.
2152 (ruby-smie--indent-to-stmt): New function, seeks the end of
2153 previous statement or beginning of buffer.
2154 (ruby-smie-rules): Use it.
2155 (ruby-smie-rules): Check if there's a ":" before a curly block
2156 opener candidate; if there is, it's a hash.
2157
3220d527
SM
21582013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2161 (cl--block-wrapper): Fix last accidental change.
2162
1eb1f9e0
MA
21632013-11-07 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2166 Instrument, in order to hunt failure on hydra.
2167
e6e4db3c
NT
21682013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2169
2170 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2171 malformed bindings form (bug#15814).
2172
b420ccfc
DG
21732013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2174
2175 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2176 "." compared to " @ ". This incidentally fixes some indentation
2177 examples with "do".
e6e4db3c 2178 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2179 (ruby-smie-grammar): New tokens: "and" and "or".
2180 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2181 Exclude "and" and "or". Remove "do" in order to work around token
2182 priorities.
2183 (ruby-smie-rules): Add all infix tokens. Handle the case of
2184 beginning-of-buffer.
b420ccfc 2185
6b4ac03e
GM
21862013-11-06 Glenn Morris <rgm@gnu.org>
2187
2188 * Makefile.in (setwins_almost, setwins_for_subdirs):
2189 Avoid accidental matches.
2190
5ca114d1
SM
21912013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * menu-bar.el (popup-menu): Use key-binding.
2194
f72552bd
EZ
21952013-11-06 Eli Zaretskii <eliz@gnu.org>
2196
2197 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2198 menus, support also the menus produced by minor modes.
2199 (Bug#15817)
2200
5d5c701e
LL
22012013-11-06 Leo Liu <sdl.web@gmail.com>
2202
2203 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2204 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2205
0a8b75e2
GM
22062013-11-06 Glenn Morris <rgm@gnu.org>
2207
2208 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2209 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2210 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2211
a35287ea
SM
22122013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2213
feca4e2d
SM
2214 * electric.el (electric-indent-just-newline): New command.
2215 (electric-indent-mode-map): New keymap.
2216 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2217 Re-add :group which weren't redundant.
2218
a35287ea
SM
2219 * electric.el (electric-indent-local-mode): New minor mode.
2220 (electric-indent-functions-without-reindent): New var.
2221 (electric-indent-post-self-insert-function): Use it.
2222 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2223
375761b2
EZ
22242013-11-05 Eli Zaretskii <eliz@gnu.org>
2225
9a6ad735
EZ
2226 * international/quail.el (quail-help): Be more explicit about the
2227 meaning of the labels shown on the keys. (Bug#15800)
2228
375761b2
EZ
2229 * startup.el (normal-top-level): Load the subdirs.el files before
2230 setting the locale environment. (Bug#15805)
2231
520a6e4a
SM
22322013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2233
0acfafef
SM
2234 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2235 via arguments so as to get the right ones (bug#15418).
2236
520a6e4a
SM
2237 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2238
15826261
MA
22392013-11-05 Michael Albinus <michael.albinus@gmx.de>
2240
2241 Fix problems found while writing a test suite.
2242
2243 * net/tramp-compat.el (tramp-compat-load): New defun.
2244 * net/tramp.el (tramp-handle-load): Use it.
2245
2246 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2247 "(numberp ok-if-already-exists)" correctly.
2248
d35f31a4
XF
22492013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2250
2251 * international/characters.el (glyphless-char-display-control):
2252 Add usage note.
2253
ae93bc74
BB
22542013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2255
520a6e4a
SM
2256 * progmodes/python.el (python-mode):
2257 * progmodes/scheme.el (scheme-mode):
2258 * progmodes/prolog.el (prolog-mode):
2259 * progmodes/ruby-mode.el (ruby-mode):
2260 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2261 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2262
0ade65b5
SM
22632013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2264
a0d5f7a4
SM
2265 * rect.el (rectangle--highlight-for-redisplay):
2266 * emacs-lisp/smie.el (smie--next-indent-change):
2267 Use buffer-chars-modified-tick.
2268
c93f3f5c
SM
2269 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2270
0ade65b5
SM
2271 * electric.el (electric-indent-post-self-insert-function):
2272 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2273
ef9dd188
HE
22742013-11-04 Helmut Eller <eller.helmut@gmail.com>
2275
2276 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2277
306e7308
NT
22782013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2279
2280 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2281 (bug#15786).
2282
e5afbcac
SM
22832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2284
1d01ad41
SM
2285 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2286
e5afbcac
SM
2287 * progmodes/python.el: Fix up last change.
2288 (python-shell--save-temp-file): New function.
2289 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2290 `string' comes from the current buffer.
2291 (python-shell-send-string-no-output): Remove `msg' arg.
2292 (python--use-fake-loc): New var.
2293 (python-shell-buffer-substring): Obey it. Try to compensate for the
2294 extra coding line added by python-shell--save-temp-file.
2295 (python-shell-send-region): Use python-shell--save-temp-file and
2296 python-shell-send-file directly. Add `nomain' argument.
2297 (python-shell-send-buffer): Use python-shell-send-region.
2298 (python-electric-pair-string-delimiter): New function.
2299 (python-mode): Use it.
2300
d0065ff1
EZ
23012013-11-04 Eli Zaretskii <eliz@gnu.org>
2302
2303 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2304 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2305 environment and decoding all of the default-directory's to here
2306 from command-line.
2307 (command-line): Decode also argv[0].
2308
2309 * loadup.el: Error out if default-directory is a multibyte string
2310 when we are dumping.
2311
2312 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2313
7397c587
TZ
23142013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2315
2316 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2317 (package-menu--print-info, package-menu--archive-predicate):
2318 Add Archive column to package list.
7397c587 2319
b27cc9fc
MA
23202013-11-04 Michael Albinus <michael.albinus@gmx.de>
2321
2322 Fix problems found while writing a test suite.
2323
2324 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2325 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2326 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2327 to nil when running original file name handler. Otherwise,
2328 there are problems with constructs like "$$FOO".
2329
2330 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2331 for `localname'.
2332
d8c4f18a
BB
23332013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2334
7b530552
BB
2335 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2336
2337 * subr.el (version<, version<=, version=):
2338 Update docstrings with information for snapshot versions.
2339
d8c4f18a
BB
2340 * helpers.el: New library for misc helper functions.
2341 (hash-table-keys): New function returning a list of hash keys.
2342 (hash-table-values): New function returning a list of hash values.
2343
dca01b09
DG
23442013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2345
2346 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2347 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2348
0a749fa0
MN
23492013-11-04 Michal Nazarewicz <mina86@mina86.com>
2350
2351 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2352 checking whether point is after a 1-letter word.
2353
23542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2355
2356 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2357 Don't infloop when expanding region over `multiline' syntax-type that
2358 begins a line (bug#15778).
2359
4aca7145
SM
23602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2363 Make it into a proper minor mode.
2364 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2365 (rectangle-mark-mode-map): New keymap.
2366 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2367
a0833f62
GM
23682013-11-04 Glenn Morris <rgm@gnu.org>
2369
2370 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2371
e61845c1
SM
23722013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2375 (ruby-smie-rules): Use smie-rule-parent instead.
2376
2377 * emacs-lisp/smie.el (smie-rule-parent): Always call
2378 smie-indent-virtual rather than only for hanging tokens.
2379 (smie--next-indent-change): New helper command.
2380
62942f89
GM
23812013-11-03 Glenn Morris <rgm@gnu.org>
2382
2383 * Makefile.in (abs_srcdir): Remove.
2384 (emacs): Unset EMACSLOADPATH.
2385
b0b9e592
GM
23862013-11-02 Glenn Morris <rgm@gnu.org>
2387
18ba6a33 2388 * Makefile.in (EMACS): Use a relative filename.
8061810d 2389 (abs_top_builddir): Remove.
18ba6a33
GM
2390 (custom-deps, finder-data, autoloads): Use --chdir.
2391
6a8b929e
GM
2392 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2393
c617f3d0
GM
2394 Use relative filenames in TAGS files.
2395 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2396 (lisptagsfiles4, TAGS): Use relative file names.
2397 (TAGS-LISP): Remove.
2398 (maintainer-clean): No more TAGS-LISP file.
2399
b0b9e592
GM
2400 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2401 (lisptagsfiles4): Use absolute filenames again.
2402 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2403 Remove all *loaddefs files, not just the first. Remove esh-groups.
2404 (maintainer-clean): Delete TAGS, TAGS-LISP.
2405
d1c0ea6a
BB
24062013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2407
e61845c1
SM
2408 * emacs-lisp/package.el (package-version-join):
2409 Recognize snapshot versions.
d1c0ea6a 2410
684d71c6
BB
24112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2412
2413 * subr.el (version-regexp-alist): Add support for snapshot versions.
2414
3d42b968
DG
24152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2416
e61845c1
SM
2417 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2418 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2419 skip over our direct parent if it's an assignment token..
2420 (ruby-smie-rules): Use it.
2421
7ffd3721
DG
24222013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2423
8449dd1f 2424 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2425 unconditionally. Remove now unnecessary forward declarations.
2426 Remove XEmacs-specific setup.
2427 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2428 (ruby-font-lock-syntactic-keywords)
2429 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2430 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2431 (ruby-here-doc-end-syntax): Remove.
2432 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2433 defined as function.
2434
a3996a2e
BB
24352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2436
2437 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2438
6f9260e8
BB
24392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2440
2441 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2442 table and abbrev table, `define-derived-mode' does that for us
2443 anyway.
2444
6014de84
GM
24452013-11-01 Glenn Morris <rgm@gnu.org>
2446
2447 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2448 files is atomic for some time, so no parallel compilation issues).
2449
3c334c14
JD
24502013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2451
2452 * faces.el (face-x-resources): Add :distant-foreground.
2453 (region): Use :distant-foreground for gtk and ns.
2454
9bc236c8
TH
24552013-11-01 Tassilo Horn <tsdh@gnu.org>
2456
5246583b 2457 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2458 BibTeX.
2459 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2460 (reftex-locate-bibliography-files): Us it.
2461
d14c81ee
CB
24622013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2463
0e7690de
CB
2464 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2465 allow comments in pbm files.
2466
d14c81ee
CB
2467 * term/w32-win.el (dynamic-library-alist): Support newer versions
2468 of libjpeg starting with v7: look only for the DLL from the
2469 version against which Emacs was built.
ac1bf374 2470 Support versions of libpng beyond 1.4.x.
019c8218 2471 Support libtiff v4.x.
d14c81ee 2472
983d0df5
BB
24732013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2474
2475 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2476 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2477 Add property :safe.
2478 (ruby-deep-arglist): Add property :type.
2479
47f58d85
GM
24802013-10-31 Glenn Morris <rgm@gnu.org>
2481
2482 * Makefile.in (custom-deps, finder-data): No need to setq the target
2483 variables, we are in the right directory and the defaults work fine.
2484
4f85b479
GM
24852013-10-30 Glenn Morris <rgm@gnu.org>
2486
ca7dd4cd
GM
2487 * Makefile.in (autoloads): Do not use abs_lisp.
2488
4f85b479
GM
2489 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2490 `newline' does not respect `standard-output', so use `princ'.
2491
cf59e41c
AA
24922013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2493
2494 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2495 * buff-menu.el (Buffer-menu--unmark): New function.
2496 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2497
74cf04fb
GM
24982013-10-30 Glenn Morris <rgm@gnu.org>
2499
b040b60e
GM
2500 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2501
f53d3815
GM
2502 * emacs-lisp/package.el (lm-homepage): Declare.
2503
5413d873
GM
2504 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2505 Fix doc typos.
2506
cecedb36
GM
2507 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2508
74cf04fb
GM
2509 * Makefile.in (finder-data, autoloads, update-subdirs)
2510 (compile-main, compile-clean, compile-always, bootstrap-clean):
2511 Check return value of cd.
2512 (compile-calc): Remove.
2513
195ee2f0
SM
25142013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2515
ae4002ce
SM
2516 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2517
2518 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2519 (byte-compile-and-folded): New function.
2520 (=, <, >, <=, >=): Use it.
2521
2522 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2523 (path-separator, null-device, buffer-file-coding-system)
2524 (lpr-headers-switches): Check system-type before modifying them.
2525 (find-buffer-file-type-coding-system): Mark obsolete.
2526 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2527 find-file-not-found-set-buffer-file-coding-system.
2528 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2529 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2530 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2531 (w32-direct-print-region-helper, w32-direct-print-region-function)
2532 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2533 * startup.el (normal-top-level-add-subdirs-to-load-path):
2534 * ps-print.el (ps-print-region-function):
2535 * lpr.el (print-region-function): Use new name.
2536
53b39e89
SM
2537 * subr.el (custom-declare-variable-early): Remove function.
2538 (custom-declare-variable-list): Remove var.
2539 (error, user-error): Remove `while' loop.
2540 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2541 (user-emacs-directory-warning, locate-user-emacs-file):
2542 Move to files.el.
2543 * simple.el (read-quoted-char-radix, read-quoted-char):
2544 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2545 Move from subr.el.
2546 * custom.el (custom-declare-variable-list): Don't process
2547 custom-declare-variable-list.
2548
195ee2f0
SM
2549 * progmodes/python.el (python-shell-get-buffer): New function.
2550 (python-shell-get-process): Use it.
2551 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2552 Python which encoding was used. Don't split-string since we only care
2553 about the first line. Return the temp-file, if applicable.
2554 (python-shell-send-region): Tell compile.el how to turn locations in
2555 the temp-file into locations in the source buffer.
2556
7e3561ee
SM
25572013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2558
4c9797cb
SM
2559 * subr.el (undefined): Add missing behavior from the C code for
2560 unbound keys.
2561
3472b6c6
SM
2562 * rect.el: Use lexical-binding. Add new rectangular region support.
2563 (rectangle-mark): New command.
2564 (rectangle--region): New var.
2565 (deactivate-mark-hook): Reset rectangle--region.
2566 (rectangle--extract-region, rectangle--insert-for-yank)
2567 (rectangle--highlight-for-redisplay)
2568 (rectangle--unhighlight-for-redisplay): New functions.
2569 (region-extract-function, redisplay-unhighlight-region-function)
2570 (redisplay-highlight-region-function): Use them to handle
2571 rectangular region.
2572 * simple.el (region-extract-function): New var.
2573 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2574 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2575 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2576 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2577 (redisplay-unhighlight-region-function)
2578 (redisplay-highlight-region-function): New vars.
2579 (redisplay--update-region-highlight): New function.
2580 (pre-redisplay-function): Use it.
2581 (exchange-point-and-mark): Don't deactivate the mark before
2582 reactivate-it anyway.
2583 * comint.el (comint-kill-region): Remove yank-handler argument.
2584 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2585 (delete-char): Remove property, since it's now part of their
2586 default behavior.
2587 (self-insert-iso): Remove property since this command doesn't exist.
2588
7e3561ee
SM
2589 * emacs-lisp/package.el (package--download-one-archive)
2590 (describe-package-1): Don't query the user about final newline.
2591
b9bef71f
DC
25922013-10-29 Daniel Colascione <dancol@dancol.org>
2593
2594 * net/tramp.el (tramp-methods): Document new functionality.
2595 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2596 tramp-hostname-checker if method provides one instead of scanning
2597 argument list for "%h" to decide hostname acceptability.
2598
4efc33f0
MA
25992013-10-28 Michael Albinus <michael.albinus@gmx.de>
2600
2601 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2602 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2603 Handle COPY-CONTENTS. (Bug#15737)
2604
ed42a877
DU
26052013-10-28 Daiki Ueno <ueno@gnu.org>
2606
2607 * epa-file.el
7e3561ee
SM
2608 (epa-file-cache-passphrase-for-symmetric-encryption):
2609 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2610
18c9f8a2
XF
26112013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2612
7a4bc7be
XF
2613 * image.el (defimage):
2614 (image-load-path): Doc fixes.
18c9f8a2 2615
b1e8e010
AM
26162013-10-27 Alan Mackenzie <acm@muc.de>
2617
2618 Indent statements in macros following "##" correctly.
7e3561ee
SM
2619 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2620 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2621
73d40d1e 26222013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2623
2624 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2625
c8c605ac
DG
26262013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2627
2628 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2629 after `=' is probably a new expression.
2630
ca7e59d4
RS
26312013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2632
2633 * man.el (man-imenu-title): New option.
2634 (Man-mode-map): Add menu. (Bug#15722)
2635 (Man-mode): Add imenu to menu.
2636
bae91342
DG
26372013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2638
2639 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2640 specific in what the first arg can be: a non-keyword word,
2641 string/regexp/percent literal opener, opening paren, or unary
2642 operator followed directly by word.
2643
eb89dc14
SM
26442013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2647 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2648 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2649 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2650 Remove vars, they do not apply any more.
2651 (prolog-mode-abbrev-table): Remove redundant declaration.
2652 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2653 (prolog-use-smie): Remove.
2654 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2655 supported by prolog-electric-if-then-else-flag.
2656 (prolog-mode-variables, prolog-menu): Use setq-local.
2657 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2658 Remove binding to `Backspace' since this key doesn't exist anyway.
2659 Remove bindings for electric self-inserting keys.
2660 (prog-mode): Assume it's defined.
2661 (prolog-post-self-insert): New function.
2662 (prolog-mode): Use it.
2663 (prolog-indent-line, prolog-indent-level)
2664 (prolog-find-indent-of-matching-paren)
2665 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2666 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2667 (prolog-goto-next-paren, prolog-in-string-or-comment)
2668 (prolog-tokenize, prolog-inside-mline-comment)
2669 (prolog-find-start-of-mline-comment): Remove functions.
2670 (prolog-find-unmatched-paren, prolog-clause-end)
2671 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2672 (prolog-electric--if-then-else): Rename from
2673 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2674 (prolog-tokenize-searchkey): Remove const.
2675 (prolog-clause-info): Use forward-sexp.
2676 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2677 (prolog-electric-if-then-else): Remove commands.
2678 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2679 for use in post-self-insert-hook.
2680 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2681 for use in post-self-insert-hook.
2682 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2683 for use in post-self-insert-hook.
2684 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2685 adapt it for use in post-self-insert-hook.
2686
3dab0a83
MA
26872013-10-25 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * emacs-lisp/ert.el (ert-run-tests-interactively):
2690 Use `completing-read'. (Bug#9756)
2691
fbfd0e1d
EZ
26922013-10-25 Eli Zaretskii <eliz@gnu.org>
2693
2694 * simple.el (line-move): Call line-move-1 instead of
2695 line-move-visual when the current window hscroll is zero, but
2696 temporary-goal-column indicates we will need to hscroll as result
2697 of the movement. (Bug#15712)
2698
963ce636
DG
26992013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2700
2701 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2702 capitalization. Use :visible instead of :active.
2703 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2704 commands that are used with SMIE.
2705 (ruby-do-end-to-brace): Insert space after `{'.
2706
a0be396a
JA
27072013-10-25 John Anthony <john@jo.hnanthony.com>
2708
f73754c9
JA
2709 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2710
2711 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2712
f5bf77df
GM
27132013-10-25 Glenn Morris <rgm@gnu.org>
2714
2715 * vc/vc.el (vc-print-log): Don't use a working revision unless
2716 one was explicitly specified. (Bug#15322)
2717
37241f62
SM
27182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * subr.el (add-to-list): Preserve return value in compiler-macro
2721 (bug#15692).
2722
6408a65d
RS
27232013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2724
2725 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2726 result. Ask user to retry using '-all' flag. (Bug#15701)
2727
71e3276b
SM
27282013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * emacs-lisp/smie.el: New smie-config system.
2731 (smie-config): New defcustom.
2732 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2733 (smie-config-guess, smie-config-save): New commands.
2734 (smie-config--mode-local, smie-config--buffer-local)
2735 (smie-config--trace, smie-config--modefuns): New vars.
2736 (smie-config--advice, smie-config--mode-hook)
2737 (smie-config--setter, smie-config-local, smie-config--get-trace)
2738 (smie-config--guess-value, smie-config--guess): New functions.
2739 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2740 text properties. Treat "string fence" syntax like string syntax.
2741
2742 * progmodes/sh-script.el (sh-use-smie): Change default.
2743 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2744 (sh-var-value): Simplify by CSE.
2745 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2746 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2747 is used.
2748 (sh-guess-basic-offset): Use cl-incf.
2749 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2750
60db713e
HE
27512013-10-24 Helmut Eller <eller.helmut@gmail.com>
2752
2753 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2754 (bug#15699).
2755
8b251df6
GM
27562013-10-24 Glenn Morris <rgm@gnu.org>
2757
2758 * Makefile.in (abs_top_srcdir): Remove.
2759 (update-subdirs): Use relative path to update-subdirs.
2760
6be0e22b
EZ
27612013-10-24 Eli Zaretskii <eliz@gnu.org>
2762
2763 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2764 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2765 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2766 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2767
50b5b857
MA
27682013-10-24 Michael Albinus <michael.albinus@gmx.de>
2769
2770 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2771 (ert-test-skipped): New error.
2772 (ert-skip, ert-stats-skipped): New defuns.
2773 (ert--skip-unless): New macro.
2774 (ert-test-skipped): New struct.
2775 (ert--run-test-debugger, ert-test-result-type-p)
2776 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2777 (ert--stats-set-test-and-result, ert-char-for-test-result)
2778 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2779 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2780 Handle skipped tests. (Bug#9803)
50b5b857 2781
6f317c2f
GM
27822013-10-24 Glenn Morris <rgm@gnu.org>
2783
e43817c1
GM
2784 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2785
6f317c2f
GM
2786 * Makefile.in (abs_top_srcdir): New, set by configure.
2787 (update-subdirs): Correct build-aux location.
2788
369bbf71
DG
27892013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2790
8297b2cf
DG
2791 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2792 value, whether we could auto-deduce `backend', or not.
2793
369bbf71
DG
2794 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2795 with parameters" example. Simplify the "is it block or is it
2796 hash" check, but also make it more thorough.
2797
d5f1282f
MF
27982013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2799
2800 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2801
bc4aaa31
SM
28022013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2803
03d44565
SM
2804 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2805 { if it is hanging.
2806
bc4aaa31
SM
2807 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2808 :before ";".
2809
f493ff19
JB
28102013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2811
2812 * progmodes/compile.el (compilation-directory-matcher)
2813 (compilation-page-delimiter):
2814 Support GNU Make-4.0 directory quoting. (Bug#15678)
2815
c744a3b9
LL
28162013-10-23 Leo Liu <sdl.web@gmail.com>
2817
2818 * ido.el (ido-tidy): Handle read-only text.
2819
b8e3b0a9
GM
28202013-10-23 Glenn Morris <rgm@gnu.org>
2821
2822 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2823 (emacs, compile, compile-always):
2824 Quote entities that might contain whitespace.
2825 (custom-deps, finder-data, autoloads): Use abs_lisp.
2826 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2827 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2828 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2829
ee4282cd
DG
28302013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2831
bc4aaa31
SM
2832 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2833 Use `following-char'.
7790a270 2834
ee4282cd 28352013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2836
2837 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2838 * progmodes/ruby-mode.el (ruby-smie-rules):
2839 Remove corresponding workaround. Fix indentation rule of ";" so it
2840 also applies when ";" is the parent.
2841
d40a46d7
XF
28422013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2843
2844 * frame.el (display-screens, display-pixel-height)
2845 (display-pixel-width, display-mm-width, display-backing-store)
2846 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2847 (display-visual-class, display-monitor-attributes-list):
2848 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2849
a0f143c9
MG
28502013-10-22 Michael Gauland <mikelygee@amuri.net>
2851
2852 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2853 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2854
18cacc39
DG
28552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2856
2857 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2858 TODO. Add "." after " @ ".
2859 (ruby-smie--at-dot-call): New function. Checks if point at method
2860 call with explicit target.
2861 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2862 to the method name tokens when it precedes them.
2863 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2864 (ruby-smie-rules): Add rule for indentation before and after "."
2865 token.
2866
df74c4be
SM
28672013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2868
c6dab55f
SM
2869 * textmodes/remember.el (remember-diary-extract-entries):
2870 Avoid add-to-list.
2871
df74c4be
SM
2872 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2873 an instruction.
2874
8c1ae481
DG
28752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2876
e9dc713d
JB
2877 * progmodes/ruby-mode.el (ruby-smie-grammar):
2878 Add (almost) all infix operators.
cfef16c0
DG
2879 (ruby-smie--implicit-semi-p): Add new operator chars.
2880
8c1ae481
DG
2881 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2882 `smie-down-list'.
2883 (ruby-smie--args-separator-p): Check that there's no newline
2884 between method call and its arguments.
2885
87756ca9
AM
28862013-10-20 Alan Mackenzie <acm@muc.de>
2887
2888 Allow comma separated lists after Java "implements".
2889
df74c4be
SM
2890 * progmodes/cc-engine.el (c-backward-over-enum-header):
2891 Parse commas.
87756ca9
AM
2892 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2893 from a "disallowed" list in enum fontification.
2894
c25f8957
JB
28952013-10-20 Johan Bockgård <bojohan@gnu.org>
2896
df74c4be 2897 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2898
c25f8957
JB
2899 * progmodes/verilog-mode.el (verilog-mode): Don't set
2900 comment-indent-function globally.
2901
aca5fcdc
JD
29022013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2903
5f161884
JD
2904 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2905 Move Info menu item creation to ns-win.el.
2906
2907 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2908 in menu bar.
2909
aca5fcdc
JD
2910 * menu-bar.el: Move GNUStep specific menus...
2911
2912 * term/ns-win.el (ns-initialize-window-system): ... to here.
2913
914b7f98
SM
29142013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * simple.el (newline): Only run post-self-insert-hook when
2917 called interactively.
2918
846ffe77
JB
29192013-10-19 Johan Bockgård <bojohan@gnu.org>
2920
2921 * icomplete.el (icomplete-with-completion-tables): Add :version.
2922
033f22dd
AM
29232013-10-19 Alan Mackenzie <acm@muc.de>
2924
2925 Fix fontification bugs with constructors and const.
2926
2927 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2928 CASE 2) Remove the check for the absence of a suffix construct
2929 after a function declaration with only types (no identifiers) in
2930 the parentheses. Also, accept a function declaration with just a
2931 type inside the parentheses, if this type can be positively
2932 recognised as such, or if a prefix keyword like "explicit" nails
2933 down the construct as a declaration.
2934
58ce0cfc
EZ
29352013-10-19 Eli Zaretskii <eliz@gnu.org>
2936
2937 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2938 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2939 the problem whereby selecting a menu item that leads to a
2940 minibuffer prompt moves the cursor out of the minibuffer window,
2941 making it hard to type at the prompt. Suggested by Stefan Monnier
2942 <monnier@iro.umontreal.ca>.
2943
50e28e7d
JD
29442013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2945
2946 * menu-bar.el: Don't make Services menu.
2947
7deed4bf
RS
29482013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2949
2950 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2951 (ffap-alist): Use ffap-c++-mode for c++-mode.
2952 (ffap-c++-path): New variable.
2953 (ffap-c++-mode): New function.
2954
7bcb455b
JVJ
29552013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2956
2957 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2958
f0ff1cd5
MA
29592013-10-18 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2962 introduced on 2013-09-08, which results in an infinite loop
2963 requesting a password.
2964
d64da4b7
GM
29652013-10-18 Glenn Morris <rgm@gnu.org>
2966
2967 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2968
ea89ff08
WS
29692013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2970
2971 Sync with upstream verilog-mode revision 1a6ecec7.
2972 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2973 (verilog-mode-release-date): Remove.
2974 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2975 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2976 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2977 (verilog-auto-tieoff-ignore-regexp)
2978 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2979 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2980 (verilog-signals-with, verilog-dir-cache-preserving)
2981 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2982 Doc fixes.
2983 (verilog-case-fold): New option, to control case folding in
2984 regexp searches, bug597.
2985 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2986 (verilog-string-match-fold, verilog-in-paren-count)
2987 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2988 (verilog-at-close-struct-p): New functions.
2989 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2990 (verilog-forward-sexp, verilog-set-auto-endcomments):
2991 (verilog-leap-to-case-head): Handle "unique0" case.
2992 (verilog-in-constraint-re): New constant.
2993 (verilog-keywords, verilog-type-font-keywords):
2994 Add some SystemVerilog 1800-2012 keywords.
2995 (verilog-label-be): Remove unimplemented argument, bug669.
2996 (verilog-batch-execute-func): When batch expanding clear
2997 create-lockfiles to prevent spurious user locks when a file ends
2998 up not changing.
2999 (verilog-calculate-indent, verilog-calc-1)
3000 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3001 (verilog-do-indent): Fix indentation of nested constraints
3002 and structures.
3003 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3004 (verilog-auto-inst-param): Use verilog-string-match-fold.
3005 (verilog-read-inst-module-matcher):
3006 Fix AUTOINST on gate primitives with #1.
3007 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3008 Reads all user-defined typed variables.
3009 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3010 (verilog-signals-matching-regexp)
3011 (verilog-signals-not-matching-regexp, verilog-auto):
3012 Respect verilog-case-fold.
3013 (verilog-diff-report): Fix line count.
3014 (verilog-auto-assign-modport): Remove unused local `modi'.
3015 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3016 better handle multidimensional arrays.
3017 Fix packed array ports misadding bit index in AUTOINST, bug637.
3018 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3019 to not double-declare existing outputs and inputs, respectively.
3020 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3021 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3022 (verilog-sk-uvm-component): New skeleton.
3023 (verilog-submit-bug-report): Add verilog-case-fold,
3024 remove verilog-mode-release-date.
3025
ef566920
BR
30262013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3027
3028 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3029 as before.
3030
29df8a0b
RT
30312013-10-18 Reuben Thomas <rrt@sc3d.org>
3032
e0eb0550 3033 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3034 remember buffers (bug#13566).
3035
04a19a79
DC
30362013-10-18 Daniel Colascione <dancol@dancol.org>
3037
3038 When evaluating forms in ielm, direct standard output to ielm
3039 buffer. Add new ielm-return-for-effect command. Remove trailing
3040 whitespace throughout.
3041
3042 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3043 (ielm-return-for-effect): New command.
3044 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3045 (ielm-eval-input): Accept optional `for-effect' parameter.
3046 Bind `standard-output' to stream we create using
04a19a79
DC
3047 `ielm-standard-output-impl'. Suppress printing result when
3048 `for-effect'.
3049 (ielm-standard-output-impl): New function.
3050 (inferior-emacs-lisp-mode): Explain new features in documentation.
3051
4c1f03ef
MA
30522013-10-17 Michael Albinus <michael.albinus@gmx.de>
3053
3054 Code cleanup.
3055
3056 * net/tramp.el (tramp-debug-message): Do not check for connection
3057 buffer.
3058 (tramp-message): Use "vector" connection property.
3059
3060 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3061 (tramp-equal-remote, tramp-eshell-directory-change)
3062 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3063 (tramp-adb-handle-rename-file)
3064 * net/tramp-cmds.el (tramp-list-remote-buffers)
3065 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3066 * net/tramp-compat.el (tramp-compat-process-running-p)
3067 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3068 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3069 (tramp-gvfs-handle-rename-file)
3070 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3071 (tramp-set-file-uid-gid)
3072 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3073 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3074 of `file-remote-p'.
3075
3076 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3077 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3078 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3079 (tramp-gw-open-network-stream): Suppress unrelated traces.
3080
3081 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3082 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3083 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3085 connection property.
3086
3087 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3088 persistency file.
4c1f03ef
MA
3089
3090 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3091 Refactor common code. Improve debug message.
3092 (tramp-maybe-open-connection)
3093 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3094 connection buffer too early.
3095
3096 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3097 from `tramp-smb-actions-with-acl'.
3098 (tramp-smb-actions-set-acl): New defconst.
3099 (tramp-smb-handle-copy-directory)
3100 (tramp-smb-action-get-acl): New defun, renamed from
3101 `tramp-smb-action-with-acl'.
3102 (tramp-smb-action-set-acl): New defun.
3103 (tramp-smb-handle-set-file-acl): Rewrite.
3104
642eb8b6
GM
31052013-10-17 Glenn Morris <rgm@gnu.org>
3106
3107 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3108
85527ff3
SM
31092013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3110
921c1d62
SM
3111 * skeleton.el (skeleton-newline): Remove.
3112 (skeleton-internal-1): Use (insert "\n") instead.
3113
e333fb10
SM
3114 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3115 let-bindings.
3116
85527ff3
SM
3117 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3118 forward-sexp-function while we redo its job (bug#15613).
3119
c8722a97
JB
31202013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3121
3122 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3123 represented by lists.
3124
7a550bbb
GM
31252013-10-16 Glenn Morris <rgm@gnu.org>
3126
3127 * tmm.el (tmm--history): New dynamic variable.
3128 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3129
f19da8ad
MA
31302013-10-16 Michael Albinus <michael.albinus@gmx.de>
3131
3132 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3133 (tramp-smb-errors): Add error messages.
3134 (tramp-smb-actions-with-acl): New defconst.
3135 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3136 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3137 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3138 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3139 (tramp-smb-get-stat-capability): Fix tests.
3140
a24b9961
DK
31412013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3142
3143 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3144 (bug#15580).
3145
62ad85e6
GM
31462013-10-16 Glenn Morris <rgm@gnu.org>
3147
0283d6b0
GM
3148 * ansi-color.el (ansi-color-drop-regexp):
3149 Add 1J, 1K, 2K. (Bug#15617)
3150
012e2f9f
GM
3151 * files.el (hack-local-variables--warned-lexical): New.
3152 (hack-local-variables):
3153 Warn about misplaced lexical-binding. (Bug#15616)
3154
62ad85e6
GM
3155 * net/eww.el (eww-render): Always set eww-current-url,
3156 and update header line. (Bug#15622)
3157 (eww-display-html): ... Rather than just doing it here.
3158
6456c0ea
EZ
31592013-10-15 Eli Zaretskii <eliz@gnu.org>
3160
3161 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3162 menu navigations commands.
3163
c2de5588
DK
31642013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3165
3166 * progmodes/subword.el (subword-capitalize): Be careful when
3167 the search for [[:alpha:]] fails (bug#15580).
3168
ccd4a783
EZ
31692013-10-14 Eli Zaretskii <eliz@gnu.org>
3170
3171 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3172 to commands that scroll the menu.
3173
1eda1d8d
DG
31742013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3175
c2de5588
DK
3176 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3177 Handle methods ending with `?' and `!'.
1eda1d8d 3178
e70181b8
AM
31792013-10-14 Akinori MUSHA <knu@iDaemons.org>
3180
3181 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3182 `japanese-cp932' to `cp932' to fix the problem where saving a
3183 source file written in Shift_JIS twice would end up having
3184 `coding: japanese-cp932' which Ruby could not recognize.
3185 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3186 in `ruby-encoding-map'.
3187 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3188 doesn't need to be explicitly declared in magic comment.
3189 (ruby-encoding-map): Add type declaration for better customize UI.
3190
9148ee92
GM
31912013-10-13 Glenn Morris <rgm@gnu.org>
3192
a5d38e34
GM
3193 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3194 Occur buffers are read-only. http://bugs.debian.org/720775
3195
9148ee92
GM
3196 * emacs-lisp/authors.el (authors-fixed-entries):
3197 Comment out old alpha stuff.
3198
a9ba094b
DG
31992013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3200
3201 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3202 to `after-save-hook' instead of `before-save-hook'.
3203 (ruby-mode-set-encoding): Use the value of coding system used to
3204 write the file. Call `basic-save-buffer-1' after modifying the
3205 buffer.
3206
7a068717
AM
32072013-10-13 Alan Mackenzie <acm@muc.de>
3208
3209 Fix indentation/fontification of Java enum with
3210 "implements"/generic.
3211
c2de5588
DK
3212 * progmodes/cc-engine.el (c-backward-over-enum-header):
3213 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3214 (c-inside-bracelist-p): Uses new function above.
3215 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3216 function above.
3217 (c-font-lock-enum-tail): Uses new function above.
3218
85b64f02
KH
32192013-10-13 Kenichi Handa <handa@gnu.org>
3220
3221 * international/mule-cmds.el (select-safe-coding-system): Remove a
3222 superfluous condition in chekcing whether a coding system is safe
3223 or not.
3224
fc7f501b
OK
32252013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3226
3227 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3228
fdcb2049
AP
32292013-10-13 Andreas Politz <politza@hochschule-trier.de>
3230
3231 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3232
8c106d17
GM
32332013-10-13 Glenn Morris <rgm@gnu.org>
3234
feab892d
GM
3235 * menu-bar.el (menu-bar-update-buffers):
3236 Unify Buffers menu prompt string. (Bug#15576)
3237
b22d0686
GM
3238 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3239
8c106d17
GM
3240 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3241 Add some entries.
3242 (authors-fixed-entries): Use accented form of name.
3243
1b12c797
SM
32442013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3245
650fa7bf 3246 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3247 method calls (bug#15594).
650fa7bf
SM
3248 (ruby-smie--args-separator-p): New function.
3249 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3250 recognize paren-free method calls.
3251
1b12c797
SM
3252 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3253 internals of universal-argument.
3254
029619c8
EZ
32552013-10-11 Eli Zaretskii <eliz@gnu.org>
3256
3257 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3258 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3259 dropped menu on second mouse click on the menu bar.
029619c8 3260
dd070019
SM
32612013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3264 (explicit-shell-file-name): Declare.
3265 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3266 (sh-completion-at-point-function): New function.
3267 (sh-mode): Use it.
3268 (sh-smie--keyword-p): Remove unused argument.
3269 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3270 vars.
3271 (sh-set-shell): Always setup SMIE, even if we use the
3272 old indentation code.
3273
0922b826
DG
32742013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3275
b68e2926
DG
3276 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3277 cases of ? and =.
3278 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3279 predicate would return nil are almost non-existent.
3280 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3281
0922b826
DG
3282 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3283 cache also after commands that modify the buffer but don't move
3284 point.
3285
ee041f2d
SM
32862013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * env.el (substitute-env-in-file-name): New function.
3289 (substitute-env-vars): Extend the meaning of the optional arg.
3290
a5dab159
EZ
32912013-10-10 Eli Zaretskii <eliz@gnu.org>
3292
3293 * term/w32-win.el (dynamic-library-alist): Define separate lists
3294 of GIF DLLs for versions before and after 5.0.0 of giflib.
3295 (Bug#15531)
3296
0449d6cd 32972013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3298
3299 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3300 not locked, use last revision and current source as
3301 defaults. (Bug#15569)
3302
2f6e161e
MY
33032013-10-10 Masatake YAMATO <yamato@redhat.com>
3304
3305 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3306 menu-bar is hidden.
3307
6c8413fc
MR
33082013-10-10 Martin Rudalics <rudalics@gmx.at>
3309
3310 * window.el (pop-to-buffer-same-window): Fix doc-string.
3311 (Bug#15492)
3312
20832de0
SM
33132013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3316
c6e8ae77
AC
33172013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3318
3319 * calendar/icalendar.el (icalendar-import-file):
3320 Fix interactive spec. (Bug#15482)
3321
9db13baf
GM
33222013-10-10 Glenn Morris <rgm@gnu.org>
3323
9271e90e
GM
3324 * desktop.el (desktop-save): Default to saving in .emacs.d,
3325 since PWD is no longer in desktop-path by default. (Bug#15319)
3326
9db13baf
GM
3327 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3328 now that text mode has a menu with the same entry.
3329 (menu-bar-text-mode-auto-fill): Remove now unused func.
3330 * textmodes/text-mode.el (text-mode-map):
3331 Use auto-fill help text from menu-bar.el.
3332
a0be396a 33332013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3334
3335 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3336
2edcd3c7
JL
33372013-10-09 Juri Linkov <juri@jurta.org>
3338
3339 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3340 instead of this-command-keys. Add universal-argument-more and
3341 universal-argument-minus to the list of prefix commands. (Bug#15568)
3342
574411d0
GM
33432013-10-09 Glenn Morris <rgm@gnu.org>
3344
14afa541
GM
3345 * vc/vc-svn.el (vc-svn-create-repo):
3346 Expand paths in file://... url. (Bug#15446)
3347
574411d0
GM
3348 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3349 Add some entries.
3350 (authors): Remove unused local variables.
3351
79804536
SM
33522013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * profiler.el: Create a more coherent calltree from partial backtraces.
3355 (profiler-format): Hide the tail with `invisible' so that C-s can still
3356 find the hidden elements.
3357 (profiler-calltree-depth): Don't recurse so enthusiastically.
3358 (profiler-function-equal): New hash-table-test.
3359 (profiler-calltree-build-unified): New function.
3360 (profiler-calltree-build): Use it.
3361 (profiler-report-make-name-part): Indent the calltree less.
3362 (profiler-report-mode): Add visibility specs for profiler-format.
3363 (profiler-report-expand-entry, profiler-report-toggle-entry):
3364 Expand the whole subtree when provided with a prefix arg.
3365
238150c8
DG
33662013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3369 iuwu-mod token.
3370 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3371 hanging iuwu-mod token.
3372 (ruby-smie--forward-token): Do not include a dot after a token in
3373 that token.
3374 (ruby-smie--backward-token): Likewise.
3375
b0949cc4
JL
33762013-10-08 Juri Linkov <juri@jurta.org>
3377
3378 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3379 to isearch-other-control-char.
3380 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3381 and isearch-post-command-hook to post-command-hook.
3382 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3383 and isearch-post-command-hook from post-command-hook.
3384 (isearch-unread-key-sequence)
3385 (isearch-reread-key-sequence-naturally)
3386 (isearch-lookup-scroll-key, isearch-other-control-char)
3387 (isearch-other-meta-char): Remove functions.
3388 (isearch-pre-command-hook, isearch-post-command-hook):
3389 New functions based on isearch-other-meta-char rewritten
3390 relying on the new behavior of overriding-terminal-local-map
3391 that does not replace the local keymaps any more. (Bug#15200)
3392
4ed77415
EZ
33932013-10-08 Eli Zaretskii <eliz@gnu.org>
3394
3395 Support menus on text-mode terminals.
3396 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3397 functionality.
3398
3399 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3400
c2de5588
DK
3401 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3402 Move here from mouse.el.
4ed77415
EZ
3403 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3404 and arrow keys.
3405 (tty-menu-navigation-map): New map for TTY menu navigation.
3406
3407 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3408
3409 * frame.el (display-mouse-p): Report text-mode mouse as available
3410 on w32.
3411 (display-popup-menus-p): Report availability if mouse is
3412 available; don't condition on window-system.
3413
3414 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3415 (tty-menu-selected-face): New faces.
3416
b7d5bd82
TL
34172013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3418
06286513
SM
3419 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3420 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3421 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3422 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3423 New constants.
3424 (lisp-mode-variables): New `elisp' argument.
3425 (emacs-lisp-mode): Use it.
3426 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3427 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3428
b7d5bd82
TL
3429 * indent.el: Use lexical-binding.
3430 (indent-region): Add progress reporter.
3431 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3432 last step.
3433 (indent--next-tab-stop): New function to implement this behavior.
3434 (tab-to-tab-stop, move-to-tab-stop): Use it.
3435
34362013-10-08 Teemu Likonen <tlikonen@iki.fi>
3437
3438 * indent.el (indent-rigidly--current-indentation): New function.
3439 (indent-rigidly-map): New var.
3440 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3441
5ea75d23
BG
34422013-10-08 Bastien Guerry <bzg@gnu.org>
3443
3444 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3445
cc5da1ec
SM
34462013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3447
8ffa1a0b
SM
3448 * progmodes/perl-mode.el: Use lexical-binding.
3449 Remove redundant :group args.
3450 (perl-nochange): Change default to be closer to other major modes's
3451 standard behavior.
3452 (perl-indent-line): Don't consider text on current line as a
3453 valid beginning of function from which to indent.
3454
f2223371
SM
3455 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3456 with more than one argument (bug#15538).
3457
44256060
SM
3458 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3459
cc5da1ec
SM
3460 * vc/pcvs.el: Use lexical-binding.
3461 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3462 environment of `eval'.
3463 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3464 than a list of expressions. Adjust callers.
3465 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3466
0ea1599d
DG
34672013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3468
3469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3470 case of the dot in a chained method call being on the following line.
0ea1599d 3471
da3e5ebb
SM
34722013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3473
2abb4e65
SM
3474 * electric.el (electric-indent-inhibit): New var.
3475 (electric-indent-post-self-insert-function): Use it.
3476 * progmodes/python.el (python-mode): Set it.
3477
d2e0e795
SM
3478 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3479 open braces.
3480
3481 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3482
bdc6b4c8
SM
3483 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3484 (css-mode): Use electric-indent-chars.
3485
da3e5ebb
SM
3486 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3487 (font-lock-beg, font-lock-end): Move before first use.
3488 (nxml-mode): Use syntax-propertize-function.
3489 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3490 (nxml-extend-after-change-region): Remove.
3491 * nxml/xmltok.el: Use lexical-binding.
3492 (xmltok-save): Use `declare'.
3493 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3494 * nxml/nxml-util.el: Use lexical-binding.
3495 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3496 Use `declare'.
3497 * nxml/nxml-ns.el: Use lexical-binding.
3498 (nxml-ns-save): Use `declare'.
3499 (nxml-ns-prefixes-for): Avoid add-to-list.
3500 * nxml/rng-match.el: Use lexical-binding.
3501 (rng--ipattern): Use cl-defstruct.
3502 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3503 (rng-cons-group-after, rng-subst-group-after)
3504 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3505 Use closures instead of `(lambda...).
3506
f8f91d5d
MA
35072013-10-07 Michael Albinus <michael.albinus@gmx.de>
3508
3509 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3510 of BEG and END.
3511
da3e5ebb
SM
3512 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3513 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3514 (tramp-gvfs-handle-insert-file-contents): Remove function.
3515
da3e5ebb
SM
3516 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3517 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3518
3519 * net/trampver.el: Update release number.
3520
7ccae3b1
SM
35212013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3522
55ca2c0d
SM
3523 * progmodes/compile.el (compilation-parse-errors):
3524 Use compilation--put-prop.
3525 (compilation--ensure-parse): Check compilation-multiline.
3526
731fc3ae
SM
3527 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3528
da3e5ebb
SM
3529 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3530 lexical-binding.
a5833280 3531
2e7ba2c2
SM
3532 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3533
7ccae3b1
SM
3534 * progmodes/ruby-mode.el: Fix recently added tests.
3535 (ruby-smie-grammar): Add - and +.
3536 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3537 (ruby-smie--backward-id): New functions.
3538 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3539 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3540 any more.
3541
85698d63
LL
35422013-10-07 Leo Liu <sdl.web@gmail.com>
3543
3544 * register.el (register-preview-delay)
3545 (register-preview-functions): New variables.
3546 (register-read-with-preview, register-preview)
3547 (register-describe-oneline): New functions.
3548 (point-to-register, window-configuration-to-register)
3549 (frame-configuration-to-register, jump-to-register)
3550 (number-to-register, view-register, insert-register)
3551 (copy-to-register, append-to-register, prepend-to-register)
3552 (copy-rectangle-to-register): Use register-read-with-preview to
3553 read register. (Bug#15525)
3554
3986af6c
DS
35552013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3556
3557 * net/network-stream.el (network-stream-open-starttls): Don't add
3558 --insecure if it's already present, because that gnutls-cli
3559 rejects getting that parameter twice.
3560
5cd9cda9
DG
35612013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3562
3563 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3564 keyword, too.
3565
da9ea6d9
DG
35662013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * newcomment.el (comment-use-global-state): Change default value
3569 to t, mark obsolete (Bug#15251).
3570 (comment-beginning): In addition to `comment-to-syntax', check the
3571 value of `comment-use-global-state'.
3572
34d1a133
SM
35732013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3576 (ruby-comment-column): Follow the global default, by default.
3577 (ruby-smie-grammar): Add assignment syntax.
3578 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3579 open-paren, a comma, or a \.
3580 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3581 and line continuations.
3582 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3583 followed by implicit semi-colons. Add rule for string concatenation
3584 and for indentation at BOB.
3585 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3586
3587 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3588 calling next-sexp, since next-token may have skipped chars which
3589 next-sexp doesn't know should be skipped!
3590
6f6ab820
LL
35912013-10-05 Leo Liu <sdl.web@gmail.com>
3592
34d1a133
SM
3593 * progmodes/octave.el (octave-send-region):
3594 Call compilation-forget-errors.
6f6ab820 3595
34ca0f4c
XF
35962013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3597
3598 * vc/vc-svn.el (vc-svn-find-admin-dir):
3599 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3600 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3601 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3602 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3603
a27c1b72
SM
36042013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3607
258ab3bc
SM
36082013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * subr.el (read-passwd): Hide chars even when called within a context
3611 where after-change-functions is disabled (bug#15501).
3612 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3613 until we removed ourself from overriding-terminal-local-map.
3614
939fb29c
LL
36152013-10-04 Leo Liu <sdl.web@gmail.com>
3616
258ab3bc
SM
3617 * progmodes/octave.el (inferior-octave-mode):
3618 Call compilation-forget-errors.
939fb29c 3619
63bd7f35
XF
36202013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3621
3622 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3623
9e6229fa
MA
36242013-10-04 Michael Albinus <michael.albinus@gmx.de>
3625
3626 * net/secrets.el (secrets-create-collection): Add optional
3627 argument ALIAS. Use proper Label keyword. Append ALIAS as
3628 dbus-call-method argument. (Bug#15516)
3629
1dab32a3
LL
36302013-10-04 Leo Liu <sdl.web@gmail.com>
3631
3632 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3633 (inferior-octave-compilation-font-lock-keywords): New variables.
3634 (compilation-error-regexp-alist)
3635 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3636 (inferior-octave-mode): Use compilation-shell-minor-mode.
3637
6cad7ba3
JS
36382013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3639
3640 * minibuffer.el (completion--replace): Be careful that `end' might be
3641 a marker.
3642
acbadd00
DU
36432013-10-03 Daiki Ueno <ueno@gnu.org>
3644
3645 Add support for package signature checking.
3646 * emacs-lisp/package.el (url-http-file-exists-p)
3647 (epg-make-context, epg-context-set-home-directory)
3648 (epg-verify-string, epg-context-result-for)
3649 (epg-signature-status, epg-signature-to-string)
3650 (epg-check-configuration, epg-configuration)
3651 (epg-import-keys-from-file): Declare.
3652 (package-check-signature): New user option.
3653 (package-unsigned-archives): New user option.
3654 (package-desc): Add `signed' field.
3655 (package-load-descriptor): Set `signed' field if .signed file exists.
3656 (package--archive-file-exists-p): New function.
3657 (package--check-signature): New function.
3658 (package-install-from-archive): Check package signature.
3659 (package--download-one-archive): Check archive signature.
3660 (package-delete): Remove .signed file.
3661 (package-import-keyring): New command.
3662 (package-refresh-contents): Import default keyring.
3663 (package-desc-status): Add "unsigned" status.
3664 (describe-package-1, package-menu--print-info)
3665 (package-menu-mark-delete, package-menu--find-upgrades)
3666 (package-menu--status-predicate): Support "unsigned" status.
3667
adf2aa61
SM
36682013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3671 the new compilation scheme using the new byte-codes.
3672
3673 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3674 (byte-pophandler): New byte codes.
3675 (byte-goto-ops): Adjust accordingly.
3676 (byte-compile--use-old-handlers): New var.
3677 (byte-compile-catch): Use new byte codes depending on
3678 byte-compile--use-old-handlers.
3679 (byte-compile-condition-case--old): Rename from
3680 byte-compile-condition-case.
3681 (byte-compile-condition-case--new): New function.
3682 (byte-compile-condition-case): New function that dispatches depending
3683 on byte-compile--use-old-handlers.
3684 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3685 when we can.
3686
3687 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3688 Optimize under `condition-case' and `catch' if
3689 byte-compile--use-old-handlers is nil.
3690 (disassemble-offset): Handle new bytecodes.
3691
328a8179
SM
36922013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * subr.el (error): Use `declare'.
3695 (decode-char, encode-char): Use advertised-calling-convention instead
3696 of the docstring to discourage use of the `restriction' arg.
3697
15a1e936
DU
36982013-10-03 Daiki Ueno <ueno@gnu.org>
3699
3700 * epg.el (epg-verify-file): Add a comment saying that it does not
3701 notify verification error as a return value nor a signal.
3702 (epg-verify-string): Ditto.
3703
376f862a
KR
37042013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3705
3706 * progmodes/compile.el (compilation-start): Try globbing the arg to
3707 `cd' (bug#15417).
3708
a2f93a5f
MA
37092013-10-02 Michael Albinus <michael.albinus@gmx.de>
3710
3711 Sync with Tramp 2.2.8.
3712
3713 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3714 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3715 * net/trampver.el: Update release number.
3716
0daa0804
JD
37172013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3718
3719 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3720 and default-process-coding-system for darwin only.
3721
abd1ae34
SM
37222013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3725
be4e325d
MH
37262013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3727
3728 * vc/vc-git.el (vc-git-grep): Disable pager.
3729
e9155c4a
DG
37302013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3731
494e898b
DG
3732 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3733 Use :url instead of :homepage, as per
3734 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3735
e9155c4a
DG
3736 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3737 non-nil, use `syntax-ppss' (Bug#15251).
3738
481a8e0f
RS
37392013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3740
be4e325d
MH
3741 * progmodes/octave.el (inferior-octave-startup-file):
3742 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3743
056453c6
DG
37442013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3745
be4e325d
MH
3746 * emacs-lisp/package.el (package-desc-from-define):
3747 Accept additional arguments as plist, convert them to an alist and store
3748 them in the `extras' slot.
056453c6
DG
3749 (package-generate-description-file): Convert extras alist back to
3750 plist and append to the `define-package' form arguments.
3751 (package--alist-to-plist): New function.
3752 (package--ac-desc): Add `extras' slot.
3753 (package--add-to-archive-contents): Check if the archive-contents
3754 vector is long enough, and if it is, pass its `extras' slot value
3755 to `package-desc-create'.
3756 (package-buffer-info): Call `lm-homepage', pass the returned value
3757 to `package-desc-from-define'.
3758 (describe-package-1): Render the homepage button (Bug#13291).
3759
be4e325d
MH
3760 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3761 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3762
832966e5
JD
37632013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3764
3765 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3766 and default-process-coding-system to utf-8-unix (Bug#15402).
3767
6cfe977d
XF
37682013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3769
3770 * subr.el (looking-back): Do not recommend using looking-back.
3771
38de11bd
AM
37722013-09-28 Alan Mackenzie <acm@muc.de>
3773
3774 Fix indentation/fontification of Java enum with "implements".
3775
3776 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3777 regexp which matches "implements", etc., in Java.
3778 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3779 specifier clauses coming after "enum".
3780 * progmodes/cc-fonts.el (c-font-lock-declarations)
3781 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3782 after "enum".
3783
1610938f
JD
37842013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3785
3786 * faces.el (region): Change ns_selection_color to
3787 ns_selection_fg_color, add ns_selection_bg_color.
3788
e090f499
LL
37892013-09-28 Leo Liu <sdl.web@gmail.com>
3790
4d2e94d1
LL
3791 * progmodes/octave.el (inferior-octave-completion-table)
3792 (inferior-octave-completion-at-point): Minor tweaks.
3793
e090f499
LL
3794 * textmodes/ispell.el (ispell-lookup-words): Rename from
3795 lookup-words. (Bug#15460)
3796 (lookup-words): Obsolete.
3797 (ispell-complete-word, ispell-command-loop): All uses changed.
3798
7e138a62
RS
37992013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3800
3801 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3802 (octave-mode-menu): Add octave-send-buffer.
3803 (octave-send-buffer): New function.
3804
5af5ed08
RS
38052013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3806
3807 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3808 octave-lookfor.
3809 (octave-mode-menu): Add octave-lookfor.
3810 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3811 octave-lookfor.
3812 (octave-lookfor): New function.
3813
3b7b2692
SM
38142013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * emacs-lisp/cl-macs.el:
3817 (cl--loop-destr-temps): Remove.
3818 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3819 its convention.
3820 (cl--loop-set-iterator-function): New function.
3821 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3822 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3823 Bind `it' with `let' instead of substituting it with `cl-subst'.
3824 (cl--unused-var-p): New function.
3825 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3826 Eliminate some unused variable warnings (bug#15326).
3827
529fb53f
TH
38282013-09-27 Tassilo Horn <tsdh@gnu.org>
3829
3830 * doc-view.el (doc-view-scale-reset): Rename from
3831 `doc-view-reset-zoom-level'.
3832 (doc-view-scale-adjust): New command.
3833 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3834 `doc-view-scale-adjust'.
3835
0550c95a
TH
38362013-09-26 Tassilo Horn <tsdh@gnu.org>
3837
3838 * doc-view.el (doc-view-reset-zoom-level): New command.
3839 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3840 zoom commands (bug#15466).
3841
6950f152
KH
38422013-09-26 Kenichi Handa <handa@gnu.org>
3843
3844 * international/quail.el (quail-help): Make it not a command.
3845
39587580
LL
38462013-09-26 Leo Liu <sdl.web@gmail.com>
3847
3848 * minibuffer.el (completion-all-sorted-completions): Make args
3849 optional as they are.
3850
00578659
DC
38512013-09-25 Daniel Colascione <dancol@dancol.org>
3852
3853 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3854 specs are and that they're not evaluated.
3855
0c173878
SS
38562013-09-24 Sam Steingold <sds@gnu.org>
3857
3858 * midnight.el (clean-buffer-list-kill-regexps)
3859 (clean-buffer-list-kill-buffer-names): Update for the new Man
3860 buffer naming which includes the object name.
3861
84998447
SM
38622013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3863
3864 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3865 (eshell-parse-command, eshell-parse-pipeline): Use it since
3866 eshell-separate-commands requires a dynamic scoped var.
3867 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3868
33215353
LL
38692013-09-23 Leo Liu <sdl.web@gmail.com>
3870
3871 * autoinsert.el (auto-insert-alist): Make the value of
3872 lexical-binding match its file setting.
3873
57b16162
JB
38742013-09-23 Juanma Barranquero <lekktu@gmail.com>
3875
c8af4e67
JB
3876 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3877
57b16162
JB
3878 * autoarg.el (autoarg-kp-digit-argument):
3879 * electric.el (Electric-command-loop):
3880 * kmacro.el (kmacro-step-edit-insert):
3881 Do not set universal-argument-num-events.
3882
7186ba60
LL
38832013-09-22 Leo Liu <sdl.web@gmail.com>
3884
3885 * files.el (interpreter-mode-alist): Add octave.
3886
ece15004
AM
38872013-09-21 Alan Mackenzie <acm@muc.de>
3888
3889 C++: fontify identifier in declaration following "public:" correctly.
3890 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3891 to match "public", etc.
3892 (c-decl-prefix-re): Add ":" into the C++ value.
3893 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3894 bit. Add a check for a ":" preceded by "public", etc.
3895
75d83e22
EZ
38962013-09-21 Eli Zaretskii <eliz@gnu.org>
3897
3898 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3899 recognized by GDB 7.5 and later.
3900
d052d3bd
XF
39012013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3902
3903 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3904
31dca772
R
39052013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * subr.el (internal--call-interactively): New const.
3908 (called-interactively-p): Use it (bug#3984).
3909
98ccf24e
XF
39102013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3911
3912 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3913 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3914 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3915
c39cc7d1
SM
39162013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3919 (eshell-ls-orig-insert-directory): Remove.
3920 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3921 (eshell-ls-use-in-dired): Use advice-add/remove.
3922 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3923 Add `orig-fun' arg for use in :around advice.
3924 Make it check (redundantly) eshell-ls-use-in-dired.
3925
9a0289a2
GM
39262013-09-19 Glenn Morris <rgm@gnu.org>
3927
a2c501b8
GM
3928 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3929
c440407a
GM
3930 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3931
9a0289a2
GM
3932 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3933
85e05915
MA
39342013-09-19 Michael Albinus <michael.albinus@gmx.de>
3935
3936 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3937 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3938 (tramp-get-remote-python): New defuns.
3939 (tramp-get-remote-uid-with-perl)
3940 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3941 contributed by yary <not.com@gmail.com> (tiny change).
3942 (tramp-get-remote-uid-with-python)
3943 (tramp-get-remote-gid-with-python): New defuns. Python code
3944 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3945 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3946
ce503312
GM
39472013-09-19 Glenn Morris <rgm@gnu.org>
3948
f7544773
GM
3949 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3950
72fd2877
GM
3951 * eshell/em-unix.el (eshell-remove-entries):
3952 Rename argument to avoid name-clash with global `top-level'.
3953
336b5a56
GM
3954 * eshell/esh-proc.el (eshell-kill-process-function):
3955 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3956 (eshell-reset-after-proc): Remove unused arg `proc'.
3957
57a3a53d
GM
3958 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3959 (directory-files-and-attributes): Mark unused arg.
3960
3261d4af
GM
3961 * eshell/em-unix.el (eshell-remove-entries):
3962 Remove unused arg `path'. Update callers.
3963
8e51b5d0
GM
3964 * eshell/em-hist.el (eshell-hist-parse-arguments):
3965 Remove unused arg `silent'. Update callers.
3966
ce503312
GM
3967 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3968 Fix (f)boundp mix-up.
3969
3970 * eshell/em-smart.el (eshell-smart-scroll-window)
3971 (eshell-disable-after-change):
336b5a56 3972 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3973
ee3ce8a7
AM
39742013-09-18 Alan Mackenzie <acm@muc.de>
3975
3976 Fix fontification of type when followed by "const".
3977 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3978 "known" types from fontification.
3979
ec9177ba
GM
39802013-09-18 Glenn Morris <rgm@gnu.org>
3981
7bb3e768
GM
3982 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3983 (chart-face-list): Drop Emacsen without display-color-p.
3984
5148da15
GM
3985 * net/eww.el (libxml-parse-html-region): Declare.
3986 (eww-display-html): Explicit error if no libxml2 support.
3987
2f68e157
GM
3988 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3989
9019d095
GM
3990 * image.el (image-type-from-buffer, image-multi-frame-p):
3991 Remove --without-x warning/error.
67645389 3992
5f30349b 3993 * mouse.el (mouse-yank-primary):
45069b2e 3994 * term.el (term-mouse-paste):
5f30349b
GM
3995 Reorder to silence --without-x compilation.
3996
cd8edbbe
GM
3997 * mpc.el (doc-view-mode): Silence --without-x compilation.
3998
8a78544e
GM
3999 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4000 Silence --without-x compilation.
4001
12679bfd
GM
4002 * progmodes/gud.el (gud-find-file, gud-mode):
4003 Silence --without-x compilation.
4004 (tooltip-mode): Declare.
30810a05 4005
f0047cb9
GM
4006 * wdired.el (dired-backup-overwrite): Remove declaration.
4007 (wdired-mode-map): Add doc string.
4008
e740f9d2
GM
4009 * custom.el (x-get-resource): Declare.
4010
92d77c89
GM
4011 * eshell/em-glob.el (ange-cache):
4012 * eshell/em-unix.el (ange-cache): Declare.
4013
76e69577
GM
4014 * faces.el (x-display-list, x-open-connection, x-get-resource):
4015 Declare.
7e58af4b
GM
4016
4017 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4018 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4019 Declare.
76e69577 4020
4bd4c0af 4021 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4022
ffb82dbd
GM
4023 * net/gnutls.el (gnutls-log-level): Declare.
4024
986ed135
GM
4025 * net/shr.el (image-size, image-animate): Declare.
4026
e740f9d2
GM
4027 * simple.el (font-info): Declare.
4028
d2f3e9f8
GM
4029 * subr.el (x-popup-dialog): Declare.
4030
047a1a4c
GM
4031 * term/common-win.el (x-select-enable-primary)
4032 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4033 Declare.
4034
f4a1d572
GM
4035 * term/ns-win.el (x-handle-args): Declare.
4036
e843de77
GM
4037 * term/x-win.el (x-select-enable-clipboard): Declare.
4038
5fa89513
GM
4039 * term/w32-win.el (create-default-fontset): Declare.
4040
38702b5b
GM
4041 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4042 Declare.
4043
e740f9d2
GM
4044 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4045 (fit-frame-to-buffer): Explicit error if --without-x.
4046 (mouse-autoselect-window-select): Silence compiler.
4047
49a053fc
GM
4048 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4049
4050 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4051 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4052 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4053 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4054 Remove unused local variables.
4055
4056 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4057
ec9177ba
GM
4058 * textmodes/two-column.el: Make 2C-split work for --without-x.
4059 (scroll-bar-columns): Autoload.
4060 (top-level): Require fringe when compiling.
4061
9f25cb77
LL
40622013-09-18 Leo Liu <sdl.web@gmail.com>
4063
4064 * subr.el (add-hook): Robustify to handle closure as well.
4065
2b42da98
GM
40662013-09-17 Glenn Morris <rgm@gnu.org>
4067
4068 * simple.el (messages-buffer-mode-map): Unbind "g".
4069
e8b66a6a
SM
40702013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4071
9c0ad4f7
SM
4072 * help-mode.el (help-mode-finish): Use derived-mode-p.
4073 Remove obsolete highlighting.
4074
7a806dfb
SM
4075 * play/life.el (life-mode): Use define-derived-mode. Derive from
4076 special-mode.
4077 (life): Let-bind inhibit-read-only.
4078 (life-setup): Avoid `setq'. Use `life-mode'.
4079
96dbf5a8
SM
4080 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4081 which should not be needed any more.
4082 (package-menu-refresh, package-menu-describe-package): Use user-error.
4083
e8b66a6a
SM
4084 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4085 (eshell-post-rewrite-command-hook): Make obsolete.
4086 (eshell-parse-command): Simplify.
4087 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4088 (eshell--cmd): Declare.
4089 (eshell-parse-pipeline): Remove unused var `final-p'.
4090 Pass a dynvar to eshell-post-rewrite-command-hook.
4091 Implement the new eshell-post-rewrite-command-function.
4092 (eshell-invoke-directly): Remove unused arg `input'.
4093 * eshell/esh-io.el (eshell-io-initialize):
4094 Use eshell-post-rewrite-command-function (bug#15399).
4095 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4096 adjust to new calling convention.
4097 (eshell-create-handles): Rename args to avoid clashing with dynvar
4098 `standard-output'.
4099
90582f05
GM
41002013-09-17 Glenn Morris <rgm@gnu.org>
4101
4102 * simple.el (messages-buffer-mode): New major mode.
4103 (messages-buffer): New function.
4104 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4105 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4106 (ert-run-test): Use `messages-buffer' function.
90582f05 4107 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4108 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4109 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4110
39eb0cb5 41112013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4112
4113 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4114
1d42e5b6 4115 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4116
70568a90
SM
41172013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4118
504a0381
SM
4119 * icomplete.el (icomplete-in-buffer): New var.
4120 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4121 vars and replace them with functions.
4122 (icomplete-minibuffer-setup): Adjust accordingly.
4123 (icomplete--completion-table, icomplete--completion-predicate)
4124 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4125 New functions.
4126 (icomplete-forward-completions, icomplete-backward-completions)
4127 (icomplete-simple-completing-p, icomplete-exhibit)
4128 (icomplete-completions): Use them.
4129 (icomplete--in-region-buffer): New var.
4130 (icomplete--in-region-setup): New function.
4131 (icomplete-mode): Use it.
4132
70568a90
SM
4133 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4134 (bug#15379).
4135 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4136 return args and options.
4137 (eshell-eval-using-options): Use the new return value of
4138 eshell--do-opts to set the options's vars in their scope.
4139 (eshell--set-option): Rename from eshell-set-option.
4140 Add arg `opt-vals'.
4141 (eshell--process-option): Rename from eshell-process-option.
4142 Add arg `opt-vals'.
4143 (eshell--process-args): Use an `opt-vals' alist to store the options's
4144 values during their processing and return them additionally to the
4145 remaining args.
4146
578c21bc
DG
41472013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4148
4149 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4150 continuation character an operator, as far as indentation is
4151 concerned (Bug#15369).
4152
c089653d
MR
41532013-09-15 Martin Rudalics <rudalics@gmx.at>
4154
4155 * window.el (window--state-put-2): Don't process buffer state
4156 when buffer doesn't exist any more (Bug#15382).
4157
1e53bb4b
GM
41582013-09-15 Glenn Morris <rgm@gnu.org>
4159
30753242
GM
4160 * eshell/em-unix.el (eshell/rm):
4161 Make -f ignore missing files. (Bug#15373)
4162
1e53bb4b
GM
4163 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4164 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4165 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4166
0d8863b3
GM
41672013-09-14 Glenn Morris <rgm@gnu.org>
4168
4169 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4170
d3fc6549
GM
41712013-09-13 Glenn Morris <rgm@gnu.org>
4172
4173 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4174 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4175
fcd42c11
DA
41762013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4177
4178 * frame.el (x-focus-frame): Mark as declared in frame.c.
4179
7830899f
SM
41802013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * ls-lisp.el: Use advice-add.
4183 (original-insert-directory): Remove.
4184 (ls-lisp--insert-directory): Rename from insert-directory; add
4185 `orig-fun' argument.
4186 (insert-directory): Advise.
4187
84387cd2
EZ
41882013-09-13 Eli Zaretskii <eliz@gnu.org>
4189
4190 * term.el (term-emulate-terminal): Decode the command string
4191 before passing it to term-command-hook. (Bug#15337)
4192
35ffc6ba
GM
41932013-09-13 Glenn Morris <rgm@gnu.org>
4194
5c3f9bcc
GM
4195 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4196
2ada368a
GM
4197 * eshell/esh-ext.el (eshell-search-path): Declare.
4198
fcef2e13
GM
4199 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4200 Otherwise an error occurs if eshell-dirs module not loaded.
4201
35ffc6ba
GM
4202 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4203
35c3d36e
MA
42042013-09-13 Michael Albinus <michael.albinus@gmx.de>
4205
4206 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4207 `tramp-check-proper-host'. Check for a valid method name.
4208
4209 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4210 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4211 * net/tramp-sh.el (tramp-maybe-open-connection):
4212 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4213
4214 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4215 also for hash values.
4216
ae5e4c48
SM
42172013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4218
379add74
SM
4219 * term/ns-win.el (parameters): Don't declare as dynamic.
4220 (before-make-frame-hook): Don't add ineffective function.
4221
ae5e4c48
SM
4222 * eshell/*.el: Use lexical-binding (bug#15231).
4223
b5623270
KH
42242013-09-12 Kenichi Handa <handa@gnu.org>
4225
ae5e4c48 4226 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4227
30213927
GM
42282013-09-12 Glenn Morris <rgm@gnu.org>
4229
be94d713 4230 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4231 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4232
44915370
GM
4233 * subr.el (do-after-load-evaluation): Also give compiler warnings
4234 when obsolete files are used (except by obsolete files).
4235
a6ae021f
GM
4236 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4237 in the status output, assume `filename' is the first. (Bug#15322)
4238
40e64f0c
GM
4239 * vc/vc.el (vc-deduce-fileset): Doc fix.
4240
16d9f896
GM
4241 * calc/calc-help.el (Info-goto-node):
4242 * progmodes/cperl-mode.el (Info-find-node):
4243 * vc/ediff.el (Info-goto-node): Update declarations.
4244
dea01c6e
GM
4245 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4246
759880bf 4247 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4248 (vc-bzr-pull): Require vc-dispatcher.
4249 * vc/vc-git.el (vc-compilation-mode): Declare.
4250 (vc-git-pull): Require vc-dispatcher.
4251
08d66420
GM
4252 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4253
30b626e9
GM
4254 * progmodes/octave.el (help-button-action): Declare.
4255
8c05cb10
GM
4256 * shell.el (shell-directory-tracker): Output error as a message
4257 rather than just returning it as a string.
4258 (shell-process-pushd): Remove useless use of message.
4259
30213927
GM
4260 * dframe.el (dframe-timer-fn):
4261 * files.el (dir-locals-read-from-file):
4262 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4263 (mpc-format):
4264 * reveal.el (reveal-post-command):
4265 * saveplace.el (load-save-place-alist-from-file):
4266 * shell.el (shell-resync-dirs):
4267 * w32-common-fns.el (x-get-selection-value):
4268 * emacs-lisp/copyright.el (copyright-find-copyright):
4269 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4270 * emulation/tpu-edt.el (tpu-copy-keyfile):
4271 * play/bubbles.el (bubbles--mark-neighbourhood):
4272 * progmodes/executable.el
4273 (executable-make-buffer-file-executable-if-script-p):
4274 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4275
d3b049e6
SM
42762013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4277
170266d0
SM
4278 Cleanup Eshell to rely less on dynamic scoping.
4279 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4280 last-value, and ext-command here. Bind `args' closer to `body'.
4281 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4282 (eshell--args): Declare new dynamic var.
4283 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4284 last-value, and ext-command. Pass `args' to `body'.
4285 (eshell-process-args): Bind eshell--args.
4286 (eshell-set-option): Use eshell--args.
4287 * eshell/eshell.el (eshell): Use derived-mode-p.
4288 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4289 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4290 (eshell-glob-function): Declare.
4291 * eshell/esh-util.el: Require cl-lib.
4292 (eshell-read-hosts-file): Avoid add-to-list.
4293 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4294 `err'.
4295 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4296 Declare.
4297 (eshell/diff): Remove unused var `err'.
4298 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4299 `killflag'.
4300 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4301 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4302 first use.
4303 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4304 Move declaration before first use.
4305 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4306 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4307 rely on cl-return.
4308
56834f3b
GM
43092013-09-12 Glenn Morris <rgm@gnu.org>
4310
4311 * term/ns-win.el (global-map): Remove binding for ispell-next,
4312 deleted 1999-05-29. (Bug#15357)
4313
5c91a2b8
GM
43142013-09-11 Glenn Morris <rgm@gnu.org>
4315
da712f22
GM
4316 * echistory.el (electric-command-history): Remove call to deleted func.
4317
512e4cdc
GM
4318 * play/landmark.el (landmark-mode): Fix typos.
4319
d3506ca5
GM
4320 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4321 Check cvs-sort-ignore-file is bound.
4322
5c91a2b8
GM
4323 * savehist.el: No need for cl when compiling on Emacs.
4324
feeff482
SM
43252013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4326
656bd483
SM
4327 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4328 (bug#15338).
d3b049e6
SM
4329 (eshell-self-insert-command, eshell-send-invisible):
4330 Remove unused argument.
656bd483
SM
4331 (eshell-handle-control-codes): Remove unused var `orig'.
4332 Avoid delete-backward-char.
4333
feeff482
SM
4334 * files.el (set-auto-mode): Simplify a bit further.
4335
2a08047a
GM
43362013-09-11 Glenn Morris <rgm@gnu.org>
4337
4338 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4339 (set-auto-mode): Don't regexp-quote elements.
4340 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4341 * progmodes/cc-mode.el (interpreter-mode-alist):
4342 * progmodes/ruby-mode.el (interpreter-mode-alist):
4343 Revert previous change.
4344
34675540
SM
43452013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4346
1b3b87df
SM
4347 * play/snake.el (snake-mode):
4348 * play/mpuz.el (mpuz-mode):
4349 * play/landmark.el (lm-mode):
4350 * play/blackbox.el (blackbox-mode):
4351 * play/5x5.el (5x5-mode):
4352 * obsolete/options.el (Edit-options-mode):
4353 * net/quickurl.el (quickurl-list-mode):
4354 * net/newst-treeview.el (newsticker-treeview-mode):
4355 * mail/rmailsum.el (rmail-summary-mode):
4356 * mail/mspools.el (mspools-mode):
4357 * locate.el (locate-mode):
4358 * ibuffer.el (ibuffer-mode):
4359 * emulation/ws-mode.el (wordstar-mode):
4360 * emacs-lisp/debug.el (debugger-mode):
4361 * array.el (array-mode):
4362 * net/eudc.el (eudc-mode): Use define-derived-mode.
4363 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4364 Move initialization into declaration.
4365 (mairix-searches-mode): Use define-derived-mode.
4366 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4367 (eudc-edit-hotlist): Use dolist.
4368 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4369 (Man-mode): Use define-derived-mode.
4370 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4371 (Info-edit-mode): Use define-derived-mode.
4372 (Info-cease-edit): Use Info-mode.
4373 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4374 into declaration.
4375 (eshell-mode): Use define-derived-mode.
4376 * chistory.el (command-history-mode-map): Rename from
4377 command-history-map.
4378 (command-history-mode): Use define-derived-mode.
da712f22 4379 (Command-history-setup): Remove function.
1b3b87df
SM
4380 * calc/calc.el (calc-trail-mode-map): New var.
4381 (calc-trail-mode): Use define-derived-mode.
4382 (calc-trail-buffer): Set calc-main-buffer manually.
4383 * bookmark.el (bookmark-insert-annotation): New function.
4384 (bookmark-edit-annotation): Use it.
4385 (bookmark-edit-annotation-mode): Make it a proper major mode.
4386 (bookmark-send-edited-annotation): Use derived-mode-p.
4387 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4388 closer to its ideal place. Use \' to match EOS.
4389
34675540
SM
4390 * profiler.el (profiler-calltree-find): Use function-equal.
4391
6a5c15d9
GM
43922013-09-10 Glenn Morris <rgm@gnu.org>
4393
1af4c220
GM
4394 * files.el (interpreter-mode-alist): Convert to regexps.
4395 (set-auto-mode): Adapt for this. (Bug#15306)
4396 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4397 Comment out unused variable.
4398 * progmodes/cc-mode.el (interpreter-mode-alist):
4399 * progmodes/python.el (interpreter-mode-alist):
4400 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4401 * progmodes/sh-script.el (sh-set-shell):
4402 No longer use interpreter-mode-alist to get list of shells.
4403
6a5c15d9
GM
4404 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4405
8c27f5ff
SM
44062013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4407
02ef6c1a 4408 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4409 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4410 Bind switch-frame explicitly. Replace universal-argument-minus with
4411 a conditional binding.
4412 (universal-argument-num-events, saved-overriding-map): Remove.
4413 (restore-overriding-map): Remove.
4414 (universal-argument--mode): Rename from save&set-overriding-map,
4415 and rewrite.
4416 (universal-argument, universal-argument-more, negative-argument)
4417 (digit-argument): Adjust accordingly.
4418 (universal-argument-minus): Remove.
4419 (universal-argument-other-key): Remove.
4420
8c27f5ff
SM
4421 * subr.el (with-demoted-errors): Add `format' argument.
4422
6480194c
MA
44232013-09-10 Michael Albinus <michael.albinus@gmx.de>
4424
4425 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4426 `tramp-cleanup-connection'.
4427
4428 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4429 parameters KEEP-DEBUG and KEEP-PASSWORD.
4430
4431 * net/tramp.el (tramp-file-name-handler):
4432 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4433 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4434 (tramp-maybe-open-connection):
8c27f5ff
SM
4435 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4436 Use `tramp-cleanup-connection'.
6480194c 4437
8c27f5ff
SM
4438 * net/tramp-sh.el (tramp-maybe-open-connection):
4439 Catch 'uname-changed inside the progress reporter.
6480194c 4440
e5e916d8
GM
44412013-09-10 Glenn Morris <rgm@gnu.org>
4442
9a2c9b47
GM
4443 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4444
e5e916d8
GM
4445 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4446 returns "alternate access method" in mode (eg "-rw-r--r--.").
4447
144e38fe
GM
44482013-09-08 Glenn Morris <rgm@gnu.org>
4449
4450 * saveplace.el (load-save-place-alist-from-file):
4451 Demote errors. (Bug#15305)
4452
af9ff9e8
MA
44532013-09-08 Michael Albinus <michael.albinus@gmx.de>
4454
4455 Improve compatibility with older Emacsen, and XEmacs.
4456
4457 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4458 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4459 (with-tramp-progress-reporter): Do not let-bind `result'.
4460 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4461 (tramp-handle-make-auto-save-file-name): New function, moved from
4462 tramp-sh.el.
4463
4464 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4465 for `make-auto-save-file-name'.
8c27f5ff
SM
4466 (tramp-adb--gnu-switches-to-ash):
4467 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4468
4469 * net/tramp-cache.el (tramp-cache-print): Call
4470 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4471
4472 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4473 bound. It isn't for XEmacs.
4474
8c27f5ff
SM
4475 * net/tramp-compat.el (tramp-compat-copy-file):
4476 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4477 (tramp-compat-replace-regexp-in-string): New defun.
4478
4479 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4480 for `make-auto-save-file-name'.
4481 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4482 `copy-file'.
4483 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4484 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4485 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4486
8c27f5ff
SM
4487 * net/tramp-gw.el (tramp-gw-open-network-stream):
4488 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4489
8c27f5ff
SM
4490 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4491 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4492 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4493 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4494 (tramp-sh-file-inotifywait-process-filter):
4495 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4496 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4497
4498 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4499 for `make-auto-save-file-name'.
8c27f5ff
SM
4500 (tramp-smb-handle-copy-directory):
4501 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4502 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4503 (tramp-smb-handle-copy-file): Improve error message.
4504 (tramp-smb-handle-rename-file): Rename directly only in case
4505 `newname' does not exist yet. This is a restriction of smbclient.
4506 (tramp-smb-maybe-open-connection): Rerun the function only when
4507 `auth-sources' is non-nil.
4508
0ca754d0
KH
45092013-09-08 Kenichi Handa <handa@gnu.org>
4510
e0eb0550 4511 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4512 more characters.
4513
e8dd0787
AM
45142013-09-07 Alan Mackenzie <acm@muc.de>
4515
4516 Correctly fontify Java class constructors.
4517 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4518 in Java Mode.
4519 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4520 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4521 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4522 "typeless" declaration there.
4523
f2f248e7
RW
45242013-09-07 Roland Winkler <winkler@gnu.org>
4525
4526 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4527 field subtitle for entry type book.
4528
67982e2b
SM
45292013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * minibuffer.el: Make minibuffer-complete call completion-in-region
4532 rather than other way around.
4533 (completion--some, completion-pcm--find-all-completions):
4534 Don't delay signals when debugging.
4535 (minibuffer-completion-contents): Beware fields within the
4536 minibuffer contents.
4537 (completion-all-sorted-completions): Use defvar-local.
4538 (completion--do-completion, completion--cache-all-sorted-completions)
4539 (completion-all-sorted-completions, minibuffer-force-complete):
4540 Add args `beg' and `end'.
4541 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4542 (minibuffer-complete): Use completion-in-region.
4543 (completion-complete-and-exit): New fun, extracted from
4544 minibuffer-complete-and-exit.
4545 (minibuffer-complete-and-exit): Use it.
4546 (completion--complete-and-exit): Rename from
4547 minibuffer--complete-and-exit.
4548 (completion-in-region--single-word): New function, extracted from
4549 minibuffer-complete-word.
4550 (minibuffer-complete-word): Use it.
4551 (display-completion-list): Make `common-substring' argument obsolete.
4552 (completion--in-region): Call completion--in-region-1 instead of
4553 minibuffer-complete.
4554 (completion-help-at-point): Pass boundaries to
4555 minibuffer-completion-help as args rather than via an overlay.
4556 (completion-pcm--string->pattern): Use `any-delim'.
4557 (completion-pcm--optimize-pattern): New function.
4558 (completion-pcm--pattern->regex): Handle `any-delim'.
4559 * icomplete.el (icomplete-forward-completions)
4560 (icomplete-backward-completions, icomplete-completions):
4561 Adjust calls to completion-all-sorted-completions and
4562 completion--cache-all-sorted-completions.
4563 (icomplete-with-completion-tables): Default to t.
4564 * emacs-lisp/crm.el (crm--current-element): Rename from
4565 crm--select-current-element. Don't put an overlay but return the
4566 boundaries instead.
4567 (crm--completion-command): Take two new args to bind to the boundaries.
4568 (crm-completion-help): Adjust accordingly.
4569 (crm-complete): Use completion-in-region.
4570 (crm-complete-word): Use completion-in-region--single-word.
4571 (crm-complete-and-exit): Use completion-complete-and-exit.
4572
e17d94a5
SM
45732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4576 than dynamically.
4577
96727100
JL
45782013-09-06 Juri Linkov <juri@jurta.org>
4579
4580 * info.el (Info-display-images-node): When image file doesn't exist
4581 display text version of the image if it's provided in the Info file.
4582 Otherwise, display the location of missing image from SRC attribute.
4583 Add help-echo text property from ALT attribute. (Bug#15279)
4584
86cf7329
SM
45852013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4588 (edit-abbrevs-mode): Use define-derived-mode.
4589
4590 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4591 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4592 that it's defined.
4593 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4594 Use define-derived-mode.
4595
4596 * epg.el (epg-start-encrypt): Minor CSE simplification.
4597
816244a2
WX
45982013-09-06 William Xu <william.xwl@gmail.com>
4599
4600 * arc-mode.el: Add support for 7za (bug#15264).
4601 (archive-7z-program): New var.
4602 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4603 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4604 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4605
1486fa31
MA
46062013-09-06 Michael Albinus <michael.albinus@gmx.de>
4607
4608 Remove URL syntax.
4609
4610 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4611 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4612 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4613 (tramp-postfix-host-format, tramp-file-name-regexp)
4614 (tramp-completion-file-name-regexp)
4615 (tramp-completion-dissect-file-name)
4616 (tramp-handle-substitute-in-file-name): Remove 'url case.
4617 (tramp-file-name-regexp-url)
4618 (tramp-completion-file-name-regexp-url): Remove constants.
4619
39785324
GM
46202013-09-06 Glenn Morris <rgm@gnu.org>
4621
4622 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4623
1f896cb7
DG
46242013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4625
4626 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4627 keywords" below "here-doc beginnings" (Bug#15270).
4628
c0458e0b
SM
46292013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * subr.el (pop): Use `car-safe'.
4632 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4633 to detect unused `pop' return value.
4634
4635 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4636 var `block-regexp'.
4637 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4638 (python-fill-string): Remove unused var `marker'.
4639 (python-skeleton-add-menu-items): Remove unused var `items'.
4640
4641 * international/mule-cmds.el: Require CL.
4642 (find-coding-systems-for-charsets): Avoid add-to-list.
4643 (sanitize-coding-system-list): New function, extracted from
4644 select-safe-coding-system-interactively.
4645 (select-safe-coding-system-interactively): Use it.
4646 (read-input-method-name): Accept symbols for `default'.
4647
4648 * emacs-lisp/advice.el (defadvice): Add indent rule.
4649
6c42fc3e
DH
46502013-09-05 Daniel Hackney <dan@haxney.org>
4651
4652 * dired-x.el:
4653 * net/ange-ftp.el:
4654 * net/browse-url.el:
4655 * net/dbus.el:
4656 * net/eudc.el:
4657 * net/eudcb-ldap.el:
4658 * net/eww.el:
4659 * net/imap.el:
4660 * printing.el:
4661 * vc/ediff-diff.el:
4662 * vc/ediff-init.el:
4663 * vc/ediff-merg.el:
4664 * vc/ediff-mult.el:
4665 * vc/ediff-util.el:
4666 * vc/ediff-wind.el:
4667 * vc/ediff.el:
4668 * vc/emerge.el:
4669 * vc/pcvs.el:
4670 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4671 byte compiler. Remove some unused let-bound variables.
4672
4c528aab
SM
46732013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4676 a "ref-cell", since it gets better optimized (bug#14883).
4677
bd15c390
GM
46782013-09-05 Glenn Morris <rgm@gnu.org>
4679
4680 * progmodes/cc-awk.el (c-forward-sws): Declare.
4681
1c3ac2e5
GM
46822013-09-04 Glenn Morris <rgm@gnu.org>
4683
4684 * generic-x.el [rul-generic-mode]: Require cc-mode.
4685 (c++-mode-syntax-table): Declare.
4686 (rul-generic-mode-syntax-table): Init in the defvar.
4687
52b1cc79
SM
46882013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4689
c828af56
SM
4690 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4691 (vc-do-command, vc-set-async-update):
4692 * vc/vc-mtn.el (vc-mtn-dir-status):
4693 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4694 (vc-hg-pull, vc-hg-merge-branch):
4695 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4696 (vc-git-merge-branch):
4697 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4698 (vc-cvs-dir-status-files):
4699 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4700 (vc-bzr-dir-status-files):
4701 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4702 * vc/vc-annotate.el: Use lexical-binding.
4703 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4704 (vc-sentinel-movepoint): Declare.
4705 (vc-annotate): Don't use `goto-line'.
4706 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4707 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4708 (vc-sentinel-movepoint): Declare.
4709 * vc/vc-svn.el: Use lexical-binding.
4710 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4711 * vc/vc-sccs.el:
4712 * vc/vc-rcs.el: Use lexical-binding.
4713
abae272c
SM
4714 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4715 `deleted'. Don't drop errors silently.
4716
52b1cc79
SM
4717 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4718
63191d9f
XF
47192013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4720
4721 * vc/vc.el (vc-ignore): Rewrite.
4722 (vc-default-ignore): New function.
4723 (vc-default-ignore-completion-table): Use find-ignore-file.
4724
4725 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4726 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4727 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4728 Remove. Most code moved to vc.el.
4729
9d3f707c
SM
47302013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4731
abae272c 4732 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4733 * net/tramp-smb.el (tramp-smb-get-file-entries):
4734 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4735 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4736
fde38d49
SM
4737 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4738 Update call to it.
4739 (eww-change-select): Remove unused var `properties'.
4740 (eww-make-unique-file-name): Remove unused var `base'.
4741
4742 * finder.el (finder-compile-keywords): Don't mess with windows.
4743
84032db7
SM
4744 * calculator.el (calculator-funcall): Fix typo in last change.
4745
724f5e41
SM
4746 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4747
14b511d4
SM
4748 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4749 <pkg>-autoloads.el file stop us.
4750
9d3f707c 4751 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4752 warnings, and factor out common code.
9d3f707c 4753
88527bc0
DG
47542013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4755
4756 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4757 two-character operators and whether the character preceding them
4758 changes their meaning (Bug#15208).
4759
96edb677
FEG
47602013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4761
4762 Format code sent to Python shell for robustness.
9d3f707c
SM
4763 * progmodes/python.el (python-shell-buffer-substring):
4764 New function.
96edb677
FEG
4765 (python-shell-send-region, python-shell-send-buffer): Use it.
4766
95beaef3
MA
47672013-09-02 Michael Albinus <michael.albinus@gmx.de>
4768
4769 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4770 * net/tramp.el (tramp-user-error): ... here.
4771 (tramp-find-method, tramp-check-proper-host)
4772 (tramp-dissect-file-name, tramp-debug-message)
4773 (tramp-handle-shell-command):
4774 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4776
4777 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4778
f167c27b
MR
47792013-09-02 Martin Rudalics <rudalics@gmx.at>
4780
4781 * avoid.el (mouse-avoidance-point-position)
4782 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4783 returns nil.
4784
cd16c5f1
FEG
47852013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4786
4787 * progmodes/python.el (python-shell-completion-get-completions):
4788 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4789 (python-nav-if-name-main): New command.
cd16c5f1 4790
e73c3a0d
GM
47912013-09-01 Glenn Morris <rgm@gnu.org>
4792
f8ccce03
GM
4793 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4794 Avoid leading space in $wins. Otherwise the sed command used by
4795 eg compile-main ends up containing "/*.el". (Bug#15170)
4796
e73c3a0d
GM
4797 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4798
415f808e
GM
47992013-08-30 Glenn Morris <rgm@gnu.org>
4800
4801 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4802 Fix is-this-a-directory logic. (Bug#15220)
4803
f069bba8
SM
48042013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4805
112798c1
SM
4806 * textmodes/css-mode.el: Use SMIE.
4807 (css-smie-grammar): New var.
4808 (css-smie--forward-token, css-smie--backward-token)
4809 (css-smie-rules): New functions.
4810 (css-mode): Use them.
4811 (css-navigation-syntax-table): Remove var.
4812 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4813 (css-indent-calculate, css-indent-line): Remove functions.
4814
4815 Misc changes to reduce use of `(lambda...); and other cleanups.
4816 * cus-edit.el: Use lexical-binding.
4817 (customize-push-and-save, customize-apropos)
4818 (custom-buffer-create-internal): Use closures.
4819 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4820 * progmodes/ada-xref.el: Use setq.
4821 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4822 * dframe.el: Use lexical-binding.
4823 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4824 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4825 * descr-text.el: Use lexical-binding.
4826 (describe-text-widget, describe-text-sexp, describe-property-list):
4827 Use closures.
4828 * comint.el (comint-history-isearch-push-state): Use a closure.
4829 * calculator.el: Use lexical-binding.
4830 (calculator-number-to-string): Make it work with lexical-binding.
4831 (calculator-funcall): Same and use cl-letf.
4832
2da4c3ab
SM
4833 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4834 (lisp--company-doc-string, lisp--company-location): New functions.
4835 (lisp-completion-at-point): Use them to improve Company support.
4836
f069bba8
SM
4837 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4838 params of lambda expressions.
4839 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4840 (ruby-smie--opening-pipe-p): New function.
4841 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4842 symbols and matched |...| for formal params.
4843 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4844 from being treated as hanging. Handle "rescue".
4845
6758b6a8
GM
48462013-08-29 Glenn Morris <rgm@gnu.org>
4847
4848 * progmodes/cc-engine.el (c-pull-open-brace):
4849 Move definition before use.
4850
e8dfd197
SM
48512013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4854 are immutable. Don't use `unsafe' any more.
4855 (cl--defsubst-expand): Don't substitute at the same time as keeping
4856 a residual unused let-binding. Don't use `unsafe' any more.
4857
cc585c96
GM
48582013-08-29 Glenn Morris <rgm@gnu.org>
4859
ba579ea6
GM
4860 * calendar/cal-china.el (calendar-chinese-year-cache):
4861 Recenter on 2015.
4862
8201a87e
GM
4863 * nxml/nxml-util.el (nxml-debug-clear-inside):
4864 Use cl-loop rather than loop.
4865
6ee877c7
GM
4866 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4867
cc585c96
GM
4868 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4869
27be8d39
GM
48702013-08-28 Glenn Morris <rgm@gnu.org>
4871
397440a1
GM
4872 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4873
2bb762d4
GM
4874 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4875
27be8d39
GM
4876 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4877
2d69b99e
SM
48782013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4879
f663baa7
SM
4880 * simple.el (repeat-complex-command--called-interactively-skip):
4881 New function.
4882 (repeat-complex-command): Use it (bug#14136).
4883
dd4f8b74
SM
4884 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4885 (c-define-abbrev-table): Add `doc' argument.
4886 (c-mode-abbrev-table, c++-mode-abbrev-table)
4887 (objc-mode-abbrev-table, java-mode-abbrev-table)
4888 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4889 (awk-mode-abbrev-table): Use it.
4890 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4891 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4892 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4893 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4894 Move initialization into the declaration; and remove any
4895 autoload cookie.
4896
b58969f7
SM
4897 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4898 and dynamic let binding.
4899
4021d6a6
SM
4900 * vc/smerge-mode.el: Remove redundant :group args.
4901
2d69b99e
SM
4902 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4903 to load-path.
4904
274919fd
JL
49052013-08-28 Juri Linkov <juri@jurta.org>
4906
4907 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4908 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4909 (isearch-other-meta-char): Handle an undefined shifted printing
4910 character by downshifting it. (Bug#15200)
4911
121f8c95
JL
49122013-08-28 Juri Linkov <juri@jurta.org>
4913
4914 * isearch.el (isearch-search): Change regexp error message for
4915 non-regexp searches. (Bug#15166)
4916
50b13cde
PE
49172013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4918
4919 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4920 for portability to hosts where /bin/sh has problems.
4921
95888bca
SM
49222013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4925
bbe558f1
JL
49262013-08-27 Juri Linkov <juri@jurta.org>
4927
4928 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4929 in the keyboard macro. (Bug#15126)
4930
26f98a7d
JL
49312013-08-27 Juri Linkov <juri@jurta.org>
4932
4933 * isearch.el (isearch-quote-char): Comment out converting unibyte
4934 to multibyte, thus syncing with its `quoted-insert' counterpart.
4935 (Bug#15166)
4936
7c97d35e
MR
49372013-08-27 Martin Rudalics <rudalics@gmx.at>
4938
4939 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4940 argument in call of get-largest-window (Bug#15185).
4941 Reported by Stephen Leake.
7c97d35e 4942
a0b5606e 49432013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4944
4945 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4946
9e89d835
SM
49472013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4950 from a matcher-function unless there's no more matches (bug#15161).
4951
78fc2530
MA
49522013-08-26 Michael Albinus <michael.albinus@gmx.de>
4953
4954 * minibuffer.el: Revert change from 2013-08-20.
4955
4956 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4957 with text property `tramp-default', if appropriate.
4958 (tramp-check-proper-host): New defun.
4959 (tramp-dissect-file-name): Do not check hostname. Revert change
4960 of 2013-03-18.
4961 (tramp-backtrace): Make VEC-OR-PROC optional.
4962
4963 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4964 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4965 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4966 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4967 Apply `tramp-check-proper-host'.
78fc2530 4968
edca97cd
TH
49692013-08-26 Tassilo Horn <tsdh@gnu.org>
4970
4971 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4972 lambda expression in order to have `describe-variable' display it.
4973
df54bcbd
MA
49742013-08-26 Michael Albinus <michael.albinus@gmx.de>
4975
4976 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4977 BUF can be optional. (Bug#15186)
4978
eed99101
XF
49792013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4980
4981 * progmodes/flymake.el (flymake-get-real-file-name-function):
4982 Fix broken customization. (Bug#15184)
4983
b5eb9035
AM
49842013-08-25 Alan Mackenzie <acm@muc.de>
4985
8a51e842
AM
4986 Improve indentation of bracelists defined by macros (without "=").
4987
4988 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4989 expansion begins with "{", regard it as bracelist when it doesn't
4990 contain a ";".
4991
869455d4
AM
4992 Parse C++ inher-intro when there's a template split over 2 lines.
4993
4994 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4995 rigorously the search for "class" etc. followed by ":".
4996
4997 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4998 random languages a regexp which never matches rather than nil.
4999
b5eb9035
AM
5000 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5001
5002 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5003 (c-awk-regexp-one-line-possibly-open-char-list-re)
5004 (c-awk-one-line-possibly-open-regexp-re)
5005 (c-awk-one-line-non-syn-ws*-re): Remove.
5006 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5007 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5008 (c-awk-space*-unclosed-regexp-/-re): New constants.
5009 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5010 aren't regexp delimiters.
5011
5012 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5013 handling for a rare situation in AWK Mode involving unterminated
5014 strings/regexps.
5015
61611d54
GM
50162013-08-23 Glenn Morris <rgm@gnu.org>
5017
2d85dc34
GM
5018 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5019
cb8d2612
GM
5020 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5021
bb35f42f
GM
5022 * files.el (create-file-buffer): If the result would begin with
5023 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5024
b9808e77
SM
50252013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5026
e3a66363
SM
5027 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5028 text-properties (bug#15155).
5029
b9808e77
SM
5030 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5031 exist any more.
5032 (calc-keypad-redraw): Remove unused var `pad'.
5033 (calc-keypad-press): Remove unused var `menu'.
5034
7fd5f65e
MR
50352013-08-23 Martin Rudalics <rudalics@gmx.at>
5036
b9808e77
SM
5037 * window.el (display-buffer-pop-up-frame):
5038 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5039 use it as the new frame's buffer (Bug#15133).
5040
8352b530
SM
50412013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * calendar/timeclock.el: Minor cleanups.
5044 (timeclock-ask-before-exiting, timeclock-use-display-time):
5045 Use `symbol'.
5046 (timeclock-modeline-display): Define as alias before the
5047 actual definition.
5048 (timeclock-mode-line-display): Use define-minor-mode.
5049 (timeclock-day-list-template): Make it a function, add an argument.
5050 (timeclock-day-list-required, timeclock-day-list-length)
5051 (timeclock-day-list-debt, timeclock-day-list-span)
5052 (timeclock-day-list-break): Adjust calls accordingly.
5053
9f7b1925
SM
50542013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5057 Use read--expression so that completion works again.
5058
6e50e983
SS
50592013-08-21 Sam Steingold <sds@gnu.org>
5060
5061 Add rudimentary inferior shell interaction
5062 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5063 (sh-set-shell): Reset it.
9f7b1925
SM
5064 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5065 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5066
dbb0d350
SM
50672013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * align.el: Use lexical-binding.
5070 (align-region): Simplify accordingly.
5071
c88586a9
MA
50722013-08-20 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5075
5076 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5077 `non-essential' up.
5078
f95527c8
MA
50792013-08-17 Michael Albinus <michael.albinus@gmx.de>
5080
5081 * net/tramp.el:
5082 * net/tramp-adb.el:
5083 * net/tramp-cmds.el:
5084 * net/tramp-ftp.el:
5085 * net/tramp-gvfs.el:
5086 * net/tramp-gw.el:
5087 * net/tramp-sh.el: Don't wrap external variable declarations by
5088 `eval-when-compile'.
5089
4b5fe4ee
LMI
50902013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091
5092 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5093 now that Emacs supports ImageMagick animations.
5094
13c366c9
MA
50952013-08-16 Michael Albinus <michael.albinus@gmx.de>
5096
5097 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5098 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5099
3dfc5cd6
MR
51002013-08-16 Martin Rudalics <rudalics@gmx.at>
5101
5102 * window.el (mouse-autoselect-window-select): Do autoselect when
5103 mouse pointer is on margin.
5104
4bbb4381
WP
51052013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5106
5107 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5108
3a2ddc2d
GM
51092013-08-16 Glenn Morris <rgm@gnu.org>
5110
e8bedf5a
GM
5111 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5112 Handle "Remote Directory" response of some clients. (Bug#15058)
5113
58c4682f
GM
5114 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5115 Tweak warning. (Bug#14926)
5116
57953f49
GM
5117 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5118 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5119
3a2ddc2d
GM
5120 * image-mode.el (image-mode-map): Add menu items to reverse,
5121 increase, decrease, reset animation speed.
5122 (image--set-speed, image-increase-speed, image-decrease-speed)
5123 (image-reverse-speed, image-reset-speed): New functions.
5124 (image-mode-map): Add bindings for speed commands.
5125
5126 * image.el (image-animate-get-speed, image-animate-set-speed):
5127 New functions.
5128 (image-animate-timeout): Respect image :speed property.
5129
10fa0ed3
SM
51302013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5133 previous line (bug#15101).
5134 (debugger-eval-expression, debugger-record-expression):
5135 Use read--expression (bug#15102).
5136
5d89d9d2
MA
51372013-08-15 Michael Albinus <michael.albinus@gmx.de>
5138
5139 Remove byte compiler warnings, visible when compiling with
5140 `byte-compile-force-lexical-warnings' set to t.
5141
5142 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5143 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5144 (tramp-handle-unhandled-file-name-directory)
5145 (tramp-handle-file-notify-add-watch, tramp-action-login)
5146 (tramp-action-succeed, tramp-action-permission-denied)
5147 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5148 arguments with "_".
5149
5150 * net/tramp-adb.el (tramp-adb-parse-device-names)
5151 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5152 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5153 (tramp-adb-handle-file-truename): Remove unused arguments.
5154
5155 * net/tramp-cache.el (tramp-flush-directory-property)
5156 (tramp-flush-connection-property, tramp-list-connections)
5157 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5158
10fa0ed3
SM
5159 * net/tramp-compat.el (tramp-compat-make-temp-file):
5160 Rename FILENAME to F.
5d89d9d2
MA
5161
5162 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5163 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5164 (tramp-zeroconf-parse-workstation-device-names)
5165 (tramp-zeroconf-parse-webdav-device-names)
5166 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5167
5168 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5169 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5170
5171 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5172 arguments.
5173 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5174 (tramp-sh-handle-insert-file-contents-literally)
5175 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5176 with "_".
5177 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5178 Remove unused variables.
5179
5180 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5181 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5182 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5183
5184 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5185 Make them a defconst.
5186 (tramp-uuencode-region): Remove unused variable.
5187
62f33bae
JB
51882013-08-14 Juanma Barranquero <lekktu@gmail.com>
5189
5190 * frameset.el (frameset--prop-setter): New function.
5191 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5192 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5193 parameter was already set in FILTERED. Doc fix.
5194 (frameset--record-minibuffer-relationships): Allow saving a
5195 minibufferless frame without its corresponding minibuffer frame.
5196 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5197 frame, if the frame id matches.
5198 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5199 frames before orphaned ones.
5200 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5201
c660a885
MR
52022013-08-14 Martin Rudalics <rudalics@gmx.at>
5203
5204 * window.el (window-make-atom): Don't overwrite parameter
5205 already present.
5206 (display-buffer-in-atom-window): Handle special case where we
5207 split an already atomic window.
5208 (window--major-non-side-window, display-buffer-in-side-window)
5209 (window--side-check): Ignore minibuffer window when walking
5210 window tree.
5211 (window-deletable-p): Return 'frame only if no other frame uses
5212 our minibuffer window.
5213 (record-window-buffer): Run buffer-list-update-hook.
5214 (split-window): Make sure window--check-frame won't destroy an
5215 existing atomic window in case the new window gets nested
5216 inside.
5217 (display-buffer-at-bottom): Ignore minibuffer window when
5218 walking window tree. Don't split a side window.
5219 (pop-to-buffer): Don't set-buffer here, the select-window call
5220 should do that.
5221 (mouse-autoselect-window-select): Autoselect only if we are in the
5222 text portion of the window.
5223
8259030d
LMI
52242013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5225
21c58ae2
LMI
5226 * net/shr.el (shr-parse-image-data): New function to grab both the
5227 data itself and the Content-Type.
5228 (shr-put-image): Use it.
5229
5230 * net/eww.el (eww-display-image): Ditto.
5231
8259030d
LMI
5232 * image.el (image-content-type-suffixes): New variable.
5233
ad756449
FEG
52342013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5235
5236 * progmodes/python.el (python-imenu--build-tree)
5237 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5238
f73f4ce6
XF
52392013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5240
5241 * simple.el (backward-word): Mention the optional argument.
5242
1f585e65
SM
52432013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * frameset.el (frameset--make): Rename constructor from make-frameset.
5246 (frameset-p, frameset-valid-p): Don't autoload.
5247 (frameset-valid-p): Use normal accessors.
5248
af1c6c84
GM
52492013-08-13 Glenn Morris <rgm@gnu.org>
5250
55e47f95
GM
5251 * progmodes/compile.el (compile-command): Tweak example in doc.
5252 * obsolete/scribe.el (scribe-mode):
5253 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5254
f0024d8c
GM
5255 * mail/feedmail.el (feedmail-confirm-outgoing)
5256 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5257
5258 * cus-start.el (truncate-partial-width-windows): Fix type.
5259
5260 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5261
af1c6c84
GM
5262 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5263
5514cc4c
SM
52642013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5265
5266 * emacs-lisp/timer.el (timer--time-setter): New function.
5267 (timer--time): Use it as gv-setter.
5268
5269 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5270 setter is not a symbol.
5271
7997a2f1
GJ
52722013-08-12 Grégoire Jadi <daimrod@gmail.com>
5273
5274 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5275 if sending fails. This makes debugging easier.
5276
01f1a9ab
JB
52772013-08-12 Juanma Barranquero <lekktu@gmail.com>
5278
5279 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5280 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5281 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5282
594a4307
EZ
52832013-08-12 Eli Zaretskii <eliz@gnu.org>
5284
5285 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5286
7a22490f 52872013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5288
5289 * format.el (format-annotate-function):
5290 Handle read-only text properties in the source. (Bug#14887)
5291
3e41a054
LMI
52922013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5293
5514cc4c
SM
5294 * net/eww.el (eww-display-html): Ignore coding system errors.
5295 One web site uses "utf-8lias" as the coding system.
3e41a054 5296
7ec326db
JB
52972013-08-11 Juanma Barranquero <lekktu@gmail.com>
5298
5299 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5300
5660113b
JB
53012013-08-10 Juanma Barranquero <lekktu@gmail.com>
5302
9a4ebc74
JB
5303 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5304 (tutorial--detailed-help): Remove unused local variables.
5305 (tutorial--save-tutorial-to): Use ignore-errors.
5306 (help-with-tutorial): Use looking-at-p.
5307
5308 * view.el (view-buffer-other-window, view-buffer-other-frame):
5309 Mark unused arguments.
5310
5311 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5312 (woman-select-symbol-fonts, woman, woman-find-file)
5313 (woman-insert-file-contents, woman-non-underline-faces):
5314 Use string-match-p.
5315 (woman1-unquote): Move declaration.
5316
5317 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5318 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5319 argument. Remove unused local variable.
5320 (xml-parse-elem-type): Use string-match-p.
5321 (xml-substitute-numeric-entities): Use ignore-errors.
5322
45fdb482
JB
5323 * calculator.el (calculator): Mark unused argument.
5324 (calculator-paste, calculator-quit, calculator-integer-p):
5325 Use ignore-errors.
5326 (calculator-string-to-number, calculator-decimal, calculator-exp)
5327 (calculator-op-or-exp): Use string-match-p.
5328
5329 * dired.el (dired-buffer-more-recently-used-p): Declare.
5330 (dired-insert-set-properties, dired-insert-old-subdirs):
5331 Use ignore-errors.
5332
5333 * dired-aux.el (dired-compress): Use ignore-errors.
5334 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5335 (dired-do-async-shell-command, dired-do-shell-command)
5336 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5337 (dired-insert-subdir-validate): Use string-match-p.
5338 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5339 (dired-add-entry): Use string-match-p, looking-at-p.
5340 (dired-insert-subdir-newpos): Remove unused local variable.
5341
5342 * filenotify.el (file-notify-callback): Remove unused local variable.
5343
5344 * filesets.el (filesets-error): Mark unused argument.
5345 (filesets-which-command-p, filesets-filter-dir-names)
5346 (filesets-directory-files, filesets-get-external-viewer)
5347 (filesets-ingroup-get-data): Use string-match-p.
5348
5349 * find-file.el (ff-other-file-name, ff-other-file-name)
5350 (ff-find-the-other-file, ff-cc-hh-converter):
5351 Remove unused local variables.
5352 (ff-get-file-name): Use string-match-p.
5353 (ff-all-dirs-under): Use ignore-errors.
5354
5355 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5356 (follow-select-if-visible): Remove unused local variable.
5357
5358 * forms.el (read-file-filter): Move declaration.
5359 (forms--make-format, forms--make-parser, forms-insert-record):
5360 Quote function with #'.
5361 (forms--update): Use string-match-p. Quote function with #'.
5362
5363 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5364 (help-make-xrefs): Use looking-at-p.
5365 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5366
5367 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5368 (ibuffer-confirm-operation-on): Use string-match-p.
5369
5370 * msb.el (msb-item-handler, msb-dired-item-handler):
5371 Mark unused arguments.
5372
5373 * ses.el (ses-decode-cell-symbol)
5374 (ses-kill-override): Remove unused local variable.
5375 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5376 (ses-load): Use ignore-errors, looking-at-p.
5377 (ses-jump-safe): Use ignore-errors.
5378 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5379
5380 * tabify.el (untabify, tabify): Mark unused arguments.
5381
5382 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5383 Mark unused argument.
5384 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5385 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5386
c880af52
JB
5387 * emacs-lisp/timer.el (timer--time): Define setter with
5388 gv-define-setter to avoid deprecation warning.
5389
5660113b 5390 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5391 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5392 (cmpl-statistics-block): Remove (body was commented out).
5393 All callers changed.
5394 (add-completions-from-buffer, load-completions-from-file):
5395 Remove unused variables.
5396
156aab80
JB
53972013-08-09 Juanma Barranquero <lekktu@gmail.com>
5398
5c5dee78
JB
5399 * filecache.el (file-cache-delete-file-list):
5400 Print message only when told so.
5401 (file-cache-files-matching): Use #' in mapconcat argument.
5402
156aab80
JB
5403 * ffap.el (ffap-url-at-point): Fix reference to variable
5404 thing-at-point-default-mail-uri-scheme.
5405
ad9dcd70
SM
54062013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5407
54bd972f
SM
5408 * subr.el (define-error): New function.
5409 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5410 error-file-not-found and define with define-error.
5411 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5412 and define with define-error.
5413 * userlock.el (file-locked, file-supersession):
5414 * simple.el (mark-inactive):
5415 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5416 * progmodes/ada-mode.el (ada-mode-errors):
5417 * play/life.el (life-extinct):
5418 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5419 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5420 * nxml/rng-util.el (rng-error):
5421 * nxml/rng-uri.el (rng-uri-error):
5422 * nxml/rng-match.el (rng-compile-error):
5423 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5424 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5425 * nxml/nxml-rap.el (nxml-scan-error):
5426 * nxml/nxml-outln.el (nxml-outline-error):
5427 * net/soap-client.el (soap-error):
5428 * net/gnutls.el (gnutls-error):
5429 * net/ange-ftp.el (ftp-error):
5430 * mpc.el (mpc-proc-error):
5431 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5432 (json-number-format, json-string-escape, json-string-format)
5433 (json-key-format, json-object-format):
5434 * jka-compr.el (compression-error):
5435 * international/quail.el (quail-error):
5436 * international/kkc.el (kkc-error):
5437 * emacs-lisp/ert.el (ert-test-failed):
5438 * calc/calc.el (calc-error, inexact-result, math-overflow)
5439 (math-underflow):
5440 * bookmark.el (bookmark-error-no-filename):
5441 * epg.el (epg-error): Define with define-error.
5442
0ea9e53a
SM
5443 * time.el (display-time-event-handler)
5444 (display-time-next-load-average): Don't call sit-for since it seems
5445 unnecessary (bug#15045).
5446
b0429158
SM
5447 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5448 Use #' instead of ' to quote functions.
5449 (checkdoc-output-mode): Use setq-local.
5450 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5451 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5452 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5453 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5454 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5455 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5456 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5457 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5458
ad9dcd70
SM
5459 * ido.el (ido-completion-help): Fix up compiler warning.
5460
77187e6f
JB
54612013-08-09 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * frameset.el (frameset-p): Add autoload cookie.
5464 (frameset--jump-to-register): New function, based on code moved from
5465 register.el.
5466 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5467
5468 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5469 (frameset-restore, frameset-save, frameset-session-filter-alist):
5470 Remove declarations.
5471 (register-alist): Doc fix.
5472 (frameset-to-register): Move to frameset.el.
5473 (jump-to-register, describe-register-1): Remove frameset-specific code.
5474
9d3aa82c
JB
54752013-08-08 Juanma Barranquero <lekktu@gmail.com>
5476
5477 * allout-widgets.el (allout-widgets-pre-command-business)
5478 (allout-widgets-post-command-business)
5479 (allout-widgets-after-change-handler)
5480 (allout-decorate-item-and-context, allout-set-boundary-marker)
5481 (allout-body-modification-handler)
5482 (allout-graphics-modification-handler): Mark ignored arguments.
5483 (allout-widgets-post-command-business)
5484 (allout-widgets-exposure-change-processor)
5485 (allout-widgets-exposure-undo-processor)
5486 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5487 (allout-parse-item-at-point, allout-decorate-item-guides)
5488 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5489 * allout.el (epa-passphrase-callback-function): Declare.
5490 (allout-overlay-insert-in-front-handler)
5491 (allout-overlay-interior-modification-handler)
5492 (allout-isearch-end-handler, allout-chart-siblings)
5493 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5494 (allout-yank-processing, allout-process-exposed)
5495 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5496 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5497 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5498 (lisp-indent-defform): Mark ignored arguments.
5499 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5500 (calculate-lisp-indent): Remove unused variables.
5501 * international/characters.el (indian-2-column, arabic-2-column)
5502 (tibetan): Mark ignored arguments.
5503 (use-cjk-char-width-table): Mark ignored arguments.
5504 Remove unused variables.
5505 * international/fontset.el (build-default-fontset-data)
5506 (x-compose-font-name, create-fontset-from-fontset-spec):
5507 Mark ignored arguments.
5508 (fontset-plain-name): Remove unused variables.
5509 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5510 (keyboard-coding-system): Mark ignored arguments.
5511 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5512 * help.el (resize-temp-buffer-window):
5513 * window.el (display-buffer-in-major-side-window)
5514 (display-buffer-in-side-window, display-buffer-in-previous-window):
5515 Remove unused variables.
5516 * isearch.el (isearch-forward-symbol):
5517 * version.el (emacs-bzr-version-bzr):
5518 * international/mule-cmds.el (current-language-environment):
5519 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5520 (x-handle-display):
5521 * term/pc-win.el (x-list-fonts, x-display-planes)
5522 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5523 (x-server-version, x-display-screens, x-display-mm-height)
5524 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5525 (x-selection-owner-p, x-own-selection-internal)
5526 (x-disown-selection-internal, x-get-selection-internal)
5527 (msdos-initialize-window-system):
5528 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5529 * term/x-win.el (x-handle-no-bitmap-icon):
5530 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5531 (vc-default-find-file-hook, vc-default-extra-menu):
5532 Mark ignored arguments.
5533
0ca3f70e
SM
55342013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5537 break-condition in the context of the debugged code (bug#12685).
5538
74c5d24c
CS
55392013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5540
5541 * comint.el:
5542 Do not use an overlay to highlight the last prompt. (Bug#14744)
5543 (comint-mode): Make comint-last-prompt buffer local.
5544 (comint-last-prompt): New variable.
5545 (comint-last-prompt-overlay): Remove. Superseded by
5546 comint-last-prompt.
0ca3f70e
SM
5547 (comint-snapshot-last-prompt, comint-output-filter):
5548 Use comint-last-prompt.
74c5d24c 5549
c03c02ee
JB
55502013-08-08 Juanma Barranquero <lekktu@gmail.com>
5551
a3738d20 5552 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5553 (frameset-save): Check validity of the resulting frameset.
5554
04263d23
XF
55552013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5556
5557 * ido.el (ido-record-command): Add doc string.
5558
76c5e5ab
JB
55592013-08-08 Juanma Barranquero <lekktu@gmail.com>
5560
5561 * frameset.el (frameset): Do not disable creation of the default
5562 frameset-p predicate. Doc fix.
5563 (frameset-valid-p): New function, copied from the old predicate-p.
5564 Add additional checks.
5565 (frameset-restore): Check with frameset-valid-p.
5566 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5567 (frameset-name, frameset-description, frameset-properties)
5568 (frameset-states): Add docstring.
f9dbf1cb
JB
5569 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5570 (frameset-filter-alist): Doc fixes.
76c5e5ab 5571
bd0c3c0b
JB
55722013-08-08 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5575
c735544c
SM
55762013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5579 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5580 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5581 (byte-compile-normal-call): Remove obsolescence check.
5582
2805a651
JB
55832013-08-08 Juanma Barranquero <lekktu@gmail.com>
5584
3677ffeb
JB
5585 * frameset.el (frameset-restore): Doc fix.
5586
2805a651
JB
5587 * register.el (frameset-frame-id, frameset-frame-with-id)
5588 (frameset-p, frameset-restore, frameset-save): Declare.
5589 (register-alist): Document framesets.
5590 (frameset-session-filter-alist): Declare.
5591 (frameset-to-register): New function.
5592 (jump-to-register): Implement jumping to framesets. Doc fix.
5593 (describe-register-1): Describe framesets.
5594
5595 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5596
a912c016
JB
55972013-08-07 Juanma Barranquero <lekktu@gmail.com>
5598
5599 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5600 Use lexical-binding.
5601
5602 * frameset.el (frameset): Use type vector, not list (incompatible
5603 change). Do not declare a new constructor, use the default one.
5604 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5605 `name' and `description', respectively, and add read-only slot
5606 `timestamp'. Doc fixes.
5607 (frameset-copy, frameset-persistent-filter-alist)
5608 (frameset-filter-alist, frameset-switch-to-gui-p)
5609 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5610 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5611 (frameset-filter-iconified, frameset-keep-original-display-p):
5612 Doc fixes.
5613 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5614 Rename from frameset-filter-(save|restore)-param. All callers changed.
5615 Doc fix.
5616 (frameset-p): Adapt to change to vector and be more thorough.
5617 Change arg name to OBJECT. Doc fix.
5618 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5619 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5620 All callers changed.
5621 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5622 All callers changed.
5623 (frameset--record-minibuffer-relationships): Rename from
5624 frameset--process-minibuffer-frames. All callers changed.
5625 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5626 Use new default constructor (again). Doc fix.
5627 (frameset--find-frame-if): Rename from `frameset--find-frame.
5628 All callers changed.
5629 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5630 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5631 Doc fix.
5632 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5633 PARAMETERS and WINDOW-STATE, respectively.
5634 (frameset-restore): Add new keyword argument PREDICATE.
5635 Reset frameset--target-display to nil. Doc fix.
5636
bb41480a
SM
56372013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5638
f001e98e
SM
5639 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5640 (bat-mode): Use it.
5641 (bat-mode-syntax-table): Mark \n as end-of-comment.
5642 (bat-font-lock-keywords): Remove comment rule.
5643
7679edb1
SM
5644 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5645 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5646
bb41480a
SM
5647 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5648 (byte-compile-callargs-warn): Use `push'.
5649 (byte-compile-arglist-warn): Ignore higher-order "calls".
5650 (byte-compile-file-form-autoload): Use `pcase'.
5651 (byte-compile-function-form): If quoting a symbol, check that it exists.
5652
cdc1ebb9
EZ
56532013-08-07 Eli Zaretskii <eliz@gnu.org>
5654
5655 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5656 and add a few popular commands found in batch files.
5657 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5658 (dos-mode): Doc fixes.
5659
312b1740
SM
56602013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5663 (dos-mode): Use setq-local. Add space after "rem".
5664 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5665 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5666
400a3178
AM
56672013-08-07 Arni Magnusson <arnima@hafro.is>
5668
5669 * progmodes/dos.el: New file.
5670 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5671 dos-mode.
5672
3b5c03d3
GM
56732013-08-06 Glenn Morris <rgm@gnu.org>
5674
5675 * calendar/calendar.el: Add new faces, and day-header-array.
5676 (calendar-weekday-header, calendar-weekend-header)
5677 (calendar-month-header): New faces.
5678 (calendar-day-header-construct): New function.
5679 (calendar-day-header-width): Also :set calendar-day-header-array.
5680 (calendar-american-month-header, calendar-european-month-header)
5681 (calendar-iso-month-header): Use calendar- faces.
5682 (calendar-generate-month):
5683 Use calendar-day-header-array for day headers; apply faces to them.
5684 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5685 (calendar-abbrev-construct): Add optional maxlen argument.
5686 (calendar-day-name-array): Doc fix.
5687 (calendar-day-name-array, calendar-abbrev-length)
5688 (calendar-day-abbrev-array):
5689 Also :set calendar-day-header-array, and maybe redraw.
5690 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5691 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5692 (calendar-day-name): Add option to use header array.
5693
ec6a2d7a
LMI
56942013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695
5696 * net/shr.el (shr-render-td): Remove debugging.
5697 (shr-render-td): Make width computation consistent by defaulting
5698 all zero-width columns to 10 characters. This may not be optimal,
5699 but it's at least consistent.
2122cb6d
LMI
5700 (shr-make-table-1): Redo last change to fix the real problem in
5701 colspan handling.
ec6a2d7a 5702
ed4fd9c5
DA
57032013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5704
0ca3f70e
SM
5705 * files.el (cache-long-line-scans):
5706 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5707
64e22afe
JB
57082013-08-06 Juanma Barranquero <lekktu@gmail.com>
5709
024b38fc
JB
5710 * frameset.el (frameset, frameset-filter-alist)
5711 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5712 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5713 (frameset-compute-pos): Rename from frameset--compute-pos,
5714 and add docstring.
5715 (frameset-move-onscreen): Use frameset-compute-pos.
5716 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5717
64e22afe
JB
5718 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5719 Fix typos in docstrings.
5720
c8c2aca8
DA
57212013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5722
5723 * frame.el (get-other-frame): Tiny cleanup.
5724
1d237bba
JB
57252013-08-06 Juanma Barranquero <lekktu@gmail.com>
5726
8951efef
JB
5727 * vc/vc.el (vc-default-ignore-completion-table):
5728 Silence byte-compiler warning.
5729
307764cc
JB
5730 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5731 slot , which can indeed be nil.
5732 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5733 Move entry for `left' from persistent to live filter alist.
5734 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5735 Doc fixes.
5736 (frameset-filter-params): When restoring a frame, copy items added to
5737 `filtered', to avoid unwittingly modifying the original parameters.
5738 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5739 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5740
1d237bba
JB
5741 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5742 to use looking-at-p instead of looking-at. (Bug#15028)
5743
dc6c0eda
SM
57442013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 Revert introduction of isearch-filter-predicates (bug#14714).
5747 Rely on add-function instead.
5748 * isearch.el (isearch-filter-predicates): Rename it back to
5749 isearch-filter-predicate.
5750 (isearch-message-prefix): Use advice-function-mapc and advice
5751 properties to get the isearch-message-prefix.
5752 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5753 instead of run-hook-with-args-until-failure.
5754 (isearch-filter-visible): Not obsolete any more.
5755 * loadup.el: Preload nadvice.
5756 * replace.el (perform-replace): Revert to funcall
5757 instead of run-hook-with-args-until-failure.
5758 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5759 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5760 dired-isearch-filenames-toggle; make it into a proper minor mode.
5761 Use add/remove-function.
5762 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5763 Call the minor-mode rather than add/remove-hook.
5764 (dired-isearch-filter-filenames):
5765 Remove isearch-message-prefix property.
5766 * info.el (Info--search-loop): New function, extracted from Info-search.
5767 Funcall isearch-filter-predicate instead of
5768 run-hook-with-args-until-failure isearch-filter-predicates.
5769 (Info-search): Use it.
5770 (Info-mode): Use isearch-filter-predicate instead of
5771 isearch-filter-predicates.
5772
290d5b58
DA
57732013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5774
5775 Do not call to `selected-window' where it is assumed by default.
5776 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5777 `window-hscroll', `window-width', `window-height', `window-buffer',
5778 `window-frame', `window-start', `window-point', `next-window'
5779 and `window-display-table'.
5780 * abbrev.el (abbrev--default-expand):
5781 * bs.el (bs--show-with-configuration):
5782 * buff-menu.el (Buffer-menu-mouse-select):
5783 * calc/calc.el (calc):
5784 * calendar/calendar.el (calendar-generate-window):
5785 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5786 (diary-make-entry):
5787 * comint.el (send-invisible, comint-dynamic-complete-filename)
5788 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5789 * completion.el (complete):
5790 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5791 * disp-table.el (describe-current-display-table):
5792 * doc-view.el (doc-view-insert-image):
5793 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5794 * ehelp.el (with-electric-help):
5795 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5796 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5797 * emacs-lisp/helper.el (Helper-help-scroller):
5798 * emulation/cua-base.el (cua--post-command-handler-1):
5799 * eshell/esh-mode.el (eshell-output-filter):
5800 * ffap.el (ffap-gnus-wrapper):
5801 * help-macro.el (make-help-screen):
5802 * hilit-chg.el (highlight-compare-buffers):
5803 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5804 * hl-line.el (global-hl-line-highlight):
5805 * icomplete.el (icomplete-simple-completing-p):
5806 * isearch.el (isearch-done):
5807 * jit-lock.el (jit-lock-stealth-fontify):
5808 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5809 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5810 * mpc.el (mpc-tagbrowser, mpc):
5811 * net/rcirc.el (rcirc-any-buffer):
5812 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5813 * play/landmark.el (landmark-max-width, landmark-max-height):
5814 * play/zone.el (zone):
5815 * progmodes/compile.el (compilation-goto-locus):
5816 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5817 * progmodes/etags.el (find-tag-other-window):
5818 * progmodes/fortran.el (fortran-column-ruler):
5819 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5820 * progmodes/verilog-mode.el (verilog-point-text):
5821 * reposition.el (reposition-window):
5822 * rot13.el (toggle-rot13-mode):
5823 * server.el (server-switch-buffer):
5824 * shell.el (shell-dynamic-complete-command)
5825 (shell-dynamic-complete-environment-variable):
5826 * simple.el (insert-buffer, set-selective-display)
5827 (delete-completion-window):
5828 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5829 (speedbar-recenter):
5830 * startup.el (fancy-splash-head):
5831 * textmodes/ispell.el (ispell-command-loop):
5832 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5833 * tutorial.el (help-with-tutorial):
5834 * vc/add-log.el (add-change-log-entry):
5835 * vc/compare-w.el (compare-windows):
5836 * vc/ediff-help.el (ediff-indent-help-message):
5837 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5838 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5839 (ediff-setup-control-frame):
5840 * vc/emerge.el (emerge-position-region):
5841 * vc/pcvs-util.el (cvs-bury-buffer):
5842 * window.el (walk-windows, mouse-autoselect-window-select):
5843 * winner.el (winner-set-conf, winner-undo): Related users changed.
5844
38276e01
JB
58452013-08-05 Juanma Barranquero <lekktu@gmail.com>
5846
5847 * frameset.el (frameset--set-id): Doc fix.
5848 (frameset-frame-id, frameset-frame-id-equal-p)
5849 (frameset-locate-frame-id): New functions.
5850 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5851 (frameset-restore): Use them.
5852
12b4c0ea
DA
58532013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5854
5855 Do not call to `selected-frame' where it is assumed by default.
5856 Affected functions are `raise-frame', `redraw-frame',
5857 `frame-first-window', `frame-terminal' and `delete-frame'.
5858 * calendar/appt.el (appt-disp-window):
5859 * epg.el (epg-wait-for-completion):
5860 * follow.el (follow-delete-other-windows-and-split)
5861 (follow-avoid-tail-recenter):
5862 * international/mule.el (set-terminal-coding-system):
5863 * mail/rmail.el (rmail-mail-return):
5864 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5865 * progmodes/f90.el (f90-add-imenu-menu):
5866 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5867 * server.el (server-switch-buffer):
5868 * simple.el (delete-completion-window):
5869 * talk.el (talk):
5870 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5871 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5872 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5873 * vc/ediff.el (ediff-documentation): Related users changed.
5874 * frame.el (selected-terminal): Remove the leftover.
5875
17f25e76
GM
58762013-08-05 Glenn Morris <rgm@gnu.org>
5877
5878 * calendar/calendar.el (calendar-generate-month):
5879 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5880 (calendar-generate-month, calendar-font-lock-keywords):
5881 Fix for calendar-day-header-width > length of any day name.
17f25e76 5882
063233c3
JB
58832013-08-05 Juanma Barranquero <lekktu@gmail.com>
5884
5885 * desktop.el (desktop-clear): Use new name of sort predicate.
5886
5887 * frameset.el (frameset): Add docstring. Move :version property to its
5888 own `version' slot.
5889 (frameset-copy): Rename from copy-frameset.
5890 (frameset-p): Check more thoroughly.
5891 (frameset-prop): Do not check for :version, which is no longer a prop.
5892 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5893 Use new :never value instead of t.
5894 (frameset-filter-alist): Expand and clarify docstring.
5895 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5896 (frameset-filter-minibuffer, frameset-filter-save-param)
5897 (frameset-filter-restore-param, frameset-filter-iconified):
5898 Add pointer to docstring of frameset-filter-alist.
5899 (frameset-filter-params): Rename filter values to be more meaningful:
5900 :never instead of t, and reverse the meanings of :save and :restore.
5901 (frameset--process-minibuffer-frames): Clarify error message.
5902 (frameset-save): Avoid unnecessary and confusing call to framep.
5903 Use new BOA constructor for framesets.
5904 (frameset--reuse-list): Doc fix.
5905 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5906 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5907 (frameset-minibufferless-first-p): Doc fix.
5908 Rename from frameset-sort-frames-for-deletion.
5909 (frameset-restore): Doc fixes. Use new function names.
5910 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5911
d5671a82
JB
59122013-08-04 Juanma Barranquero <lekktu@gmail.com>
5913
5914 * desktop.el (desktop-restore-forces-onscreen)
5915 (desktop-restore-reuses-frames): Document :keyword constant values.
5916 (desktop-filter-parameters-alist): Remove, now identical to
5917 frameset-filter-alist.
5918 (desktop--filter-tty*): Remove, moved to frameset.el.
5919 (desktop-save-frameset, desktop-restore-frameset):
5920 Do not pass :filters argument.
5921
5922 * frameset.el (frameset-live-filter-alist)
5923 (frameset-persistent-filter-alist): New variables.
5924 (frameset-filter-alist): Use them. Add autoload cookie.
5925 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5926 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5927 `frameset--id' (it's supposed to be internal to frameset.el).
5928 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5929 (frameset--initial-params): New function.
5930 (frameset--get-frame): Use it. Doc fix.
5931 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5932 Accept :all, not 'all.
5933 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5934 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5935 with fbound symbols. Fix frame id matching, and remove matching ids if
5936 the frame being restored is deleted. Obey :delete.
5937
671d5c16
SM
59382013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * subr.el (macrop): New function.
5941 (text-clone--maintaining): New var.
5942 (text-clone--maintain): Rename from text-clone-maintain. Use it
5943 instead of inhibit-modification-hooks.
5944
5945 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5946 a proxy, so as handle autoloads and redefinitions of the target.
5947 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5948
5949 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5950 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5951 (pcase--mutually-exclusive-p): New function.
5952 (pcase--split-consp): Use it.
5953 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5954 mutually exclusive with the current predicate.
5955
5956 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5957 (edebug-macrop): Remove. Use `macrop' instead.
5958 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5959 (ad-macro-p):
5960 * eshell/esh-cmd.el (eshell-macrop):
5961 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5962
1d44e9dc
SM
59632013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5966 (advice-mapc): New function, using it.
5967 (advice-function-member-p): New function.
5968 (advice--normalize): Store the cdr in advice--saved-rewrite since
5969 that's the part that will be changed.
5970 (advice--symbol-function): New function.
5971 (advice-remove): Handle removal before the function is defined.
5972 Adjust to new advice--saved-rewrite.
5973 (advice-member-p): Use advice-function-member-p and
5974 advice--symbol-function.
5975
5414a283
JB
59762013-08-04 Juanma Barranquero <lekktu@gmail.com>
5977
51d30f2c
JB
5978 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5979 (frameset-filter-minibuffer): Doc fix.
5980 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5981 (frameset--set-id, frameset--process-minibuffer-frames)
5982 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5983 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5984
5414a283
JB
5985 * desktop.el (desktop-clear): Only delete frames when called
5986 interactively and desktop-restore-frames is non-nil. Doc fix.
5987 (desktop-read): Set desktop-saved-frameset to nil.
5988
ab419665
XF
59892013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5990
5991 * vc/vc.el (vc-ignore): Rewrite.
5992 (vc-default-ignore-completion-table):
5993 (vc--read-lines):
5994 (vc--add-line, vc--remove-regexp): New functions.
5995
5996 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5997 (vc-svn-ignore-completion-table): New function.
5998
5999 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6000 (vc-hg-ignore-completion-table):
6001 (vc-hg-find-ignore-file): New functions.
6002
6003 * vc/vc-git.el (vc-git-ignore): Rewrite.
6004 (vc-git-ignore-completion-table):
6005 (vc-git-find-ignore-file): New functions.
6006
6007 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6008
6009 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6010 (vc-bzr-ignore-completion-table):
6011 (vc-bzr-find-ignore-file): New functions.
6012
2613dea2
JB
60132013-08-03 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * frameset.el (frameset-prop): New function and setter.
6016 (frameset-save): Do not modify frame list passed by the caller.
6017
9c959872
SM
60182013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6021
a104f656
SM
60222013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6023
70122acf
SM
6024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6025 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6026
a104f656
SM
6027 * custom.el (custom-initialize-default, custom-initialize-set)
6028 (custom-initialize-reset, custom-initialize-changed): Affect the
6029 toplevel-default-value (bug#6275, bug#14586).
6030 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6031 for bug#6275.
6032
f078d570
JB
60332013-08-02 Juanma Barranquero <lekktu@gmail.com>
6034
185e3b5a
JB
6035 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6036 Add cl-def* expressions.
6037
f078d570
JB
6038 * frameset.el (frameset-filter-params): Fix order of arguments.
6039
9421876d
JB
60402013-08-02 Juanma Barranquero <lekktu@gmail.com>
6041
6042 Move code related to saving frames to frameset.el.
6043 * desktop.el: Require frameset.
6044 (desktop-restore-frames): Doc fix.
6045 (desktop-restore-reuses-frames): Rename from
6046 desktop-restoring-reuses-frames.
6047 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6048 (desktop-clear): Clear frames too.
6049 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6050 (desktop--filter-tty*, desktop-save, desktop-read):
6051 Use frameset functions.
6052 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6053 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6054 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6055 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6056 (desktop--process-minibuffer-frames, desktop-save-frames)
6057 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6058 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6059 (desktop--sort-states, desktop-restoring-frames-p)
6060 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6061 (desktop-restoring-frameset-p, desktop-restore-frameset)
6062 (desktop--check-dont-save, desktop-save-frameset): New functions.
6063 (desktop--app-id): New constant.
6064 (desktop-first-buffer, desktop-buffer-ok-count)
6065 (desktop-buffer-fail-count): Move before first use.
6066 * frameset.el: New file.
6067
76dc5996
SM
60682013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * files.el: Use lexical-binding.
6071 (dir-locals-read-from-file): Remove unused `err' variable.
6072 (hack-dir-local-variables--warned-coding): New var.
6073 (hack-dir-local-variables): Use it to avoid repeated warnings.
6074 (make-backup-file-name--default-function): New function.
6075 (make-backup-file-name-function): Use it as default.
6076 (buffer-stale--default-function): New function.
6077 (buffer-stale-function): Use it as default.
6078 (revert-buffer-insert-file-contents--default-function): New function.
6079 (revert-buffer-insert-file-contents-function): Use it as default.
6080 (insert-directory): Avoid add-to-list.
6081
6082 * autorevert.el (auto-revert-handler): Simplify.
6083 Use buffer-stale--default-function.
6084
06d36e2b
TH
60852013-08-01 Tassilo Horn <tsdh@gnu.org>
6086
5f648ab4
TH
6087 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6088
06d36e2b
TH
6089 * whitespace.el (whitespace-ensure-local-variables): New function.
6090 (whitespace-cleanup-region): Call it.
6091 (whitespace-turn-on): Call it.
6092
a43dc424
MA
60932013-08-01 Michael Albinus <michael.albinus@gmx.de>
6094
6095 Complete file name handlers.
6096
6097 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6098 (tramp-handle-verify-visited-file-modtime)
6099 (tramp-handle-file-notify-rm-watch): New functions.
6100 (tramp-call-process): Do not bind `default-directory'.
6101
44e18199
JB
6102 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6103 Order alphabetically.
a43dc424
MA
6104 [access-file, add-name-to-file, dired-call-process]:
6105 [dired-compress-file, file-acl, file-notify-rm-watch]:
6106 [file-ownership-preserved-p, file-selinux-context]:
6107 [make-directory-internal, make-symbolic-link, set-file-acl]:
6108 [set-file-selinux-context, set-visited-file-modtime]:
6109 [verify-visited-file-modtime]: Add handler.
6110 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6111
6112 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6113 [file-notify-add-watch, file-notify-rm-watch]:
6114 [set-file-times, set-visited-file-modtime]:
6115 [verify-visited-file-modtime]: Add handler.
6116 (with-tramp-gvfs-error-message)
6117 (tramp-gvfs-handle-set-visited-file-modtime)
6118 (tramp-gvfs-fuse-file-name): Remove.
6119 (tramp-gvfs-handle-file-notify-add-watch)
6120 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6121 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6122
44e18199
JB
6123 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6124 Order alphabetically.
a43dc424
MA
6125 [file-notify-rm-watch ]: Use default Tramp handler.
6126 [executable-find]: Remove private handler.
6127 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6128 `default-directory'.
6129 (tramp-sh-handle-executable-find)
6130 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6131 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6132 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6133 Do not use `format' in `tramp-message'.
6134
6135 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6136 [file-notify-rm-watch, set-visited-file-modtime]:
6137 [verify-visited-file-modtime]: Add handler.
6138 (tramp-smb-call-winexe): Do not bind `default-directory'.
6139
7188b515
XF
61402013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6141
6142 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6143
2412ee1a
DG
61442013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6145
6146 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6147 use it.
6148 (log-view-diff-changeset): Same.
6149 (log-view-diff-common): Call backend command `previous-revision'
6150 to find out the previous revision, in both cases. Swap the
6151 variables `to' and `fr', so that `fr' usually refers to the
6152 earlier revision (Bug#14989).
6153
5002a754
KRC
61542013-07-31 Kan-Ru Chen <kanru@kanru.info>
6155
6156 * ibuf-ext.el (ibuffer-filter-by-filename):
6157 Make it work with dired buffers too.
6158
44e18199 61592013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6160
6161 * emacs-lisp/re-builder.el (reb-color-display-p):
6162 * files.el (save-buffers-kill-terminal):
6163 * net/browse-url.el (browse-url):
6164 * server.el (server-save-buffers-kill-terminal):
6165 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6166 Prefer nil to selected-frame for the first arg of frame-parameter.
6167
aeca3fbb
XF
61682013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6169
6170 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6171
158bc55c
SB
61722013-07-30 Stephen Berman <stephen.berman@gmx.net>
6173
6174 * minibuffer.el (completion--twq-all): Try and preserve each
6175 completion's case choice (bug#14907).
6176
d50fceab
LMI
61772013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6178
ac38e731
LMI
6179 * net/network-stream.el (open-network-stream): Mention the new
6180 :nogreeting parameter.
6181 (network-stream-open-starttls): Use the :nogreeting parameter
6182 (bug#14938).
6183
1211de50
LMI
6184 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6185
997798bf
LMI
6186 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6187 more natural than popping.
6188
d50fceab 6189 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6190 (shr-urlify): Highlight under mouse.
d50fceab 6191
5c09de04
XF
61922013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6193
207d1d04
XF
6194 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6195
6196 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6197
5c09de04
XF
6198 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6199 buffer for output.
6200
3cd51eaa
XF
6201 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6202 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6203
44e18199 6204 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6205 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6206
6207 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6208
6209 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6210 buffer for output.
6211
35a89bdd
EZ
62122013-07-29 Eli Zaretskii <eliz@gnu.org>
6213
6214 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6215 initial frame is minibuffer-less. (Bug#14841)
6216
78822e94
MA
62172013-07-29 Michael Albinus <michael.albinus@gmx.de>
6218
6219 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6220 option.
6221
6222 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6223 (tramp-maybe-open-connection): Use it.
6224
9503c190
JB
62252013-07-28 Juanma Barranquero <lekktu@gmail.com>
6226
6227 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6228 minimal set of parameters passed when creating a frame, because
6229 the minibuffer status of a frame cannot be changed later.
6230
d5a845b4
SB
62312013-07-28 Stephen Berman <stephen.berman@gmx.net>
6232
6233 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6234 replace-regexp-in-string and inadvertent omissions in previous change.
6235 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6236 name of filtered items buffer.
d5a845b4 6237
ddeffb17
JB
62382013-07-28 Juanma Barranquero <lekktu@gmail.com>
6239
6240 * desktop.el: Optionally force offscreen frames back onscreen.
6241 (desktop-restoring-reuses-frames): New option.
6242 (desktop--compute-pos, desktop--move-onscreen): New functions.
6243 (desktop--make-frame): Use desktop--move-onscreen.
6244
f5950f7a
AM
62452013-07-27 Alan Mackenzie <acm@muc.de>
6246
6247 Fontify a Java generic method as a function.
6248 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6249 value to t.
6250
ae43b66a
SB
62512013-07-27 Stephen Berman <stephen.berman@gmx.net>
6252
6253 * calendar/todo-mode.el: Add command to rename todo files.
6254 (todo-rename-file): New command.
6255 (todo-key-bindings-t): Add key binding for it. Change the
6256 bindings of todo-filter-regexp-items(-multifile) to use `x'
6257 instead of `r', since the latter is better suited to the new
6258 renaming command.
6259
5ab78d3d
AM
62602013-07-27 Alan Mackenzie <acm@muc.de>
6261
6262 Make Java try-with-resources statement parse properly.
6263 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6264 (c-block-stmt-1-2-key): New language constants/variables.
6265 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6266 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6267 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6268 with c-block-stmt-1-2-key.
5ab78d3d 6269
d85c4d50
JB
62702013-07-27 Juanma Barranquero <lekktu@gmail.com>
6271
6272 * desktop.el (desktop--make-frame): Apply most frame parameters after
6273 creating the frame to force (partially or totally) offscreen frames to
6274 be restored as such.
6275
e4c467f9
XF
62762013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6277
6278 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6279 (Bug#14948)
e4c467f9 6280
7ced0d04
SM
62812013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6284 `base' arg of backtrace-frame.
6285
fec92060
EZ
62862013-07-26 Eli Zaretskii <eliz@gnu.org>
6287
6288 * simple.el (list-processes): Doc fix.
6289
d58d31fb
JB
62902013-07-26 Juanma Barranquero <lekktu@gmail.com>
6291
6292 * desktop.el (desktop--select-frame):
d85c4d50 6293 Try harder to reuse existing frames.
d58d31fb 6294
53ff3e77
SM
62952013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6298 (edebug-eval): Use backtrace-eval.
6299 (edebug--display, edebug--recursive-edit): Don't let-bind the
6300 edebug-outer-* vars that keep track of variables we locally let-bind.
6301 (edebug-outside-excursion): Don't restore outside values of locally
6302 let-bound vars.
6303 (edebug--display): Use user-error.
6304 (cl-lexical-debug, cl-debug-env): Remove.
6305
045f7a53
JB
63062013-07-26 Juanma Barranquero <lekktu@gmail.com>
6307
6308 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6309 are restored to be sure that they are visible before deleting any
6310 remaining ones.
6311
59070b32
MM
63122013-07-26 Matthias Meulien <orontee@gmail.com>
6313
742a3501
XF
6314 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6315 vc-print-root-log. (Bug#14948)
59070b32 6316
b1fb3596
RS
63172013-07-26 Richard Stallman <rms@gnu.org>
6318
6319 Add aliases for encrypting mail.
6320 * epa.el (epa-mail-aliases): New option.
6321 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6322 Bind inhibit-read-only so read-only text doesn't ruin everything.
6323 (epa-mail-default-recipients): New subroutine broken out.
6324 Handle epa-mail-aliases.
6325
56ea7291
SM
63262013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 Add support for lexical variables to the debugger's `e' command.
6329 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6330 vars, except for debugger-outer-match-data.
6331 (debugger-frame-number): Move check for "on a function call" from
6332 callers into it. Add `skip-base' argument.
6333 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6334 (debugger-env-macro): Only reset the state stored in non-variables,
6335 i.e. current-buffer and match-data.
6336 (debugger-eval-expression): Rewrite using backtrace-eval.
6337 * subr.el (internal--called-interactively-p--get-frame): Remove.
6338 (called-interactively-p):
6339 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6340 `base' arg of backtrace-frame instead.
6341
15ac32d5
GM
63422013-07-26 Glenn Morris <rgm@gnu.org>
6343
8358a09d
GM
6344 * align.el (align-regexp): Doc fix. (Bug#14857)
6345 (align-region): Explicit error if subexpression missing/does not match.
6346
15ac32d5
GM
6347 * simple.el (global-visual-line-mode):
6348 Do not duplicate the mode lighter. (Bug#14858)
6349
f47ad11b
MR
63502013-07-25 Martin Rudalics <rudalics@gmx.at>
6351
6352 * window.el (display-buffer): In display-buffer bind
6353 split-window-keep-point to t, bug#14829.
6354
02530987
JB
63552013-07-25 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6358 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6359 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6360 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6361 Change accordingly.
f63ebeb5
JB
6362 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6363 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6364
6ccb9cab 63652013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6366
6ccb9cab 6367 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6368
cb3a56d2
JB
63692013-07-25 Juanma Barranquero <lekktu@gmail.com>
6370
6371 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6372 parameter to modify-frame-parameters if the value has not changed;
6373 this is a workaround for bug#14949.
6374 (desktop--make-frame): On cl-delete-if call, check parameter name,
6375 not full parameter.
6376
7aa7fff0
XF
63772013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6378
6379 * vc/vc.el (vc-ignore): New function.
6380
6381 * vc/vc-svn.el (vc-svn-ignore): New function.
6382
6383 * vc/vc-hg.el (vc-hg-ignore): New function.
6384
6385 * vc/vc-git.el (vc-git-ignore): New function.
6386
6387 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6388 (vc-dir-ignore): New function.
6389
6390 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6391 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6392
6393 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6394
6395 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6396
889acc5c
JB
63972013-07-24 Juanma Barranquero <lekktu@gmail.com>
6398
6399 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6400 (desktop-restore-frames): Warn when deleting an existing frame failed.
6401
86c40970
GM
64022013-07-24 Glenn Morris <rgm@gnu.org>
6403
6404 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6405
d5d3c58a
MA
64062013-07-24 Michael Albinus <michael.albinus@gmx.de>
6407
6408 * filenotify.el (file-notify-supported-p):
6409 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6410 Remove functions.
6411
6412 * autorevert.el (auto-revert-use-notify):
6413 (auto-revert-notify-add-watch):
6414 * net/tramp.el (tramp-file-name-for-operation):
6415 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6417 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6418 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6419 Remove `file-notify-supported-p' entry.
6420
d100084b
GM
64212013-07-24 Glenn Morris <rgm@gnu.org>
6422
6423 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6424 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6425
ac93e56b
SM
64262013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6427
249eea30
SM
6428 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6429 checked with memq (bug#14935).
6430
ac93e56b
SM
6431 * files.el (revert-buffer-function): Use a non-nil default.
6432 (revert-buffer-preserve-modes): Declare var to
6433 provide access to the `preserve-modes' argument.
6434 (revert-buffer): Let-bind it.
6435 (revert-buffer--default): New function, extracted from revert-buffer.
6436
2cdeb903
SM
64372013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * lpr.el: Signal print errors more prominently.
6440 (print-region-function): Don't default to nil.
6441 (lpr-print-region): New function, extracted from print-region-1.
6442 Check lpr's return value and signal an error in case of problem.
6443 (print-region-1): Use it.
6444 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6445 versions instead.
6446 (ps-printer-name): Default to nil.
6447 (ps-printer-name-option): Default to lpr-printer-switch.
6448 (ps-print-region-function): Don't default to nil.
6449 (ps-postscript-code-directory): Simplify default.
6450 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6451 (ps-string-list, ps-eval-switch, ps-flatten-list)
6452 (ps-flatten-list-1): Remove.
6453 (ps-multibyte-buffer): Avoid setq.
6454 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6455 (print-region-function, ps-print-region-function): Don't set them here.
6456
73600831
XF
64572013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6458
0e55c076
XF
6459 * ido.el (ido-fractionp):
6460 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6461 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6462 (ido-max-directory-size, ido-max-dir-file-cache)
6463 (ido-decorations): Doc fix.
6464
73600831
XF
6465 * ansi-color.el: Fix old URL.
6466
3d012865
MM
64672013-07-23 Michael R. Mauger <michael@mauger.com>
6468
e903c210 6469 * progmodes/sql.el: Version 3.3
3d012865
MM
6470 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6471 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6472 (sql-interactive-remove-continuation-prompt): Rewrite, use
6473 functions above. Fix continuation prompt and complete output line
6474 handling.
6475 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6476 redirected output buffer.
6477 (sql-mode): Restore deleted code (Bug#13591).
6478
da77a2e2
JB
64792013-07-23 Juanma Barranquero <lekktu@gmail.com>
6480
6481 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6482
80ff0c71
MA
64832013-07-23 Michael Albinus <michael.albinus@gmx.de>
6484
6485 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6486
6487 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6488 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6489 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6490
b61d71e4
JB
64912013-07-23 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * desktop.el (desktop-clear): Simplify; remove useless checks
6494 against invalid buffer names.
6495 (desktop-list*): Use cl-list*.
6496 (desktop-buffer-info, desktop-create-buffer): Simplify.
6497
c3512092
LL
64982013-07-23 Leo Liu <sdl.web@gmail.com>
6499
6500 * bookmark.el (bookmark-make-record): Restore NAME as a default
6501 value. (Bug#14933)
6502
0ac26976
SM
65032013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6504
7d22ce18
SM
6505 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6506 extracted from autoload--insert-text.
6507 (autoload--insert-text): Remove.
6508 (autoload--print-cookie-text): New function, extracted from
6509 autoload--insert-cookie-text.
6510 (autoload--insert-cookie-text): Remove.
6511 (autoload-generate-file-autoloads): Adjust calls accordingly.
6512
9b2607e8
SM
6513 * winner.el (winner-hook-installed-p): Remove.
6514 (winner-mode): Simplify accordingly.
6515
c43a8618
SM
6516 * subr.el (add-to-list): Fix compiler-macro when `append' is
6517 not constant. Don't use `cl-member' for the base case.
6518
0ac26976
SM
6519 * progmodes/subword.el: Fix boundary case (bug#13758).
6520 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6521 own group.
6522 (subword-backward-regexp): Make it a constant.
6523 (subword-forward-internal): Don't treat a trailing capital as the
6524 beginning of a word.
6525
6874724a
AR
65262013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6527
6528 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6529 global value of tabulated-list-revert-hook (bug#14930).
6530
70f1b5e8
JB
65312013-07-22 Juanma Barranquero <lekktu@gmail.com>
6532
a1c80d9d
JB
6533 * desktop.el: Require 'cl-lib.
6534 (desktop-before-saving-frames-functions): New hook.
6535 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6536 for frames being saved. Rename from desktop--save-minibuffer-frames.
6537 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6538 Do not save frames with non-nil `desktop-dont-save' parameter.
6539 Filter out deleted frames.
a1c80d9d
JB
6540 (desktop--find-frame): Use cl-find-if.
6541 (desktop--select-frame): Use cl-(first|second|third) to access values
6542 of desktop-mini.
6543 (desktop--make-frame): Use cl-delete-if.
6544 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6545 (desktop-restore-frames): Use cl-(first|second|third) to access values
6546 of desktop-mini. Look for visible frame at the end, not while
6547 restoring frames.
6548
70f1b5e8
JB
6549 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6550 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6551 Use string-match-p, looking-at-p (bug#14927).
6552
728dc3cc
JB
65532013-07-21 Juanma Barranquero <lekktu@gmail.com>
6554
56bc453c
JB
6555 * desktop.el (desktop-saved-frame-states):
6556 Rename from desktop--saved-states; all users changed.
6557 (desktop-save-frames): Rename from desktop--save-frames.
6558 Do not save state to desktop file.
6559 (desktop-save): Save desktop-saved-frame-states to desktop file
6560 and reset to nil.
6561 (desktop-restoring-frames-p): New function.
6562 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6563 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6564 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6565
728dc3cc
JB
6566 * desktop.el: Correctly restore iconified frames.
6567 (desktop--filter-iconified-position): New function.
6568 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6569
862f1c9c
GM
65702013-07-20 Glenn Morris <rgm@gnu.org>
6571
c4074c9f
GM
6572 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6573 Let `message' do the formatting.
6574 (def-gdb-preempt-display-buffer): Add explicit format.
6575
d828e5f9
GM
6576 * image-dired.el (image-dired-track-original-file):
6577 Use with-current-buffer.
6578 (image-dired-track-thumbnail): Use with-current-buffer.
6579 Avoid changing point of wrong window.
6580
862f1c9c
GM
6581 * image-dired.el (image-dired-track-original-file):
6582 Avoid changing point of wrong window. (Bug#14909)
6583
f0398ec1 65842013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6585
6586 * progmodes/gdb-mi.el (gdb-done-or-error):
6587 Guard against "%" in gdb output. (Bug#14127)
6588
1451928f
AS
65892013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6590
763a086d
JB
6591 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6592 (Bug#14826)
f7a03897 6593
1451928f
AS
6594 * international/mule.el (coding-system-iso-2022-flags): Fix last
6595 change.
6596
99107004
KH
65972013-07-20 Kenichi Handa <handa@gnu.org>
6598
763a086d
JB
6599 * international/mule.el (coding-system-iso-2022-flags):
6600 Add `8-bit-level-4'. (Bug#8522)
99107004 6601
48494e06
LMI
66022013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603
8ba8eec5
LMI
6604 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6605 (bug#14815).
6606
dfbc66e3
LMI
6607 * net/eww.el (eww-process-text-input): Allow inputting when the
6608 point is at the start of the line, as the properties aren't
6609 front-sticky.
6610
48494e06
LMI
6611 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6612 degenerate widths.
6613
77c92cb9
RS
66142013-07-19 Richard Stallman <rms@gnu.org>
6615
aec7da77
RS
6616 * epa.el (epa-popup-info-window): Doc fix.
6617
77c92cb9
RS
6618 * subr.el (split-string): New arg TRIM.
6619
945c5bb1
JB
66202013-07-18 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6623 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6624
e06ec67f
MA
66252013-07-18 Michael Albinus <michael.albinus@gmx.de>
6626
c7064f05 6627 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6628 `file-notify-support'. Do not autoload. Adapt all uses.
6629 (file-notify-supported-p): New defun.
6630
c7064f05
JB
6631 * autorevert.el (auto-revert-use-notify):
6632 Use `file-notify-supported-p' instead of `file-notify-support'.
6633 Adapt docstring.
e06ec67f
MA
6634 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6635
6636 * net/tramp.el (tramp-file-name-for-operation):
6637 Add `file-notify-supported-p'.
6638
6639 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6640 New defun.
6641 (tramp-sh-file-name-handler-alist): Add it as handler for
6642 `file-notify-supported-p '.
6643
6644 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6645 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6646 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6647 Add `ignore' as handler for `file-notify-*' functions.
6648
5dc8a629
EZ
66492013-07-17 Eli Zaretskii <eliz@gnu.org>
6650
6651 * simple.el (line-move-partial, line-move): Don't start vscroll or
6652 scroll-up if the current line is not taller than the window.
6653 (Bug#14881)
6654
77aea2fb
DG
66552013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6656
6657 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6658 highlight question marks in the method names as strings.
ac72c08d
DG
6659 (ruby-block-beg-keywords): Inline.
6660 (ruby-font-lock-keyword-beg-re): Extract from
6661 `ruby-font-lock-keywords'.
77aea2fb 6662
18c26d81
JD
66632013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6664
6665 * frame.el (blink-cursor-blinks): New defcustom.
6666 (blink-cursor-blinks-done): New defvar.
6667 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6668 (blink-cursor-timer-function): Check if number of blinks has been
6669 done on X and NS.
6670 (blink-cursor-suspend, blink-cursor-check): New defuns.
6671
da48522e
GM
66722013-07-15 Glenn Morris <rgm@gnu.org>
6673
6674 * edmacro.el (edmacro-format-keys): Fix previous change.
6675
0463c1ef
PE
66762013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6677
6678 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6679 The hack didn't work outside English locales anyway.
6680
b43f6451
JB
66812013-07-15 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * simple.el (define-alternatives): Rename from alternatives-define,
6684 per RMS' suggestion.
6685
b958c0ad
JB
66862013-07-14 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * desktop.el (desktop-restore-frames): Change default to t.
6689 (desktop-restore-in-current-display): Now offer more options.
6690 (desktop-restoring-reuses-frames): New customization option.
6691 (desktop--saved-states): Doc fix.
6692 (desktop-filter-parameters-alist): New variable, renamed and expanded
6693 from desktop--excluded-frame-parameters.
6694 (desktop--target-display): New variable.
6695 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6696 (desktop--filter-tty*, desktop--filter-*-color)
6697 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6698 (desktop--filter-save-desktop-parm)
6699 (desktop-restore-in-original-display-p): New functions.
6700 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6701 (desktop--save-minibuffer-frames): New function, inspired by a similar
6702 function from Martin Rudalics.
6703 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6704 (desktop--restore-in-this-display-p): Remove.
6705 (desktop--find-frame): Rename from desktop--find-frame-in-display
6706 and add predicate argument.
6707 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6708 (desktop--reuse-list): New variable.
6709 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6710 New functions.
6711 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6712
f6dd8b36
MA
67132013-07-14 Michael Albinus <michael.albinus@gmx.de>
6714
6715 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6716
2ce3c565
DG
67172013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6718
763a086d
JB
6719 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6720 Highlight conversion methods on Kernel.
2ce3c565 6721
2cdb7698
AM
67222013-07-13 Alan Mackenzie <acm@muc.de>
6723
6724 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6725 and comment it out. This out-commenting enables certain C++
6726 declarations to be parsed correctly.
6727
1a67b811
EZ
67282013-07-13 Eli Zaretskii <eliz@gnu.org>
6729
1b796d6b
EZ
6730 * international/mule.el (define-coding-system): Doc fix.
6731
1a67b811
EZ
6732 * simple.el (default-font-height): Don't call font-info if the
6733 frame's default font didn't change since the frame was created.
6734 (Bug#14838)
6735
58fbe886
LL
67362013-07-13 Leo Liu <sdl.web@gmail.com>
6737
6738 * ido.el (ido-read-file-name): Guard against non-symbol value.
6739
1f0480d4
FEG
67402013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6741
6742 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6743 in nested defuns.
6744
97ead0e5
LL
67452013-07-13 Leo Liu <sdl.web@gmail.com>
6746
6747 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6748 ido-set-matches call. (Bug#6852)
6749
0880a952
DG
67502013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6751
6752 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6753 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6754 Ruby 2.0.
6755 (ruby-font-lock-keywords): Distinguish calls to functions with
6756 module-like names from module references. Highlight character
6757 literals.
6758
a7d8babb
SDJ
67592013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6760
6761 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6762 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6763
acfcc8c5
JB
67642013-07-12 Juanma Barranquero <lekktu@gmail.com>
6765
6766 * desktop.el (desktop--v2s): Remove unused local variable.
6767 (desktop-save-buffer): Make defvar-local; adjust docstring.
6768 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6769 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6770
051f2775
AS
67712013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6772
6773 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6774
f24e7572
GM
67752013-07-12 Eli Zaretskii <eliz@gnu.org>
6776
6777 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6778 (Bug#14842)
6779
539a920c
GM
67802013-07-12 Glenn Morris <rgm@gnu.org>
6781
6782 * doc-view.el: Require cl-lib at runtime too.
6783 (doc-view-remove-if): Remove.
6784 (doc-view-search-next-match, doc-view-search-previous-match):
6785 Use cl-remove-if.
6786
6787 * edmacro.el: Require cl-lib at runtime too.
6788 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6789 (edmacro-mismatch, edmacro-subseq): Remove.
6790
6791 * shadowfile.el: Require cl-lib.
6792 (shadow-remove-if): Remove.
6793 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6794 Use cl-remove-if.
6795
6796 * wid-edit.el: Require cl-lib.
6797 (widget-choose): Use cl-remove-if.
6798 (widget-remove-if): Remove.
6799
6800 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6801 (ebrowse-delete-if-not): Remove.
6802 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6803 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6804 Use cl-delete-if-not.
6805
1048af7c
JB
68062013-07-12 Juanma Barranquero <lekktu@gmail.com>
6807
6808 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6809 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6810
6c0674ee
LL
68112013-07-12 Leo Liu <sdl.web@gmail.com>
6812
6813 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6814
a19b3c2d
GM
68152013-07-11 Glenn Morris <rgm@gnu.org>
6816
4582a01c
GM
6817 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6818 (edebug-gensym-index, edebug-gensym):
6819 Remove reimplementation of cl-gensym.
6820 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6821
6822 * thumbs.el: Require cl-lib at run-time too.
6823 (thumbs-gensym-counter, thumbs-gensym):
6824 Remove reimplementation of cl-gensym.
6825 (thumbs-temp-file): Use cl-gensym.
6826
a19b3c2d
GM
6827 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6828 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6829 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6830 (ert--union, ert--gensym-counter, ert--gensym-counter)
6831 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6832 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6833 (ert-make-test-unbound, ert--expand-should-1)
6834 (ert--expand-should, ert--should-error-handle-error)
6835 (should-error, ert--explain-equal-rec)
6836 (ert--plist-difference-explanation, ert-select-tests)
6837 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6838 Use cl-lib functions rather than reimplementations.
6839
88f6a933
MA
68402013-07-11 Michael Albinus <michael.albinus@gmx.de>
6841
6842 * net/tramp.el (tramp-methods): Extend docstring.
6843 (tramp-connection-timeout): New defcustom.
6844 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6845 (with-tramp-progress-reporter): Simplify.
6846 (tramp-process-actions): Improve messages.
6847
6848 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6849 * net/tramp-sh.el (tramp-maybe-open-connection):
6850 Use `tramp-connection-timeout'.
6851 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6852 (Bug#14808)
6853
a43d577e
LL
68542013-07-11 Leo Liu <sdl.web@gmail.com>
6855
6856 * ido.el (ido-read-file-name): Conform to the requirements of
6857 read-file-name. (Bug#11861)
6858 (ido-read-directory-name): Conform to the requirements of
6859 read-directory-name.
6860
d77974bf
JB
68612013-07-11 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * subr.el (delay-warning): New function.
6864
35cb8a3e
EZ
68652013-07-10 Eli Zaretskii <eliz@gnu.org>
6866
6867 * simple.el (default-line-height): New function.
6868 (line-move-partial, line-move): Use it instead of computing the
6869 line height inline.
6870 (line-move-partial): Always compute ROWH. If the last line is
6871 partially-visible, but its text is completely visible, allow
6872 cursor to enter such a partially-visible line.
6873
525c5c77
MA
68742013-07-10 Michael Albinus <michael.albinus@gmx.de>
6875
6876 Improve error messages. (Bug#14808)
6877
6878 * net/tramp.el (tramp-current-connection): New defvar, moved from
6879 tramp-sh.el.
0ac26976 6880 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6881 needed anymore.
0ac26976
SM
6882 (tramp-error-with-buffer): Show message in minibuffer.
6883 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6884 (with-tramp-progress-reporter): Improve messages.
6885 (tramp-process-actions): Use progress reporter. Delete process in
6886 case of error. Improve messages.
6887
763a086d
JB
6888 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6889 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6890 (tramp-current-connection): Remove.
525c5c77
MA
6891 (tramp-maybe-open-connection): The car of
6892 `tramp-current-connection' are the first 3 slots of the vector.
6893
c7a4d368
TZ
68942013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6895
6896 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6897 inside continued strings.
6898
954b166e
PE
68992013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6900
6901 Timestamp fixes for undo (Bug#14824).
6902 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6903
56973319
LL
69042013-07-10 Leo Liu <sdl.web@gmail.com>
6905
6906 * files.el (require-final-newline): Allow safe local value.
6907 (Bug#14834)
6908
5550a72c
LL
69092013-07-09 Leo Liu <sdl.web@gmail.com>
6910
6911 * ido.el (ido-read-directory-name): Handle fallback.
6912 (ido-read-file-name): Update DIR to ido-current-directory.
6913 (Bug#1516)
c28b9050 6914 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6915
70c46b28
DG
69162013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6917
6918 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6919 "autoload". Remove "warn lower camel case" section, previously
6920 commented out. Highlight negation char. Do not highlight the
6921 target in singleton method definitions.
6922
0b64b838
SM
69232013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6924
7fd72e2c
SM
6925 * faces.el (tty-setup-hook): Declare the hook.
6926
0b64b838
SM
6927 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6928 and detect when a guard/pred depends on local vars (bug#14773).
6929 (pcase--u1): Adjust caller.
6930
ab49d60b
EZ
69312013-07-08 Eli Zaretskii <eliz@gnu.org>
6932
6933 * simple.el (line-move-partial, line-move): Account for
6934 line-spacing.
701d79aa
EZ
6935 (line-move-partial): Avoid setting vscroll when the last
6936 partially-visible line in window is of default height.
ab49d60b 6937
2d756ae0
LMI
69382013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
6940 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6941 been used a while.
6942
ed095bd7
JB
69432013-07-07 Juanma Barranquero <lekktu@gmail.com>
6944
6945 * subr.el (read-quoted-char): Remove unused local variable `char'.
6946
f1e6674b
MK
69472013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6948
584ee3fc
GM
6949 * ediff.el (ediff-version): Version update.
6950 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6951 (ediff-merge-with-ancestor-command, ediff-directories-command)
6952 (ediff-directories3-command, ediff-merge-directories-command)
6953 (ediff-merge-directories-with-ancestor-command): New functions.
6954 All are command-line interfaces to ediff: to facilitate calling
6955 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6956
6957 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6958 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6959
584ee3fc
GM
6960 * viper.el (viper-version): Version update.
6961 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6962
584ee3fc
GM
69632013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6966 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6967 (viper-intercept-ESC-key): Simplify.
6968 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6969 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6970 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6971 (viper-setup-ESC-to-escape): New functions.
6972 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6973 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6974
9aff9b38
EZ
69752013-07-07 Eli Zaretskii <eliz@gnu.org>
6976
5165d44a
JB
6977 * simple.el (default-font-height, window-screen-lines):
6978 New functions.
9aff9b38
EZ
6979 (line-move, line-move-partial): Use them instead of
6980 frame-char-height and window-text-height. This makes scrolling
6981 text smoother when the buffer's default face uses a font that is
6982 different from the frame's default font.
6983
1afb1d07
JD
69842013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6985
6986 * files.el (write-file): Do not display confirm dialog for NS,
6987 it does its own dialog, which can't be cancelled (Bug#14578).
6988
23de972a
EZ
69892013-07-06 Eli Zaretskii <eliz@gnu.org>
6990
6991 * simple.el (line-move-partial): Adjust the row returned by
6992 posn-at-point for the current window-vscroll. (Bug#14567)
6993
54a42486
MA
69942013-07-06 Michael Albinus <michael.albinus@gmx.de>
6995
6996 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6997 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6998 spaces.
6999
34ada5f4
MR
70002013-07-06 Martin Rudalics <rudalics@gmx.at>
7001
7002 * window.el (window-state-put-stale-windows): New variable.
7003 (window--state-put-2): Save list of windows without matching buffer.
7004 (window-state-put): Remove "bufferless" windows if possible.
7005
11e03d89
JB
70062013-07-06 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * simple.el (alternatives-define): Remove leftover :group keyword.
7009 Tweak docstring.
7010
3504a4be
LL
70112013-07-06 Leo Liu <sdl.web@gmail.com>
7012
7013 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7014 (ido-enable-virtual-buffers): New variable.
7015 (ido-buffer-internal, ido-toggle-virtual-buffers)
7016 (ido-make-buffer-list): Use it.
7017 (ido-exhibit): Support turning on and off virtual buffers
7018 automatically.
7019
61e56e2c
JB
70202013-07-06 Juanma Barranquero <lekktu@gmail.com>
7021
7022 * simple.el (alternatives-define): New macro.
7023
321e1a9c
SM
70242013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * subr.el (read-quoted-char): Use read-key.
7027 (sit-for): Let read-event decode tty input (bug#14782).
7028
d610f6dd
SB
70292013-07-05 Stephen Berman <stephen.berman@gmx.net>
7030
7031 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7032 mode command and externally. Fix various related bugs.
7033 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7034 (todo-delete-file): New command.
7035 (todo-check-file): New function.
7036 (todo-show): Handle external deletion of the file we're trying to
7037 show (bug#14688). Replace called-interactively-p by an optional
7038 prefix argument to avoid problematic interaction with catch form
7039 when byte compiled (bug#14702).
7040 (todo-quit): Handle external deletion of the archive's todo file.
7041 Make sure the buffer that was visiting the archive file is still
7042 live before trying to bury it.
7043 (todo-category-completions): Handle external deletion of any
7044 category completion files.
7045 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7046 of todo files, in case of external deletion.
7047 (todo-add-file): Replace unnecessary setq by let-binding.
7048 (todo-find-archive): Check whether there are any archives.
7049 Replace unnecessary setq by let-binding.
7050 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7051 archive buffer whether or not the archive already exists.
7052 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7053 check if the archive is new; if it is, update list of archives.
7054 (todo-default-todo-file): Allow nil to be a valid value for when
7055 there are no todo files.
7056 (todo-reevaluate-default-file-defcustom): Use corrected definition
7057 of todo-default-todo-file.
7058 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7059 (todo-delete-category, todo-show-categories-table)
7060 (todo-category-number): Clarify comment.
7061 (todo-filter-items): Clarify documentation string.
7062 (todo-show-current-file, todo-display-as-todo-file)
7063 (todo-reset-and-enable-done-separator): Tweak documentation string.
7064 (todo-done-separator): Make separator length window-width, since
7065 bug#2749 is now fixed.
7066
ddbdfd6f
MA
70672013-07-05 Michael Albinus <michael.albinus@gmx.de>
7068
321e1a9c
SM
7069 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7070 Support both "gvfs-monitor-dir" and "inotifywait".
7071 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7072 `tramp-sh-file-notify-process-filter'.
7073 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7074 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7075
96eb829a
LL
70762013-07-05 Leo Liu <sdl.web@gmail.com>
7077
7078 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7079
cf13177e
YM
70802013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7081
7082 * frame.el (display-pixel-height, display-pixel-width)
7083 (display-mm-height, display-mm-width): Mention behavior on
7084 multi-monitor setups in docstrings.
7085 (w32-display-monitor-attributes-list): Declare function.
7086 (display-monitor-attributes-list): Use it.
7087
864c58ca
MA
70882013-07-04 Michael Albinus <michael.albinus@gmx.de>
7089
7090 * filenotify.el: New package.
7091
7092 * autorevert.el (top): Require filenotify.el.
7093 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7094 instead.
7095 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7096 (auto-revert-notify-handler): Use `file-notify-*' functions.
7097
7098 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7099
321e1a9c
SM
7100 * net/tramp.el (tramp-file-name-for-operation):
7101 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7102
7103 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7104 for `file-notify-add-watch' and `file-notify-rm-watch'.
7105 (tramp-process-sentinel): Improve trace.
7106 (tramp-sh-handle-file-notify-add-watch)
7107 (tramp-sh-file-notify-process-filter)
7108 (tramp-sh-handle-file-notify-rm-watch)
7109 (tramp-get-remote-inotifywait): New defuns.
7110
96673afe
JL
71112013-07-03 Juri Linkov <juri@jurta.org>
7112
7113 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7114 call of `occur-read-primary-args' to interactive spec.
7115
7116 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7117 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7118
924494f4
MM
71192013-07-03 Matthias Meulien <orontee@gmail.com>
7120
7121 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7122 `Buffer-menu-multi-occur'. Add it to the menu.
7123 (Buffer-menu-mode): Document it in docstring.
7124 (Buffer-menu-multi-occur): New command. (Bug#14673)
7125
56f75efc
DG
71262013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7127
7128 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7129 keywords and built-ins.
7130
9b057d61
GM
71312013-07-03 Glenn Morris <rgm@gnu.org>
7132
208dee4d
GM
7133 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7134
9b057d61
GM
7135 Make info-xref checks case-sensitive by default
7136 * info.el (Info-find-node, Info-find-in-tag-table)
7137 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7138 Add option for exact case matching of nodes.
7139 * info-xref.el (info-xref): New custom group.
7140 (info-xref-case-fold): New option.
7141 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7142
e01aa29c
LL
71432013-07-03 Leo Liu <sdl.web@gmail.com>
7144
7145 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7146
3086ca2e
DG
71472013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7148
7149 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7150 middle of block statement initially, lower the depth. Remove
7151 FIXME comment, not longer valid. Remove middle of block statement
7152 detection, no need to do that anymore since we've been using
7153 `ruby-parse-region' here.
7154
a3b49114
JD
71552013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7156
7157 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7158
08e5c823 71592013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7160
7161 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7162
2addf922
JB
71632013-07-01 Juanma Barranquero <lekktu@gmail.com>
7164
7165 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7166 (desktop-restore-in-current-display): New customization option.
7167 (desktop--excluded-frame-parameters): Add `font'.
7168 (desktop--save-frames): Rename from desktop--save-windows.
7169 (desktop--restore-in-this-display-p): New function.
7170 (desktop--make-full-frame): Remove unwanted width/height from
7171 full(width|height) frames.
7172 (desktop--restore-frames): Rename from desktop--restore-windows.
7173 Obey desktop-restore-current-display. Do not delete old frames or
7174 select a new frame unless we were able to restore at least one frame.
7175
ef099a94
MN
71762013-06-30 Michal Nazarewicz <mina86@mina86.com>
7177
7178 * files.el (find-file-noselect): Simplify conditional expression.
7179
7180 * remember.el (remember-append-to-file):
7181 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7182
7183 Add `remember-notes' function to store random notes across Emacs
7184 restarts.
7185 * remember.el (remember-data-file): Add :set callback to affect
7186 notes buffer (if any).
7187 (remember-notes): New command.
7188 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7189 New defcustoms for the `remember-notes' function.
7190 (remember-notes-save-and-bury-buffer): New command.
7191 (remember-notes-mode-map): New variable.
7192 (remember-mode): New minor mode.
7193 (remember-notes--kill-buffer-query): New function.
7194 * startup.el (initial-buffer-choice): Add notes to custom type.
7195
0865d506
EZ
71962013-06-30 Eli Zaretskii <eliz@gnu.org>
7197
0ba54312
EZ
7198 * bindings.el (right-char, left-char): Don't call sit-for, this is
7199 no longer needed. Use arithmetic comparison only for numerical
7200 arguments.
7201
ef099a94
MN
7202 * international/mule-cmds.el (select-safe-coding-system):
7203 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7204
2fae38e5
LMI
72052013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206
7207 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7208 progression on degenerate tables.
ef099a94 7209 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7210
a47cbd64
JB
72112013-06-30 Juanma Barranquero <lekktu@gmail.com>
7212
7213 Some fixes and improvements for desktop frame restoration.
7214 It is still experimental and disabled by default.
7215 * desktop.el (desktop--save-windows): Put the selected frame at
7216 the head of the list.
7217 (desktop--make-full-frame): New function.
7218 (desktop--restore-windows): Try to re-select the frame that was
7219 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7220 just show an error message and continue. Set up maximized frames
7221 so they have default non-maximized dimensions.
a47cbd64 7222
6dbafa30
DG
72232013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7224
ef099a94
MN
7225 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7226 Don't start heredoc inside a string or comment.
6dbafa30 7227
4c672a0f
EZ
72282013-06-29 Eli Zaretskii <eliz@gnu.org>
7229
7230 * bindings.el (visual-order-cursor-movement): New defcustom.
7231 (right-char, left-char): Provide visual-order cursor motion by
7232 calling move-point-visually. Update the doc strings.
7233
50960f36
KH
72342013-06-28 Kenichi Handa <handa@gnu.org>
7235
7236 * international/mule.el (define-coding-system): New coding system
7237 properties :inhibit-null-byte-detection,
7238 :inhibit-iso-escape-detection, and :prefer-utf-8.
7239 (set-buffer-file-coding-system): If :charset-list property of
7240 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7241 appropriate for setting.
7242
c1ea3abf
JB
7243 * international/mule-cmds.el (select-safe-coding-system):
7244 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7245 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7246
7247 * international/mule-conf.el (prefer-utf-8): New coding system.
7248 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7249 files.
7250
75dbaf9d
IK
72512013-06-28 Ivan Kanis <ivan@kanis.fr>
7252
eadb6068
IK
7253 * net/shr.el (shr-render-region): New function.
7254
75dbaf9d
IK
7255 * net/eww.el: Autoload `eww-browse-url'.
7256
9ea5cf9f
DG
72572013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7258
c1ea3abf
JB
7259 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7260 Adapt to `package-desc-version' being a list.
7261 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7262 archive element.
7263
39c0e36f
JB
72642013-06-27 Juanma Barranquero <lekktu@gmail.com>
7265
7266 New experimental feature to save&restore window and frame setup.
7267 * desktop.el (desktop-save-windows): New defcustom.
7268 (desktop--saved-states): New var.
7269 (desktop--excluded-frame-parameters): New defconst.
7270 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7271 (desktop--restore-windows, desktop--save-windows): New functions.
7272 (desktop-save): Call `desktop--save-windows'.
7273 (desktop-read): Call `desktop--restore-windows'.
7274
7f13406b
LMI
72752013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7276
ef099a94 7277 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7278
1e072639
SB
72792013-06-27 Stephen Berman <stephen.berman@gmx.net>
7280
7281 * info.el (Info-try-follow-nearest-node): Move search for footnote
7282 above search for node name to prevent missing a footnote (bug#14717).
7283
f3e2cbde
SB
72842013-06-27 Stephen Berman <stephen.berman@gmx.net>
7285
7286 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7287
99906aa0
LL
72882013-06-27 Leo Liu <sdl.web@gmail.com>
7289
7290 * net/eww.el (eww-read-bookmarks): Check file size.
7291
539f75f4
SM
72922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7295 advice--pending if newdef is nil or an autoload (bug#13820).
7296 (advice-mapc): New function.
7297
843571cb
LMI
72982013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7299
7300 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7301 probably.
23a75d7f 7302 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7303 (eww-add-bookmark): New command.
7304 (eww-bookmark-mode): New mode and commands.
a285ce99 7305 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7306 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7307
f2136e1e
GM
73082013-06-26 Glenn Morris <rgm@gnu.org>
7309
eab35f39
GM
7310 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7311 (hfy-size): Handle ttys. (Bug#14668)
7312
f2136e1e
GM
7313 * info-xref.el: Update for Texinfo 5 change in *note format.
7314 (info-xref-node-re, info-xref-note-re): New constants.
7315 (info-xref-check-buffer): Use info-xref-note-re.
7316
a49ff80c
SM
73172013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7318
a343d218
SM
7319 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7320
a49ff80c
SM
7321 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7322 nil terminate the loop (bug#14718).
7323
8308f184
LMI
73242013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7325
7326 * net/eww.el: Rework history traversal. When going forward/back,
7327 put these actions into the history, too, so that they can be
7328 replayed.
26bf2b82 7329 (eww-render): Move the history reset to the correct buffer.
8308f184 7330
ec64c273
JL
73312013-06-25 Juri Linkov <juri@jurta.org>
7332
7333 * files-x.el (modify-dir-local-variable): Change the header comment
7334 in the file with directory local variables. (Bug#14692)
7335
e080a9d7
JL
7336 * files-x.el (read-file-local-variable-value): Add `default'.
7337 (Bug#14710)
7338
bfbc93a1
IK
73392013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7340
7341 * net/eww.el (eww-make-unique-file-name): Create a unique file
7342 name before saving to entering `y' accidentally asynchronously.
7343
73442013-06-25 Ivan Kanis <ivan@kanis.fr>
7345
7346 * net/eww.el (eww-download): New command and keystroke.
7347
16f74f10
LMI
73482013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7349
a49ff80c 7350 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7351
7352 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7353 be more consistent with Info and dired.
7354
7355 * net/eww.el (eww-mode-map): Ditto.
7356
12059709
SM
73572013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7360 packages from archives.
7361 (package-archive-contents): Change format; include obsolete packages.
7362 (package-desc): Use `dir' to mark builtin packages.
7363 (package--from-builtin): Set the `dir' field to `builtin'.
7364 (generated-autoload-file, version-control): Declare.
7365 (package-compute-transaction): Change first arg and return value to be
7366 lists of package-descs. Adjust to new package-archive-contents format.
7367 (package--add-to-archive-contents): Adjust to new
7368 package-archive-contents format.
7369 (package-download-transaction): Arg is now a list of package-descs.
7370 (package-install): If `pkg' is a package name, pass it as
7371 a requirement, so it is subject to the usual (e.g. disabled) checks.
7372 (describe-package): Accept package-desc as well.
7373 (describe-package-1): Describe a specific package-desc. Add links to
7374 other package-descs for the same package name.
7375 (package-menu-describe-package): Pass the actual package-desc.
7376 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7377 works correctly.
7378 (package-desc-status): New function.
7379 (package-menu--refresh): New function, extracted
7380 from package-menu--generate.
7381 (package-menu--generate): Use it.
7382 (package-delete): Update package-alist.
7383 (package-menu-execute): Don't call package-initialize.
7384
7385 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7386 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7387 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7388 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7389 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7390 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7391
8bbdea0f
MR
73922013-06-25 Martin Rudalics <rudalics@gmx.at>
7393
7394 * window.el (window--state-get-1): Workaround for bug#14527.
7395 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7396
e82b0991
LMI
73972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7398
7399 * net/eww.el (eww-back-url): Implement the history by stashing all
7400 the data into a list.
d3f0f918 7401 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7402
c763842b
SM
74032013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7406 for values and use read--expression for expressions (bug#14710).
7407 (read-file-local-variable): Avoid setq.
7408 (read-file-local-variable-mode): Use minor-mode-list.
7409
bceff189
RW
74102013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7411
864c58ca 7412 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7413 for DOI URLs.
7414
45f431c6
RW
74152013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7416
864c58ca 7417 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7418 Update imenu-support when dialect changes.
7419
f42d8237
LL
74202013-06-25 Leo Liu <sdl.web@gmail.com>
7421
7422 * ido.el (ido-read-internal): Allow forward slash on windows.
7423
be549ce6
LMI
74242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * net/eww.el (eww): Start of strings is \\`, not ^.
7427
71d4c19d
IK
74282013-06-24 Ivan Kanis <ivan@kanis.fr>
7429
5196f88a
IK
7430 * net/shr.el (shr-browse-url): Fix interactive spec.
7431
71d4c19d
IK
7432 * net/eww.el (eww): Add a trailing slash to domain names.
7433
ae36ca55
JB
74342013-06-24 Juanma Barranquero <lekktu@gmail.com>
7435
7436 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7437
0ebd92a3
LMI
74382013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7439
bdaa086b
LMI
7440 * net/shr.el (shr-browse-url): Use an external browser if given a
7441 prefix.
7442
c763842b 7443 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7444
b89fc156
IK
74452013-06-24 Ivan Kanis <ivan@kanis.fr>
7446
7447 * net/eww.el (eww): Work more correctly for file: URLs.
7448 (eww-detect-charset): Allow quoted charsets.
7449 (eww-yank-page-url): New command and keystroke.
7450
18eb4bca
DU
74512013-06-24 Daiki Ueno <ueno@gnu.org>
7452
7453 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7454 file name of gpg executable.
7455 (epg-context-program): New function.
7456 (epg-context-home-directory): New function.
7457 (epg-context-set-program): New function.
7458 (epg-context-set-home-directory): New function.
7459 (epg--start): Use `epg-context-program' instead of
7460 'epg-gpg-program'.
7461 (epg--list-keys-1): Likewise.
7462
6c6268c8
LL
74632013-06-24 Leo Liu <sdl.web@gmail.com>
7464
7465 * ido.el (ido-read-internal): Fix bug#14620.
7466
5e400cb3
JB
74672013-06-23 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * faces.el (face-documentation): Simplify.
7470 (read-face-attribute, tty-find-type, x-resolve-font-name):
7471 Use `string-match-p'.
7472 (list-faces-display): Use `string-match-p'. Simplify.
7473 (face-spec-recalc): Check face to avoid face alias loops.
7474 (read-color): Use `string-match-p' and non-capturing parenthesis.
7475
f3f9606c
LMI
74762013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7477
7478 * net/shr.el (shr-rescale-image): Use the new
7479 :max-width/:max-height functionality.
7480
a3ca09b9
IK
74812013-06-23 Ivan Kanis <ivan@kanis.fr>
7482
7483 * net/eww.el (eww-search-prefix): New variable.
7484 (eww): Use it.
f865b474
IK
7485 (eww-external-browser): New variable.
7486 (eww-mode-map): New keystroke.
7487 (eww-browse-with-external-browser): New command.
a3ca09b9 7488
e854cfc7
IK
7489 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7490
18bb9e21
JB
74912013-06-23 Juanma Barranquero <lekktu@gmail.com>
7492
7493 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7494 Don't skip aligning the next header field when padding is 0;
7495 otherwise, field width is not respected unless the title is as
7496 wide as the field.
7497
5b165ade
SM
74982013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * emacs-lisp/package.el (package-el-version): Remove.
7501 (package-process-define-package): Fix inf-loop.
7502 (package-install): Allow symbols as arguments again.
7503
12adebe9
DG
75042013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7505
7506 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7507 add some more keyword-like methods.
7508 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7509
388573ee
JB
75102013-06-22 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * bs.el (bs-buffer-show-mark): Make defvar-local.
7513 (bs-mode): Use setq-local.
7514
7515 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7516 (emacs-lock--try-unlocking): Make defvar-local.
7517
4582a01c 75182013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7519
2663dd23
GM
7520 * play/cookie1.el (cookie-apropos): Minor simplification.
7521
3d94f3ad
GM
7522 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7523
f72e2fdb
DG
75242013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7525
7526 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7527 `regexp-opt', it breaks the build during dumping.
7528
73eab938
DG
75292013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7530
c763842b
SM
7531 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7532 Highlight keyword-like methods on Kernel and Module with
73eab938 7533 font-lock-builtin-face.
5cf8176d
DG
7534 (auto-mode-alist): Consolidate different entries into one regexp
7535 and add more *file-s.
73eab938 7536
d26255f6
SB
75372013-06-21 Stephen Berman <stephen.berman@gmx.net>
7538
7539 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7540
7541 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7542 (diary-entry): Use it in the action of this button type instead of
7543 diary-goto-entry.
7544
7545 * calendar/todo-mode.el: New version.
7546 (todo-add-category): Append new category to end of file and give
7547 it the highest number, instead of putting it at the beginning and
7548 giving it 0. Incorporate noninteractive functionality.
7549 (todo-forward-category): Adapt to 1-based category numbering.
7550 Allow skipping over archived categories.
7551 (todo-backward-category): Derive from todo-forward-category.
7552 (todo-backward-item, todo-forward-item): Make noninteractive and
7553 delegate interactive part to new commands. Make sensitive to done items.
7554 (todo-categories): Make value an alist of category names and
7555 vectors of item counts.
7556 (todo-category-beg): Make a defconst.
7557 (todo-category-number): Use 1 instead of 0 as initial value.
7558 (todo-category-select): Make sensitive to overlays, optional item
7559 highlighting and done items.
7560 (todo-delete-item): Make sensitive to overlays and marked and done items.
7561 (todo-edit-item): Make sensitive to overlays and editing of
7562 date/time header optional. Add format checks.
7563 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7564 no-op if point is not on an item. Advertise using todo-edit-quit.
7565 (todo-edit-mode): Make sensitive to new format, font-locking, and
7566 multiple todo files.
7567 (todo-insert-item, todo-insert-item-here): Derive from
7568 todo-basic-insert-item and extend functionality.
7569 (todo-item-end, todo-item-start): Make sensitive to done items.
7570 (todo-item-string): Don't return text properties. Restore point.
7571 (todo-jump-to-category): Make sensitive to multiple todo files and
7572 todo archives. Use extended category completion.
7573 (todo-lower-item, todo-raise-item): Rename to *-priority and
7574 derive from todo-set-item-priority.
7575 (todo-mode): Derive from special-mode. Make sensitive to new
7576 format, font-locking and multiple todo files. Make read-only.
7577 (todo-mode-map): Don't suppress digit keys, so they can supply
7578 prefix arguments. Add many new key bindings.
7579 (todo-prefix): Insert as an overlay instead of file text.
7580 Change semantics from diary date expression to purely visual mark.
7581 (todo-print): Rename to todo-print-buffer. Make buffer display
7582 features printable. Remove option to restrict number of items
7583 printed. Add option to print to file.
7584 (todo-print-function): Rename to todo-print-buffer-function.
7585 (todo-quit): Extend to handle exiting new todo modes.
7586 (todo-remove-item): Make sensitive to overlays.
7587 (todo-save): Extend to buffers of filtered items.
7588 (todo-show): Make sensitive to done items, multiple todo files and
7589 new todo modes. Offer to convert legacy todo file before creating
7590 first new todo file.
7591 (todo-show-priorities): Rename to todo-top-priorities.
7592 Change semantics of value 0.
7593 (todo-top-priorities): Rename to todo-filter-top-priorities,
7594 derive from todo-filter-items and extend functionality.
7595 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7596 and extend functionality to other types of filtered items.
7597 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7598 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7599 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7600 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7601 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7602 (todo-edit-mode-hook, todo-entry-prefix-function)
7603 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7604 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7605 (todo-initials, todo-insert-threshold, todo-item-string-start)
7606 (todo-line-string, todo-menu, todo-mode-hook)
7607 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7608 (todo-print-priorities, todo-remove-separator)
7609 (todo-save-top-priorities-too, todo-string-count-lines)
7610 (todo-string-multiline-p, todo-time-string-format)
7611 (todo-tmp-buffer-name): Remove.
7612 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7613 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7614 (todo-edit-category-diary-inclusion)
7615 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7616 (todo-edit-file, todo-edit-item-date-day)
7617 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7618 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7619 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7620 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7621 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7622 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7623 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7624 (todo-filter-top-priorities-multifile, todo-find-archive)
7625 (todo-find-filtered-items-file, todo-go-to-source-item)
7626 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7627 (todo-jump-to-archive-category, todo-lower-category)
7628 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7629 (todo-move-category, todo-move-item, todo-next-button)
7630 (todo-next-item, todo-padded-string, todo-powerset)
7631 (todo-previous-button, todo-previous-item)
7632 (todo-print-buffer-to-file, todo-raise-category)
7633 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7634 (todo-set-category-number, todo-set-item-priority)
7635 (todo-set-top-priorities-in-category)
7636 (todo-set-top-priorities-in-file, todo-show-categories-table)
7637 (todo-sort-categories-alphabetically-or-numerically)
7638 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7639 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7640 (todo-toggle-item-header, todo-toggle-item-highlighting)
7641 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7642 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7643 (todo-unarchive-items, todo-unmark-category): New commands.
7644 (todo-absolute-file-name, todo-add-to-buffer-list)
7645 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7646 (todo-basic-insert-item, todo-category-completions)
7647 (todo-category-number, todo-category-string-matcher-1)
7648 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7649 (todo-check-format, todo-clear-matches)
7650 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7651 (todo-current-category, todo-date-string-matcher)
7652 (todo-define-insertion-command, todo-diary-expired-matcher)
7653 (todo-diary-goto-entry, todo-diary-item-p)
7654 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7655 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7656 (todo-done-item-section-p, todo-done-separator)
7657 (todo-done-string-matcher, todo-files, todo-filter-items)
7658 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7659 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7660 (todo-insert-category-line, todo-insert-item-from-calendar)
7661 (todo-insert-sort-button, todo-insert-with-overlays)
7662 (todo-insertion-command-name, todo-insertion-key-bindings)
7663 (todo-label-to-key, todo-longest-category-name-length)
7664 (todo-make-categories-list, todo-mode-external-set)
7665 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7666 (todo-modes-set-3, todo-multiple-filter-files)
7667 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7668 (todo-read-category, todo-read-date, todo-read-dayname)
7669 (todo-read-file-name, todo-read-time)
7670 (todo-reevaluate-category-completions-files-defcustom)
7671 (todo-reevaluate-default-file-defcustom)
7672 (todo-reevaluate-filelist-defcustoms)
7673 (todo-reevaluate-filter-files-defcustom)
7674 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7675 (todo-reset-done-separator, todo-reset-done-separator-string)
7676 (todo-reset-done-string, todo-reset-global-current-todo-file)
7677 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7678 (todo-reset-prefix, todo-set-categories)
7679 (todo-set-date-from-calendar, todo-set-show-current-file)
7680 (todo-set-top-priorities, todo-short-file-name)
7681 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7682 (todo-total-item-counts, todo-update-buffer-list)
7683 (todo-update-categories-display, todo-update-categories-sexp)
7684 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7685 New functions.
7686 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7687 New major modes.
7688 (todo-categories, todo-display, todo-edit, todo-faces)
7689 (todo-filtered): New defgroups.
7690 (todo-archived-only, todo-button, todo-category-string, todo-date)
7691 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7692 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7693 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7694 (todo-add-item-if-new-category, todo-always-add-time-string)
7695 (todo-categories-align, todo-categories-archived-label)
7696 (todo-categories-category-label, todo-categories-diary-label)
7697 (todo-categories-done-label, todo-categories-number-separator)
7698 (todo-categories-todo-label, todo-categories-totals-label)
7699 (todo-category-completions-files, todo-completion-ignore-case)
7700 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7701 (todo-done-separator-string, todo-done-string)
7702 (todo-files-function, todo-filter-done-items, todo-filter-files)
7703 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7704 (todo-initial-category, todo-initial-file, todo-item-mark)
7705 (todo-legacy-date-time-regexp, todo-mode-line-function)
7706 (todo-nondiary-marker, todo-number-prefix)
7707 (todo-print-buffer-function, todo-show-current-file)
7708 (todo-show-done-only, todo-show-first, todo-show-with-done)
7709 (todo-skip-archived-categories, todo-top-priorities-overrides)
7710 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7711 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7712 New defcustoms.
7713 (todo-category-done, todo-date-pattern, todo-date-string-start)
7714 (todo-diary-items-buffer, todo-done-string-start)
7715 (todo-filtered-items-buffer, todo-item-start)
7716 (todo-month-abbrev-array, todo-month-name-array)
7717 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7718 (todo-top-priorities-buffer): New defconsts.
7719 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7720 (todo-categories-with-marks, todo-category-string-face)
7721 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7722 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7723 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7724 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7725 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7726 (todo-font-lock-keywords, todo-global-current-todo-file)
7727 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7728 (todo-insertion-commands-args)
7729 (todo-insertion-commands-args-genlist)
7730 (todo-insertion-commands-names, todo-insertion-map)
7731 (todo-key-bindings-t, todo-key-bindings-t+a)
7732 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7733 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7734 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7735 (todo-visited): New variables.
7736
cad5d1cb
GM
77372013-06-21 Glenn Morris <rgm@gnu.org>
7738
7739 * play/cookie1.el (cookie-apropos): Add optional display argument.
7740 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7741 (psychoanalyze-pinhead): Use cookie-doctor.
7742
9e277302
JB
77432013-06-21 Juanma Barranquero <lekktu@gmail.com>
7744
7745 * emacs-lisp/package.el (tar-get-file-descriptor)
7746 (tar--extract): Declare.
7747
c5b0993e
EW
77482013-06-21 Eduard Wiebe <usenet@pusto.de>
7749
7750 Extend flymake's warning predicate to be a function (bug#14217).
7751 * progmodes/flymake.el (flymake-warning-predicate): New.
7752 (flymake-parse-line): Use it.
7753 (flymake-warning-re): Make obsolete alias to
7754 `flymake-warning-predicate'.
7755
a7d2d465
SM
77562013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7759 (package-obsolete-list): Remove.
7760 (package-activate): Remove min-version argument. Add `force' argument.
7761 Adjust to new package-alist format.
7762 (package-mark-obsolete): Remove.
7763 (package-unpack): Force reload of the package's autoloads.
7764 (package-installed-p): Check builtins if the installed package is not
7765 recent enough.
7766 (package-initialize): Don't reset package-obsolete-list.
7767 Don't specify which package version to activate.
7768 (package-process-define-package, describe-package-1)
7769 (package-menu--generate): Adjust to new package-alist format.
7770
cedf5c9d
JB
77712013-06-21 Juanma Barranquero <lekktu@gmail.com>
7772
7773 * allout-widgets.el (allout-widgets-mode-off)
7774 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7775 (allout-widgets-post-command-business)
7776 (allout-widgets-after-copy-or-kill-function)
7777 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7778 (allout-decorate-item-and-context)
7779 (allout-graphics-modification-handler): Fix typos in docstrings.
7780 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7781
7782 * cmuscheme.el (scheme-start-file): Doc fix.
7783 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7784 (scheme-input-filter): Use `string-match-p'.
7785
7786 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7787
7788 * dired-x.el: Use Dired consistently in docstrings.
7789
7790 * dired.el: Use Dired consistently in docstrings.
7791 (dired-readin, dired-mode): Use `setq-local'.
7792 (dired-switches-alist): Make defvar-local.
7793 (dired-buffers-for-dir): Use `zerop'.
7794 (dired-safe-switches-p, dired-switches-escape-p)
7795 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7796 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7797 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7798 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7799 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7800 (dired-toggle-marks, dired-mark-files-containing-regexp)
7801 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7802 (dired-flag-auto-save-files, dired-flag-backup-files):
7803 Use `looking-at-p'.
7804 (dired-mark-files-regexp, dired-build-subdir-alist):
7805 Use `string-match-p', `looking-at-p'.
7806
7807 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7808 (direct-print-region-helper): Use `string-match-p'.
7809
aed838b5
LL
78102013-06-21 Leo Liu <sdl.web@gmail.com>
7811
cedf5c9d
JB
7812 * comint.el (comint-redirect-results-list-from-process):
7813 Fix infinite loop.
aed838b5 7814
d80a808f
LMI
78152013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816
7817 * net/eww.el (eww-update-header-line-format): Quote % characters.
7818
e7a526e3
GM
78192013-06-21 Glenn Morris <rgm@gnu.org>
7820
7821 * play/cookie1.el (cookie): New custom group.
7822 (cookie-file): New option.
7823 (cookie-check-file): New function.
7824 (cookie): Make it interactive. Make start and end messages optional.
7825 Interactively, display the result. Default to cookie-file.
7826 (cookie-insert): Default to cookie-file.
7827 (cookie-snarf): Make start and end messages optional.
7828 Default to cookie-file. Use with-temp-buffer.
7829 (cookie-read): Rename from read-cookie.
7830 Make start and end messages optional. Default to cookie-file.
7831 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7832 Do not autoload it.
e7a526e3
GM
7833 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7834 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7835
62efb35e
LL
78362013-06-21 Leo Liu <sdl.web@gmail.com>
7837
7838 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7839
21e3f963
GM
78402013-06-21 Glenn Morris <rgm@gnu.org>
7841
7842 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7843
fd846ab4
SM
78442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7845 Daniel Hackney <dan@haxney.org>
7846
7847 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7848 Consolidate the single-file vs tarball code.
7849 (package-desc-suffix): New function.
7850 (package-desc-full-name): Don't bother inlining it.
7851 (package-load-descriptor): Return the new package-desc.
7852 (package-mark-obsolete): Remove unused arg `package'.
7853 (package-unpack): Make it work for single files as well.
7854 Make it update package-alist.
7855 (package--make-autoloads-and-stuff): Rename from
7856 package--make-autoloads-and-compile. Don't compile any more.
7857 (package--compile): New function.
7858 (package-generate-description-file): New function, extracted from
7859 package-unpack-single.
7860 (package-unpack-single): Remove.
7861 (package--with-work-buffer): Add indentation and debugging info.
7862 (package-download-single): Remove.
7863 (package-install-from-archive): Rename from package-download-tar, make
7864 it take a pkg-desc, and make it work for single files as well.
7865 (package-download-transaction): Simplify.
7866 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7867 external tar program.
7868 (package-install-from-buffer): Remove `pkg-desc' argument.
7869 Use package-tar-file-info for tar-mode buffers.
7870 (package-install-file): Simplify accordingly.
7871 (package-archive-base): Change to take a pkg-desc.
7872 * tar-mode.el (tar--check-descriptor): New function, extracted from
7873 tar-get-descriptor.
7874 (tar-get-descriptor): Use it.
7875 (tar-get-file-descriptor): New function.
7876 (tar--extract): New function, extracted from tar-extract.
7877 (tar--extract): Use it.
7878 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7879 case the summary uses non-ascii. Adjust to new calling convention of
7880 package-tar-file-info.
7881
b7deae5e
LL
78822013-06-21 Leo Liu <sdl.web@gmail.com>
7883
fd846ab4
SM
7884 * comint.el (comint-redirect-results-list-from-process):
7885 Fix random delay. (Bug#14681)
b7deae5e 7886
7a65a0b2
JB
78872013-06-21 Juanma Barranquero <lekktu@gmail.com>
7888
7889 * profiler.el (profiler-format-number): Use log, not log10.
7890
1493c2af
JB
78912013-06-20 Juanma Barranquero <lekktu@gmail.com>
7892
7893 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7894
aff6371e
SM
78952013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7898 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7899 yet available.
7900 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7901 (AUTOGENEL): ... here.
7902 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7903 (cl--defsubst-expand): Use it.
7904
89561f72
PE
79052013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7906
7907 * subr.el (log10): Move here from C code, and declare as obsolete.
7908 All uses of (log10 X) replaced with (log X 10).
7909
47199123
JB
79102013-06-20 Juanma Barranquero <lekktu@gmail.com>
7911
7912 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7913 Declare with `defvar-local'.
7914 (tabulated-list-use-header-line, tabulated-list-entries)
7915 (tabulated-list-padding, tabulated-list-printer)
7916 (tabulated-list-sort-key): Declare with `defvar-local'.
7917 (tabulated-list-init-header, tabulated-list-print-fake-header):
7918 Use `setq-local'.
7919
4a172eab
MA
79202013-06-20 Michael Albinus <michael.albinus@gmx.de>
7921
47199123
JB
7922 * arc-mode.el (archive-mode): Add `archive-write-file' to
7923 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7924
5fc0acc0
JB
79252013-06-20 Juanma Barranquero <lekktu@gmail.com>
7926
d5b27848
JB
7927 * cus-edit.el (custom-commands): Fix typos.
7928 (custom-display): Fix tooltip text.
7929 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7930 Fix typos in docstrings.
7931 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7932 (custom-unlispify-menu-entry, custom-magic-value-create)
7933 (custom-add-see-also, custom-group-value-create): Use ?\s.
7934 (custom-guess-type, customize-apropos, editable-field)
7935 (custom-face-value-create): Use `string-match-p'.
7936 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7937
7938 * custom.el (custom-load-symbol): Use `string-match-p'.
7939
a5c581d8
JB
7940 * ansi-color.el: Convert to lexical binding.
7941 (ansi-colors): Fix URL.
7942 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7943 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7944 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7945
970ad972
G
79462013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7947
7948 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7949
7950 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7951
79522013-06-19 Tom Tromey <tromey@redhat.com>
7953
7954 * net/eww.el (eww-top-url): Remove.
7955 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7956 (eww-render): Set new variables. Don't set eww-top-url.
7957 (eww-handle-link): Handle "prev", "home", and "contents".
7958 Downcase the rel text.
7959 (eww-top-url): Choose best top URL.
7960
79612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7962
7963 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7964 relying in widget.el. Using widget.el leads to too many
7965 user interface inconsistencies.
7966 (eww-self-insert): Implement entering commands in text fields.
7967 (eww-process-text-input): New function to make text input field editing
7968 work.
7969 (eww-submit): Rewrite to use the new-style form methods.
7970 (eww-select-display): Display the correct selected item.
7971 (eww-change-select): Implement changing the select value.
7972 (eww-toggle-checkbox): Implement radio/checkboxes.
7973 (eww-update-field): Fix compilation error.
7974 (eww-tag-textarea): Implement <textarea>.
7975
7976 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7977 we don't shadow mode-specific bindings.
7978
7979 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7980 nothing to push.
7981
7982 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7983
4582a01c 79842013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7985
7986 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7987
15b263dc
MA
79882013-06-19 Michael Albinus <michael.albinus@gmx.de>
7989
7990 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7991 not needed.
7992
7993 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7994
8f5297f7
LMI
79952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7996
7997 * net/browse-url.el (browse-url-browser-function):
7998 `eww-browse-url' has the right calling signature, `eww' does not.
7999
011c4552
GM
80002013-06-19 Glenn Morris <rgm@gnu.org>
8001
2285bd27
GM
8002 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8003 Only eval autoloaded macros.
8004 (byte-compile-autoload): Only give the macro warning for macros.
8005
1d653303
GM
8006 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8007 (ps-underlined-faces): Declare.
8008
bdd779ec
GM
8009 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8010 (speedbar-add-supported-extension): Declare.
8011
011c4552
GM
8012 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8013 Don't include a date stamp in the header of the generated file;
8014 it leads to needless differences between output files.
8015
e59dfb0e
MA
80162013-06-19 Michael Albinus <michael.albinus@gmx.de>
8017
c763842b
SM
8018 * net/secrets.el (secrets-struct-secret-content-type):
8019 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8020 Some servers do not offer introspection.
e59dfb0e 8021
102626e2
SM
80222013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * electric.el (electric-pair-mode): Improve interaction with
8025 electric-layout-mode.
8026 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8027 (electric-pair-syntax): Use text-mode-syntax-table in comments
8028 and strings.
8029 (electric-pair--insert): New function.
8030 (electric-pair-post-self-insert-function): Use it and
8031 electric--after-char-pos.
8032
ad528125
LL
80332013-06-19 Leo Liu <sdl.web@gmail.com>
8034
8035 * progmodes/octave.el (octave-help): Fix regexp.
8036
924d6997
G
80372013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8038
8039 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8040 (shr-table-horizontal-line): Allow nil as a value, and change the
8041 default.
8042 (shr-insert-table-ruler): Respect the nil value.
8043
80442013-06-18 Tom Tromey <tromey@barimba>
8045
8046 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8047 New defvars.
8048 (eww-open-file): New defun.
8049 (eww-render): Initialize new variables.
8050 (eww-display-html): Handle "link" and "a".
8051 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8052 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8053 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8054 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8055 New defuns.
924d6997 8056
d1bbba4f
DG
80572013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8058
8059 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8060 Distinguish ternary operator tokens from slash symbol and slash
8061 char literal.
8062
14dd22d2
JB
80632013-06-18 Juanma Barranquero <lekktu@gmail.com>
8064
8065 Convert symbol prettification into minor mode and global minor mode.
8066
8067 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8068 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8069 (prettify-symbols--keywords): Rename from
8070 `prog-prettify-symbols-alist' and make a local defvar.
8071 (prettify-symbols--compose-symbol): Rename from
8072 `prog--prettify-font-lock-compose-symbol'.
8073 (prettify-symbols--make-keywords): Rename from
8074 `prog-prettify-font-lock-symbols-keywords' and simplify.
8075 (prog-prettify-install): Remove.
8076 (prettify-symbols-mode): New minor mode, based on
8077 `prog-prettify-install'.
8078 (turn-on-prettify-symbols-mode): New function.
8079 (global-prettify-symbols-mode): New globalized minor mode.
8080
8081 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8082 * progmodes/cfengine.el (cfengine3-mode):
8083 * progmodes/perl-mode.el (perl-mode): Don't call
8084 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8085
292c880c
JL
80862013-06-18 Juri Linkov <juri@jurta.org>
8087
8088 * files-x.el (modify-file-local-variable-message): New function.
8089 (modify-file-local-variable)
8090 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8091 and call `modify-file-local-variable-message' when it's non-nil.
8092 (add-file-local-variable, delete-file-local-variable)
8093 (add-file-local-variable-prop-line)
8094 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8095 and use it. (Bug#9820)
8096
0950aa27
JL
80972013-06-18 Juri Linkov <juri@jurta.org>
8098
8099 * emulation/vi.el (vi-shell-op):
8100 * emulation/vip.el (vip-execute-com, ex-command):
8101 * emulation/viper-cmd.el (viper-exec-bang):
8102 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8103 the call of `shell-command-on-region'. (Bug#14637)
8104
8105 * simple.el (shell-command-on-region): Doc fix.
8106
8fbcca16
SM
81072013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8110 (bug#14633).
8111
dd7426ea
GM
81122013-06-18 Glenn Morris <rgm@gnu.org>
8113
4ba54f7d
GM
8114 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8115
dd7426ea
GM
8116 * newcomment.el (comment-search-forward, comment-search-backward):
8117 Doc fix. (Bug#14376)
8118
58aa805b
JB
81192013-06-18 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8122 (buffer-face-mode-invoke): Doc fix.
8123
9a08a617
MM
81242013-06-18 Matthias Meulien <orontee@gmail.com>
8125
8126 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8127 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8128
f2f426ca
GM
81292013-06-18 Glenn Morris <rgm@gnu.org>
8130
9445f99b
GM
8131 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8132 Replace obsolete function generic-make-keywords with its expansion.
8133
e0df2d14
GM
8134 * progmodes/python.el (ffap-alist): Declare.
8135
f2f426ca
GM
8136 * textmodes/reftex.el (bibtex-mode-map): Declare.
8137
f7f9a720
SM
81382013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8141 (package-unpack, package-unpack-single): Return the pkg-dir.
8142 (package-download-transaction): Use it to update package-alist.
8143
57ff04e0
LMI
81442013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145
8146 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8147 possible choice.
8148
c048c022
JL
81492013-06-17 Juri Linkov <juri@jurta.org>
8150
8151 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8152
b5bcaee5
DG
81532013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8154
a020afb9
JB
8155 * emacs-lisp/package.el (package-load-descriptor):
8156 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8157 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8158
551e07e5
JB
81592013-06-17 Juanma Barranquero <lekktu@gmail.com>
8160
8161 * startup.el (command-line): Expand package name returned by
8162 `package--description-file' (bug#14639).
8163
d363bffb
DG
81642013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8165
8166 * emacs-lisp/package.el (package-load-descriptor): Do not call
8167 `emacs-lisp-mode', just use its syntax table.
8168
f612933b
JB
81692013-06-17 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8172 `font-lock-extra-managed-props' if any prettifying keyword is added.
8173 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8174 (prog-mode): Use `setq-local'.
8175
db3b7db5
SM
81762013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * international/characters.el (standard-case-table): Set syntax of ?»
8179 and ?« to punctuation.
8180
f3d674df
JB
81812013-06-16 Juanma Barranquero <lekktu@gmail.com>
8182
8183 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8184 Save relevant match data before calling `syntax-ppss' (bug#14595).
8185
31489a32
JL
81862013-06-15 Juri Linkov <juri@jurta.org>
8187
8188 * files-x.el (modify-file-local-variable-prop-line): Add local
8189 variables to the end of the existing comment on the first line.
8190 Use `file-auto-mode-skip' to skip interpreter magic line,
8191 and also skip XML declaration.
8192
66bd25ab
SM
81932013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * startup.el (package--builtin-versions): New var.
8196 (package-subdirectory-regexp): Remove.
8197 (package--description-file): Hard code its value instead.
8198
8199 * emacs-lisp/package.el: Don't activate packages older than builtin.
8200 (package-obsolete-list): Rename from package-obsolete-alist, and make
8201 it into a simple list of package-desc.
8202 (package-strip-version): Remove.
8203 (package-built-in-p): Use package--builtin-versions.
8204 (package-mark-obsolete): Simplify.
8205 (package-process-define-package): Mark it obsolete if older than the
8206 builtin version.
8207 (package-handle-response): Use line-end-position.
8208 (package-read-archive-contents, package--download-one-archive):
8209 Simplify.
8210 (package--add-to-archive-contents): Skip if older than the builtin or
8211 installed version.
8212 (package-menu-describe-package): Fix last change.
8213 (package-list-unversioned): New var.
8214 (package-menu--generate): Use it.
8215
8216 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8217 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8218 (autoload-builtin-package-versions): New variable.
8219 (autoload-generate-file-autoloads): Use them.
8220 Remove the list of autoloaded functions/macros from the
8221 (autoload...) comments.
8222
8223 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8224
9583ec36
EZ
82252013-06-15 Eli Zaretskii <eliz@gnu.org>
8226
8227 * simple.el (line-move-partial): Don't jump to the next screen
8228 line as soon as it becomes visible. Instead, continue enlarging
8229 the vscroll until the portion of a tall screen line that's left on
8230 display is about the height of the frame's default font.
8231 (Bug#14567)
8232
f0100d8a
GM
82332013-06-15 Glenn Morris <rgm@gnu.org>
8234
b86a85ca
GM
8235 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8236 compilation-error-regexp-alist void, or local while let-bound.
8237
f0100d8a
GM
8238 * progmodes/make-mode.el (makefile-mode-syntax-table):
8239 Treat "=" as punctuation. (Bug#14614)
8240
05e7ce90
JB
82412013-06-15 Juanma Barranquero <lekktu@gmail.com>
8242
8243 * help-fns.el (describe-variable):
8244 Add extra line for permanent-local variables.
8245
12e5e86e
SH
82462013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8247
8248 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8249 Add export, import, library. (Bug#9164)
8250 (library): Set indent function.
8251
230dcbaf
GM
82522013-06-14 Glenn Morris <rgm@gnu.org>
8253
8254 * term/xterm.el (xterm--query):
8255 Stop after first matching handler. (Bug#14615)
8256
e36b2d20 82572013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8258
8259 Add support for dired in saveplace.
8260 * dired.el (dired-initial-position-hook): New variable.
8261 (dired-initial-position): Call hook to place cursor position.
8262 * saveplace.el (save-place-to-alist): Add dired position.
8263 (save-place-dired-hook): New function.
8264
0b31660d
SM
82652013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8266
bf1e6ae8
SM
8267 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8268 through a symbol rather than letrec.
8269
1b8dff23
SM
8270 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8271 (package-desc): Add `dir' field.
8272 (package-desc-full-name): New function.
8273 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8274 (package-maybe-load-descriptor): Remove.
8275 (package-load-all-descriptors): Just call package-load-descriptor.
8276 (package--disabled-p): New function.
8277 (package-desc-vers, package-desc-doc): Remove aliases.
8278 (package--dir): Remove function.
8279 (package-activate): Check if a package is disabled.
8280 (package-process-define-package): New function, extracted from
8281 define-package.
8282 (define-package): Turn into a place holder.
8283 (package-unpack-single, package-tar-file-info):
8284 Use package--description-file.
8285 (package-compute-transaction): Use package--disabled-p.
8286 (package-download-transaction): Don't call
8287 package-maybe-load-descriptor since they're all loaded anyway.
8288 (package-install): Change argument to be a pkg-desc.
8289 (package-delete): Use a single pkg-desc argument.
8290 (describe-package-1): Use package-desc-dir instead of package--dir.
8291 Use package-desc property instead of package-symbol.
8292 (package-install-button-action): Adjust accordingly.
8293 (package--push): Rewrite.
8294 (package-menu--print-info): Adjust accordingly. Change the ID format
8295 to be a pkg-desc.
8296 (package-menu-describe-package, package-menu-get-status)
8297 (package-menu--find-upgrades, package-menu-mark-upgrades)
8298 (package-menu-execute, package-menu--name-predicate):
8299 Adjust accordingly.
8300 * startup.el (package--description-file): New function.
8301 (command-line): Use it.
8302 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8303 Use package-desc-version.
8304
0b31660d
SM
8305 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8306 (byte-compile-preprocess): Use it.
8307 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8308 can't quite recognize.
8309 (byte-compile-add-to-list): Remove.
8310 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8311 (cconv-closure-convert): Add assertion.
8312
8313 * emacs-lisp/map-ynp.el: Use lexical-binding.
8314 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8315 Factor out some repeated code.
8316
de0503df
SM
83172013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * subr.el (with-eval-after-load): New macro.
8320 (eval-after-load): Allow form to be a function.
8321 take advantage of lexical-binding.
8322 (do-after-load-evaluation): Use dolist and adjust to new format.
8323 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8324
bc5c8c5a
JL
83252013-06-13 Juri Linkov <juri@jurta.org>
8326
8327 * replace.el (perform-replace): Display "symbol " and other search
8328 modes from `isearch-message-prefix' in the *Help* buffer.
8329
8330 * isearch.el (isearch-query-replace): Add " symbol" and other
8331 possible search modes from `isearch-message-prefix' to the prompt.
8332 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8333 when reading a regexp to collect.
8334
a22289f7
JL
83352013-06-13 Juri Linkov <juri@jurta.org>
8336
8337 * isearch.el (word-search-regexp): Match whitespace if the search
8338 string begins or ends in whitespace. The LAX arg is applied to
8339 both ends of the search string. Use `regexp-quote' and explicit
8340 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8341 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8342 boundaries are replaced with symbol boundaries, and characters
8343 between symbols match non-word non-symbol syntax. (Bug#14602)
8344
cb89acab
JL
83452013-06-13 Juri Linkov <juri@jurta.org>
8346
8347 * isearch.el (isearch-del-char): Don't exceed the length of
8348 `isearch-string' by the prefix arg. (Bug#14563)
8349
6e8cfc81
JL
83502013-06-13 Juri Linkov <juri@jurta.org>
8351
8352 * isearch.el (isearch-yank-word, isearch-yank-line)
8353 (isearch-char-by-name, isearch-quote-char)
8354 (isearch-printing-char, isearch-process-search-char):
8355 Add optional count prefix arg. (Bug#14563)
8356
8357 * international/isearch-x.el
8358 (isearch-process-search-multibyte-characters):
8359 Add optional count prefix arg.
8360
c23d55f4
VS
83612013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8364 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8365 lexical-binding.
8366
83672013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8368
8369 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8370
ba947bc4
GM
83712013-06-13 Glenn Morris <rgm@gnu.org>
8372
8baeb37a
GM
8373 * startup.el (tty-handle-args):
8374 Don't just discard "--" and anything after. (Bug#14608)
8375
ba947bc4
GM
8376 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8377
9abefce4
MA
83782013-06-13 Michael Albinus <michael.albinus@gmx.de>
8379
8380 Implement changes in Secret Service API. Make it backward compatible.
8381 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8382 (secrets-create-item): Use it. Prefix properties with interface.
8383
5755011f
MH
83842013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8385
8386 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8387 (term-emulate-terminal): Respect term-suppress-hard-newline.
8388
1261d2da
S
83892013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8390
8391 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8392 Only remove a `thumb-file' overlay. (Bug#14548)
8393
868490bb
GJ
83942013-06-12 Grégoire Jadi <daimrod@gmail.com>
8395
8396 * mail/reporter.el (reporter-submit-bug-report):
8397 Handle missing package-name. (Bug#14600)
8398
79d7167f
TH
83992013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8400
8401 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8402 (reftex-citation-prompt, reftex-default-bibliography)
8403 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8404 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8405 (reftex-bib-sort-author, reftex-bib-sort-year)
8406 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8407 (reftex-extract-bib-entries-from-thebibliography)
8408 (reftex-get-bibkey-default, reftex-get-bib-names)
8409 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8410 (reftex-format-bib-entry, reftex-parse-bibitem)
8411 (reftex-format-bibitem, reftex-do-citation)
8412 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8413 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8414 (reftex-insert-bib-matches, reftex-format-citation)
8415 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8416 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8417 existing comments into docstrings.
8418
5f9dbd7a
XF
84192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8420
8421 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8422
94df41ab
AS
84232013-06-12 Andreas Schwab <schwab@suse.de>
8424
8425 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8426 for auto-save files.
8427
a7f3fecc
GM
84282013-06-12 Glenn Morris <rgm@gnu.org>
8429
001809f6
GM
8430 * ido.el (ido-delete-ignored-files): Remove.
8431 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8432 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8433
834b5ded
EL
84342013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8435
08c73ed2
EL
8436 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8437
834b5ded
EL
8438 * ido.el (ido-delete-ignored-files): New function,
8439 split from ido-make-file-list-1.
8440 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8441 (ido-make-file-list-1): Use ido-delete-ignored-files.
8442
daabf15a
LL
84432013-06-12 Leo Liu <sdl.web@gmail.com>
8444
8445 * progmodes/octave.el (inferior-octave-startup)
8446 (inferior-octave-completion-table)
8447 (inferior-octave-track-window-width-change)
8448 (octave-eldoc-function-signatures, octave-help)
8449 (octave-find-definition): Use single quoted strings.
8450 (inferior-octave-startup-args): Change default value.
8451 (inferior-octave-startup): Do not hard code "-i" and
8452 "--no-line-editing".
8453 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8454 (inferior-octave-directory-tracker): Use it.
8455 (octave-goto-function-definition): Robustify.
8456 (octave-help): Support highlighting operators in 'See also'.
8457 (octave-find-definition): Find subfunctions only in Octave mode.
8458
cf4e5178
SM
84592013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * help-fns.el (help-fns--compiler-macro): If the handler function is
8462 named, then put a link to it.
8463 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8464 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8465 (cl-typep): Use it.
8466 (cl-eval-when): Simplify debug spec.
8467 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8468 compiler-macro function instead of setting `compiler-macro-file'.
8469
99c81280 84702013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8471
8472 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8473 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8474
f56be016
SM
84752013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8476 Daniel Hackney <dan@haxney.org>
8477
8478 First part of Daniel Hackney's patch to package.el.
8479 * emacs-lisp/package.el: Use defstruct.
8480 (package-desc): New, main struct.
8481 (package--bi-desc, package--ac-desc): New structs, used to describe the
8482 format in external files.
8483 (package-desc-vers): Replace with package-desc-version accessor.
8484 (package-desc-doc): Replace with package-desc-summary accessor.
8485 (package-activate-1): Remove `package' arg since the pkg-vec now
8486 includes the name.
8487 (define-package): Use package-desc-from-define.
8488 (package-unpack-single): Change file-name arg to be a symbol.
8489 (package--add-to-archive-contents): Use package-desc-create and new
8490 accessor functions to package--ac-desc.
8491 (package-buffer-info, package-tar-file-info): Return a package-desc.
8492 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8493 arg to be a package-desc.
8494 (package-install-file): Adjust accordingly. Use \' to match EOS.
8495 (package--from-builtin): New function.
8496 (describe-package-1, package-menu--generate): Use it.
8497 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8498 (package-generate-autoloads): Idem and return the name of the file.
8499 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8500 Change pkg-info arg to be a package-desc.
8501 Use package-make-ac-desc.
8502 (package-upload-file): Use \' to match EOS.
8503 * finder.el (finder-compile-keywords): Use package-make-builtin.
8504
31119d63
SM
85052013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8506
931a2762
SM
8507 * vc/vc.el (vc-deduce-fileset): Change error message.
8508 (vc-read-backend): New function.
8509 (vc-next-action): Use it.
8510
5a3eb0c6
SM
8511 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8512
e3eb1bb7
SM
8513 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8514 (prolog-font-lock-keywords): Use regexp-opt instead.
8515 Don't manually highlight strings.
8516 (prolog-mode-variables): Simplify comment-start-skip.
8517 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8518
31119d63
SM
8519 * emacs-lisp/generic.el (generic--normalise-comments)
8520 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8521 (generic-mode-set-comments): Use them.
8522 (generic-bracket-support): Use setq-local.
8523 (generic-make-keywords-list): Declare obsolete.
8524
7de135d0
GM
85252013-06-11 Glenn Morris <rgm@gnu.org>
8526
8527 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8528 Prettify after setting font-lock-defaults. (Bug#14574)
8529
fa6bc6fd
JB
85302013-06-11 Juanma Barranquero <lekktu@gmail.com>
8531
8532 * replace.el (query-replace, occur-read-regexp-defaults-function)
8533 (replace-search):
8534 * subr.el (declare-function, number-sequence, local-set-key)
8535 (substitute-key-definition, locate-user-emacs-file)
8536 (with-silent-modifications, split-string, eval-after-load):
8537 Fix typos, remove unneeded backslashes and reflow some docstrings.
8538
cf1f9b9a
SM
85392013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8542 default for Elisp files.
8543
56602a4b
GM
85442013-06-11 Glenn Morris <rgm@gnu.org>
8545
8546 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8547 although define-derived-mode was doing this anyway. (Bug#14583)
8548
30ae0b2c
JB
85492013-06-10 Juanma Barranquero <lekktu@gmail.com>
8550
8551 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8552 Fix make-variable-buffer-local call to refer to the correct variable.
8553
fa472906
AG
85542013-06-10 Aidan Gauland <aidalgol@amuri.net>
8555
8556 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8557 (eshell-visual-subcommands, eshell-visual-options):
8558 Add summary line to docstrings. Add cross-references.
fa472906 8559
ff4871b9
GM
85602013-06-10 Glenn Morris <rgm@gnu.org>
8561
8562 * epa.el (epa-read-file-name): New function. (Bug#14510)
8563 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8564
04fcf1b0
AG
85652013-06-09 Aidan Gauland <aidalgol@amuri.net>
8566
8567 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8568 output redirection to be ignored with visual commands.
8569
88b00caa
AG
85702013-06-09 Aidan Gauland <aidalgol@amuri.net>
8571
8572 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8573 (eshell-term-initialize): Move long lambda to separate function
8574 eshell-visual-command-p.
e7b41c4c
JB
8575 * eshell/em-dirs.el (eshell-dirs-initialise):
8576 * eshell/em-script.el (eshell-script-initialize):
8577 Add missing #' to lambda.
88b00caa 8578
fda74125
LL
85792013-06-08 Leo Liu <sdl.web@gmail.com>
8580
8581 * progmodes/octave.el (octave-add-log-current-defun): New function.
8582 (octave-mode): Set add-log-current-defun-function.
8583 (octave-goto-function-definition): Do not move point if not found.
8584 (octave-find-definition): Enhance to try subfunctions first.
8585
467f3b33
GM
85862013-06-08 Glenn Morris <rgm@gnu.org>
8587
8588 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8589 (byte-compile-backward-char, byte-compile-backward-word):
8590 Improve previous change, to handle non-explicit nil.
8591
544badc3
SM
85922013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8595 (smie--opener/closer-at-point): New function.
8596 (smie--matching-block-data): Use it. Don't match from right after an
8597 opener or right before a closer. Obey smie-blink-matching-inners.
8598 Don't signal a mismatch for repeated inners like "switch..case..case".
8599
a175bf33
LL
86002013-06-07 Leo Liu <sdl.web@gmail.com>
8601
8602 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8603 to t. (Bug#14303)
ce8209d4
LL
8604 (octave-function-header-regexp): Fix. (Bug#14570)
8605 (octave-help-mode-finish-hook, octave-help-mode-finish):
8606 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8607
8608 * newcomment.el (comment-search-backward): Revert last change.
8609 (Bug#14434)
8610
8611 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8612
a822acff
EZ
86132013-06-07 Eli Zaretskii <eliz@gnu.org>
8614
8615 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8616 through xargs, to avoid failure due to MS-Windows limitations on
8617 command-line length.
8618
961166f5
GM
86192013-06-06 Glenn Morris <rgm@gnu.org>
8620
d0341459
GM
8621 * font-lock.el (lisp-font-lock-keywords-2):
8622 Treat user-error like error.
8623
961166f5
GM
8624 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8625 (byte-compile-backward-char, byte-compile-backward-word):
8626 Handle explicit nil arguments. (Bug#14565)
8627
80fa505f
AM
86282013-06-05 Alan Mackenzie <acm@muc.de>
8629
8630 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8631 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8632 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8633 (Bug#9706)
80fa505f 8634
fccdc796
SM
86352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * autorevert.el (auto-revert-notify-handler): Use memq.
8638 Hide assertion failure.
8639
8640 * skeleton.el: Use cl-lib.
8641 (skeleton-further-elements): Use defvar-local.
8642 (skeleton-insert): Use cl-progv.
8643
9bfff84b
TZ
86442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8645
8646 * progmodes/prog-mode.el (prog-prettify-symbols)
8647 (prog-prettify-install): Update docstrings.
8648
55577e7c
SM
86492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * simple.el: Move all the prog-mode code to prog-mode.el.
8652 * progmodes/prog-mode.el: New file.
8653 * loadup.el: Add prog-mode.el.
8654
8fc57765
TZ
86552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8656
8657 * simple.el (prog-prettify-symbols): Add version.
8658 (prog-prettify-install): Add convenience function to prettify symbols.
8659
8660 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8661 (perl--augmented-font-lock-keywords-1)
8662 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8663 variables and use it.
8664
8665 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8666 (cfengine3-mode): Remove unneeded variable and use it.
8667
8668 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8669 (lisp--augmented-font-lock-keywords-1)
8670 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8671 Remove unneeded variables and use it.
8672
650645d5 86732013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8674
8675 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8676 to point when opening the connection. (Bug#14380)
28f5da6d 8677
781b4af6
SM
86782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * subr.el (load-history-regexp, load-history-filename-element)
8681 (eval-after-load, after-load-functions, do-after-load-evaluation)
8682 (eval-next-after-load, display-delayed-warnings)
8683 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8684 definition of save-match-data.
8685 (overriding-local-map): Remove accidental obsolescence declaration.
8686
8687 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8688
3ca0d0b4
TZ
86892013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8690
8691 Generalize symbol prettify support to prog-mode and implement it
8692 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8693 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8694 (prog--prettify-font-lock-compose-symbol)
8695 (prog-prettify-font-lock-symbols-keywords): New variables and
8696 functions to support symbol prettification.
8697 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8698 (lisp--augmented-font-lock-keywords-1)
8699 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8700 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8701 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8702 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8703 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8704 * progmodes/perl-mode.el (perl-prettify-symbols)
8705 (perl--font-lock-compose-symbol)
8706 (perl--font-lock-symbols-keywords): Move to prog-mode.
8707 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8708 (perl-font-lock-keywords-1)
8709 (perl-font-lock-keywords-2): Remove explicit prettify support.
8710 (perl--augmented-font-lock-keywords)
8711 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8712 (perl--augmented-font-lock-keywords-2, perl-mode):
8713 Implement prettify support.
3ca0d0b4 8714
976cb066
LL
87152013-06-05 Leo Liu <sdl.web@gmail.com>
8716
8717 Re-implement smie matching block highlight using
8718 show-paren-data-function. (Bug#14395)
8719 * emacs-lisp/smie.el (smie-matching-block-highlight)
8720 (smie--highlight-matching-block-overlay)
8721 (smie--highlight-matching-block-lastpos)
8722 (smie-highlight-matching-block)
8723 (smie-highlight-matching-block-mode): Remove.
8724 (smie--matching-block-data-cache): New variable.
8725 (smie--matching-block-data): New function.
8726 (smie-setup): Use smie--matching-block-data for
8727 show-paren-data-function.
8728
8729 * progmodes/octave.el (octave-mode-menu): Fix.
8730 (octave-find-definition): Skip garbage lines.
8731
208d0342
SM
87322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 Fix compilation error with simultaneous dynamic+lexical scoping.
8735 Add warning when a defvar appears after the first let-binding.
8736 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8737 (byte-compile-close-variables): Initialize it.
8738 (byte-compile--declare-var): New function.
8739 (byte-compile-file-form-defvar)
8740 (byte-compile-file-form-define-abbrev-table)
8741 (byte-compile-file-form-custom-declare-variable): Use it.
8742 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8743 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8744 (byte-compile-bind): Handle dynamic bindings that shadow
8745 lexical bindings.
8746 (byte-compile-unbind): Make arg non-optional.
8747 (byte-compile-let): Simplify.
8748 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8749 (cconv--analyse-function, cconv-analyse-form): Populate it.
8750 Protect byte-compile-bound-variables to limit the scope of defvars.
8751 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8752 Remove unneeded rule for `declare'.
8753
8754 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8755 so as to avoid depending on cl-adjoin at run-time.
8756 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8757
8758 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8759 (macroexp--warn-and-return): Use it.
8760
1ac2891e
GM
87612013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * lisp/subr.el: Convert to lexical binding.
8764 (overriding-local-map): Make obsolete.
8765 (add-to-list): Doc fix. Add compiler macro.
8766 (read-key): Swap values of local maps.
8767
2587b005
LL
87682013-06-05 Leo Liu <sdl.web@gmail.com>
8769
8770 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8771
f1da3c88
LL
87722013-06-04 Leo Liu <sdl.web@gmail.com>
8773
8774 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8775 (compilation-auto-jump): Suppress the "Mark set" message to give
8776 way to exit message.
8777
3caa391f
AM
87782013-06-04 Alan Mackenzie <acm@muc.de>
8779
8780 Remove faulty optimisation from indentation calculation.
8781 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8782 search limit based on 2000 characters back from indent-point.
8783
068922a2
TH
87842013-06-03 Tassilo Horn <tsdh@gnu.org>
8785
8786 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8787
1f8fdd53
SM
87882013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8789
bbcc4d97
SM
8790 * emacs-lisp/lisp.el: Use lexical-binding.
8791 (lisp--local-variables-1, lisp--local-variables): New functions.
8792 (lisp--local-variables-completion-table): New var.
208d0342 8793 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8794
1f8fdd53
SM
8795 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8796 eagerly (bug#14422).
8797
c9628c79
MA
87982013-06-03 Michael Albinus <michael.albinus@gmx.de>
8799
8800 * autorevert.el (auto-revert-notify-enabled)
8801 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8802 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8803 (auto-revert-notify-handler): Handle also gfilenotify.
8804
e7b41c4c 8805 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8806 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8807 Remove.
c9628c79 8808
e5e4a942
JL
88092013-06-03 Juri Linkov <juri@jurta.org>
8810
8811 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8812 `M-s h .'. (Bug#14427)
8813
8814 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8815 command `hi-lock-face-symbol-at-point'.
8816 (hi-lock-face-symbol-at-point): New command.
8817 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8818 (hi-lock-menu): Add `highlight-symbol-at-point'.
8819 (hi-lock-mode): Doc fix.
8820
8821 * isearch.el (isearch-forward-symbol-at-point): New command.
8822 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8823 (isearch-highlight-regexp): Add a regexp which matches
8824 words/symbols for word/symbol mode.
8825
8826 * subr.el (find-tag-default-bounds): New function with the body
8827 mostly moved from `find-tag-default'.
8828 (find-tag-default): Move most code to `find-tag-default-bounds',
8829 call it and apply `buffer-substring-no-properties' afterwards.
8830
26b3353a
TH
88312013-06-03 Tassilo Horn <tsdh@gnu.org>
8832
781b4af6
SM
8833 * eshell/em-term.el (eshell-term-initialize):
8834 Use `cl-intersection' rather than `intersection'.
26b3353a 8835
51b60f53
XF
88362013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8837
fe054b63 8838 * vc/log-view.el: Doc fix.
d3ffe17c 8839 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8840
a0eb10b3 88412013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8842
8843 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8844 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8845 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8846 (eieio-unbound, eieio-default-superclass)
8847 (eieio--define-field-accessors, method-static, method-before)
8848 (method-primary, method-after, method-num-lists)
8849 (method-generic-before, method-generic-primary)
8850 (method-generic-after, method-num-slots)
8851 (eieio-specialized-key-to-generic-key)
8852 (eieio--check-type, class-v, class-p)
8853 (eieio-class-name, define-obsolete-function-alias)
8854 (eieio-class-parents-fast, eieio-class-children-fast)
8855 (same-class-fast-p, class-constructor, generic-p)
8856 (generic-primary-only-p, generic-primary-only-one-p)
8857 (class-option-assoc, class-option, eieio-object-p)
8858 (class-abstract-p, class-method-invocation-order)
8859 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8860 (eieio-class-un-autoload, eieio-defclass)
8861 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8862 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8863 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8864 (eieio-defgeneric-reset-generic-form)
8865 (eieio-defgeneric-form-primary-only)
8866 (eieio-defgeneric-reset-generic-form-primary-only)
8867 (eieio-defgeneric-form-primary-only-one)
8868 (eieio-defgeneric-reset-generic-form-primary-only-one)
8869 (eieio-unbind-method-implementations)
8870 (eieio--defmethod, eieio--typep)
8871 (eieio-perform-slot-validation, eieio-validate-slot-value)
8872 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8873 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8874 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8875 (eieio-slot-name-index, eieio-class-slot-name-index)
8876 (eieio-set-defaults, eieio-initarg-to-attribute)
8877 (eieio-attribute-to-initarg, eieio-c3-candidate)
8878 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8879 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8880 (eieio-class-precedence-list, eieio-generic-call-methodname)
8881 (eieio-generic-call-arglst, eieio-generic-call-key)
8882 (eieio-generic-call-next-method-list)
8883 (eieio-pre-method-execution-functions, eieio-generic-call)
8884 (eieio-generic-call-primary-only, eieiomt-method-list)
8885 (eieiomt-optimizing-obarray, eieiomt-install)
8886 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8887 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8888 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8889 (defclass): Remove `eval-and-compile' from macro.
8890 (call-next-method, shared-initialize): Instead of using
8891 `scoped-class' variable, use new eieio--scoped-class, and
8892 eieio--with-scoped-class.
8893 (initialize-instance): Rename local variable 'scoped-class' to
8894 'this-class' to remove ambiguitity from old global.
8895
8896 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8897 eieio.el.
4f405069
JB
8898 (eieio--scoped-class-stack): New variable.
8899 (eieio--scoped-class): New fcn.
890f7890
DE
8900 (eieio--with-scoped-class): New scoping macro.
8901 (eieio-defclass): Use pushnew instead of add-to-list.
8902 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8903 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8904 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8905 `scoped-class' variable, use new eieio--scoped-class, and
8906 eieio--with-scoped-class.
8907
8908 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8909
d105b0e2
TH
89102013-06-02 Tassilo Horn <tsdh@gnu.org>
8911
8912 * eshell/esh-ext.el (eshell-external-command): Pass args to
8913 `eshell-find-interpreter'.
8914 (eshell-find-interpreter): Add new second parameter ARGS.
8915
8916 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8917 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8918
8919 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8920 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8921
8922 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8923 (eshell-visual-options): New defcustom.
8924 (eshell-escape-control-x): Adapt docstring.
8925 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8926 `eshell-visual-options' in addition to `eshell-visual-commands'.
8927 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8928
f46305c8 89292013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8930
8931 * progmodes/python.el (python-indent-block-enders): Add break,
8932 continue and raise keywords.
8933
d870df21
GM
89342013-06-01 Glenn Morris <rgm@gnu.org>
8935
9133b82e
GM
8936 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8937
02c992ec 8938 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8939 * progmodes/cc-cmds.el (delete-forward-p):
8940 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8941 * progmodes/cc-engine.el (buffer-syntactic-context):
8942 * progmodes/cc-fonts.el (face-property-instance):
8943 * progmodes/cc-mode.el (set-keymap-parents):
8944 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8945 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8946 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8947 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8948 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8949
31e7b090
GM
8950 * progmodes/cc-vars.el (other): Emacs has this widget since
8951 at least 21.1, so don't (re)define it.
8952
d870df21
GM
8953 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8954 Replace the obsolete alias pcomplete-arg-quote-list.
8955
c75c93c7
LL
89562013-06-01 Leo Liu <sdl.web@gmail.com>
8957
8958 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8959 punctuation syntax.
8960 (inferior-octave-minimal-columns)
8961 (inferior-octave-last-column-width): New variables.
8962 (inferior-octave-track-window-width-change): New function.
8963 (inferior-octave-mode): Adjust column width so that Octave output,
8964 for example from 'ls', can fit into the window nicely.
8965
973d1e12
DG
89662013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8967
8968 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8969 Highlight expansions inside regexp literals.
8970
0888c286
GM
89712013-05-31 Glenn Morris <rgm@gnu.org>
8972
e26aac1f
GM
8973 * obsolete/sym-comp.el (symbol-complete):
8974 Replace obsolete completion-annotate-function.
8975
0888c286
GM
8976 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8977
19bb8e62
DG
89782013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8979
781b4af6
SM
8980 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8981 New function, checks if point is inside a literal that allows
19bb8e62
DG
8982 expression expansion.
8983 (ruby-syntax-propertize-expansion): Use it.
8984 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8985 around the body.
8986
01dea85f
JL
89872013-05-30 Juri Linkov <juri@jurta.org>
8988
8989 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8990 to "\M-si".
8991 (isearch-invisible): New variable.
8992 (isearch-forward): Doc fix.
8993 (isearch-mode): Set `isearch-invisible'
8994 to the value of `search-invisible'.
8995 (isearch-toggle-case-fold): Doc fix.
8996 (isearch-toggle-invisible): New command.
8997 (isearch-query-replace): Let-bind `search-invisible'
8998 to the value of `isearch-invisible'.
8999 (isearch-search): Use `isearch-invisible' instead of
9000 `search-invisible'. Let-bind `search-invisible'
9001 to the value of `isearch-invisible'. (Bug#11378)
9002
ab1bdce5
JL
90032013-05-30 Juri Linkov <juri@jurta.org>
9004
9005 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9006 call when `query-flag' is nil and `search-invisible' is non-nil.
9007 (Bug#11746)
9008
d6d236e2
GM
90092013-05-30 Glenn Morris <rgm@gnu.org>
9010
8accd027
GM
9011 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9012
2a8bed1c
GM
9013 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9014 (cc-require): Suppress spurious "noruntime" warnings.
9015 (cc-require-when-compile): Use fboundp, for sake of compiler.
9016
d6d236e2
GM
9017 * progmodes/cc-mode.el: Move load of cc-vars before that of
9018 cc-langs (which in turn loads cc-vars), to quieten compiler.
9019
9190b35b
SM
90202013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * paren.el: Simplify the code.
9023 (show-paren-mode): Always start the timer.
9024 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9025 (show-paren--overlay, show-paren--overlay-1): Rename from
9026 show-paren-overlay and show-paren-overlay-1, and initialize to an
9027 overlay rather than to nil.
9028 (show-paren-function): Misc cleanup and simplifications.
9029
4f8d1cf6
SM
90302013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * paren.el (show-paren-data-function): New hook.
9033 (show-paren--default): New function, extracted from show-paren-function.
9034 (show-paren-function): Use show-paren-data-function.
9035
02d844b5
GM
90362013-05-30 Glenn Morris <rgm@gnu.org>
9037
d209d4a9
GM
9038 * ielm.el (ielm-map, ielm-complete-symbol):
9039 Use completion-at-point rather than obsolete functions.
9040 (inferior-emacs-lisp-mode): Doc fix.
9041 Set completion-at-point-functions, rather than
9042 comint-dynamic-complete-functions.
9043
2082faa6
GM
9044 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9045 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9046 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9047
dd8620de
GM
9048 * image.el (image-animated-p): Tweak definition.
9049
ceca95b1
GM
9050 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9051 (rlogin-process-connection-type): Tweak default. Add set-after.
9052 (rlogin-host): Doc fix.
9053 (rlogin): Tweak prompt.
9054 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9055
ee9f1acc
GM
9056 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9057 * progmodes/tcl.el (inferior-tcl-mode-map):
9058 Use completion-at-point rather than obsolete alias.
9059
45ce222e
GM
9060 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9061
02d844b5
GM
9062 * minibuffer.el (read-file-name-completion-ignore-case):
9063 Move before completion--in-region, for eager macro expansion.
9064
ac44d6c1
JL
90652013-05-29 Juri Linkov <juri@jurta.org>
9066
9067 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9068 for total count of matching lines. Add `global-matches' for total
9069 count of matches. Rename `matches' to `lines' for count of
9070 matching lines. Add `matches' for count of matches.
9071 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9072 to `prev-line' for line number of prev match endpt.
9073 Increment `matches' for every match. Print the number of
9074 matching lines in the header.
9075 (occur-context-lines): Rename `lines' to `curr-line'.
9076 Rename `prev-lines' to `prev-line'. (Bug#14017)
9077
3c9c9d38
JL
90782013-05-29 Juri Linkov <juri@jurta.org>
9079
9080 * replace.el (perform-replace): Add `skip-read-only-count',
9081 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9082 Increment them for corresponding conditions and report the number
9083 of skipped occurrences in the final message. (Bug#11746)
9084 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9085 (replace-string, replace-regexp): Doc fix.
9086
33e249a2
SM
90872013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9088
8e399682
SM
9089 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9090
33e249a2 9091 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9092 prog-mode-map (bug#14504).
33e249a2 9093
f236dd84
LL
90942013-05-29 Leo Liu <sdl.web@gmail.com>
9095
9096 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9097 (octave-help): Small simplification.
9098
9099 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9100 off the highlight first.
9101
3694d13f
GM
91022013-05-29 Glenn Morris <rgm@gnu.org>
9103
03983bdc
GM
9104 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9105 Handle idlwave-last-system-routine-info-cons-cell being nil.
9106
bc74a74a
GM
9107 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9108 (idlwave-write-paths): Simplify via with-temp-buffer.
9109
8b394200
GM
9110 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9111 * emulation/cua-rect.el: Also load cua-base at run time.
9112
3694d13f
GM
9113 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9114 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9115 (cperl-imenu-on-info): Require imenu.
9116
336d7284
AM
91172013-05-28 Alan Mackenzie <acm@muc.de>
9118
9119 Handle "capitalised keywords" correctly.
33e249a2 9120 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9121
cb29c582
AG
91222013-05-28 Aidan Gauland <aidalgol@amuri.net>
9123
781b4af6 9124 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9125
690e44b2
GM
91262013-05-28 Glenn Morris <rgm@gnu.org>
9127
e658d75c
GM
9128 * vc/vc-arch.el (vc-exec-after): Declare.
9129 (vc-switches): Autoload.
9130 * vc/vc-bzr.el: No need to require vc when compiling.
9131 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9132 (vc-resynch-buffer, vc-dir-refresh): Declare.
9133 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9134 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9135 (vc-resynch-buffer): Declare.
9136 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9137 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9138 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9139 (grep-read-regexp, grep-read-files, grep-expand-template)
9140 (vc-dir-refresh): Declare.
9141 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9142 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9143 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9144 * vc/vc-mtn.el (vc-exec-after): Declare.
9145 (vc-switches): Autoload.
9146 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9147 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9148 (vc-file-tree-walk): Declare.
712b9732
GM
9149 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9150 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9151 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9152 * vc/vc-svn.el (vc-exec-after): Declare.
9153 (vc-switches, vc-setup-buffer): Autoload.
9154 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9155 Autoload.
9156 (vc-resynch-buffer): Declare.
9157
98e87fb3
GM
9158 * obsolete/fast-lock.el (byte-compile-warnings):
9159 Don't warn about obsolete features in this obsolete file.
9160
f5379553
GM
9161 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9162 Move definition before use.
9163
7a20ef83
GM
9164 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9165 (dun-unix-verbs): Remove dun-zippy.
9166 (dun-zippy): Remove function.
9167
690e44b2
GM
9168 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9169
3a52ccf7
JL
91702013-05-27 Juri Linkov <juri@jurta.org>
9171
9172 * replace.el (replace-search): New function with code moved out
9173 from `perform-replace'.
9174 (replace-highlight, replace-dehighlight): Move function definitions
9175 up closer to `replace-search'. (Bug#11746)
9176
d289938a
JL
91772013-05-27 Juri Linkov <juri@jurta.org>
9178
9179 * replace.el (perform-replace): Ignore invisible matches.
9180 In addition to checking `query-replace-skip-read-only', also
9181 filter out matches by calling `run-hook-with-args-until-failure'
9182 on `isearch-filter-predicates', and also check `search-invisible'
9183 for t or call `isearch-range-invisible'.
9184 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9185
66fc57e3
JL
91862013-05-27 Juri Linkov <juri@jurta.org>
9187
9188 * isearch.el (isearch-filter-predicates): Rename from
9189 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9190 (isearch-message-prefix): Display text from the property
9191 `isearch-message-prefix' of the currently active filters.
9192 (isearch-search): Don't compare `isearch-filter-predicate' with
9193 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9194 on `isearch-filter-predicates'. Also check `search-invisible' for t
9195 or call `isearch-range-invisible'.
9196 (isearch-filter-visible): Make obsolete.
9197 (isearch-lazy-highlight-search):
9198 Call `run-hook-with-args-until-failure' on
9199 `isearch-filter-predicates' and use `isearch-range-invisible'.
9200
9201 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9202 `isearch-filter-predicates' instead of `funcall'ing
9203 `isearch-filter-predicate'.
9204 (Info-mode): Set `Info-isearch-filter' to
9205 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9206
9207 * dired-aux.el (dired-isearch-filter-predicate-orig):
9208 Remove variable.
9209 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9210 (dired-isearch-filenames-end): Add and remove
9211 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9212 instead of changing the value of `isearch-filter-predicate'.
9213 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9214 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9215 Put property `isearch-message-prefix' to "filename " on
9216 `dired-isearch-filter-filenames'.
9217
9218 * wdired.el (wdired-change-to-wdired-mode):
9219 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9220 locally instead of changing `isearch-filter-predicate'.
9221 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9222
f1a60a0f
DG
92232013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9224
9225 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9226 return the commit hash (Bug#14459). Also set the
9227 `vc-git-detached' property.
9228 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9229 (vc-git-mode-line-string): Use the same help-echo format whether
9230 in detached mode or not, because we know the actual revision now.
9231 When in detached mode, shorten the revision to 7 chars.
9232
7f17cc40
SM
92332013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * emacs-lisp/easy-mmode.el (define-minor-mode):
9236 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9237 mode hook and provide a docstring.
9238
25c8401c
AM
92392013-05-27 Alan Mackenzie <acm@muc.de>
9240
9241 Remove spurious syntax-table text properties inserted by C-y.
9242 * progmodes/cc-mode.el (c-after-change): Also clear hard
9243 syntax-table property with value nil.
9244
dde84790
MA
92452013-05-27 Michael Albinus <michael.albinus@gmx.de>
9246
9247 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9248 when reading the events; the buffer layout shall not be changed.
9249
837fd9af
LL
92502013-05-27 Leo Liu <sdl.web@gmail.com>
9251
9252 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9253 New variable.
9254 (inferior-octave-directory-tracker): Automatically re-sync
9255 default-directory.
9256 (octave-help): Improve handling of 'See also'.
9257
4fd996b3
SM
92582013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9259
416f1802
SM
9260 * doc-view.el: Minor naming convention tweaks.
9261 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9262
4fd996b3
SM
9263 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9264 even if there's no `display' property yet (bug#14435).
9265
a052ef3b
EZ
92662013-05-25 Eli Zaretskii <eliz@gnu.org>
9267
4fd996b3 9268 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9269
9270 * Makefile.in (custom-deps, finder-data, autoloads)
9271 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9272 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9273 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9274
c9023370
SM
92752013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9278 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9279 Don't burp at EOB.
c9023370 9280
24d699fa
LL
92812013-05-25 Leo Liu <sdl.web@gmail.com>
9282
9283 * comint.el (comint-previous-matching-input): Do not flood the
9284 *Messages* buffer with trivial messages.
9285
17e5c0cc
SM
92862013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * progmodes/flymake.el (flymake-nop): Don't return a string.
9289 (flymake-set-at): Fix typo.
9290
9291 * simple.el (read--expression): New function, extracted from
9292 eval-expression. Set completion-at-point-functions (bug#14465).
9293 (eval-expression, eval-minibuffer): Use it.
9294
5d028165
XF
92952013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9296
9297 * progmodes/flymake.el (flymake-save-buffer-in-file)
9298 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9299 (flymake-selected-frame, flymake-log, flymake-ins-after)
9300 (flymake-set-at, flymake-get-buildfile-from-cache)
9301 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9302 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9303 Refine the doc string.
9304 (flymake-get-file-name-mode-and-masks): Reformat.
9305 (flymake-get-real-file-name-function): Fix a minor bug.
9306
7a1d7ba7
JL
93072013-05-24 Juri Linkov <juri@jurta.org>
9308
9309 * progmodes/grep.el (grep-mode-font-lock-keywords):
9310 Support =linenumber= format used by git-grep for lines with
9311 function names. (Bug#13549)
9312
650cff3d
SM
93132013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9316 0 after a semi-colon; it works better for smie-auto-fill.
9317 (octave--indent-new-comment-line): New function.
9318 (octave-indent-new-comment-line): Use it (indirectly).
9319 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9320 modify comment-line-break-function.
9321
9322 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9323 (smie-setup): Use add-function to set it.
9324
9631677d
SS
93252013-05-24 Sam Steingold <sds@gnu.org>
9326
9327 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9328 argument (before the `interactive' argument).
9329
50105835
SM
93302013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * image-mode.el (image-mode-winprops): Add winprops to
9333 image-mode-winprops-alist before running
9334 image-mode-new-window-functions.
9335 * doc-view.el (doc-view-new-window-function): Don't delay
9336 doc-view-goto-page via timers (bug#14435).
9337
57b9823e
TH
93382013-05-24 Tassilo Horn <tsdh@gnu.org>
9339
9340 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9341 (doc-view-desktop-save-buffer): New function.
9342 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9343 (desktop-buffer-mode-handlers):
9344 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9345 handler.
9346 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9347 `desktop-save-buffer' function.
9348
91aafa16
MA
93492013-05-24 Michael Albinus <michael.albinus@gmx.de>
9350
9351 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9352 (tramp-gvfs-file-name-handler): Raise a user error when
9353 `tramp-gvfs-enabled' is nil.
9354 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9355 Do not raise a user error when loading package. (Bug#14447)
9356
ec076379
MA
9357 * net/xesam.el: Move to obsolete/.
9358
db785726
GM
93592013-05-24 Glenn Morris <rgm@gnu.org>
9360
af5c7606
GM
9361 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9362
e5d1916a
GM
9363 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9364
ded62b08
GM
9365 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9366 (Info-find-node, Man-getpage-in-background): Declare.
9367
9e614a3f
GM
9368 * mail/unrmail.el (unrmail):
9369 Replace obsolete detect-coding-with-priority.
9370
892f8ca3
GM
9371 * net/socks.el (socks-split-string): Use this rather than split-string.
9372 (socks-nslookup-host): Update for above change.
9373 (dynamic-choice, s5-dynamic-choice-match)
9374 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9375 Comment out unused code.
9376
3c291973
GM
9377 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9378 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9379 (gud-tooltip-echo-area): Make obsolete.
9380 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9381
43cc956b
GM
9382 * progmodes/js.el (js--optimize-arglist): Declare.
9383
dab49a3b
GM
9384 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9385
36b9d085
GM
9386 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9387 (ediff-window-C): Declare.
9388
e354ae76
GM
9389 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9390 Tweak requires to silence compiler.
9391
b8e57bf4
GM
9392 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9393 (he-search-string, he-tried-table, he-expand-list)
9394 (he-init-string, he-string-member, he-substitute-string)
9395 (he-reset-string): Declare.
9396
db785726
GM
9397 * obsolete/options.el (list-options): Use custom-variable-p,
9398 rather than obsolete alias.
9399
b3531901
SS
94002013-05-23 Sam Steingold <sds@gnu.org>
9401
9402 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9403 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9404 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9405
bdda4c66
SM
94062013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * emacs-lisp/smie.el (smie-indent-forward-token)
9409 (smie-indent-backward-token): Handle string tokens (bug#14381).
9410
c43d45f9
TH
94112013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9412
fe1eb856
RS
9413 * ielm.el (ielm-menu): New menu.
9414 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9415
fe1eb856
RS
94162013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9417
9418 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9419 Fix deactivate action.
9420
9421 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9422 Add cleveref macros.
074dd971 9423
c43d45f9
TH
9424 * lisp/textmodes/reftex-parse.el
9425 (reftex-locate-bibliography-files): Accept options for
9426 bibliography commands.
9427 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9428 Add addbibresource. Basic Biblatex support.
9429
7764286e
MA
94302013-05-23 Michael Albinus <michael.albinus@gmx.de>
9431
9432 * net/tramp-gvfs.el (top):
9433 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9434 when loading package. (Bug#14447)
9435
d361bc10
GM
94362013-05-23 Glenn Morris <rgm@gnu.org>
9437
8fa23984
GM
9438 * progmodes/js.el: No need to load comint when compiling.
9439 (ring-insert, comint-send-string, comint-send-input)
9440 (comint-last-input-end, ido-chop): Declare.
9441
a5c7df1a
GM
9442 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9443 * vc/ediff-mult.el: Adjust requires.
9444 (ediff-directories-internal, ediff-directory-revisions-internal)
9445 (ediff-patch-file-internal): Declare.
9446 * vc/ediff-ptch.el: Adjust requires.
9447 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9448 (ediff-find-file): Autoload.
9449 * vc/ediff-util.el: No need to load ediff when compiling.
9450 (ediff-regions-internal): Declare.
9451 * vc/ediff-wind.el: Adjust requires.
9452 (ediff-compute-toolbar-width): Define when compiling.
9453 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9454 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9455 (dired-get-filename, dired-get-marked-files)
9456 (ediff-last-dir-patch, ediff-patch-default-directory)
9457 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9458 (ediff-patch-buffer-internal): Declare.
9459
e2aec513
GM
9460 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9461 (ispell-process, ispell-buffer-local-words, lm-summary)
9462 (lm-section-start, lm-section-end): Declare.
9463 (checkdoc-ispell-init): Simplify.
9464
e68bbd7c
GM
9465 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9466 (he-string-member, he-reset-string, he-substitute-string): Declare.
9467
7efe0991
GM
9468 * eshell/em-ls.el: Adjust requires.
9469 (eshell-glob-regexp): Declare.
f87b1284
GM
9470 * eshell/em-tramp.el: Adjust requires.
9471 (eshell-parse-command): Autoload.
9472 * eshell/em-xtra.el: Adjust requires.
9473 (eshell-parse-command): Autoload.
9474 * eshell/esh-ext.el: Adjust requires.
9475 (eshell-parse-command, eshell-close-handles): Autoload.
9476 * eshell/esh-io.el: Adjust requires.
9477 (eshell-output-filter): Autoload.
9478 * eshell/esh-util.el: No need to load tramp when compiling.
9479 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9480 Declare.
9481 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9482 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9483 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9484 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9485 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9486 * eshell/esh-opt.el, eshell/esh-proc.el:
9487 * eshell/esh-var.el: Adjust requires.
9488 * eshell/eshell.el: Do not require esh-util twice.
9489 (eshell-add-input-to-history): Declare.
9490 (eshell-command): Check history module is active before using it.
9491
d361bc10
GM
9492 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9493
85d090a9
LL
94942013-05-22 Leo Liu <sdl.web@gmail.com>
9495
9496 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9497
5d0acd9d
MA
94982013-05-22 Michael Albinus <michael.albinus@gmx.de>
9499
9500 * autorevert.el (auto-revert-notify-add-watch)
9501 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9502 it indicates changes in file modification time.
9503
0cdffd7d
GM
95042013-05-22 Glenn Morris <rgm@gnu.org>
9505
ca5995ec
GM
9506 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9507 Always delete the autoloaded function from the noruntime and
9508 unresolved functions lists.
9509
6450907e
GM
9510 * allout.el: No need to load epa, epg, overlay when compiling.
9511 (epg-context-set-passphrase-callback, epg-list-keys)
9512 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9513 (epg-key-user-id-list): Declare.
9514
9c6906f6
GM
9515 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9516 (viper-set-parsing-style-toggling-macro)
9517 (viper-set-emacs-state-searchstyle-macros):
9518 Use called-interactively-p on Emacs.
9519 (viper-looking-back): Make it an obsolete alias. Update callers.
9520 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9521 Use looking-back rather than viper-looking-back.
9522 (viper-tmp-insert-at-eob, viper-enlarge-region)
9523 (viper-read-string-with-history, viper-register-to-point)
9524 (viper-append-to-register, viper-change-state-to-vi)
9525 (viper-backward-char-carefully, viper-forward-char-carefully)
9526 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9527 (viper-change-state-to-emacs): Declare.
9528 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9529 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9530 * emulation/viper-mous.el: Do not load viper-cmd.
9531 (viper-backward-char-carefully, viper-forward-char-carefully)
9532 (viper-forward-word, viper-adjust-window): Declare.
9533
5f70c169
GM
9534 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9535
b1b7f300
GM
9536 * progmodes/idlw-help.el (idlwave-help-fontify):
9537 Use called-interactively-p.
9538
f6ebbb46
GM
9539 * term/w32console.el (w32-get-console-codepage)
9540 (w32-get-console-output-codepage): Declare.
9541
0cdffd7d
GM
9542 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9543 Remove unnecessary declarations.
9544 (dframe-message): Doc fix.
9545
9546 * info.el (dframe-select-attached-frame, dframe-current-frame):
9547 Declare.
9548
9549 * speedbar.el (speedbar-message): Make it an obsolete alias.
9550 Update all callers.
9551 (speedbar-with-attached-buffer)
9552 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9553 (speedbar-with-writable): Use backquote.
9554 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9555 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9556 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9557 rather than speedbar- aliases.
9558 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9559 (speedbar-make-specialized-keymap, speedbar-insert-button)
9560 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9561 (speedbar-do-function-pointer): Declare.
9562 (rmail-speedbar-button, rmail-speedbar-find-file)
9563 (rmail-speedbar-move-message):
9564 Use dframe-with-attached-buffer rather than speedbar- alias.
9565 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9566 (dframe-message, speedbar-make-specialized-keymap)
9567 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9568 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9569 (speedbar-insert-button, dframe-select-attached-frame)
9570 (dframe-maybee-jump-to-attached-frame)
9571 (speedbar-change-initial-expansion-list)
9572 (speedbar-previously-used-expansion-list-name): Declare.
9573 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9574 Use dframe-message, dframe-with-attached-buffer rather than
9575 speedbar- aliases.
9576 (gud-sentinel): Silence compiler.
9577 * progmodes/vhdl-mode.el (speedbar-refresh)
9578 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9579 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9580 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9581 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9582 (speedbar-file-lists, speedbar-make-tag-line)
9583 (speedbar-line-directory, speedbar-goto-this-file)
9584 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9585 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9586 (speedbar-make-button, speedbar-reset-scanners)
9587 (speedbar-files-item-info, speedbar-line-text)
9588 (speedbar-find-file-in-frame, speedbar-set-timer)
9589 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9590 (speedbar-with-writable): Do not (re)define it.
9591 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9592 rather than speedbar- alias.
9593
ee44b62a
LL
95942013-05-21 Leo Liu <sdl.web@gmail.com>
9595
9596 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9597 menu items.
9598 (octave-mode): Tweak fill-nobreak-predicate.
9599 (inferior-octave-startup): Check process to avoid infinite loop.
9600 (inferior-octave): Pop to buffer first to show abornmal process
9601 exit information.
9602
640f050f
GM
96032013-05-21 Glenn Morris <rgm@gnu.org>
9604
79458038
GM
9605 * printing.el (pr-menu-bar): Define when compiling.
9606
9cc3e83f
LL
96072013-05-21 Leo Liu <sdl.web@gmail.com>
9608
9609 * progmodes/octave.el (octave-auto-fill): Remove.
9610 (octave-indent-new-comment-line): Improve.
9611 (octave-mode): Use auto fill mode through
4f405069 9612 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9613 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9614 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9615 (octave-help): Show parent directory.
9616
f440830d
GM
96172013-05-21 Glenn Morris <rgm@gnu.org>
9618
9619 * files.el (dired-unmark):
9620 * progmodes/gud.el (gdb-input): Update declarations.
9621
9622 * calculator.el (electric, ehelp): No need to load when compiling.
9623 (Electric-command-loop, electric-describe-mode): Declare.
9624
9625 * doc-view.el (doc-view-current-converter-processes): Move before use.
9626
9627 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9628 Move MODE-set-explicitly definition before use.
9629
9630 * international/mule-diag.el (mule-diag):
9631 Don't use obsolete window-system-version.
9632
9633 * mail/feedmail.el (smtpmail): No need to load when compiling.
9634 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9635
9636 * mail/mail-utils.el (rfc822): No need to load when compiling.
9637 (rfc822-addresses): Autoload it.
9638 (mail-strip-quoted-names): Trivial simplification.
9639
9640 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9641 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9642
9643 * net/snmp-mode.el (tempo): Don't duplicate requires.
9644
9645 * progmodes/prolog.el (info): No need to load when compiling.
9646 (comint): Require before shell requires it.
9647 (Info-goto-node): Autoload it.
9648 (Info-follow-nearest-node): Declare.
9649 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9650
9651 * textmodes/artist.el (picture-mode-exit): Declare.
9652
9653 * textmodes/reftex-parse.el (reftex-parse-from-file):
9654 Trivial rewrite so the compiler can parse it better.
9655
b4da2cbb
LL
96562013-05-20 Leo Liu <sdl.web@gmail.com>
9657
9658 * progmodes/octave.el (octave-help-mode-map)
9659 (octave-help-mode-finish-hook): New variables.
9660 (octave-help-mode, octave-help-mode-finish): New functions.
9661 (octave-help): Use octave-help-mode.
9662
33c0f65b
GM
96632013-05-20 Glenn Morris <rgm@gnu.org>
9664
9665 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9666
1a0a0a8a
DG
96672013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9668
9669 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9670 start at point, so that expansion starting right after opening
9671 slash in a regexp is recognized.
9672 (ruby-syntax-before-regexp-re): New defvar, extracted from
9673 ruby-syntax-propertize-function. Since the value of this regexp
9674 is looked up at runtime now, we should be able to turn
9675 `ruby-syntax-methods-before-regexp' into a defcustom later.
9676 (ruby-syntax-propertize-function): Split regexp matching into two
9677 parts, for opening and closing slashes. That allows us to skip
9678 over string interpolations and support multiline regexps.
9679 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9680 for them, which calls `ruby-syntax-propertize-expansion'.
9681 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9682 call to `ruby-syntax-propertize-function'.
9683 (ruby-syntax-propertize-expansion): Extracted from
9684 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9685 (ruby-syntax-propertize-percent-literal): Leave point right after
9686 the percent symbol, so that the expression expansion rule can
9687 propertize the contents.
462388b6
DG
9688 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9689 heredoc openers.
9690 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9691
c1a6c0a4
JL
96922013-05-18 Juri Linkov <juri@jurta.org>
9693
9694 * man.el (Man-default-man-entry): Remove `-' from the end
9695 of the default value. (Bug#14400)
9696
8051fccd
GM
96972013-05-18 Glenn Morris <rgm@gnu.org>
9698
9699 * comint.el (comint-password-prompt-regexp):
9700 Allow "password for XXX" where XXX contains colons (eg https://...).
9701
5e80b74f
LL
97022013-05-18 Leo Liu <sdl.web@gmail.com>
9703
9704 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9705 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9706 (octave-source-directories): Don't check process.
9707 (octave-source-directories, octave-find-definition): Doc fix.
9708
521a54c5
GM
97092013-05-18 Glenn Morris <rgm@gnu.org>
9710
86a94b05
GM
9711 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9712 Remove backspace/delete bindings. (Bug#14392)
9713
521a54c5
GM
9714 * cus-dep.el (custom-make-dependencies): Sort the output.
9715 (custom-versions-load-alist): Convert comment to doc.
9716
42caeb89
LL
97172013-05-17 Leo Liu <sdl.web@gmail.com>
9718
9719 * newcomment.el (comment-search-backward): Stricter in finding
9720 comment start. (Bug#14303)
9721
9722 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9723 (octave-comment-start-skip): Properly anchored.
9724
e219dd97
LL
97252013-05-17 Leo Liu <sdl.web@gmail.com>
9726
fe1eb856
RS
9727 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9728 Clean up when turned off. (Bug#14395)
e219dd97
LL
9729 (smie--highlight-matching-block-overlay): No longer buffer-local.
9730 (smie-highlight-matching-block): Adjust.
9731
dc5dcb4b
PE
97322013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9733
9734 Doc string fix for "nanoseconds" (Bug#14406).
9735 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9736 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9737
1db165f0
JB
97382013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9739
9740 * calc/calc-units.el (math-extract-units): Preserve powers
9741 of units.
9742
c7a8fcac
LL
97432013-05-17 Leo Liu <sdl.web@gmail.com>
9744
9745 * subr.el (delete-consecutive-dups): New function.
9746 * ido.el (ido-set-matches-1): Use it.
9747 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9748 * ido.el (ido-remove-consecutive-dups): Remove.
9749
f678b18a
SM
97502013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9753 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9754 regexp-opt's `words'.
9755
ebfe68e8
LL
97562013-05-16 Leo Liu <sdl.web@gmail.com>
9757
9758 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9759 (smie--highlight-matching-block-overlay)
9760 (smie--highlight-matching-block-lastpos)
9761 (smie--highlight-matching-block-timer): New variables.
9762 (smie-highlight-matching-block): New function.
9763 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9764 (smie-setup): Conditionally enable smie-blink-matching-open.
9765
bc8bc17d
WS
97662013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9767
9768 Sync with upstream verilog-mode r840.
9769 * progmodes/verilog-mode.el (verilog-mode-version)
9770 (verilog-mode-release-date): Update.
9771 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9772 (verilog-sig-tieoff): Fix string error on
9773 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9774 (verilog-read-decls): Fix parameters confusing
9775 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9776
df065a0b
EZ
97772013-05-16 Eli Zaretskii <eliz@gnu.org>
9778
9779 * subr.el (reveal-filename): New function.
9780
9781 * loadup.el: Compute Emacs executable versions on MS-Windows,
9782 where executables have the .exe extension. Add a hard link
9783 emacs-XX.YY.ZZ.exe on MS-Windows.
9784
9785 * Makefile.in (XARGS_LIMIT): New variable.
9786 (custom-deps, finder-data, autoloads)
9787 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9788 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9789 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9790 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9791
2d4bf34b
LL
97922013-05-16 Leo Liu <sdl.web@gmail.com>
9793
9794 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9795 (octave-mode-menu, octave-mode-map): Remove its uses.
9796
6b9c2d85
RZ
97972013-05-16 Reto Zimmermann <reto@gnu.org>
9798
9799 Sync with upstream vhdl mode v3.34.2.
9800 * progmodes/vhdl-mode.el: Use `push' throughout.
9801 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9802 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9803 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9804 (vhdl-actual-generic-name): New option to derive actual generic name.
9805 (vhdl-port-paste-signals): Replace formal by actual generics.
9806 (vhdl-beautify): New name for old group vhdl-align. Update users.
9807 (vhdl-beautify-options): New option.
9808 (vhdl-last-input-event): New compat alias. Use throughout.
9809 (vhdl-goto-line): Replace user level function `goto-line'.
9810 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9811 vhdl-fix-statement-buffer.
9812 (vhdl-create-mode-menu): Add some entries.
9813 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9814 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9815 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9816 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9817 to force statements on one line.
9818 (vhdl-remove-trailing-spaces-region):
9819 New, split from vhdl-remove-trailing-spaces.
9820 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9821 Respect vhdl-beautify-options.
9822 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9823 (vhdl-update-sensitivity-list): Not add with index if exists without.
9824 Not include array index with signal. Ignore keywords in comments.
9825 (vhdl-get-visible-signals): Regexp tweaks.
9826 (vhdl-template-component-inst): Handle empty library.
9827 (vhdl-template-type): Add template for 'enum' type.
9828 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9829 Use vhdl-replace-string.
9830 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9831 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9832 (vhdl-speedbar-initialize): Update for above name change.
9833 (vhdl-compose-wire-components): Fix in handling of constants.
9834 (vhdl-error-regexp-emacs-alist): New variable.
9835 (vhdl-error-regexp-add-emacs): New function;
9836 adds support for new compile.el (Emacs 22+)
9837 (vhdl-generate-makefile-1): Change target order for single lib. units.
9838 Allow use of absolute file names.
9839
9df4ec5e
LL
98402013-05-16 Leo Liu <sdl.web@gmail.com>
9841
9842 * simple.el (prog-indent-sexp): Indent enclosing defun.
9843
f5ba00a6
GM
98442013-05-15 Glenn Morris <rgm@gnu.org>
9845
ed8be7ff
GM
9846 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9847 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9848 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9849 (whitespace-highlight): Move to whitespace group.
9850
9851 * comint.el (comint-source):
9852 * pcmpl-linux.el (pcmpl-linux):
9853 * shell.el (shell-faces):
9854 * eshell/esh-opt.el (eshell-opt):
9855 * international/ccl.el (ccl): Remove empty custom groups.
9856
9857 * completion.el (dynamic-completion-mode):
9858 * jit-lock.el (jit-lock-debug-mode):
9859 * minibuffer.el (completion-in-region-mode):
9860 * type-break.el (type-break-mode-line-message-mode)
9861 (type-break-query-mode):
9862 * emulation/tpu-edt.el (tpu-edt-mode):
9863 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9864 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9865 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9866
9867 * term/xterm.el (xterm): Change parent group to terminals.
9868
9869 * master.el (master): Remove empty custom group.
9870 (master-mode): Remove unused :group argument.
9871 * textmodes/refill.el (refill): Remove empty custom group.
9872 (refill-mode): Remove unused :group argument.
9873
9874 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9875
82a7c41b
GM
9876 * cus-dep.el: Provide a feature.
9877 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9878 Don't mistakenly ignore files whose basenames match a basename
9879 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9880 Add a fallback method for getting :group.
f5ba00a6 9881
6d65486d
JL
98822013-05-15 Juri Linkov <juri@jurta.org>
9883
da547b32
JL
9884 * isearch.el (isearch-char-by-name): Rename from
9885 `isearch-insert-char-by-name'. Doc fix.
9886 (isearch-forward): Mention `isearch-char-by-name' in
9887 the docstring. (Bug#13348)
9888
6d65486d
JL
9889 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9890 `exit-minibuffer' instead of
9891 `isearch-nonincremental-exit-minibuffer'.
9892 (isearch-edit-string): Remove mention of
9893 `isearch-nonincremental-exit-minibuffer' from docstring.
9894 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9895 (isearch-forward-exit-minibuffer)
9896 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9897
c9990474
SM
98982013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9899
6e911150
SM
9900 * loadup.el: Just use unversioned DOC.
9901
c9990474
SM
9902 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9903 literals as extending to EOB.
9904 (nxml-last-fontify-end): Remove unused variable.
9905 (nxml-after-change1): Use with-silent-modifications.
9906 (nxml-extend-after-change-region): Simplify.
9907 (nxml-extend-after-change-region1): Remove function.
9908 (nxml-after-change1): Don't adjust for dependent regions.
9909 (nxml-fontify-matcher): Simplify.
9910 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9911 (xmltok-add-dependent): Remove function.
9912 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9913 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9914 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9915 unclosed <[[, <?, comment, and other literals as extending to EOB.
9916 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9917 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9918 Remove functions.
9919 (rng-do-some-validation-1): Don't mark dependent regions.
9920 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9921 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9922 (nxml-clear-dependent-regions): Remove functions.
9923 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9924 (nxml-ensure-scan-up-to-date):
9925 Don't clear&mark dependent regions.
9926
e3772e98
LL
99272013-05-15 Leo Liu <sdl.web@gmail.com>
9928
c9990474
SM
9929 * progmodes/octave.el (octave-goto-function-definition):
9930 Improve and fix callers.
e3772e98 9931
5ac2eb34
SM
99322013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9933
c46c57b0
SM
9934 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9935 the setter (bug#14387).
9936
5ac2eb34
SM
9937 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9938 surrounding group (bug#14402).
9939
180ed218
JL
99402013-05-14 Juri Linkov <juri@jurta.org>
9941
9942 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9943 (Bug#14390)
9944
0ac0fecb
GM
99452013-05-14 Glenn Morris <rgm@gnu.org>
9946
9947 * progmodes/f90.el (f90-imenu-generic-expression):
9948 Fix typo in 2013-05-08 change. (Bug#14402)
9949
2e78e6a7
JPG
99502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9951
5ac2eb34
SM
9952 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9953 Remove signals for which replies are never received.
2e78e6a7 9954
53267cca
JPG
99552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9956
9957 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9958 (gdb-handler-alist, gdb-handler-number): Remove variables.
9959 (gdb-handler-list): New variable.
9960 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9961 (gdb-pending-handler-p, gdb-handle-reply)
9962 (gdb-remove-all-pending-triggers): New functions.
9963 (gdb-discard-unordered-replies): New defcustom.
9964 (gdb-handler): New defstruct.
9965 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9966 instead of gdb-pending-triggers. Update docstring.
9967 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9968 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9969 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9970 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9971 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9972 (gdb-frame-handler): Pending triggers are now automatically managed.
9973 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9974 Remove argument.
9975 (gdb-input): Automatically handles pending triggers. Update docstring.
9976 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9977 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9978 Update comments.
9979 (gdb-done-or-error): Now use gdb-handle-reply.
9980
d04ce803
JPG
99812013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9982
9983 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9984 gdb-debug-log.
9985
0114073a
GM
99862013-05-14 Glenn Morris <rgm@gnu.org>
9987
9988 * subr.el (user-emacs-directory-warning): New option.
9989 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9990
4d25fd7e
LL
99912013-05-14 Leo Liu <sdl.web@gmail.com>
9992
9993 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9994 during redisplay.
9995 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9996 (octave-font-lock-texinfo-comment): Fix invalid search bound
9997 error: wrong side of point.
4d25fd7e 9998
27c8b6eb
GM
99992013-05-14 Glenn Morris <rgm@gnu.org>
10000
61aaeb01
GM
10001 * progmodes/flymake.el (flymake-xml-program): New option.
10002 (flymake-xml-init): Use it.
10003
5bf90bc5
GM
10004 * term/xterm.el: Provide a feature.
10005
10006 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10007
f4c7dfd2
GM
100082013-05-13 Glenn Morris <rgm@gnu.org>
10009
10010 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10011 Add compat aliases as a hack workaround. (Bug#14384)
10012
2aeb3a1d
LL
100132013-05-13 Leo Liu <sdl.web@gmail.com>
10014
b0e069c2
LL
10015 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10016 ###, and %!.
f5a9432f
LL
10017 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10018 C-M-q.
b0e069c2
LL
10019 (octave-comment-start-skip): Include %!.
10020 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10021
30ea8374
LL
100222013-05-12 Leo Liu <sdl.web@gmail.com>
10023
10024 * progmodes/octave.el (inferior-octave-startup): Store the value
10025 of __octave_srcdir__ for octave-source-directories.
10026 (inferior-octave-check-process): New function refactored out of
10027 inferior-octave-send-list-and-digest.
10028 (octave-source-directories)
10029 (octave-find-definition-filename-function): New variables.
10030 (octave-source-directories)
10031 (octave-find-definition-default-filename): New functions.
10032 (octave-find-definition): Improve to find functions implemented in C++.
10033
472a3834
GM
100342013-05-12 Glenn Morris <rgm@gnu.org>
10035
10036 * calendar/diary-lib.el (diary-outlook-format-1):
10037 Don't include dayname in the output. (Bug#14349)
10038
3191b52f
GM
100392013-05-11 Glenn Morris <rgm@gnu.org>
10040
0060ac73
GM
10041 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10042
3191b52f
GM
10043 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10044 Treat cc-provide like provide.
10045
e065ba74
KR
100462013-05-11 Kevin Ryde <user42@zip.com.au>
10047
10048 * cus-dep.el (custom-make-dependencies):
10049 Use generated-autoload-load-name for the sake of files such
10050 such cedet/semantic/bovine/c.el, where the base file name
10051 is not in load-path. (Bug#5277)
10052
36f84c37
GM
100532013-05-11 Glenn Morris <rgm@gnu.org>
10054
10055 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10056 Provide features.
10057
c8730c3a
LL
100582013-05-11 Leo Liu <sdl.web@gmail.com>
10059
10060 * progmodes/octave.el (octave-indent-comment): Improve.
10061 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10062 (octave-eldoc-function-signatures, octave-eldoc-function):
10063 New functions.
c8730c3a
LL
10064 (octave-mode, inferior-octave-mode): Add eldoc support.
10065
212e29f2
RS
100662013-05-11 Richard Stallman <rms@gnu.org>
10067
10068 * epa.el (epa-decrypt-file): Take output file name as argument
10069 and read it using `interactive'.
10070
083fe0d7
LL
100712013-05-11 Leo Liu <sdl.web@gmail.com>
10072
10073 * progmodes/octave.el (octave-beginning-of-line)
10074 (octave-end-of-line): Check before using up-list because it jumps
10075 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10076 (octave-indent-comment): New function.
10077 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10078 (octave-begin-keywords, octave-end-keywords)
10079 (octave-reserved-words, octave-smie-bnf-table)
10080 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10081
8582e4c4
GM
100822013-05-11 Glenn Morris <rgm@gnu.org>
10083
f20def1f
GM
10084 * faces.el (internal-face-x-get-resource):
10085 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10086 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10087 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10088 Fix declarations.
f20def1f 10089
445f95e2
GM
10090 * calc/calc-menu.el: Make it loadable in isolation.
10091
10092 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10093 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10094 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10095 (eudc-bbdb-query-internal): Require 'bbdb.
10096
99fb2756
GM
10097 * lpr.el (lpr-headers-switches):
10098 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10099
10100 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10101
0da7ad96
GM
10102 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10103
8582e4c4
GM
10104 * term.el (term-set-escape-char): Make it idempotent.
10105
f71c50d0
LL
101062013-05-10 Leo Liu <sdl.web@gmail.com>
10107
5ac2eb34
SM
10108 * progmodes/octave.el (inferior-octave-completion-table):
10109 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10110 completion due to bug#11906.
10111 (octave-beginning-of-defun): Re-write to be more general.
10112
d5837773
GM
101132013-05-10 Glenn Morris <rgm@gnu.org>
10114
10115 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10116
027c0f75
SM
101172013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * comint.el (comint-redirect-send-command-to-process): Use :around
10120 rather than :override for comint-redirect-filter.
10121 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10122 Call it instead of comint-redirect-original-filter-function (which
10123 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10124
4465bfb4
JD
101252013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10126
10127 * frame.el (display-monitor-attributes-list): Add NS case.
10128 (ns-display-monitor-attributes-list): Declare.
10129
2d809ffa 101302013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10131
10132 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10133
e54eeb9b
GM
101342013-05-09 Glenn Morris <rgm@gnu.org>
10135
56cd351d
GM
10136 * international/fontset.el (vertical-centering-font-regexp):
10137 Set standard-value.
10138
d84b6108
GM
10139 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10140
a931698a
GM
10141 * bookmark.el (bookmark-search-delay):
10142 * cus-start.el (vertical-centering-font-regexp):
10143 * ps-mule.el (ps-mule-font-info-database-default):
10144 * ps-print.el (ps-default-fg, ps-default-bg):
10145 * type-break.el (type-break-good-break-interval):
10146 * whitespace.el (whitespace-indentation-regexp)
10147 (whitespace-space-after-tab-regexp):
10148 * emacs-lisp/testcover.el (testcover-1value-functions)
10149 (testcover-noreturn-functions, testcover-progn-functions)
10150 (testcover-prog1-functions):
10151 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10152 * eshell/em-glob.el (eshell-glob-translate-alist):
10153 * play/tetris.el (tetris-tty-colors):
10154 * progmodes/cpp.el (cpp-face-default-list):
10155 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10156 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10157 (idlwave-help-browser-generic-args):
10158 * progmodes/make-mode.el (makefile-special-targets-list):
10159 * progmodes/python.el (python-shell-virtualenv-path):
10160 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10161 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10162 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10163 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10164 * textmodes/reftex-vars.el (reftex-format-label-function):
10165 * textmodes/remember.el (remember-diary-file): Fix custom types.
10166
e54eeb9b
GM
10167 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10168 Add :version.
10169
455851dd
LL
101702013-05-09 Leo Liu <sdl.web@gmail.com>
10171
10172 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10173 Restore file completion. (Bug#14300)
455851dd
LL
10174 (inferior-octave-startup): Fix incorrect highlighting for the
10175 first prompt.
10176
a9e4425b
SM
101772013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * progmodes/ruby-mode.el: First cut at SMIE support.
10180 (ruby-use-smie): New var.
10181 (ruby-smie-grammar): New constant.
10182 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10183 (ruby-smie--forward-token, ruby-smie--backward-token)
10184 (ruby-smie-rules): New functions.
10185 (ruby-mode-variables): Setup SMIE if applicable.
10186
060ca408
EZ
101872013-05-08 Eli Zaretskii <eliz@gnu.org>
10188
10189 * simple.el (line-move-visual): Signal beginning/end of buffer
10190 only if vertical-motion moved less than it was requested. Avoids
10191 silly incorrect error messages when there are display strings with
10192 multiple newlines at EOL.
10193
1d5963cc
SM
101942013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10197 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10198 (prolog-char-quote-workaround):
10199 * progmodes/cperl-mode.el (cperl-under-as-char):
10200 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10201 Mark as obsolete.
10202 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10203 their declaration.
10204 (vhdl-mode-syntax-table-init): Remove.
10205
c9990474
SM
10206 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10207 last change.
1d5963cc
SM
10208
10209 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10210 syntax for "_".
10211 (ld-script-font-lock-keywords):
10212 Change regexps to use things like \_< and \_>.
10213
10214 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10215 Change all regexps to use things like \_< and \_>.
10216
10217 * progmodes/autoconf.el (autoconf-definition-regexp)
10218 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10219 Handle a _ with symbol syntax.
10220 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10221
c9990474
SM
10222 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10223 Consolidate declaration.
1d5963cc
SM
10224 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10225 the declaration.
10226 (ada-create-syntax-table): Remove.
10227 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10228 already has the right syntax nowadays.
10229 (ada-goto-next-word): Don't change the syntax of "_".
10230
10231 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10232 with-wrapper-hook.
10233
72d3cfca
SS
102342013-05-08 Sam Steingold <sds@gnu.org>
10235
10236 * thingatpt.el (thing-at-point): Accept optional second argument
10237 NO-PROPERTIES to strip the text properties from the return value.
10238 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10239 to `thing-at-point' instead of stripping the properties ourselves.
10240 Also, when `thing-at-point' fails to find a url, prepend "http://"
10241 to the filename at point on the assumption that the user is
10242 pointing at something like gnu.org/gnu.
10243
5cb15713
JB
102442013-05-08 Juanma Barranquero <lekktu@gmail.com>
10245
10246 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10247 * faces.el (crm-separator):
10248 Silence byte-compiler.
10249
10250 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10251 (tool-bar-map): Remove unneeded defvars.
10252
ea78b95b
LL
102532013-05-08 Leo Liu <sdl.web@gmail.com>
10254
10255 Re-work a fix for bug#10994 based on Le Wang's patch.
10256 * ido.el (ido-remove-consecutive-dups): New helper.
10257 (ido-completing-read): Use it.
10258 (ido-chop): Revert fix for bug#10994.
10259
dc7466df
AS
102602013-05-08 Adam Spiers <emacs@adamspiers.org>
10261
10262 * cus-edit.el (custom-save-variables):
10263 Pretty-print long values. (Bug#14187)
10264
9ecf672a
GM
102652013-05-08 Glenn Morris <rgm@gnu.org>
10266
10267 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10268 (m4-mode-syntax-table): Init in the defvar.
10269 (m4-mode-abbrev-table): Let define-derived-mode define it.
10270
3f555be8
TT
102712013-05-08 Tom Tromey <tromey@redhat.com>
10272
10273 * progmodes/m4-mode.el (m4-mode-syntax-table):
10274 Do not treat "_" as word constituent. (Bug#14167)
10275
7cc8ae06
GM
102762013-05-07 Glenn Morris <rgm@gnu.org>
10277
4f58bc06
GM
10278 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10279 Remove explicit eshell-isearch-cancel-map.
10280
7cc8ae06
GM
10281 * progmodes/f90.el (f90-smart-end-names): New option.
10282 (f90-smart-end): Doc fix.
10283 (f90-end-block-optional-name): New constant.
10284 (f90-block-match): Respect f90-smart-end-names.
10285
ceb57e59
SM
102862013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10289 about implicit semi-colons (bug#14218).
10290
4e3f9230
YM
102912013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10292
10293 * frame.el (display-monitor-attributes-list)
10294 (frame-monitor-attributes): New functions.
10295
203a5572
LL
102962013-05-06 Leo Liu <sdl.web@gmail.com>
10297
10298 * progmodes/octave.el (octave-syntax-propertize-function): Change
10299 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10300 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10301 (octave-completion-at-point): Rename from
203a5572
LL
10302 octave-completion-at-point-function.
10303 (inferior-octave-directory-tracker): Robustify.
10304 (octave-text-functions): Remove and fix its uses. No such things
10305 any more.
10306
ee6cff99
SM
103072013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * emacs-lisp/trace.el (trace--display-buffer): New function.
10310 (trace-make-advice): Use it.
10311
32985194
JL
103122013-05-06 Juri Linkov <juri@jurta.org>
10313
10314 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10315 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10316 Doc fix.
10317 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10318 in the help string. (Bug#12985)
10319
a1c700de
KD
103202013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10321
10322 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10323
c67c0839
SM
103242013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10325
323885fd
SM
10326 * progmodes/perl-mode.el: Add support for here documents.
10327 (perl-syntax-propertize-function): Match here-doc markers.
10328 (perl-syntax-propertize-special-constructs): Find their end.
10329 (perl-imenu-generic-expression): Use [:alnum:].
10330
c67c0839
SM
10331 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10332 (advice--add-function): Refresh the advice if already present
10333 (bug#14317).
10334
d491e7a8
IA
103352013-05-06 Ivan Andrus <darthandrus@gmail.com>
10336
10337 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10338
ddf9925e
GM
103392013-05-06 Glenn Morris <rgm@gnu.org>
10340
7cc3af27
GM
10341 * w32-fns.el (w32-charset-info-alist): Declare.
10342
16e343d6
GM
10343 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10344 of its defcustom properties.
10345 (eshell-cmpl-initialize): No need to load pcomplete.
10346
7d889a47
GM
10347 * generic-x.el: No need to require comint when compiling.
10348
ddf9925e
GM
10349 * net/eudc-export.el: Make it loadable without bbdb.
10350 (top-level): Use require rather than load-library.
10351 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10352 (eudc-batch-export-records-to-bbdb)
10353 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10354 Require bbdb.
10355
1e2c18df
SM
103562013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10359 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10360 some tweaks, instead.
10361
02502a5f
LL
103622013-05-05 Leo Liu <sdl.web@gmail.com>
10363
10364 * progmodes/octave.el (octave-font-lock-keywords)
10365 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10366 (inferior-octave-send-list-and-digest): Improve error message.
10367 (octave-mode, inferior-octave-mode): Use setq-local.
10368 (octave-help): Set info-lookup-mode.
10369
0dc04f42
RS
103702013-05-05 Richard Stallman <rms@gnu.org>
10371
6c54491c
RS
10372 * vc/compare-w.el (compare-windows-whitespace):
10373 Treat no-break space as whitespace.
10374
0dc04f42
RS
10375 * mail/rmailsum.el (rmail-summary-rmail-update):
10376 Detect empty summary and don't change selected message.
10377 (rmail-summary-goto-msg): Likewise.
10378
df8f35df
RS
10379 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10380 Doc fixes, rename args.
10381
5356e1a3
AM
103822013-05-05 Alan Mackenzie <acm@muc.de>
10383
10384 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10385
d44014cb
JL
103862013-05-05 Juri Linkov <juri@jurta.org>
10387
10388 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10389 to not add the length of the summary segment to the return value.
10390 (Bug#14125)
10391
c129b51f
LL
103922013-05-05 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10395 (inferior-octave-output-filter): Remove.
10396 (octave-send-region, inferior-octave-startup): Fix callers.
10397 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10398 (octave-binary-file-extensions): New user variable.
10399 (octave-find-definition): Confirm if opening binary files.
10400 (octave-help-file): Use octave-find-definition to get the binary
10401 confirmation.
10402 (octave-help): Adjust for octave-help-file change.
10403
aa7dab97
SM
104042013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10407 Merge the two entries that handle function definitions.
10408 (pascal--syntax-propertize): New const.
10409 (pascal-mode): Use it. Use setq-local.
10410
fd3a9a6b
GM
104112013-05-04 Glenn Morris <rgm@gnu.org>
10412
10413 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10414 (diary-from-outlook): Respect diary-from-outlook-function.
10415
30c7e542
SM
104162013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10419 Move the declaration from C.
10420 (read-minibuffer, eval-minibuffer): Move from C.
10421 (completion-setup-function): Avoid minibuffer-completion-contents.
10422
b54f978b
LL
104232013-05-03 Leo Liu <sdl.web@gmail.com>
10424
10425 * progmodes/octave.el (octave-font-lock-keywords): Do not
10426 dehighlight 'end' in comments or strings.
30c7e542
SM
10427 (octave-completing-read, octave-goto-function-definition):
10428 New helpers.
d4d0f9b3
LL
10429 (octave-help-buffer): New user variable.
10430 (octave-help-file, octave-help-function): New button types.
10431 (octave-help): New command and bind it to C-h ;.
10432 (octave-find-definition): New command and bind it to M-.
d74a1581 10433 (user-error): Alias to error if not defined.
b54f978b 10434
27135018
LL
104352013-05-02 Leo Liu <sdl.web@gmail.com>
10436
10437 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10438 for \. (bug#14332)
10439 (octave-font-lock-keywords): Include [ and {.
10440
0d634d3a
LL
104412013-05-02 Leo Liu <sdl.web@gmail.com>
10442
10443 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10444 (inferior-octave): Remove calling comint-mode and return the buffer.
10445 (inferior-octave-startup): Cosmetic changes.
10446
b4c8295e
LL
104472013-05-02 Leo Liu <sdl.web@gmail.com>
10448
30c7e542
SM
10449 * progmodes/octave.el (octave-syntax-propertize-function):
10450 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10451
f12ad6ec
GM
104522013-05-02 Glenn Morris <rgm@gnu.org>
10453
10454 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10455 * desktop.el (vc-dir-mode): Just autoload it here.
10456
30cac1e0
AM
104572013-05-02 Alan Mackenzie <acm@muc.de>
10458
10459 Eliminate variable c-standard-font-lock-fontify-region-function.
10460 * progmodes/cc-mode.el
10461 (c-standard-font-lock-fontify-region-function): Remove.
10462 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10463
d8ef28b1
LL
104642013-05-01 Leo Liu <sdl.web@gmail.com>
10465
2640d52e 10466 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10467 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10468 variables were removed from Octave in 2007.
d8ef28b1
LL
10469 (inferior-octave-startup): Fix uses.
10470 (comint-line-beginning-position): Remove compatibility code for
10471 emacs 21.
10472
ac63ec89
JL
104732013-05-01 Juri Linkov <juri@jurta.org>
10474
10475 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10476
9e9be37c
JL
104772013-05-01 Juri Linkov <juri@jurta.org>
10478
10479 * comint.el (comint-previous-matching-input): Don't print message
10480 "History item: %d" when `isearch-mode' is active.
10481 (comint-history-isearch-message): Print message "History item: %d"
10482 when `comint-input-ring-index' is not empty and this function is
10483 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10484
9b92c13b
LL
104852013-05-01 Leo Liu <sdl.web@gmail.com>
10486
10487 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10488 definitions. Use completion-at-point to insert keywords.
10489 (octave-abbrev-start): Remove.
10490 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10491
b12d33d7
LL
104922013-04-30 Leo Liu <sdl.web@gmail.com>
10493
10494 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10495 change.
10496
3d1c39fa
AM
104972013-04-30 Alan Mackenzie <acm@muc.de>
10498
10499 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10500 * progmodes/cc-engine.el (c-back-over-member-initializers):
10501 new function.
3d1c39fa
AM
10502 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10503 (most) member init lists.
10504
5147fc17
RS
105052013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10506
10507 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10508 variable.
10509
5b78d7fc
LL
105102013-04-30 Leo Liu <sdl.web@gmail.com>
10511
10512 * progmodes/octave.el (octave-variables): Remove. No builtin
10513 variables any more. All converted to functions.
10514 (octave-font-lock-keywords, octave-completion-at-point-function):
10515 Fix uses.
10516 (octave-font-lock-texinfo-comment): New user variable.
10517 (octave-texinfo-font-lock-keywords): New variable for texinfo
10518 comment block.
10519 (octave-function-comment-block): New face.
10520 (octave-font-lock-texinfo-comment): New function.
10521 (octave-mode): Font lock texinfo comment block.
10522
38d8527b
LL
105232013-04-29 Leo Liu <sdl.web@gmail.com>
10524
10525 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10526 indexing expression.
10527 (octave-continuation-string): Do not use \.
10528 (inferior-octave-complete-impossible): Remove.
10529 (inferior-octave-completion-table)
10530 (inferior-octave-completion-at-point): Remove its uses.
10531 (inferior-octave-startup): completion_matches was introduced to
10532 Octave in 1996 so safe to assume it.
10533 (octave-function-file-comment): Improve to follow how Octave does it.
10534 (octave-update-function-file-comment): Tweak.
10535
2ec12cb0
LL
105362013-04-29 Leo Liu <sdl.web@gmail.com>
10537
10538 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10539 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10540 (octave-function-file-comment): Fix typo.
10541 (octave-sync-function-file-names): Use read-char-choice.
10542
6eaed048
JB
105432013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10544
10545 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10546 to t for the less important warnings.
10547
3ffa2d4f
DH
105482013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10549
10550 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10551
685c9501
GM
105522013-04-27 Glenn Morris <rgm@gnu.org>
10553
10554 * vc/log-view.el (log-view-current-entry):
10555 Treat "---" separator lines as part of the following rev. (Bug#14169)
10556
0208ede7
JL
105572013-04-27 Juri Linkov <juri@jurta.org>
10558
10559 * subr.el (read-number): Doc fix about using it by interactive
10560 code letter `n'. (Bug#14254)
10561
5db9dace
JL
105622013-04-27 Juri Linkov <juri@jurta.org>
10563
10564 * desktop.el (desktop-auto-save-timeout): New option.
10565 (desktop-file-checksum): New variable.
10566 (desktop-save): Add optional arg `auto-save' and don't auto-save
10567 if nothing changed.
10568 (desktop-auto-save-timer): New variable.
10569 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10570 (after-init-hook): Call `desktop-auto-save-set-timer'.
10571 Suggested by Reuben Thomas <rrt@sc3d.org> in
10572 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10573
b7260dd4
LL
105742013-04-27 Leo Liu <sdl.web@gmail.com>
10575
10576 * progmodes/octave.el (octave-function-file-p)
10577 (octave-skip-comment-forward, octave-function-file-comment)
10578 (octave-update-function-file-comment): New functions.
10579 (octave-mode-map): Bind C-c ; to
10580 octave-update-function-file-comment.
10581 (octave-mode-menu): Add octave-update-function-file-comment.
10582 (octave-mode, inferior-octave-mode): Fix doc-string.
10583 (octave-insert-defun): Conform to Octave's coding convention.
10584 (Bug#14285)
10585
10586 * files.el (basic-save-buffer): Don't let errors in
10587 before-save-hook prevent saving buffer.
10588
c46da669
RW
105892013-04-20 Roland Winkler <winkler@gnu.org>
10590
10591 * faces.el (read-face-name): Use completing-read if arg multiple
10592 is nil.
10593
a81ee1eb
IL
105942013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10595
10596 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10597 displayed, move point to after the totals line.
10598 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10599 for the details.
10600
4fac34ce
SM
106012013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10602
10603 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10604 Add current dir to the load-path.
10605 (package-generate-autoloads): Don't rely on
10606 autoload-ensure-default-file.
10607
f6bfc063
RT
106082013-04-26 Reuben Thomas <rrt@sc3d.org>
10609
d40ab5cf
BG
10610 * textmodes/remember.el (remember-store-in-files): Document that
10611 the file name format is passed to `format-time-string'.
f6bfc063 10612
e55d3b04
LL
106132013-04-26 Leo Liu <sdl.web@gmail.com>
10614
10615 * progmodes/octave.el (octave-sync-function-file-names): New function.
10616 (octave-mode): Use it in before-save-hook.
10617
e53052d3
SM
106182013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10619
140ef50c
SM
10620 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10621 (bug#14274).
10622
e53052d3
SM
10623 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10624 \n and comment, even if it's not an implicit ; (bug#14218).
10625
af80458d 106262013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10627
10628 * subr.el (read-number): Once more use `read' rather than
10629 `string-to-number', to trap non-numeric input. (Bug#14254)
10630
af80458d 106312013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10632
10633 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10634 Use `syntax-multiline' text property consistently instead of
8a621d53 10635 `font-lock-multiline'. (Bug#14237)
70203c2e 10636
e6ea1f6c
GM
106372013-04-26 Glenn Morris <rgm@gnu.org>
10638
10639 * emacs-lisp/shadow.el (list-load-path-shadows):
10640 No longer necessary to check for duplicate simple.el, since
10641 2012-07-07 change to init_lread to not include installation lisp
10642 directories in load-path when running uninstalled. (Bug#14270)
10643
070ccca4
LL
106442013-04-26 Leo Liu <sdl.web@gmail.com>
10645
10646 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10647 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10648 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10649 octave-in-string-or-comment-p.
10650 (octave-in-comment-p, octave-in-string-p)
10651 (octave-in-string-or-comment-p): Replace defsubst with defun.
10652
9d1c5fb6
PE
106532013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10654
10655 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10656
c034abda
BG
106572013-04-25 Bastien Guerry <bzg@gnu.org>
10658
10659 * textmodes/remember.el (remember-data-directory)
10660 (remember-directory-file-name-format): Fix custom types.
10661
584ea277
LL
106622013-04-25 Leo Liu <sdl.web@gmail.com>
10663
e53052d3
SM
10664 * progmodes/octave.el (octave-completion-at-point-function):
10665 Make use of inferior octave process.
584ea277
LL
10666 (octave-initialize-completions): Remove.
10667 (inferior-octave-completion-table): New function.
10668 (inferior-octave-completion-at-point): Use it.
10669 (octave-completion-alist): Remove.
10670
1693b06a
SM
106712013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10672
10673 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10674 (opascal-mode-syntax-table): New var.
10675 (opascal-literal-kind, opascal-is-literal-end)
10676 (opascal-literal-token-at): Rewrite.
10677 (opascal--literal-start-re, opascal-font-lock-keywords)
10678 (opascal--syntax-propertize): New constants.
10679 (opascal-font-lock-defaults): Adjust.
10680 (opascal-mode): Use them. Set comment-<foo> variables as well.
10681 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10682 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10683 (delphi-other-face, opascal-other-face): Remove face variables.
10684 (opascal-save-state): Remove macro.
10685 (opascal-fontifying-progress-step): Remove constant.
10686 (opascal--ignore-changes): Remove var.
10687 (opascal-set-token-property, opascal-parse-next-literal)
10688 (opascal-is-stable-literal, opascal-complete-literal)
10689 (opascal-is-literal-start, opascal-face-of)
10690 (opascal-parse-region, opascal-parse-region-until-stable)
10691 (opascal-fontify-region, opascal-after-change)
10692 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10693 (opascal-debug-parse-region, opascal-debug-parse-window)
10694 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10695 (opascal-debug-fontify-buffer): Remove.
10696 (opascal-debug-mode-map): Adjust accordingly.
10697
be64c05d
LL
106982013-04-25 Leo Liu <sdl.web@gmail.com>
10699
10700 Merge octave-mod.el and octave-inf.el into octave.el with some
10701 cleanups.
10702 * progmodes/octave.el: New file renamed from octave-mod.el.
10703 * progmodes/octave-inf.el: Merged into octave.el.
10704 * progmodes/octave-mod.el: Renamed to octave.el.
10705
d79d37bd
TH
107062013-04-25 Tassilo Horn <tsdh@gnu.org>
10707
10708 * textmodes/reftex-vars.el
10709 (reftex-label-ignored-macros-and-environments): New defcustom.
10710
10711 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10712
ced3fc5d
SM
107132013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10716 (smie-indent-keyword): Improve the check to ensure that the next
10717 comment is really on the same line.
10718 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10719
10720 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10721 semi-colons if the line is not otherwise empty (bug#14218).
10722
1c141dad
GM
107232013-04-25 Glenn Morris <rgm@gnu.org>
10724
10725 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10726
5058062a
SM
107272013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * progmodes/opascal.el (opascal-set-token-property): Rename from
10730 opascal-set-text-properties and only set `token' (bug#14134).
10731 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10732 (opascal-literal-text-properties): Remove.
10733 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10734 Adjust callers.
10735
5db9dace 107362013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10737
10738 * textmodes/remember.el (remember-handler-functions): Add an
10739 option for a new handler `remember-store-in-files'.
10740 (remember-data-directory, remember-directory-file-name-format):
10741 New options.
10742 (remember-store-in-files): New function to store remember notes
10743 as separate files within a directory.
10744
4391916c
MH
107452013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10746
10747 * progmodes/compile.el (compilation-next-error-function):
10748 Pass "formats" to compilation-find-file (bug#11777).
10749
bb7cdf58
GM
107502013-04-24 Glenn Morris <rgm@gnu.org>
10751
3b8fe752 10752 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10753 * vc/vc-hg.el (vc-hg-print-log):
10754 * vc/vc-svn.el (vc-svn-print-log):
10755 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10756
bb7cdf58
GM
10757 * vc/vc-bzr.el (vc-bzr-print-log):
10758 * vc/vc-cvs.el (vc-cvs-print-log):
10759 * vc/vc-git.el (vc-git-print-log):
10760 * vc/vc-hg.el (vc-hg-print-log):
10761 * vc/vc-mtn.el (vc-mtn-print-log):
10762 * vc/vc-rcs.el (vc-rcs-print-log):
10763 * vc/vc-sccs.el (vc-sccs-print-log):
10764 * vc/vc-svn.el (vc-svn-print-log):
10765 * vc/vc.el (vc-print-log-internal): Doc fixes.
10766
b46a056e
GM
107672013-04-23 Glenn Morris <rgm@gnu.org>
10768
10769 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10770 Remove venerable code attempting to avoid substitute-command-keys.
10771
0aecf718
TH
107722013-04-23 Tassilo Horn <tsdh@gnu.org>
10773
4391916c
MH
10774 * textmodes/reftex-vars.el (reftex-label-regexps):
10775 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10776
117f94cf
SM
107772013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10778
4391916c 10779 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10780 Use lexical-binding.
10781 (jit-lock-force-redisplay): Use markers, check buffer's continued
10782 existence and beware narrowed buffers.
10783 (jit-lock-fontify-now): Adjust call accordingly.
10784
1d829c64
SM
107852013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10788 to avoid misleading the user.
10789
72d548a9
LL
107902013-04-22 Leo Liu <sdl.web@gmail.com>
10791
10792 * info-look.el: Prefer latex2e.info. (Bug#14240)
10793
d0853629
MA
107942013-04-22 Michael Albinus <michael.albinus@gmx.de>
10795
10796 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10797
10798 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10799 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10800 (tramp-set-completion-function, tramp-parse-putty):
10801 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10802 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10803 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10804 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10805 (tramp-call-local-coding-command): Use `tramp-call-process'
10806 instead of `tramp-compat-call-process'.
10807
10808 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10809 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10810 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10811 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10812 (tramp-maybe-send-script): Check for Perl binary.
10813 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10814
38cc0210
DU
108152013-04-22 Daiki Ueno <ueno@gnu.org>
10816
10817 * epg.el (epg-context-pinentry-mode): New function.
10818 (epg-context-set-pinentry-mode): New function.
10819 (epg--start): Pass --pinentry-mode option to gpg command.
10820
cc641ee1
XF
108212013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10822
02d844b5 10823 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10824 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10825 `completion-at-point'. (Bug#13774)
5d4e5c31 10826
cc641ee1
XF
10827 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10828 default key binding for `describe-distribution' has been moved to
10829 `C-h C-o'. (Bug#13970)
10830
1b42ee43
GM
108312013-04-21 Glenn Morris <rgm@gnu.org>
10832
10833 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10834 Add doc strings.
10835 (vc-print-log): Clarify interactive prompt.
10836
a6d63d97
GM
108372013-04-20 Glenn Morris <rgm@gnu.org>
10838
10839 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10840 No longer include timestamp etc information.
10841
d7f5c16f
RW
108422013-04-20 Roland Winkler <winkler@gnu.org>
10843
10844 * faces.el (read-face-name): Bug fix, return just one face if arg
10845 multiple is nil. (Bug#14209)
10846
bcd7a0a4
SM
108472013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10848
10849 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10850 (remove-function): Autoload.
10851
10852 * comint.el (comint-redirect-original-filter-function): Remove.
10853 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10854 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10855 (vc-cvs-annotate-command):
bcd7a0a4
SM
10856 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10857 * progmodes/prolog.el (prolog-consult-compile):
10858 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10859 Use add/remove-function instead.
10860 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10861 (gud-tooltip-process-output, gud-tooltip-tips):
10862 Use add/remove-function instead.
10863 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10864 (scheme-interaction-mode, exit-scheme-interaction-mode):
10865 Use add/remove-function instead.
10866
10867 * vc/vc-dispatcher.el: Use lexical-binding.
10868 (vc--process-sentinel): Rename from vc-process-sentinel.
10869 Change last arg to be the code to run. Don't use vc-previous-sentinel
10870 and vc-sentinel-commands any more.
10871 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10872 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10873
e36b2d20 108742013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10875
bcd7a0a4 10876 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10877 Handle function names with a single character. (Bug#14111)
4d3268ba 10878
781b4af6 108792013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10880
10881 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10882 for subroutines defined in an eval (bug#14182).
10883
7d688336
TV
108842013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10885
10886 * bookmark.el (bookmark-completing-read): Improve handling of empty
10887 string (bug#14176).
10888
31dcede0
SM
108892013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10892
adc31213
FEG
108932013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10894
10895 New faster Imenu implementation (bug#14058).
10896 * progmodes/python.el:
10897 (python-imenu-prev-index-position):
10898 (python-imenu-format-item-label-function)
10899 (python-imenu-format-parent-item-label-function)
10900 (python-imenu-format-parent-item-jump-label-function):
10901 New vars.
10902 (python-imenu-format-item-label)
10903 (python-imenu-format-parent-item-label)
10904 (python-imenu-format-parent-item-jump-label)
10905 (python-imenu--put-parent, python-imenu--build-tree)
10906 (python-imenu-create-index, python-imenu-create-flat-index)
10907 (python-util-popn): New functions.
10908 (python-mode): Set imenu-create-index-function to
10909 python-imenu-create-index.
10910
cdca8255
SM
109112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * winner.el (winner-active-region): Use region-active-p, activate-mark
10914 and deactivate-mark (bug#14225).
10915
10916 * simple.el (deactivate-mark): Don't inline it.
10917
beb42340
MA
109182013-04-18 Michael Albinus <michael.albinus@gmx.de>
10919
10920 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10921
fc7f4d7e
TH
109222013-04-18 Tassilo Horn <tsdh@gnu.org>
10923
10924 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10925 file extensions from the archive-mode entry in order to prefer
10926 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10927
29f47822
LL
109282013-04-18 Leo Liu <sdl.web@gmail.com>
10929
10930 * bindings.el (help-event-list): Add ?\?.
10931
d36ed1c8
SM
109322013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * subr.el (with-wrapper-hook): Declare obsolete.
10935 * simple.el (filter-buffer-substring-function): New hook.
10936 (filter-buffer-substring): Use it.
10937 (filter-buffer-substring-functions): Mark obsolete.
10938 * minibuffer.el (completion-in-region-function): New hook.
10939 (completion-in-region): Use it.
10940 (completion-in-region-functions): Mark obsolete.
10941 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10942 * abbrev.el (abbrev-expand-function): New hook.
10943 (expand-abbrev): Use it.
10944 (abbrev-expand-functions): Mark obsolete.
10945 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10946 and :filter-return.
10947
04754d36
FEG
109482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10949
10950 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10951 and do not care about match data.
10952
dd8791e9
SM
109532013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10956 completion tables when completing error conditions and
10957 `declare' arguments.
10958 (lisp-complete-symbol, field-complete): Mark as obsolete.
10959 (check-parens): Unmatched parens are user errors.
10960 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10961
ffe54a13
AM
109622013-04-17 Michal Nazarewicz <mina86@mina86.com>
10963
dd8791e9
SM
10964 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10965 command changed buffer (ie. `flyspell-pre-buffer' is not current
10966 buffer), which prevents making decisions based on invalid value of
10967 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10968 cause an error when `flyspell-pre-point' was nil after switching
10969 buffers.
10970 (flyspell-post-command-hook): No longer needs to change buffers when
10971 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10972
ec7e39f2
AM
109732013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10974
10975 * textmodes/ispell.el (ispell-add-per-file-word-list):
10976 Fix `flyspell-correct-word-before-point' error when accepting
10977 words and `coment-padding' is an integer by using
10978 `comment-normalize-vars' (Bug #14214).
10979
083850a6
FEG
109802013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10981
10982 New defun movement commands.
10983 * progmodes/python.el (python-nav--syntactically)
10984 (python-nav--forward-defun, python-nav-backward-defun)
10985 (python-nav-forward-defun): New functions.
10986
619ed6e1
FEG
109872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10988
10989 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10990 (python-syntax-context): Use named compiler-macro for backwards
10991 compatibility with Emacs 24.x.
10992
7a1beb6c
LL
109932013-04-17 Leo Liu <sdl.web@gmail.com>
10994
10995 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10996 octave-hide-process-buffer.
10997
2d3fa3e5
SM
109982013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11001 (bug#14216).
11002
7ce5be54
JPG
110032013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11004
11005 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11006 Fix adjustment of offset when receiving incomplete responses from GDB
11007 (bug#14129).
11008
351edece
SM
110092013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11012 python-mode-abbrev-table.
11013 (python-skeleton-define): Adjust accordingly.
11014 (python-mode-abbrev-table): New table that inherits from it so that
11015 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11016
11017 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11018 (abbrev-symbol): Use it.
11019 (abbrev--before-point): Use it since we already handle inheritance.
11020
613f9481
LL
110212013-04-16 Leo Liu <sdl.web@gmail.com>
11022
11023 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11024 binding to info-lookup-symbol.
11025
51646b62
JB
110262013-04-16 Juanma Barranquero <lekktu@gmail.com>
11027
11028 * minibuffer.el (completion--twq-all):
11029 * term/ns-win.el (ns-initialize-window-system):
11030 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11031
efb3f01d
SM
110322013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11033
36c0a301
SM
11034 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11035 global bindings.
11036
efb3f01d
SM
11037 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11038
fb549d64
DG
110392013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11040
11041 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11042 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11043 to nil.
11044 (ruby-end-of-defun): Remove the unused arg, change the docstring
11045 to reflect that this function is only used as the value of
11046 `end-of-defun-function'.
11047 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11048 to reflect an earlier change that beginning/end-of-defun functions
11049 jump between methods in a class definition, as well as top-level
11050 functions.
11051
21e8fe2f
SM
110522013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * minibuffer.el (minibuffer-complete): Don't just scroll
11055 a *Completions* that's been iconified.
11056 (minibuffer-force-complete): Make sure repetitions do cycle when going
11057 through completion-in-region -> minibuffer-complete.
11058
20e527d0
AM
110592013-04-15 Alan Mackenzie <acm@muc.de>
11060
11061 Correct the placement of c-cpp-delimiters when there're #s not at
11062 col 0.
11063
11064 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11065 place a submatch around the #.
21e8fe2f
SM
11066 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11067 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11068 on the #, not BOL.
11069
dabefae5
SM
110702013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11073 (advice--member-p): New arg `name'.
11074 (advice--add-function, advice-member-p): Use it (bug#14202).
11075
85c9ab64
AM
110762013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11077
11078 Reformulate java imenu-generic-expression.
11079 The old expression contained ill formed regexps.
11080
11081 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11082 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11083 (cc-imenu-java-method-arg-regexp): New defconsts.
11084 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11085 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11086 handling of spaces in the regexp.
11087
0f821d99
AM
110882013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11089
11090 * textmodes/ispell.el (ispell-command-loop): Remove
11091 flyspell highlight of a word when ispell accepts it (bug #14178).
11092
eb922adf
MA
110932013-04-15 Michael Albinus <michael.albinus@gmx.de>
11094
11095 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11096 uses code from the previous `ange-ftp-run-real-handler'.
11097 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11098 only in case that function exist. This is needed for proper
11099 unloading of Tramp.
11100
4d9a0979
TH
111012013-04-15 Tassilo Horn <tsdh@gnu.org>
11102
11103 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11104
11105 * textmodes/reftex.el (reftex-compile-variables): Use it.
11106
a829b0dc
SM
111072013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11108
91e8293c
SM
11109 * files.el (normal-mode): Only use default major-mode if no other mode
11110 was specified.
11111
830aed4d
SM
11112 * emacs-lisp/trace.el (trace-values): New function.
11113
a829b0dc
SM
11114 * files.el: Allow : in local variables (bug#14089).
11115 (hack-local-variable-regexp): New var.
11116 (hack-local-variables-prop-line, hack-local-variables): Use it.
11117
7ae9f0fb
RW
111182013-04-13 Roland Winkler <winkler@gnu.org>
11119
11120 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11121 data before it gets modified by bibtex-beginning-of-entry.
11122
6646e848
RW
111232013-04-13 Roland Winkler <winkler@gnu.org>
11124
11125 * textmodes/bibtex.el (bibtex-url): Doc fix.
11126
111272013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11128
11129 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11130 does not visit a BibTeX file, exclude it from the list of buffers
11131 returned by bibtex-initialize.
11132
0aa3616e
SB
111332013-04-13 Stephen Berman <stephen.berman@gmx.net>
11134
11135 * window.el (split-window): Remove interactive form, since as a
11136 command this function is a special case of split-window-below.
11137 Correct doc string.
11138
011cddd6
RW
111392013-04-12 Roland Winkler <winkler@gnu.org>
11140
11141 * faces.el (read-face-name): Do not override value of arg default.
11142 Allow single faces and strings as default values. Remove those
11143 elements from return value that are not faces.
11144 (describe-face): Simplify.
11145 (face-at-point): New optional args thing and multiple so that this
11146 function can provide the same functionality previously provided by
11147 read-face-name.
11148 (make-face-bold, make-face-unbold, make-face-italic)
11149 (make-face-unitalic, make-face-bold-italic, invert-face)
11150 (modify-face, read-face-and-attribute): Use face-at-point.
11151
11152 * cus-edit.el (customize-face, customize-face-other-window)
11153 * cus-theme.el (custom-theme-add-face)
11154 * face-remap.el (buffer-face-set)
11155 * facemenu.el (facemenu-set-face): Use face-at-point.
11156
f24e0036
MA
111572013-04-12 Michael Albinus <michael.albinus@gmx.de>
11158
11159 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11160
da3cda2d
TH
111612013-04-10 Tassilo Horn <tsdh@gnu.org>
11162
11163 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11164 off leading { and trailing } from field values.
11165
15e54145
SM
111662013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11167
78ce603d
SM
11168 * emacs-lisp/timer.el (timer--check): New function.
11169 (timer--time, timer-set-function, timer-event-handler): Use it.
11170 (timer-set-idle-time): Simplify.
11171 (timer--activate): CSE.
11172 (timer-event-handler): Give more info in error message.
11173 (internal-timer-start-idle): New function, moved from C.
11174
15e54145
SM
11175 * mpc.el (mpc-proc): Add `restart' argument.
11176 (mpc-proc-cmd): Use it.
11177 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11178 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11179 less often.
11180
7144c627
MY
111812013-04-10 Masatake YAMATO <yamato@redhat.com>
11182
11183 * progmodes/sh-script.el: Implement `sh-mode' own
11184 `add-log-current-defun-function' (bug#14112).
11185 (sh-current-defun-name): New function.
11186 (sh-mode): Use the function.
11187
b39792eb
BG
111882013-04-09 Bastien Guerry <bzg@gnu.org>
11189
11190 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11191
8acdeb71
SM
111922013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11193
6fcdab68
SM
11194 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11195
8acdeb71
SM
11196 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11197 timer (bug#14156).
11198
e3e7b504
NF
111992013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11200
11201 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11202 declaration.
11203
201bb296
LL
112042013-04-07 Leo Liu <sdl.web@gmail.com>
11205
11206 * pcmpl-x.el: New file.
11207
ebb19708
DA
112082013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11209
11210 Do not set x-display-name until X connection is established.
11211 This is needed to prevent from weird situation described at
11212 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11213 * frame.el (make-frame): Set x-display-name after call to
11214 window system initialization function, not before.
11215 * term/x-win.el (x-initialize-window-system): Add optional
11216 display argument and use it.
11217 * term/w32-win.el (w32-initialize-window-system):
11218 * term/ns-win.el (ns-initialize-window-system):
11219 * term/pc-win.el (msdos-initialize-window-system):
11220 Add compatible optional display argument.
11221
33bb237a
EZ
112222013-04-06 Eli Zaretskii <eliz@gnu.org>
11223
11224 * files.el (normal-backup-enable-predicate): On MS-Windows and
11225 MS-DOS compare truenames of temporary-file-directory and of the
11226 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11227 don't fail comparison by compare-strings. Also, compare file
11228 names case-insensitively on MS-Windows and MS-DOS.
11229
134abf1f
SM
112302013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11233 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11234
d695cb94
DG
112352013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11236
e3e7b504
NF
11237 * whitespace.el (whitespace-color-on, whitespace-color-off):
11238 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11239
f4ad7ea1 112402013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11241
11242 * ispell.el (ispell-set-spellchecker-params):
11243 Really set `ispell-args' for all equivs.
11244
632556e4
SM
112452013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * ido.el (ido-completions): Use extra elements of ido-decorations
11248 (bug#14143).
11249 (ido-decorations): Update docstring.
11250
2a417372
MA
112512013-04-05 Michael Albinus <michael.albinus@gmx.de>
11252
11253 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11254 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11255 nil during initialization, in order not to miss changes since the
11256 file was opened. (Bug#14140)
11257
fc164b0c
LL
112582013-04-05 Leo Liu <sdl.web@gmail.com>
11259
11260 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11261
0ccecc08
JB
112622013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11263
11264 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11265
51af1aa2
GM
112662013-04-04 Glenn Morris <rgm@gnu.org>
11267
11268 * electric.el (electric-pair-inhibit-predicate): Add :version.
11269
b208ebc6
SM
112702013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11273 when a package is required several times (bug#14082).
11274
f3d3eaf0
RW
112752013-04-04 Roland Winkler <winkler@gnu.org>
11276
11277 * faces.el (read-face-name): Behave as promised by the docstring.
11278 Assume that arg default is a list of faces.
11279 (describe-face): Call read-face-name with list of default faces.
11280
2575da50
TV
112812013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11282
11283 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11284 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11285 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11286 the header.
11287 (bookmark-exit-hook-internal): Save even if list is empty.
11288
397703b4
YH
112892013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11290
11291 * emacs-lisp/package.el (package-pinned-packages): New var.
11292 (package--add-to-archive-contents): Obey it (bug#14118).
11293
691e26ae
AM
112942013-04-03 Alan Mackenzie <acm@muc.de>
11295
8a621d53
JB
11296 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11297 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11298
11299 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11300 parameter `not-in-delimiter'. Handle being inside comment opener.
11301 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11302 character in case we're typing a '*' after a '/'.
11303 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11304 instead by passing the parameter to c-state-pp-to-literal.
11305
11306 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11307 for elt. 7 of a parse state.
11308
4b725a70
PE
113092013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11310
11311 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11312 * international/latin1-disp.el, international/mule-util.el:
11313 * language/cyril-util.el, language/european.el, language/ind-util.el:
11314 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11315 * language/tibetan.el, language/viet-util.el:
11316 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11317
15c579f0
SM
113182013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11321 (electric-pair-post-self-insert-function): Use it.
11322 (electric-pair-default-inhibit): New function, extracted from
11323 electric-pair-post-self-insert-function.
11324
a77e2924
RW
113252013-03-31 Roland Winkler <winkler@gnu.org>
11326
11327 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11328
2bd8a4a8
SM
113292013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11332
8d3655be 113332013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11334
11335 Un-indent after "pass" and "return" statements (Bug#13888)
11336 * progmodes/python.el (python-indent-block-enders): New var.
11337 (python-indent-calculate-indentation): Use it.
11338
8d3655be 113392013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11340
11341 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11342 defun. Defining it as defalias could introduce too eager
11343 byte-compiler optimization. (Bug#14030)
11344
8d3655be 113452013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11346
11347 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11348
0b1619da
LL
113492013-03-30 Leo Liu <sdl.web@gmail.com>
11350
11351 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11352 (kmacro-execute-from-register): Pass the keyboard macro to
11353 kmacro-call-macro or repeating won't work correctly.
11354
0b938190
TZ
113552013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11356
11357 * progmodes/subword.el: Back to using `forward-symbol'.
11358
11359 * subr.el (forward-whitespace, forward-symbol)
11360 (forward-same-syntax): Move from thingatpt.el.
11361
35710234
LL
113622013-03-29 Leo Liu <sdl.web@gmail.com>
11363
11364 * kmacro.el (kmacro-to-register): New command.
11365 (kmacro-execute-from-register): New function.
11366 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11367
efc0bb73
SM
113682013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * mpc.el: Use defvar-local and setq-local.
11371 (mpc--proc-connect): Connection failures are not bugs.
11372 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11373 (mpc-volume-map): Bind to the up-events.
11374
75a2f981
TZ
113752013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11376
11377 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11378 instead of `forward-symbol'.
11379
17c781d1
SM
113802013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11383 (edebug--recursive-edit): Use it.
11384 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11385 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11386
f67bfbcf
LL
113872013-03-28 Leo Liu <sdl.web@gmail.com>
11388
11389 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11390
b59f639d
EZ
113912013-03-27 Eli Zaretskii <eliz@gnu.org>
11392
11393 * facemenu.el (list-colors-callback): New defvar.
11394 (list-colors-redisplay): New function.
11395 (list-colors-display): Install list-colors-redisplay as the
11396 revert-buffer-function. (Bug#14063)
11397
f557c1b1
SM
113982013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11399
b1da2957
SM
11400 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11401 and suffixes don't overlap (bug#14061).
11402
f557c1b1
SM
11403 * case-table.el: Use lexical-binding.
11404 (case-table-get-table): New function.
11405 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11406
002668e1
TZ
114072013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11408
11409 * progmodes/subword.el: Add `superword-mode' to do word motion
11410 over symbol_words (parallels and leverages `subword-mode' which
11411 does word motion inside MixedCaseWords).
11412
73572c72
AG
114132013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11414
78b8f320 11415 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11416 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11417
69b2c07e
SM
114182013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11421 Change return value to be a sexp. Delay `get-buffer' to after
11422 restoring the desktop (bug#13951).
11423
08bb5ee2
LL
114242013-03-26 Leo Liu <sdl.web@gmail.com>
11425
11426 * register.el: Move semantic tag handling back to
11427 cedet/semantic/senator.el. (Bug#14052)
11428
8d4c974e
SM
114292013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11432 into the prompt either (bug#13963).
11433
b234d92c
SM
114342013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11435
11436 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11437 part of "(error-foo)".
11438
ddfa3cb4
JL
114392013-03-24 Juri Linkov <juri@jurta.org>
11440
11441 * replace.el (list-matching-lines-prefix-face): New defcustom.
11442 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11443 `occur-engine' if `face-differs-from-default-p' returns t.
11444 (occur-engine): Add `,' inside backquote construct to evaluate
11445 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11446 Pass `prefix-face' to the functions `occur-context-lines' and
11447 `occur-engine-add-prefix'.
11448 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11449 `prefix-face' and propertize the prefix with `prefix-face'.
11450 (Bug#14017)
11451
7b0e2f85
LL
114522013-03-24 Leo Liu <sdl.web@gmail.com>
11453
11454 * nxml/rng-valid.el (rng-validate-while-idle)
11455 (rng-validate-quick-while-idle): Guard against deleted buffer.
11456 (Bug#13999)
11457
11458 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11459 is the last entry in kill-buffer-hook.
11460
11461 * files.el (kill-buffer-hook): Doc fix.
11462
b3082f49
DG
114632013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11464
b234d92c
SM
11465 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11466 Make it safe-local.
bde73d27 11467
b3082f49
DG
11468 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11469
a320a2db
LL
114702013-03-23 Leo Liu <sdl.web@gmail.com>
11471
7e74b0fb
LL
11472 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11473 Remove.
11474
11475 * nxml/rng-valid.el (rng-validate-mode)
11476 (rng-after-change-function, rng-do-some-validation):
11477 * nxml/rng-maint.el (rng-validate-buffer):
11478 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11479 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11480 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11481 (nxml-extend-after-change-region): Use with-silent-modifications.
11482
a320a2db
LL
11483 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11484 timer-idle-list.
11485
11486 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11487 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11488 timer-idle-list. (Bug#13999)
11489
e38e6780
JL
114902013-03-23 Juri Linkov <juri@jurta.org>
11491
11492 * info.el (info-index-match): New face.
11493 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11494 main pattern and add text properties with the new face to matches
11495 in index entries relative to the beginning of the index entry.
11496 (Bug#14015)
11497
e8cc7880
DE
114982013-03-21 Eric Ludlam <zappo@gnu.org>
11499
11500 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11501 Inhibit read only while inserting objects.
11502
9bb0d822
TZ
115032013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11504
11505 * progmodes/cfengine.el: Update docs to mention
11506 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11507 symbol motion. Remove "_" from the word syntax.
11508
aa703640
TZ
115092013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11510
11511 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11512 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11513
afff09d0
JL
115142013-03-20 Juri Linkov <juri@jurta.org>
11515
11516 * info.el (Info-next-reference-or-link)
11517 (Info-prev-reference-or-link): New functions.
11518 (Info-next-reference, Info-prev-reference): Use them.
11519 (Info-try-follow-nearest-node): Handle footnote navigation.
11520 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11521
9a1ff164
SM
115222013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11525 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11526
2667d15d
PE
115272013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11528
11529 Suppress unnecessary non-ASCII chatter during build process.
11530 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11531 (batch-skkdic-convert): Suppress most of the chatter.
11532 It's not needed so much now that machines are faster,
11533 and its non-ASCII component was confusing; see Dmitry Gutov in
11534 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11535
438b0579
LL
115362013-03-20 Leo Liu <sdl.web@gmail.com>
11537
11538 * ido.el (ido-chop): Fix bug#10994.
11539
c128ab07
DG
115402013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11541
11542 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11543 Remove vars.
9a1ff164
SM
11544 (whitespace-color-on, whitespace-color-off):
11545 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11546
0e6008c5
SM
115472013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11550 remapping in mode-line.
11551 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11552
627b52b0
DG
115532013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11554
11555 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11556 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11557 (whitespace-font-lock-keywords): Change description.
11558 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11559 the constructed keywords instead.
11560 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11561
50c3a20b
LL
115622013-03-19 Leo Liu <sdl.web@gmail.com>
11563
11564 * progmodes/compile.el (compilation-display-error): New command.
11565 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11566 C-o. (Bug#13992)
11567
2aa2157b
PE
115682013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11569
11570 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11571
e477dbfa
JD
115722013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11573
11574 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11575
64ab82d1
MA
115762013-03-18 Michael Albinus <michael.albinus@gmx.de>
11577
11578 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11579
11580 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11581 * net/tramp-gvfs.el (top):
11582 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11583 (tramp-handle-shell-command): Use it.
11584 (tramp-dissect-file-name): Raise an error when hostname is a
11585 method name, and neither method nor user is specified.
11586
11587 * net/trampver.el: Update release number.
11588
33cef733
LL
115892013-03-18 Leo Liu <sdl.web@gmail.com>
11590
11591 Make sure eldoc can be turned off properly.
11592 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11593 eldoc-mode.
11594 (eldoc-display-message-p): Revert last change.
11595 (eldoc-display-message-no-interference-p)
11596 (eldoc-print-current-symbol-info): Tweak.
11597
2167b7b2
TH
115982013-03-18 Tassilo Horn <tsdh@gnu.org>
11599
11600 * doc-view.el (doc-view-new-window-function): Check the new window
11601 overlay's display property instead the char property of the
11602 buffer's first char. Use `with-selected-window' instead of
11603 `save-window-excursion' with `select-window'.
11604 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11605 display property instead the char property of the buffer's first char.
2167b7b2 11606
982efbcd
PE
116072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11608
11609 Automate the build of ja-dic.el (Bug#13984).
11610 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11611 from the input, rather than assume that it's been done for us by the
11612 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11613 the current date into a ja-dic.el comment, as that complicates
11614 regression testing.
11615
2fcc7665
SM
116162013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11617
11618 * whitespace.el: Fix double evaluation.
11619 (whitespace-space, whitespace-hspace, whitespace-tab)
11620 (whitespace-newline, whitespace-trailing, whitespace-line)
11621 (whitespace-space-before-tab, whitespace-indentation)
11622 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11623 obsolete defvars.
11624 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11625 (whitespace-color-on): Use a single font-lock-add-keywords call.
11626 Fix double-evaluation of face variables.
11627
67c0a6e6
MA
116282013-03-17 Michael Albinus <michael.albinus@gmx.de>
11629
2fcc7665
SM
11630 * net/tramp-adb.el (tramp-adb-parse-device-names):
11631 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11632 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11633
69489f1d
LL
116342013-03-17 Leo Liu <sdl.web@gmail.com>
11635
11636 Extend eldoc to display info in the mode-line. (Bug#13978)
11637 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11638 (eldoc-mode-line-string): New variable.
11639 (eldoc-minibuffer-message): New function.
11640 (eldoc-message-function): New variable.
11641 (eldoc-message): Use it.
11642 (eldoc-display-message-p)
2fcc7665
SM
11643 (eldoc-display-message-no-interference-p):
11644 Support eldoc-post-insert-mode.
69489f1d
LL
11645
11646 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11647 (eval-expression): Run it.
11648
9c44569e
RW
116492013-03-17 Roland Winkler <winkler@gnu.org>
11650
11651 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11652 strings in the list of return values.
11653
327f1f6f
JB
116542013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11655
11656 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11657 radix before checking for HMS forms.
11658
67ed8fcd
LL
116592013-03-16 Leo Liu <sdl.web@gmail.com>
11660
11661 * progmodes/scheme.el: Add indentation and font-locking for λ.
11662 (Bug#13975)
11663
78be8b64 116642013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11665
11666 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11667 token before point (bug#13942).
11668
78be8b64 116692013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11670
95b43468 11671 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11672
98e775e6
EZ
116732013-03-16 Eli Zaretskii <eliz@gnu.org>
11674
11675 * startup.el (command-line-normalize-file-name): Fix handling of
11676 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11677 <xfq.free@gmail.com> in
11678 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11679
2edd6029
MA
116802013-03-15 Michael Albinus <michael.albinus@gmx.de>
11681
11682 Sync with Tramp 2.2.7.
11683
11684 * net/trampver.el: Update release number.
11685
d35f5864
TH
116862013-03-14 Tassilo Horn <tsdh@gnu.org>
11687
e903c210 11688 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11689 (doc-view-insert-image): Don't modify overlay associated to
11690 non-live windows, and implement horizontal centering of image in
11691 case it's smaller than the window.
11692 (doc-view-new-window-function): Force redisplay of new windows on
11693 doc-view buffers.
d35f5864 11694
1c4a85ed
KF
116952013-03-13 Karl Fogel <kfogel@red-bean.com>
11696
11697 * saveplace.el (save-place-alist-to-file): Don't sort
11698 `save-place-alist', just pretty-print it (bug#13882).
11699
85b66a21
MA
117002013-03-13 Michael Albinus <michael.albinus@gmx.de>
11701
a020afb9
JB
11702 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11703 Check whether `default-file-name-coding-system' is bound.
11704 It isn't in XEmacs.
85b66a21 11705
175600da
SM
117062013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11707
e7f7cb1a
SM
11708 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11709 backquotes for `obsolete' (bug#13929).
11710
175600da
SM
11711 * international/mule.el (find-auto-coding): Include file name in
11712 obsolescence warning (bug#13922).
11713
ca68a22e
TZ
117142013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11715
11716 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11717 for CFEngine 3-specific indentation.
11718 (cfengine3-indent-line): Use it. Fix up category regex.
11719 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11720
940e5099
SM
117212013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * type-break.el (type-break-file-name):
11724 * textmodes/remember.el (remember-data-file):
11725 * strokes.el (strokes-file):
11726 * shadowfile.el (shadow-initialize):
11727 * saveplace.el (save-place-file):
11728 * ps-bdf.el (bdf-cache-file):
11729 * progmodes/idlwave.el (idlwave-config-directory):
11730 * net/quickurl.el (quickurl-url-file):
11731 * international/kkc.el (kkc-init-file-name):
11732 * ido.el (ido-save-directory-list-file):
11733 * emulation/viper.el (viper-custom-file-name):
11734 * emulation/vip.el (vip-startup-file):
11735 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11736 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11737
cc725808
PE
117382013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11739
11740 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11741 * language/thai-word.el: Switch to UTF-8.
11742
a020afb9 11743See ChangeLog.16 for earlier changes.
e3d51b27
MR
11744
11745;; Local Variables:
11746;; coding: utf-8
e3d51b27
MR
11747;; End:
11748
ab422c4d 11749 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11750
11751 This file is part of GNU Emacs.
11752
11753 GNU Emacs is free software: you can redistribute it and/or modify
11754 it under the terms of the GNU General Public License as published by
11755 the Free Software Foundation, either version 3 of the License, or
11756 (at your option) any later version.
11757
11758 GNU Emacs is distributed in the hope that it will be useful,
11759 but WITHOUT ANY WARRANTY; without even the implied warranty of
11760 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11761 GNU General Public License for more details.
11762
11763 You should have received a copy of the GNU General Public License
11764 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.