]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix ChangeLog typos.
[gnu-emacs] / lisp / ChangeLog
1 2013-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
6 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7
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).
12
13 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14
15 * net/shr.el (shr-insert): Don't infloop if the width is zero.
16
17 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
20 (bug#16251).
21
22 * electric.el: Move all electric-pair-* to elec-pair.el.
23 * elec-pair.el: New file, split from electric.el.
24
25 2013-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).
32 (shr-find-fill-point): Off by one error in comparison with the
33 indentation.
34
35 2013-12-26 João Távora <joaotavora@gmail.com>
36
37 * electric.el (electric-pair-mode): More flexible engine for skip-
38 and inhibit predicates, new options for pairing-related functionality.
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.
45 (electric--sort-post-self-insertion-hook):
46 Sort post-self-insert-hook according to priority values when
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.
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
54 electric-pair-open-newline-between-pairs to nil.
55
56 2013-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
61 2013-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
66 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
67
68 * emacs-lisp/byte-run.el (eval-when-compile):
69 * progmodes/cc-defs.el (cc-eval-when-compile):
70 Fix edebug spec (bug#16184).
71
72 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
73
74 * net/shr.el (shr-visit-file): Remove debugging function.
75 (shr-insert): Don't infloop if we can't find a good place to break
76 the line (bug#16256).
77
78 2013-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.
90 (python-shell-buffer-substring):
91 Use `python-nav-forward-sexp-safe'.
92
93 2013-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.
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
99 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
100
101 2013-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
107 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
108
109 * progmodes/python.el (python-nav-beginning-of-statement):
110 Speed up (Bug#15295).
111
112 2013-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
117 2013-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
122 2013-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
127 2013-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
133 2013-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.
140 (icomplete-exhibit): Compute completions even if we have no user input.
141
142 2013-12-23 Daniel Colascione <dancol@dancol.org>
143
144 * icomplete.el: Move `provide' to end of file.
145
146 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
147
148 * net/gnutls.el (gnutls-verify-error): Add version tag.
149
150 2013-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
164 * indent.el (indent-rigidly): Use substitute-command-keys.
165
166 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
167
168 * net/eww.el (eww-tag-select): Add text-property to jump to next
169 select field.
170 (eww): Add non-supported ftp error.
171
172 2013-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
177 2013-12-22 Chong Yidong <cyd@gnu.org>
178
179 * faces.el (face-spec-recalc): If the theme specs are not
180 applicable to a frame, fall back on the defface spec.
181 This prevents themes from obliterating faces on low-color terminals.
182
183 2013-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
189 2013-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
198 2013-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
204 2013-12-21 Richard Stallman <rms@gnu.org>
205
206 * simple.el (newline): Doc fix.
207
208 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
209
210 * net/eww.el (eww-list-histories, eww-list-histories)
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.
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'.
217
218 2013-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
231 2013-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
236 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
237
238 * cus-start.el (all): Add ns-use-srgb-colorspace.
239
240 2013-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
251 2013-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
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
266 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
267
268 * faces.el (read-face-name): Require crm.el when using crm-separator.
269
270 2013-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
275 2013-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
295 2013-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
322 2013-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
327 2013-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
350 2013-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
367 2013-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.
371 (string-remove-prefix): New function.
372 (string-remove-suffix): New function.
373
374 2013-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.
378 (window--pixel-to-total-1, window--pixel-to-total):
379 Fix calculation of new total sizes.
380
381 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
382
383 * comint.el (comint-output-filter): Fix rear-nonsticky property
384 placement (Bug#16010).
385
386 2013-12-20 Chong Yidong <cyd@gnu.org>
387
388 * faces.el (read-color): Minor fix for completion function.
389
390 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
391
392 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
393 New option. (Bug#16182)
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
401 2013-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
406 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
407
408 * net/shr.el (shr-insert): Protect against infloops in degenerate
409 tables.
410
411 2013-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
417 2013-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
422 2013-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
431 2013-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
441 2013-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
447 2013-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
474 2013-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
479 2013-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
485 2013-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)
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.
494
495 2013-12-19 Glenn Morris <rgm@gnu.org>
496
497 * emacs-lisp/ert.el (ert-select-tests):
498 Fix string/symbol mixup. (Bug#16121)
499
500 2013-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
505 2013-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
519 2013-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
535 2013-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
546 2013-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
551 2013-12-18 Leo Liu <sdl.web@gmail.com>
552
553 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
554 (Bug#16186)
555
556 2013-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
565 2013-12-18 Tassilo Horn <tsdh@gnu.org>
566
567 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
568 Reference tables with ~\ref{...} instead of only \ref{...}.
569
570 2013-12-18 Chong Yidong <cyd@gnu.org>
571
572 * cus-edit.el (custom-magic-alist): Fix "themed" description
573 (Bug#14348).
574
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).
578 (custom-available-themes): Doc fix.
579
580 * cus-theme.el (custom-new-theme-mode-map): Add bindings
581 (Bug#15674).
582
583 * replace.el (occur-engine): Avoid infloop (Bug#7593).
584
585 2013-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
590 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
591
592 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
593
594 2013-12-18 Glenn Morris <rgm@gnu.org>
595
596 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
597 * cus-start.el (load-prefer-newer): New option.
598
599 2013-12-18 Le Wang <l26wang@gmail.com>
600
601 * comint.el (comint-previous-matching-input-from-input):
602 Retain point (Bug#13404).
603
604 2013-12-18 Chong Yidong <cyd@gnu.org>
605
606 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
607
608 2013-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
613 2013-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
618 2013-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
634 2013-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
643 2013-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
650 2013-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
657 2013-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
663 2013-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
670 2013-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
675 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
676
677 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
678
679 2013-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
687 2013-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
694 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
695
696 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
697
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
701 2013-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
708 2013-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
720 2013-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
726 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
729
730 2013-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
739 2013-12-16 Martin Rudalics <rudalics@gmx.at>
740
741 * window.el (display-buffer-below-selected):
742 Bind split-height-threshold to 0 as suggested by Juri Linkov.
743
744 2013-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
749 2013-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
764 2013-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
782 2013-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
789 2013-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
794 2013-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).
798
799 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * icomplete.el (icomplete-completions): Make sure the prefix is already
802 displayed elsewhere before hiding it (bug#16219).
803
804 2013-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
812 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
813
814 * progmodes/cfengine.el: Fix `add-hook' doc.
815 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
816 (cfengine3--current-word): Fix parameters.
817 (cfengine3-make-syntax-cache): Simplify further.
818 (cfengine3-completion-function, cfengine3--current-function):
819 Use `assq' for symbols.
820 (cfengine3--current-function): Fix `cfengine3--current-word' call.
821
822 2013-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
827 2013-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'.
836 (cfengine3-completion-function, cfengine3--current-function):
837 Use `cfengine3-make-syntax-cache' directly.
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
844 2013-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
854 2013-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
864 2013-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
871 2013-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
876 files. Thanks to Russell Sim. (Bug#15378)
877
878 2013-12-13 Juri Linkov <juri@jurta.org>
879
880 * simple.el <Keypad support>: Remove key bindings duplicated
881 with bindings.el. (Bug#14397)
882
883 2013-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
888 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
889
890 * progmodes/python.el (python-indent-calculate-indentation):
891 Fix de-denters cornercase. (Bug#15731)
892
893 2013-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
904 2013-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
913 2013-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
917 behavior for comment blocks. (Bug#15916)
918
919 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
920
921 * progmodes/python.el (python-indent-calculate-indentation):
922 When determining indentation, don't treat "return", "pass", etc., as
923 operators when they are just string constituents. (Bug#15812)
924
925 2013-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
933 2013-12-11 Glenn Morris <rgm@gnu.org>
934
935 * emacs-lisp/package.el (finder-list-matches):
936 Autoload rather than falsely declaring.
937
938 2013-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
943 2013-12-11 Martin Rudalics <rudalics@gmx.at>
944
945 * window.el (display-buffer-in-side-window): Fix doc-string
946 (Bug#16115).
947
948 2013-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
954 2013-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
959 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
962 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
963
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
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
979 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
980
981 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
982 to `delete' (bug#16109).
983
984 2013-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
989 2013-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
998 2013-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
1003 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
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
1009 2013-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
1036 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1037
1038 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1039 unmsys--file-name. (Bug#16099)
1040
1041 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1042
1043 * emacs-lisp/package.el (package-keyword-button-action):
1044 Remove finder.el require dependency.
1045
1046 2013-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
1052 `finder-list-matches'.
1053
1054 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1055
1056 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1057 last commit.
1058
1059 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1060
1061 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1062 symlinked files.
1063
1064 2013-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
1069 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1070
1071 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1072 Handle caret-delimited strings (Bug#16079).
1073
1074 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1075
1076 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1077 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1078 `ruby-parse-partial' (Bug#16078).
1079
1080 2013-12-09 Leo Liu <sdl.web@gmail.com>
1081
1082 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1083
1084 2013-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.
1092 (js--indent-in-array-comp, js--array-comp-indentation):
1093 New functions.
1094 (js--proper-indentation): Use them, to handle array comprehension
1095 continuations.
1096
1097 2013-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
1103 2013-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
1118 2013-12-08 Leo Liu <sdl.web@gmail.com>
1119
1120 * progmodes/flymake.el (flymake-popup-current-error-menu):
1121 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1122 (flymake-posn-at-point-as-event, flymake-popup-menu)
1123 (flymake-make-emacs-menu): Remove. (Bug#16077)
1124
1125 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1126
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
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
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
1164 2013-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
1183 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1184
1185 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1186
1187 2013-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
1193 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1194
1195 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1196
1197 2013-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
1205 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1206
1207 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1208 Touch up the last change.
1209
1210 2013-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
1218 2013-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
1227 2013-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
1236 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/octave.el (inferior-octave-completion-table):
1239 Turn back into function, use `completion-table-with-cache'
1240 (Bug#11906). Update all references.
1241
1242 * minibuffer.el (completion-table-with-cache): New function.
1243
1244 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1245
1246 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1247
1248 2013-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
1258 2013-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
1267 2013-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
1272 2013-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
1277 2013-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
1284 2013-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
1289 2013-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
1299 2013-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
1304 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1305
1306 * notifications.el (notifications-close-notification): Call the
1307 D-Bus method with ID being a `:uint32'. (Bug#16030)
1308
1309 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1310
1311 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1312
1313 2013-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
1325 2013-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
1335 2013-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
1340 2013-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
1350 2013-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
1357 2013-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
1367 2013-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
1374 2013-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
1384 2013-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
1389 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1392
1393 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1394
1395 * net/eww.el (eww-form-checkbox-selected-symbol)
1396 (eww-form-checkbox-symbol): New customizable variable.
1397 (eww-form-checkbox, eww-toggle-checkbox):
1398 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1399
1400 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1401 (shr--get-media-pref, shr--extract-best-source): New function.
1402 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1403 no :src tag was specified.
1404
1405 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
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.
1409 (eww-render): Set `eww-current-title' back to "".
1410
1411 * net/shr.el (shr-tag-video): Display content for video if no
1412 poster is available.
1413 (shr-tag-audio): Add support for <audio> tag.
1414
1415 * net/eww.el (eww-text-input-types): New const.
1416 (eww-process-text-input): Treat input types in
1417 `eww-text-input-types' as text.
1418
1419 * net/shr.el (shr-tag-table): Fix comment typo.
1420
1421 2013-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).
1425 (eww-quit): Special mode buffers shouldn't query before exiting.
1426
1427 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1428
1429 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1430 forms.
1431
1432 2013-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.
1436 (eww-current-dom): New variable used to save the current DOM.
1437
1438 2013-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
1451 2013-12-01 Glenn Morris <rgm@gnu.org>
1452
1453 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1454
1455 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1456
1457 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1458 redisplay to make sure the initial frame gets a chance to become
1459 visible. (Bug#16014)
1460
1461 2013-11-30 Martin Rudalics <rudalics@gmx.at>
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)
1501 (display-buffer-record-window, window--display-buffer):
1502 Make functions handle pixelwise sizing of windows.
1503 (display-buffer--action-function-custom-type)
1504 (display-buffer-fallback-action):
1505 Add display-buffer-in-previous-window.
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
1516 2013-11-30 Glenn Morris <rgm@gnu.org>
1517
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
1527 Stop keeping (most) generated cedet grammar files in the repository.
1528 * Makefile.in (semantic): New.
1529 (compile-main): Depend on semantic.
1530
1531 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1532
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
1536 * uniquify.el (uniquify-buffer-name-style): Change default.
1537
1538 * loadup.el: Preload "uniquify".
1539
1540 * time.el (display-time-update): Update all mode lines (bug#15999).
1541
1542 * electric.el (electric-indent-mode): Enable by default.
1543 * loadup.el: Preload "electric".
1544
1545 2013-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
1550 2013-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
1555 2013-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
1561 2013-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
1572 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * doc-view.el (doc-view-goto-page): Update mode-line.
1575
1576 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1577
1578 2013-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
1590 2013-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
1595 2013-11-27 Glenn Morris <rgm@gnu.org>
1596
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
1603 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
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
1620 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1621
1622 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1623 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1624 (eww-quit): Ask confirmation before quitting eww.
1625
1626 2013-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
1631 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1632
1633 * emacs-lisp/helpers.el (string-reverse): New function.
1634
1635 2013-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
1643 2013-11-26 Glenn Morris <rgm@gnu.org>
1644
1645 * progmodes/python.el (python-indent-guess-indent-offset):
1646 Avoid corner-case error. (Bug#15975)
1647
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
1652 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1653
1654 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1655
1656 * emacs-lisp/helpers.el (string-join): New function.
1657
1658 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
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
1666 2013-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
1672 2013-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
1679 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * frame.el (handle-focus-in, handle-focus-out): Add missing
1682 interactive spec.
1683
1684 2013-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
1689 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1690
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
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
1707 2013-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
1712 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1713
1714 * json.el (json-alist-p): Only return non-nil if the alist has
1715 simple keys (Bug#13518).
1716
1717 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
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
1722 2013-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
1728 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1729
1730 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1731 (Bug#13898)
1732
1733 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1734
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
1740 * subr.el (string-suffix-p): New function.
1741
1742 2013-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
1748 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1749
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
1753 * textmodes/tex-mode.el (latex-noindent-environments):
1754 Add safe-local-variable property. (Bug#15936)
1755
1756 2013-11-23 Glenn Morris <rgm@gnu.org>
1757
1758 * textmodes/enriched.el (enriched-mode): Doc fix.
1759 * emacs-lisp/authors.el (authors-renamed-files-alist):
1760 Add enriched.doc -> enriched.txt.
1761
1762 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1763
1764 2013-11-22 Leo Liu <sdl.web@gmail.com>
1765
1766 * progmodes/octave.el (inferior-octave-startup): Spit out error
1767 message.
1768
1769 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1770
1771 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1772 Improve docstring.
1773 Add :version.
1774 (ruby-encoding-magic-comment-style): Add :version.
1775
1776 2013-11-22 Leo Liu <sdl.web@gmail.com>
1777
1778 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1779 (Bug#15076)
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.
1783 (octave-kill-process): Don't ask twice. (Bug#10564)
1784
1785 2013-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
1793 2013-11-21 Leo Liu <sdl.web@gmail.com>
1794
1795 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1796 Fix obsolete variable comment-use-global-state.
1797
1798 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1799
1800 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1801 Add `octave-source-file'.
1802 (octave-source-file): New function. (Bug#15935)
1803
1804 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1805
1806 * net/eww.el (eww-local-regex): New variable.
1807 (eww): Use it to detect localhost and similar.
1808
1809 2013-11-21 Leo Liu <sdl.web@gmail.com>
1810
1811 Add completion for command `ag'.
1812 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1813 (pcomplete/ag): New function.
1814 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1815
1816 2013-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
1822 2013-11-21 Glenn Morris <rgm@gnu.org>
1823
1824 * startup.el (command-line-1): Use path-separator with -L.
1825
1826 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1827
1828 * emacs-lisp/package.el (describe-package-1): Add package archive
1829 to shown fields.
1830
1831 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
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
1837 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1838
1839 * ses.el (ses-mode): Doc fix. (Bug#14748)
1840
1841 2013-11-20 Leo Liu <sdl.web@gmail.com>
1842
1843 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1844
1845 2013-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
1850 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1851
1852 * filenotify.el (file-notify-add-watch): Doc fix.
1853
1854 2013-11-19 Leo Liu <sdl.web@gmail.com>
1855
1856 * obsolete/rcompile.el: Mark obsolete.
1857
1858 * progmodes/compile.el (compilation-start)
1859 (compilation-goto-locus, compilation-find-file):
1860 Pass no-display-ok and handle nil value from display-buffer.
1861 (Bug#13594)
1862
1863 * window.el (display-buffer-alist, display-buffer): Document the
1864 new parameter no-display-ok. Return either a window or nil
1865 but never a non-window value.
1866
1867 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1868
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.
1874
1875 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * emacs-lisp/nadvice.el (remove-function): Align with
1878 add-function's behavior.
1879
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
1890 2013-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
1895 2013-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
1900 2013-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
1917 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1918
1919 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1920 `tramp-current-connection'.
1921
1922 2013-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
1927 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1928
1929 * subr.el (version-regexp-alist): Fix a typo.
1930
1931 2013-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
1938 2013-11-15 Leo Liu <sdl.web@gmail.com>
1939
1940 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1941
1942 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * progmodes/gud.el (ctl-x-map):
1945 Remove C-x SPC binding. (Bug#12342)
1946 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1947
1948 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1949
1950 * subr.el (version-regexp-alist):
1951 Recognize hg, svn and darcs versions as snapshot versions.
1952
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.
1960
1961 2013-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
1967 2013-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
1977 2013-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
1983 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * widget.el, hfy-cmap.el: Remove bogus package version number.
1986
1987 2013-11-13 Glenn Morris <rgm@gnu.org>
1988
1989 * replace.el (replace-eval-replacement):
1990 Try to give more helpful error message. (Bug#15836)
1991
1992 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1993 (archive-7z-update): Avoid custom type mismatches.
1994
1995 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1996
1997 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1998
1999 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
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
2006 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2007
2008 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2009 binary "|" operator and closing block args delimiter.
2010 Remove FIXME comment referring to Ruby 1.8-only syntax.
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
2016 2013-11-12 Glenn Morris <rgm@gnu.org>
2017
2018 * ps-print.el (ps-face-attribute-list):
2019 Handle anonymous faces. (Bug#15827)
2020
2021 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2022
2023 * window.el (display-buffer-other-frame): Fix doc-string.
2024 (Bug#15868)
2025
2026 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2029
2030 2013-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
2044 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2047
2048 2013-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
2053 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * iswitchb.el (iswitchb-mode): Mark obsolete.
2056
2057 2013-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
2063 2013-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
2069 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2070
2071 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2072 Force highlighting text after Summary keyword in doc face for rpm.
2073
2074 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2075
2076 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2077 available and the word has no wildcards, append one to the grep pattern.
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
2082 2013-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
2089 2013-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
2094 2013-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
2099 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2100
2101 * faces.el (describe-face): Add distant-foreground.
2102
2103 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2104
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.
2108 (ruby--insert-coding-comment, ruby--detect-encoding):
2109 New functions extracted from `ruby-mode-set-encoding'.
2110 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2111 to control the style of the auto-inserted encoding comment.
2112
2113 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2114
2115 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2116 Use `smie-backward-sexp' with token argument.
2117
2118 2013-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
2123 2013-11-08 Glenn Morris <rgm@gnu.org>
2124
2125 * progmodes/autoconf.el (autoconf-mode):
2126 Tweak comment-start-skip. (Bug#15822)
2127
2128 2013-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
2134 2013-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
2142 2013-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.
2149 (ruby-smie--forward-token, ruby-smie--backward-token):
2150 Separate "|" from "&" or "*" going after it. That can happen in block
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
2158 2013-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
2163 2013-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
2168 2013-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
2173 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2174
2175 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2176 "." compared to " @ ". This incidentally fixes some indentation
2177 examples with "do".
2178 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
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.
2185
2186 2013-11-06 Glenn Morris <rgm@gnu.org>
2187
2188 * Makefile.in (setwins_almost, setwins_for_subdirs):
2189 Avoid accidental matches.
2190
2191 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * menu-bar.el (popup-menu): Use key-binding.
2194
2195 2013-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
2201 2013-11-06 Leo Liu <sdl.web@gmail.com>
2202
2203 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2204 DISTANCE to bound the search. All uses changed. (Bug#15808)
2205
2206 2013-11-06 Glenn Morris <rgm@gnu.org>
2207
2208 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2209 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2210 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2211
2212 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2213
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
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
2224 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2225
2226 * international/quail.el (quail-help): Be more explicit about the
2227 meaning of the labels shown on the keys. (Bug#15800)
2228
2229 * startup.el (normal-top-level): Load the subdirs.el files before
2230 setting the locale environment. (Bug#15805)
2231
2232 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2233
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
2237 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2238
2239 2013-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
2249 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2250
2251 * international/characters.el (glyphless-char-display-control):
2252 Add usage note.
2253
2254 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2255
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.
2262
2263 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * rect.el (rectangle--highlight-for-redisplay):
2266 * emacs-lisp/smie.el (smie--next-indent-change):
2267 Use buffer-chars-modified-tick.
2268
2269 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2270
2271 * electric.el (electric-indent-post-self-insert-function):
2272 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2273
2274 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2275
2276 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2277
2278 2013-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
2283 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2286
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
2301 2013-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
2314 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2315
2316 * emacs-lisp/package.el (package-menu-mode)
2317 (package-menu--print-info, package-menu--archive-predicate):
2318 Add Archive column to package list.
2319
2320 2013-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
2333 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2334
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
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
2344 2013-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
2349 2013-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
2354 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
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
2360 2013-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
2368 2013-11-04 Glenn Morris <rgm@gnu.org>
2369
2370 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2371
2372 2013-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
2381 2013-11-03 Glenn Morris <rgm@gnu.org>
2382
2383 * Makefile.in (abs_srcdir): Remove.
2384 (emacs): Unset EMACSLOADPATH.
2385
2386 2013-11-02 Glenn Morris <rgm@gnu.org>
2387
2388 * Makefile.in (EMACS): Use a relative filename.
2389 (abs_top_builddir): Remove.
2390 (custom-deps, finder-data, autoloads): Use --chdir.
2391
2392 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2393
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
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
2406 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2407
2408 * emacs-lisp/package.el (package-version-join):
2409 Recognize snapshot versions.
2410
2411 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2412
2413 * subr.el (version-regexp-alist): Add support for snapshot versions.
2414
2415 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2418 New function, replacement for `smie-rule-parent' for when we want to
2419 skip over our direct parent if it's an assignment token..
2420 (ruby-smie-rules): Use it.
2421
2422 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2423
2424 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
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
2435 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2436
2437 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2438
2439 2013-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
2445 2013-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
2450 2013-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
2455 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2456
2457 Allow multiple bibliographies when BibLaTeX is used rather than
2458 BibTeX.
2459 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2460 (reftex-locate-bibliography-files): Us it.
2461
2462 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2463
2464 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2465 allow comments in pbm files.
2466
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.
2470 Support versions of libpng beyond 1.4.x.
2471 Support libtiff v4.x.
2472
2473 2013-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
2480 2013-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
2485 2013-10-30 Glenn Morris <rgm@gnu.org>
2486
2487 * Makefile.in (autoloads): Do not use abs_lisp.
2488
2489 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2490 `newline' does not respect `standard-output', so use `princ'.
2491
2492 2013-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
2498 2013-10-30 Glenn Morris <rgm@gnu.org>
2499
2500 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2501
2502 * emacs-lisp/package.el (lm-homepage): Declare.
2503
2504 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2505 Fix doc typos.
2506
2507 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2508
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
2514 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2515
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
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
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
2557 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * subr.el (undefined): Add missing behavior from the C code for
2560 unbound keys.
2561
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
2589 * emacs-lisp/package.el (package--download-one-archive)
2590 (describe-package-1): Don't query the user about final newline.
2591
2592 2013-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
2599 2013-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
2605 2013-10-28 Daiki Ueno <ueno@gnu.org>
2606
2607 * epa-file.el
2608 (epa-file-cache-passphrase-for-symmetric-encryption):
2609 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2610
2611 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2612
2613 * image.el (defimage):
2614 (image-load-path): Doc fixes.
2615
2616 2013-10-27 Alan Mackenzie <acm@muc.de>
2617
2618 Indent statements in macros following "##" correctly.
2619 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2620 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2621
2622 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2623
2624 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2625
2626 2013-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
2631 2013-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
2637 2013-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
2644 2013-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
2687 2013-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
2692 2013-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
2699 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2700
2701 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2702 capitalization. Use :visible instead of :active.
2703 Fix `ruby-indent-exp' reference. Add menu items for the generic
2704 commands that are used with SMIE.
2705 (ruby-do-end-to-brace): Insert space after `{'.
2706
2707 2013-10-25 John Anthony <john@jo.hnanthony.com>
2708
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)
2712
2713 2013-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
2718 2013-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
2723 2013-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
2728 2013-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
2751 2013-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
2756 2013-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
2761 2013-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)
2765 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2766 Call unmsys--file-name before expand-file-name, not after it.
2767
2768 2013-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)
2779 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2780 Handle skipped tests. (Bug#9803)
2781
2782 2013-10-24 Glenn Morris <rgm@gnu.org>
2783
2784 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2785
2786 * Makefile.in (abs_top_srcdir): New, set by configure.
2787 (update-subdirs): Correct build-aux location.
2788
2789 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2790
2791 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2792 value, whether we could auto-deduce `backend', or not.
2793
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
2798 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2799
2800 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2801
2802 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2805 { if it is hanging.
2806
2807 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2808 :before ";".
2809
2810 2013-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
2816 2013-10-23 Leo Liu <sdl.web@gmail.com>
2817
2818 * ido.el (ido-tidy): Handle read-only text.
2819
2820 2013-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
2830 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2833 Use `following-char'.
2834
2835 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
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
2842 2013-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)
2847 (display-visual-class, display-monitor-attributes-list):
2848 Mention the optional ‘display’ argument in doc strings.
2849
2850 2013-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
2855 2013-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
2867 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * textmodes/remember.el (remember-diary-extract-entries):
2870 Avoid add-to-list.
2871
2872 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2873 an instruction.
2874
2875 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2876
2877 * progmodes/ruby-mode.el (ruby-smie-grammar):
2878 Add (almost) all infix operators.
2879 (ruby-smie--implicit-semi-p): Add new operator chars.
2880
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
2886 2013-10-20 Alan Mackenzie <acm@muc.de>
2887
2888 Allow comma separated lists after Java "implements".
2889
2890 * progmodes/cc-engine.el (c-backward-over-enum-header):
2891 Parse commas.
2892 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2893 from a "disallowed" list in enum fontification.
2894
2895 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2896
2897 * startup.el (default-frame-background-mode): Remove unused defvar.
2898
2899 * progmodes/verilog-mode.el (verilog-mode): Don't set
2900 comment-indent-function globally.
2901
2902 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2903
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
2910 * menu-bar.el: Move GNUStep specific menus...
2911
2912 * term/ns-win.el (ns-initialize-window-system): ... to here.
2913
2914 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * simple.el (newline): Only run post-self-insert-hook when
2917 called interactively.
2918
2919 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2920
2921 * icomplete.el (icomplete-with-completion-tables): Add :version.
2922
2923 2013-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
2935 2013-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
2944 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2945
2946 * menu-bar.el: Don't make Services menu.
2947
2948 2013-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
2955 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2956
2957 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2958
2959 2013-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
2965 2013-10-18 Glenn Morris <rgm@gnu.org>
2966
2967 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2968
2969 2013-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
3026 2013-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
3031 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3032
3033 * textmodes/remember.el (remember): Set buffer-offer-save in
3034 remember buffers (bug#13566).
3035
3036 2013-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.
3045 (ielm-eval-input): Accept optional `for-effect' parameter.
3046 Bind `standard-output' to stream we create using
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
3052 2013-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
3088 persistency file.
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
3105 2013-10-17 Glenn Morris <rgm@gnu.org>
3106
3107 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3108
3109 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * skeleton.el (skeleton-newline): Remove.
3112 (skeleton-internal-1): Use (insert "\n") instead.
3113
3114 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3115 let-bindings.
3116
3117 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3118 forward-sexp-function while we redo its job (bug#15613).
3119
3120 2013-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
3125 2013-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
3130 2013-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
3141 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3142
3143 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3144 (bug#15580).
3145
3146 2013-10-16 Glenn Morris <rgm@gnu.org>
3147
3148 * ansi-color.el (ansi-color-drop-regexp):
3149 Add 1J, 1K, 2K. (Bug#15617)
3150
3151 * files.el (hack-local-variables--warned-lexical): New.
3152 (hack-local-variables):
3153 Warn about misplaced lexical-binding. (Bug#15616)
3154
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
3159 2013-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
3164 2013-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
3169 2013-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
3174 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3175
3176 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3177 Handle methods ending with `?' and `!'.
3178
3179 2013-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
3191 2013-10-13 Glenn Morris <rgm@gnu.org>
3192
3193 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3194 Occur buffers are read-only. http://bugs.debian.org/720775
3195
3196 * emacs-lisp/authors.el (authors-fixed-entries):
3197 Comment out old alpha stuff.
3198
3199 2013-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
3207 2013-10-13 Alan Mackenzie <acm@muc.de>
3208
3209 Fix indentation/fontification of Java enum with
3210 "implements"/generic.
3211
3212 * progmodes/cc-engine.el (c-backward-over-enum-header):
3213 Extracted from the three other places and enhanced to handle generics.
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
3219 2013-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
3225 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3226
3227 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3228
3229 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3230
3231 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3232
3233 2013-10-13 Glenn Morris <rgm@gnu.org>
3234
3235 * menu-bar.el (menu-bar-update-buffers):
3236 Unify Buffers menu prompt string. (Bug#15576)
3237
3238 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3239
3240 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3241 Add some entries.
3242 (authors-fixed-entries): Use accented form of name.
3243
3244 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3247 method calls (bug#15594).
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
3252 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3253 internals of universal-argument.
3254
3255 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3256
3257 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
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.
3260
3261 2013-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
3274 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3275
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
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
3286 2013-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
3291 2013-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
3297 2013-10-10 João Távora <joaotavora@gmail.com>
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
3303 2013-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
3308 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3309
3310 * window.el (pop-to-buffer-same-window): Fix doc-string.
3311 (Bug#15492)
3312
3313 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3316
3317 2013-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
3322 2013-10-10 Glenn Morris <rgm@gnu.org>
3323
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
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
3333 2013-10-10 John Anthony <john@jo.hnanthony.com>
3334
3335 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3336
3337 2013-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
3343 2013-10-09 Glenn Morris <rgm@gnu.org>
3344
3345 * vc/vc-svn.el (vc-svn-create-repo):
3346 Expand paths in file://... url. (Bug#15446)
3347
3348 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3349 Add some entries.
3350 (authors): Remove unused local variables.
3351
3352 2013-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
3366 2013-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
3376 2013-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
3393 2013-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
3401 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3402 Move here from mouse.el.
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
3417 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3418
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
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
3436 2013-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
3442 2013-10-08 Bastien Guerry <bzg@gnu.org>
3443
3444 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3445
3446 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3447
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
3455 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3456 with more than one argument (bug#15538).
3457
3458 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3459
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
3467 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3468
3469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3470 case of the dot in a chained method call being on the following line.
3471
3472 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3473
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
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
3483 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3484 (css-mode): Use electric-indent-chars.
3485
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
3507 2013-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
3512 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3513 Use `tramp-handle-insert-file-contents'.
3514 (tramp-gvfs-handle-insert-file-contents): Remove function.
3515
3516 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3517 Use `save-restriction' in order to keep markers.
3518
3519 * net/trampver.el: Update release number.
3520
3521 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * progmodes/compile.el (compilation-parse-errors):
3524 Use compilation--put-prop.
3525 (compilation--ensure-parse): Check compilation-multiline.
3526
3527 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3528
3529 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3530 lexical-binding.
3531
3532 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3533
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
3542 2013-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
3555 2013-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
3561 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3562
3563 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3564 keyword, too.
3565
3566 2013-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
3573 2013-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
3591 2013-10-05 Leo Liu <sdl.web@gmail.com>
3592
3593 * progmodes/octave.el (octave-send-region):
3594 Call compilation-forget-errors.
3595
3596 2013-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
3604 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3607
3608 2013-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
3615 2013-10-04 Leo Liu <sdl.web@gmail.com>
3616
3617 * progmodes/octave.el (inferior-octave-mode):
3618 Call compilation-forget-errors.
3619
3620 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3621
3622 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3623
3624 2013-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
3630 2013-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
3638 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3639
3640 * minibuffer.el (completion--replace): Be careful that `end' might be
3641 a marker.
3642
3643 2013-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
3668 2013-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
3692 2013-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
3698 2013-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
3704 2013-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
3709 2013-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
3717 2013-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
3722 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3725
3726 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3727
3728 * vc/vc-git.el (vc-git-grep): Disable pager.
3729
3730 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3731
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
3736 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3737 non-nil, use `syntax-ppss' (Bug#15251).
3738
3739 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3740
3741 * progmodes/octave.el (inferior-octave-startup-file):
3742 Prefer ~/.emacs.d/init_octave.m.
3743
3744 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3745
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.
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
3760 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3761 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3762
3763 2013-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
3768 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3769
3770 * subr.el (looking-back): Do not recommend using looking-back.
3771
3772 2013-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
3784 2013-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
3789 2013-09-28 Leo Liu <sdl.web@gmail.com>
3790
3791 * progmodes/octave.el (inferior-octave-completion-table)
3792 (inferior-octave-completion-at-point): Minor tweaks.
3793
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
3799 2013-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
3805 2013-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
3814 2013-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
3828 2013-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
3836 2013-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
3842 2013-09-26 Kenichi Handa <handa@gnu.org>
3843
3844 * international/quail.el (quail-help): Make it not a command.
3845
3846 2013-09-26 Leo Liu <sdl.web@gmail.com>
3847
3848 * minibuffer.el (completion-all-sorted-completions): Make args
3849 optional as they are.
3850
3851 2013-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
3856 2013-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
3862 2013-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
3869 2013-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
3874 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3875
3876 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3877
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
3883 2013-09-22 Leo Liu <sdl.web@gmail.com>
3884
3885 * files.el (interpreter-mode-alist): Add octave.
3886
3887 2013-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
3896 2013-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
3901 2013-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
3905 2013-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
3910 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3911
3912 * vc/pcvs.el (cvs-mode-ignore):
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.
3915
3916 2013-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
3926 2013-09-19 Glenn Morris <rgm@gnu.org>
3927
3928 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3929
3930 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3931
3932 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3933
3934 2013-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
3947 2013-09-19 Glenn Morris <rgm@gnu.org>
3948
3949 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3950
3951 * eshell/em-unix.el (eshell-remove-entries):
3952 Rename argument to avoid name-clash with global `top-level'.
3953
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
3958 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3959 (directory-files-and-attributes): Mark unused arg.
3960
3961 * eshell/em-unix.el (eshell-remove-entries):
3962 Remove unused arg `path'. Update callers.
3963
3964 * eshell/em-hist.el (eshell-hist-parse-arguments):
3965 Remove unused arg `silent'. Update callers.
3966
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):
3972 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3973
3974 2013-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
3980 2013-09-18 Glenn Morris <rgm@gnu.org>
3981
3982 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3983 (chart-face-list): Drop Emacsen without display-color-p.
3984
3985 * net/eww.el (libxml-parse-html-region): Declare.
3986 (eww-display-html): Explicit error if no libxml2 support.
3987
3988 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3989
3990 * image.el (image-type-from-buffer, image-multi-frame-p):
3991 Remove --without-x warning/error.
3992
3993 * mouse.el (mouse-yank-primary):
3994 * term.el (term-mouse-paste):
3995 Reorder to silence --without-x compilation.
3996
3997 * mpc.el (doc-view-mode): Silence --without-x compilation.
3998
3999 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4000 Silence --without-x compilation.
4001
4002 * progmodes/gud.el (gud-find-file, gud-mode):
4003 Silence --without-x compilation.
4004 (tooltip-mode): Declare.
4005
4006 * wdired.el (dired-backup-overwrite): Remove declaration.
4007 (wdired-mode-map): Add doc string.
4008
4009 * custom.el (x-get-resource): Declare.
4010
4011 * eshell/em-glob.el (ange-cache):
4012 * eshell/em-unix.el (ange-cache): Declare.
4013
4014 * faces.el (x-display-list, x-open-connection, x-get-resource):
4015 Declare.
4016
4017 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4018 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4019 Declare.
4020
4021 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4022
4023 * net/gnutls.el (gnutls-log-level): Declare.
4024
4025 * net/shr.el (image-size, image-animate): Declare.
4026
4027 * simple.el (font-info): Declare.
4028
4029 * subr.el (x-popup-dialog): Declare.
4030
4031 * term/common-win.el (x-select-enable-primary)
4032 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4033 Declare.
4034
4035 * term/ns-win.el (x-handle-args): Declare.
4036
4037 * term/x-win.el (x-select-enable-clipboard): Declare.
4038
4039 * term/w32-win.el (create-default-fontset): Declare.
4040
4041 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4042 Declare.
4043
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
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):
4053 * eshell/esh-util.el (eshell-sublist):
4054 Remove unused local variables.
4055
4056 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4057
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
4062 2013-09-18 Leo Liu <sdl.web@gmail.com>
4063
4064 * subr.el (add-hook): Robustify to handle closure as well.
4065
4066 2013-09-17 Glenn Morris <rgm@gnu.org>
4067
4068 * simple.el (messages-buffer-mode-map): Unbind "g".
4069
4070 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * help-mode.el (help-mode-finish): Use derived-mode-p.
4073 Remove obsolete highlighting.
4074
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
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
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
4100 2013-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)
4106 (ert-run-test): Use `messages-buffer' function.
4107 (ert--force-message-log-buffer-truncation): Ignore read-only.
4108 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4109 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4110
4111 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4114
4115 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4116
4117 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4118
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
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
4147 2013-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
4153 2013-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
4158 2013-09-15 Glenn Morris <rgm@gnu.org>
4159
4160 * eshell/em-unix.el (eshell/rm):
4161 Make -f ignore missing files. (Bug#15373)
4162
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
4167 2013-09-14 Glenn Morris <rgm@gnu.org>
4168
4169 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4170
4171 2013-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
4176 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4177
4178 * frame.el (x-focus-frame): Mark as declared in frame.c.
4179
4180 2013-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
4188 2013-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
4193 2013-09-13 Glenn Morris <rgm@gnu.org>
4194
4195 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4196
4197 * eshell/esh-ext.el (eshell-search-path): Declare.
4198
4199 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4200 Otherwise an error occurs if eshell-dirs module not loaded.
4201
4202 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4203
4204 2013-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
4217 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * term/ns-win.el (parameters): Don't declare as dynamic.
4220 (before-make-frame-hook): Don't add ineffective function.
4221
4222 * eshell/*.el: Use lexical-binding (bug#15231).
4223
4224 2013-09-12 Kenichi Handa <handa@gnu.org>
4225
4226 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4227
4228 2013-09-12 Glenn Morris <rgm@gnu.org>
4229
4230 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4231 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4232
4233 * subr.el (do-after-load-evaluation): Also give compiler warnings
4234 when obsolete files are used (except by obsolete files).
4235
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
4239 * vc/vc.el (vc-deduce-fileset): Doc fix.
4240
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
4245 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4246
4247 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4248 (vc-bzr-pull): Require vc-dispatcher.
4249 * vc/vc-git.el (vc-compilation-mode): Declare.
4250 (vc-git-pull): Require vc-dispatcher.
4251
4252 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4253
4254 * progmodes/octave.el (help-button-action): Declare.
4255
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
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
4276 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4277
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.
4306 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4307 rely on cl-return.
4308
4309 2013-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
4314 2013-09-11 Glenn Morris <rgm@gnu.org>
4315
4316 * echistory.el (electric-command-history): Remove call to deleted func.
4317
4318 * play/landmark.el (landmark-mode): Fix typos.
4319
4320 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4321 Check cvs-sort-ignore-file is bound.
4322
4323 * savehist.el: No need for cl when compiling on Emacs.
4324
4325 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4328 (bug#15338).
4329 (eshell-self-insert-command, eshell-send-invisible):
4330 Remove unused argument.
4331 (eshell-handle-control-codes): Remove unused var `orig'.
4332 Avoid delete-backward-char.
4333
4334 * files.el (set-auto-mode): Simplify a bit further.
4335
4336 2013-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
4345 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4346
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.
4379 (Command-history-setup): Remove function.
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
4390 * profiler.el (profiler-calltree-find): Use function-equal.
4391
4392 2013-09-10 Glenn Morris <rgm@gnu.org>
4393
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
4404 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4405
4406 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * simple.el: Use set-temporary-overlay-map for universal-argument.
4409 (universal-argument-map): Don't use default-bindings (bug#15317).
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
4421 * subr.el (with-demoted-errors): Add `format' argument.
4422
4423 2013-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):
4435 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4436 Use `tramp-cleanup-connection'.
4437
4438 * net/tramp-sh.el (tramp-maybe-open-connection):
4439 Catch 'uname-changed inside the progress reporter.
4440
4441 2013-09-10 Glenn Morris <rgm@gnu.org>
4442
4443 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4444
4445 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4446 returns "alternate access method" in mode (eg "-rw-r--r--.").
4447
4448 2013-09-08 Glenn Morris <rgm@gnu.org>
4449
4450 * saveplace.el (load-save-place-alist-from-file):
4451 Demote errors. (Bug#15305)
4452
4453 2013-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.
4459 (with-tramp-progress-reporter): Do not let-bind `result'.
4460 This yields to scoping errors in XEmacs.
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'.
4466 (tramp-adb--gnu-switches-to-ash):
4467 Use `tramp-compat-replace-regexp-in-string'.
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
4475 * net/tramp-compat.el (tramp-compat-copy-file):
4476 Catch `wrong-number-of-arguments' error.
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
4487 * net/tramp-gw.el (tramp-gw-open-network-stream):
4488 Use `tramp-compat-replace-regexp-in-string'.
4489
4490 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4491 Call `tramp-handle-make-auto-save-file-name'.
4492 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4493 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4494 (tramp-sh-file-inotifywait-process-filter):
4495 Use `tramp-compat-replace-regexp-in-string'.
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'.
4500 (tramp-smb-handle-copy-directory):
4501 Call `tramp-compat-replace-regexp-in-string'.
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
4509 2013-09-08 Kenichi Handa <handa@gnu.org>
4510
4511 * international/characters.el: Set category "^" (Combining) for
4512 more characters.
4513
4514 2013-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.
4520 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4521 While handling a "(", add a check for, effectively, Java, and handle a
4522 "typeless" declaration there.
4523
4524 2013-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
4529 2013-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
4573 2013-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
4578 2013-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
4585 2013-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
4598 2013-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
4606 2013-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
4620 2013-09-06 Glenn Morris <rgm@gnu.org>
4621
4622 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4623
4624 2013-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
4629 2013-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
4650 2013-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
4673 2013-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
4678 2013-09-05 Glenn Morris <rgm@gnu.org>
4679
4680 * progmodes/cc-awk.el (c-forward-sws): Declare.
4681
4682 2013-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
4688 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4689
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
4714 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4715 `deleted'. Don't drop errors silently.
4716
4717 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4718
4719 2013-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
4730 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
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
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
4744 * calculator.el (calculator-funcall): Fix typo in last change.
4745
4746 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4747
4748 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4749 <pkg>-autoloads.el file stop us.
4750
4751 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4752 warnings, and factor out common code.
4753
4754 2013-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
4760 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4761
4762 Format code sent to Python shell for robustness.
4763 * progmodes/python.el (python-shell-buffer-substring):
4764 New function.
4765 (python-shell-send-region, python-shell-send-buffer): Use it.
4766
4767 2013-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
4779 2013-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
4785 2013-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'.
4789 (python-nav-if-name-main): New command.
4790
4791 2013-09-01 Glenn Morris <rgm@gnu.org>
4792
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
4797 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4798
4799 2013-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
4804 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4805
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
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
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
4846 2013-08-29 Glenn Morris <rgm@gnu.org>
4847
4848 * progmodes/cc-engine.el (c-pull-open-brace):
4849 Move definition before use.
4850
4851 2013-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
4858 2013-08-29 Glenn Morris <rgm@gnu.org>
4859
4860 * calendar/cal-china.el (calendar-chinese-year-cache):
4861 Recenter on 2015.
4862
4863 * nxml/nxml-util.el (nxml-debug-clear-inside):
4864 Use cl-loop rather than loop.
4865
4866 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4867
4868 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4869
4870 2013-08-28 Glenn Morris <rgm@gnu.org>
4871
4872 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4873
4874 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4875
4876 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4877
4878 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * simple.el (repeat-complex-command--called-interactively-skip):
4881 New function.
4882 (repeat-complex-command): Use it (bug#14136).
4883
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
4897 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4898 and dynamic let binding.
4899
4900 * vc/smerge-mode.el: Remove redundant :group args.
4901
4902 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4903 to load-path.
4904
4905 2013-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
4912 2013-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
4917 2013-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
4922 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4925
4926 2013-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
4931 2013-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
4937 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4938
4939 * window.el (display-buffer-use-some-window): Add missing
4940 argument in call of get-largest-window (Bug#15185).
4941 Reported by Stephen Leake.
4942
4943 2013-08-27 Glenn Morris <rgm@gnu.org>
4944
4945 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4946
4947 2013-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
4952 2013-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):
4966 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4967 Apply `tramp-check-proper-host'.
4968
4969 2013-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
4974 2013-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
4979 2013-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
4984 2013-08-25 Alan Mackenzie <acm@muc.de>
4985
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
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
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
5016 2013-08-23 Glenn Morris <rgm@gnu.org>
5017
5018 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5019
5020 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5021
5022 * files.el (create-file-buffer): If the result would begin with
5023 spaces, prepend a "|" instead of removing them. (Bug#15162)
5024
5025 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5028 text-properties (bug#15155).
5029
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
5035 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5036
5037 * window.el (display-buffer-pop-up-frame):
5038 Call pop-up-frame-function with BUFFER current so `make-frame' will
5039 use it as the new frame's buffer (Bug#15133).
5040
5041 2013-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
5054 2013-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
5059 2013-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.
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).
5066
5067 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * align.el: Use lexical-binding.
5070 (align-region): Simplify accordingly.
5071
5072 2013-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
5079 2013-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
5090 2013-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
5095 2013-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
5100 2013-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
5105 2013-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
5109 2013-08-16 Glenn Morris <rgm@gnu.org>
5110
5111 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5112 Handle "Remote Directory" response of some clients. (Bug#15058)
5113
5114 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5115 Tweak warning. (Bug#14926)
5116
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
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
5130 2013-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
5137 2013-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
5159 * net/tramp-compat.el (tramp-compat-make-temp-file):
5160 Rename FILENAME to F.
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
5188 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5189
5190 * frameset.el (frameset--prop-setter): New function.
5191 (frameset-prop): Add gv-setter declaration.
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.
5201
5202 2013-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
5224 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5225
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
5232 * image.el (image-content-type-suffixes): New variable.
5233
5234 2013-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
5239 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5240
5241 * simple.el (backward-word): Mention the optional argument.
5242
5243 2013-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
5249 2013-08-13 Glenn Morris <rgm@gnu.org>
5250
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
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
5262 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5263
5264 2013-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
5272 2013-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
5277 2013-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
5283 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5284
5285 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5286
5287 2013-08-12 Glenn Morris <rgm@gnu.org>
5288
5289 * format.el (format-annotate-function):
5290 Handle read-only text properties in the source. (Bug#14887)
5291
5292 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5293
5294 * net/eww.el (eww-display-html): Ignore coding system errors.
5295 One web site uses "utf-8lias" as the coding system.
5296
5297 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5298
5299 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5300
5301 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5302
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
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
5387 * emacs-lisp/timer.el (timer--time): Define setter with
5388 gv-define-setter to avoid deprecation warning.
5389
5390 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5391 (*record-cmpl-statistics-p*): Remove (was commented out).
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
5397 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5398
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
5403 * ffap.el (ffap-url-at-point): Fix reference to variable
5404 thing-at-point-default-mail-uri-scheme.
5405
5406 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5407
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
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
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
5459 * ido.el (ido-completion-help): Fix up compiler warning.
5460
5461 2013-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
5475 2013-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)
5496 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
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
5534 2013-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
5539 2013-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.
5547 (comint-snapshot-last-prompt, comint-output-filter):
5548 Use comint-last-prompt.
5549
5550 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5551
5552 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5553 (frameset-save): Check validity of the resulting frameset.
5554
5555 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5556
5557 * ido.el (ido-record-command): Add doc string.
5558
5559 2013-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.
5569 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5570 (frameset-filter-alist): Doc fixes.
5571
5572 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5575
5576 2013-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
5583 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5584
5585 * frameset.el (frameset-restore): Doc fix.
5586
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
5597 2013-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
5637 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5638
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
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
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
5653 2013-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
5660 2013-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
5667 2013-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
5673 2013-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)
5691 (calendar-font-lock-keywords): Set to nil and make obsolete.
5692 (calendar-day-name): Add option to use header array.
5693
5694 2013-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.
5700 (shr-make-table-1): Redo last change to fix the real problem in
5701 colspan handling.
5702
5703 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5704
5705 * files.el (cache-long-line-scans):
5706 Make obsolete alias to `cache-long-scans'.
5707
5708 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5709
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
5718 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5719 Fix typos in docstrings.
5720
5721 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5722
5723 * frame.el (get-other-frame): Tiny cleanup.
5724
5725 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5726
5727 * vc/vc.el (vc-default-ignore-completion-table):
5728 Silence byte-compiler warning.
5729
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
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
5744 2013-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
5773 2013-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
5845 2013-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
5853 2013-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
5876 2013-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.
5880 (calendar-generate-month, calendar-font-lock-keywords):
5881 Fix for calendar-day-header-width > length of any day name.
5882
5883 2013-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
5912 2013-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
5938 2013-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
5963 2013-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
5976 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5977
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.
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.
5984
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
5989 2013-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
6013 2013-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
6018 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6021
6022 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6025 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6026
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
6033 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6036 Add cl-def* expressions.
6037
6038 * frameset.el (frameset-filter-params): Fix order of arguments.
6039
6040 2013-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
6068 2013-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
6085 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6086
6087 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6088
6089 * whitespace.el (whitespace-ensure-local-variables): New function.
6090 (whitespace-cleanup-region): Call it.
6091 (whitespace-turn-on): Call it.
6092
6093 2013-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
6102 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6103 Order alphabetically.
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
6123 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6124 Order alphabetically.
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
6140 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6141
6142 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6143
6144 2013-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
6154 2013-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
6159 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
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
6168 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6169
6170 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6171
6172 2013-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
6177 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6178
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
6184 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6185
6186 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6187 more natural than popping.
6188
6189 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6190 (shr-urlify): Highlight under mouse.
6191
6192 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6193
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
6198 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6199 buffer for output.
6200
6201 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6202 point-min==1. Fix search string. Fix parentheses missing.
6203
6204 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6205 assume point-min==1. Fix search string. Fix parentheses missing.
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
6212 2013-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
6217 2013-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
6225 2013-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
6231 2013-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
6236 name of filtered items buffer.
6237
6238 2013-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
6245 2013-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
6251 2013-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
6260 2013-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
6268 with c-block-stmt-1-2-key.
6269
6270 2013-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
6276 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6277
6278 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6279 (Bug#14948)
6280
6281 2013-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
6286 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6287
6288 * simple.el (list-processes): Doc fix.
6289
6290 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6291
6292 * desktop.el (desktop--select-frame):
6293 Try harder to reuse existing frames.
6294
6295 2013-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
6306 2013-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
6312 2013-07-26 Matthias Meulien <orontee@gmail.com>
6313
6314 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6315 vc-print-root-log. (Bug#14948)
6316
6317 2013-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
6326 2013-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
6342 2013-07-26 Glenn Morris <rgm@gnu.org>
6343
6344 * align.el (align-regexp): Doc fix. (Bug#14857)
6345 (align-region): Explicit error if subexpression missing/does not match.
6346
6347 * simple.el (global-visual-line-mode):
6348 Do not duplicate the mode lighter. (Bug#14858)
6349
6350 2013-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
6355 2013-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.
6362 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6363 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6364
6365 2013-07-25 Glenn Morris <rgm@gnu.org>
6366
6367 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6368
6369 2013-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
6377 2013-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.
6391 (cvs-append-to-ignore): Move here from pcvs.el.
6392
6393 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6394
6395 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6396
6397 2013-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
6402 2013-07-24 Glenn Morris <rgm@gnu.org>
6403
6404 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6405
6406 2013-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
6421 2013-07-24 Glenn Morris <rgm@gnu.org>
6422
6423 * printing.el: Replace all uses of deleted ps-windows-system,
6424 ps-lp-system, ps-flatten-list with lpr- versions.
6425
6426 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6429 checked with memq (bug#14935).
6430
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
6437 2013-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
6457 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6458
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
6465 * ansi-color.el: Fix old URL.
6466
6467 2013-07-23 Michael R. Mauger <michael@mauger.com>
6468
6469 * progmodes/sql.el: Version 3.3
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
6479 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6480
6481 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6482
6483 2013-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
6491 2013-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
6498 2013-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
6503 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6504
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
6513 * winner.el (winner-hook-installed-p): Remove.
6514 (winner-mode): Simplify accordingly.
6515
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
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
6526 2013-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
6531 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6532
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.
6538 Do not save frames with non-nil `desktop-dont-save' parameter.
6539 Filter out deleted frames.
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
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
6553 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6554
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
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
6570 2013-07-20 Glenn Morris <rgm@gnu.org>
6571
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
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
6581 * image-dired.el (image-dired-track-original-file):
6582 Avoid changing point of wrong window. (Bug#14909)
6583
6584 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6585
6586 * progmodes/gdb-mi.el (gdb-done-or-error):
6587 Guard against "%" in gdb output. (Bug#14127)
6588
6589 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6590
6591 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6592 (Bug#14826)
6593
6594 * international/mule.el (coding-system-iso-2022-flags): Fix last
6595 change.
6596
6597 2013-07-20 Kenichi Handa <handa@gnu.org>
6598
6599 * international/mule.el (coding-system-iso-2022-flags):
6600 Add `8-bit-level-4'. (Bug#8522)
6601
6602 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603
6604 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6605 (bug#14815).
6606
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
6611 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6612 degenerate widths.
6613
6614 2013-07-19 Richard Stallman <rms@gnu.org>
6615
6616 * epa.el (epa-popup-info-window): Doc fix.
6617
6618 * subr.el (split-string): New arg TRIM.
6619
6620 2013-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
6625 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * filenotify.el (file-notify--library): Rename from
6628 `file-notify-support'. Do not autoload. Adapt all uses.
6629 (file-notify-supported-p): New defun.
6630
6631 * autorevert.el (auto-revert-use-notify):
6632 Use `file-notify-supported-p' instead of `file-notify-support'.
6633 Adapt docstring.
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
6649 2013-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
6655 2013-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.
6659 (ruby-block-beg-keywords): Inline.
6660 (ruby-font-lock-keyword-beg-re): Extract from
6661 `ruby-font-lock-keywords'.
6662
6663 2013-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
6672 2013-07-15 Glenn Morris <rgm@gnu.org>
6673
6674 * edmacro.el (edmacro-format-keys): Fix previous change.
6675
6676 2013-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
6681 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * simple.el (define-alternatives): Rename from alternatives-define,
6684 per RMS' suggestion.
6685
6686 2013-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
6713 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6714
6715 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6716
6717 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6718
6719 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6720 Highlight conversion methods on Kernel.
6721
6722 2013-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
6728 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6729
6730 * international/mule.el (define-coding-system): Doc fix.
6731
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
6736 2013-07-13 Leo Liu <sdl.web@gmail.com>
6737
6738 * ido.el (ido-read-file-name): Guard against non-symbol value.
6739
6740 2013-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
6745 2013-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
6750 2013-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
6759 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6760
6761 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6762 (gdb-send): Handle continued commands. (Bug#14847)
6763
6764 2013-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
6771 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6772
6773 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6774
6775 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6776
6777 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6778 (Bug#14842)
6779
6780 2013-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
6806 2013-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
6811 2013-07-12 Leo Liu <sdl.web@gmail.com>
6812
6813 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6814
6815 2013-07-11 Glenn Morris <rgm@gnu.org>
6816
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
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
6840 2013-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
6854 2013-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
6861 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * subr.el (delay-warning): New function.
6864
6865 2013-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
6874 2013-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.
6880 (tramp-message-show-progress-reporter-message): Remove, not
6881 needed anymore.
6882 (tramp-error-with-buffer): Show message in minibuffer.
6883 Discard input before waiting. Reset connection timestamp.
6884 (with-tramp-progress-reporter): Improve messages.
6885 (tramp-process-actions): Use progress reporter. Delete process in
6886 case of error. Improve messages.
6887
6888 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6889 Call `tramp-error-with-buffer' with vector and buffer.
6890 (tramp-current-connection): Remove.
6891 (tramp-maybe-open-connection): The car of
6892 `tramp-current-connection' are the first 3 slots of the vector.
6893
6894 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6895
6896 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6897 inside continued strings.
6898
6899 2013-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
6904 2013-07-10 Leo Liu <sdl.web@gmail.com>
6905
6906 * files.el (require-final-newline): Allow safe local value.
6907 (Bug#14834)
6908
6909 2013-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)
6914 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6915
6916 2013-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
6923 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 * faces.el (tty-setup-hook): Declare the hook.
6926
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
6931 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6932
6933 * simple.el (line-move-partial, line-move): Account for
6934 line-spacing.
6935 (line-move-partial): Avoid setting vscroll when the last
6936 partially-visible line in window is of default height.
6937
6938 2013-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
6943 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6944
6945 * subr.el (read-quoted-char): Remove unused local variable `char'.
6946
6947 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6948
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.
6956
6957 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6958 (viper-save-kill-buffer): Check if buffer is modified.
6959
6960 * viper.el (viper-version): Version update.
6961 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6962
6963 2013-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)
6974
6975 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6976
6977 * simple.el (default-font-height, window-screen-lines):
6978 New functions.
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
6984 2013-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
6989 2013-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
6994 2013-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
7000 2013-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
7006 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * simple.el (alternatives-define): Remove leftover :group keyword.
7009 Tweak docstring.
7010
7011 2013-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
7020 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7021
7022 * simple.el (alternatives-define): New macro.
7023
7024 2013-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
7029 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7030
7031 * calendar/todo-mode.el: Add handling of file deletion, both by
7032 mode command and externally. Fix various related bugs.
7033 Clarify Commentary and improve some documentation strings and code.
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
7051 archive buffer whether or not the archive already exists.
7052 Remove superfluous code. Use file size instead of buffer-file-name to
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
7067 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7068
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
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
7076 2013-07-05 Leo Liu <sdl.web@gmail.com>
7077
7078 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7079
7080 2013-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
7088 2013-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
7100 * net/tramp.el (tramp-file-name-for-operation):
7101 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
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
7111 2013-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
7119 2013-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
7126 2013-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
7131 2013-07-03 Glenn Morris <rgm@gnu.org>
7132
7133 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7134
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
7143 2013-07-03 Leo Liu <sdl.web@gmail.com>
7144
7145 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7146
7147 2013-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
7155 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7156
7157 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7158
7159 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7160
7161 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7162
7163 2013-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
7176 2013-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
7196 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7197
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
7202 * international/mule-cmds.el (select-safe-coding-system):
7203 Handle the case of FROM being a string correctly. (Bug#14755)
7204
7205 2013-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.
7209 (shr-rescale-image): ImageMagick animated images currently don't work.
7210
7211 2013-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,
7220 just show an error message and continue. Set up maximized frames
7221 so they have default non-maximized dimensions.
7222
7223 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7224
7225 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7226 Don't start heredoc inside a string or comment.
7227
7228 2013-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
7234 2013-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
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).
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
7251 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7252
7253 * net/shr.el (shr-render-region): New function.
7254
7255 * net/eww.el: Autoload `eww-browse-url'.
7256
7257 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7258
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
7262 archive element.
7263
7264 2013-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
7275 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7276
7277 * net/shr.el (add-face-text-property): Remove compat definition.
7278
7279 2013-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
7284 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7285
7286 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7287
7288 2013-06-27 Leo Liu <sdl.web@gmail.com>
7289
7290 * net/eww.el (eww-read-bookmarks): Check file size.
7291
7292 2013-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
7298 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7299
7300 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7301 probably.
7302 (eww-mode-map): Add a menu bar.
7303 (eww-add-bookmark): New command.
7304 (eww-bookmark-mode): New mode and commands.
7305 (eww-add-bookmark): Remove newlines from the title.
7306 (eww-bookmark-browse): Don't bug out if it's the only window.
7307
7308 2013-06-26 Glenn Morris <rgm@gnu.org>
7309
7310 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7311 (hfy-size): Handle ttys. (Bug#14668)
7312
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
7317 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7320
7321 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7322 nil terminate the loop (bug#14718).
7323
7324 2013-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.
7329 (eww-render): Move the history reset to the correct buffer.
7330
7331 2013-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
7336 * files-x.el (read-file-local-variable-value): Add `default'.
7337 (Bug#14710)
7338
7339 2013-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
7344 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7345
7346 * net/eww.el (eww-download): New command and keystroke.
7347
7348 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7349
7350 * net/eww.el (eww-copy-page-url): Change name of command.
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
7357 2013-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
7392 2013-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
7397 2013-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.
7401 (eww-forward-url): Allow going forward in the history, too.
7402
7403 2013-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
7410 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7411
7412 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7413 for DOI URLs.
7414
7415 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7416
7417 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7418 Update imenu-support when dialect changes.
7419
7420 2013-06-25 Leo Liu <sdl.web@gmail.com>
7421
7422 * ido.el (ido-read-internal): Allow forward slash on windows.
7423
7424 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * net/eww.el (eww): Start of strings is \\`, not ^.
7427
7428 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7429
7430 * net/shr.el (shr-browse-url): Fix interactive spec.
7431
7432 * net/eww.el (eww): Add a trailing slash to domain names.
7433
7434 2013-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
7438 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7439
7440 * net/shr.el (shr-browse-url): Use an external browser if given a
7441 prefix.
7442
7443 * net/eww.el (eww-external-browser): Move to shr.
7444
7445 2013-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
7451 2013-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
7463 2013-06-24 Leo Liu <sdl.web@gmail.com>
7464
7465 * ido.el (ido-read-internal): Fix bug#14620.
7466
7467 2013-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
7476 2013-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
7481 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7482
7483 * net/eww.el (eww-search-prefix): New variable.
7484 (eww): Use it.
7485 (eww-external-browser): New variable.
7486 (eww-mode-map): New keystroke.
7487 (eww-browse-with-external-browser): New command.
7488
7489 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7490
7491 2013-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
7498 2013-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
7504 2013-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
7510 2013-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
7518 2013-06-22 Glenn Morris <rgm@gnu.org>
7519
7520 * play/cookie1.el (cookie-apropos): Minor simplification.
7521
7522 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7523
7524 2013-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
7529 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7530
7531 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7532 Highlight keyword-like methods on Kernel and Module with
7533 font-lock-builtin-face.
7534 (auto-mode-alist): Consolidate different entries into one regexp
7535 and add more *file-s.
7536
7537 2013-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
7737 2013-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
7743 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7744
7745 * emacs-lisp/package.el (tar-get-file-descriptor)
7746 (tar--extract): Declare.
7747
7748 2013-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
7756 2013-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
7771 2013-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
7810 2013-06-21 Leo Liu <sdl.web@gmail.com>
7811
7812 * comint.el (comint-redirect-results-list-from-process):
7813 Fix infinite loop.
7814
7815 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816
7817 * net/eww.el (eww-update-header-line-format): Quote % characters.
7818
7819 2013-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.
7832 Do not autoload it.
7833 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7834 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7835
7836 2013-06-21 Leo Liu <sdl.web@gmail.com>
7837
7838 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7839
7840 2013-06-21 Glenn Morris <rgm@gnu.org>
7841
7842 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7843
7844 2013-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
7882 2013-06-21 Leo Liu <sdl.web@gmail.com>
7883
7884 * comint.el (comint-redirect-results-list-from-process):
7885 Fix random delay. (Bug#14681)
7886
7887 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7888
7889 * profiler.el (profiler-format-number): Use log, not log10.
7890
7891 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7892
7893 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7894
7895 2013-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
7905 2013-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
7910 2013-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
7920 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7921
7922 * arc-mode.el (archive-mode): Add `archive-write-file' to
7923 `write-contents-functions' also for remote files. (Bug#14652)
7924
7925 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7926
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
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
7946 2013-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
7952 2013-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
7961 2013-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
7984 2013-06-19 Glenn Morris <rgm@gnu.org>
7985
7986 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7987
7988 2013-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
7995 2013-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
8000 2013-06-19 Glenn Morris <rgm@gnu.org>
8001
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
8006 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8007 (ps-underlined-faces): Declare.
8008
8009 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8010 (speedbar-add-supported-extension): Declare.
8011
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
8016 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8017
8018 * net/secrets.el (secrets-struct-secret-content-type):
8019 Replace check of introspection data by a test call of "CreateItem".
8020 Some servers do not offer introspection.
8021
8022 2013-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
8033 2013-06-19 Leo Liu <sdl.web@gmail.com>
8034
8035 * progmodes/octave.el (octave-help): Fix regexp.
8036
8037 2013-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
8044 2013-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.
8054 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8055 New defuns.
8056
8057 2013-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
8063 2013-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
8086 2013-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
8097 2013-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
8107 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8110 (bug#14633).
8111
8112 2013-06-18 Glenn Morris <rgm@gnu.org>
8113
8114 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8115
8116 * newcomment.el (comment-search-forward, comment-search-backward):
8117 Doc fix. (Bug#14376)
8118
8119 2013-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
8124 2013-06-18 Matthias Meulien <orontee@gmail.com>
8125
8126 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8127 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8128
8129 2013-06-18 Glenn Morris <rgm@gnu.org>
8130
8131 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8132 Replace obsolete function generic-make-keywords with its expansion.
8133
8134 * progmodes/python.el (ffap-alist): Declare.
8135
8136 * textmodes/reftex.el (bibtex-mode-map): Declare.
8137
8138 2013-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
8144 2013-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
8149 2013-06-17 Juri Linkov <juri@jurta.org>
8150
8151 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8152
8153 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8154
8155 * emacs-lisp/package.el (package-load-descriptor):
8156 Remove `with-syntax-table' call, `read' doesn't need it.
8157 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8158
8159 2013-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
8164 2013-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
8169 2013-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
8176 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * international/characters.el (standard-case-table): Set syntax of ?»
8179 and ?« to punctuation.
8180
8181 2013-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
8186 2013-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
8193 2013-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
8225 2013-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
8233 2013-06-15 Glenn Morris <rgm@gnu.org>
8234
8235 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8236 compilation-error-regexp-alist void, or local while let-bound.
8237
8238 * progmodes/make-mode.el (makefile-mode-syntax-table):
8239 Treat "=" as punctuation. (Bug#14614)
8240
8241 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8242
8243 * help-fns.el (describe-variable):
8244 Add extra line for permanent-local variables.
8245
8246 2013-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
8252 2013-06-14 Glenn Morris <rgm@gnu.org>
8253
8254 * term/xterm.el (xterm--query):
8255 Stop after first matching handler. (Bug#14615)
8256
8257 2013-06-14 Ivan Kanis <ivan@kanis.fr>
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
8265 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8268 through a symbol rather than letrec.
8269
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
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
8317 2013-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
8325 2013-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
8335 2013-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
8345 2013-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
8350 2013-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
8361 2013-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
8367 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8368
8369 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8370
8371 2013-06-13 Glenn Morris <rgm@gnu.org>
8372
8373 * startup.el (tty-handle-args):
8374 Don't just discard "--" and anything after. (Bug#14608)
8375
8376 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8377
8378 2013-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
8384 2013-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
8389 2013-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
8394 2013-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
8399 2013-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
8419 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8420
8421 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8422
8423 2013-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
8428 2013-06-12 Glenn Morris <rgm@gnu.org>
8429
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.
8433
8434 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8435
8436 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8437
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
8443 2013-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
8459 2013-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
8470 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8471
8472 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8473 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8474
8475 2013-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
8505 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * vc/vc.el (vc-deduce-fileset): Change error message.
8508 (vc-read-backend): New function.
8509 (vc-next-action): Use it.
8510
8511 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8512
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
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
8525 2013-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
8530 2013-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
8539 2013-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
8544 2013-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
8549 2013-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
8554 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8555
8556 * eshell/em-term.el (eshell-visual-commands)
8557 (eshell-visual-subcommands, eshell-visual-options):
8558 Add summary line to docstrings. Add cross-references.
8559
8560 2013-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
8565 2013-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
8570 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8571
8572 * eshell/em-term.el (eshell-visual-command-p): New function.
8573 (eshell-term-initialize): Move long lambda to separate function
8574 eshell-visual-command-p.
8575 * eshell/em-dirs.el (eshell-dirs-initialise):
8576 * eshell/em-script.el (eshell-script-initialize):
8577 Add missing #' to lambda.
8578
8579 2013-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
8586 2013-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
8592 2013-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
8600 2013-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)
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.
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
8613 2013-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
8619 2013-06-06 Glenn Morris <rgm@gnu.org>
8620
8621 * font-lock.el (lisp-font-lock-keywords-2):
8622 Treat user-error like error.
8623
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
8628 2013-06-05 Alan Mackenzie <acm@muc.de>
8629
8630 * isearch.el (isearch-allow-prefix): New user option.
8631 (isearch-other-meta-char): Don't exit isearch when a prefix
8632 argument is typed whilst `isearch-allow-prefix' is non-nil.
8633 (Bug#9706)
8634
8635 2013-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
8644 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8645
8646 * progmodes/prog-mode.el (prog-prettify-symbols)
8647 (prog-prettify-install): Update docstrings.
8648
8649 2013-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
8655 2013-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
8673 2013-06-05 João Távora <joaotavora@gmail.com>
8674
8675 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8676 to point when opening the connection. (Bug#14380)
8677
8678 2013-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
8689 2013-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)
8702 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8703 Implement prettify of -> => :: strings.
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)
8712 (perl--augmented-font-lock-keywords-2, perl-mode):
8713 Implement prettify support.
8714
8715 2013-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
8732 2013-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
8761 2013-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
8768 2013-06-05 Leo Liu <sdl.web@gmail.com>
8769
8770 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8771
8772 2013-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
8778 2013-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
8784 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8785
8786 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8787
8788 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8789
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.
8793 (lisp-completion-at-point): Use it complete let-bound vars.
8794
8795 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8796 eagerly (bug#14422).
8797
8798 2013-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
8805 * subr.el (file-notify-handle-event): New defun. Replacing ...
8806 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8807 Remove.
8808
8809 2013-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
8831 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8832
8833 * eshell/em-term.el (eshell-term-initialize):
8834 Use `cl-intersection' rather than `intersection'.
8835
8836 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8837
8838 * vc/log-view.el: Doc fix.
8839 (log-view-mode-map): Copy keymap from `special-mode-map'.
8840
8841 2013-06-02 Eric Ludlam <zappo@gnu.org>
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)
8888 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
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.
8898 (eieio--scoped-class-stack): New variable.
8899 (eieio--scoped-class): New fcn.
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
8910 2013-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
8917 to the function added as MATCH to `eshell-interpreter-alist'.
8918
8919 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8920 the function added as MATCH to `eshell-interpreter-alist'.
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
8929 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8930
8931 * progmodes/python.el (python-indent-block-enders): Add break,
8932 continue and raise keywords.
8933
8934 2013-06-01 Glenn Morris <rgm@gnu.org>
8935
8936 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8937
8938 Plain (f)boundp silences compilation warnings since Emacs 22.1.
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.
8947 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8948 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8949
8950 * progmodes/cc-vars.el (other): Emacs has this widget since
8951 at least 21.1, so don't (re)define it.
8952
8953 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8954 Replace the obsolete alias pcomplete-arg-quote-list.
8955
8956 2013-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
8966 2013-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
8971 2013-05-31 Glenn Morris <rgm@gnu.org>
8972
8973 * obsolete/sym-comp.el (symbol-complete):
8974 Replace obsolete completion-annotate-function.
8975
8976 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8977
8978 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8979
8980 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8981 New function, checks if point is inside a literal that allows
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
8987 2013-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
9003 2013-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
9009 2013-05-30 Glenn Morris <rgm@gnu.org>
9010
9011 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9012
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
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
9020 2013-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
9030 2013-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
9036 2013-05-30 Glenn Morris <rgm@gnu.org>
9037
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
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
9048 * image.el (image-animated-p): Tweak definition.
9049
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
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
9060 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9061
9062 * minibuffer.el (read-file-name-completion-ignore-case):
9063 Move before completion--in-region, for eager macro expansion.
9064
9065 2013-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
9078 2013-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
9087 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9090
9091 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9092 prog-mode-map (bug#14504).
9093
9094 2013-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
9102 2013-05-29 Glenn Morris <rgm@gnu.org>
9103
9104 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9105 Handle idlwave-last-system-routine-info-cons-cell being nil.
9106
9107 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9108 (idlwave-write-paths): Simplify via with-temp-buffer.
9109
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
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
9117 2013-05-28 Alan Mackenzie <acm@muc.de>
9118
9119 Handle "capitalised keywords" correctly.
9120 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9121
9122 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9123
9124 * eshell/em-unix.el: Add -r option to cp.
9125
9126 2013-05-28 Glenn Morris <rgm@gnu.org>
9127
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.
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.
9137 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
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.
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.
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.
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
9158 * obsolete/fast-lock.el (byte-compile-warnings):
9159 Don't warn about obsolete features in this obsolete file.
9160
9161 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9162 Move definition before use.
9163
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
9168 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9169
9170 2013-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
9177 2013-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
9186 2013-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
9223 2013-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
9233 2013-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
9239 2013-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
9245 2013-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
9250 2013-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
9258 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * doc-view.el: Minor naming convention tweaks.
9261 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9262
9263 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9264 even if there's no `display' property yet (bug#14435).
9265
9266 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9267
9268 * subr.el (unmsys--file-name): Rename from reveal-filename.
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
9275 2013-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).
9279 Don't burp at EOB.
9280
9281 2013-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
9286 2013-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
9295 2013-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
9307 2013-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
9313 2013-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
9325 2013-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
9330 2013-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
9338 2013-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.
9343 (desktop-buffer-mode-handlers):
9344 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9345 handler.
9346 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9347 `desktop-save-buffer' function.
9348
9349 2013-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
9357 * net/xesam.el: Move to obsolete/.
9358
9359 2013-05-24 Glenn Morris <rgm@gnu.org>
9360
9361 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9362
9363 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9364
9365 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9366 (Info-find-node, Man-getpage-in-background): Declare.
9367
9368 * mail/unrmail.el (unrmail):
9369 Replace obsolete detect-coding-with-priority.
9370
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
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
9382 * progmodes/js.el (js--optimize-arglist): Declare.
9383
9384 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9385
9386 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9387 (ediff-window-C): Declare.
9388
9389 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9390 Tweak requires to silence compiler.
9391
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
9397 * obsolete/options.el (list-options): Use custom-variable-p,
9398 rather than obsolete alias.
9399
9400 2013-05-23 Sam Steingold <sds@gnu.org>
9401
9402 * simple.el (shell-command-on-region): Pass the `replace' argument
9403 down to `call-process-region' to comply with the doc as reported on
9404 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9405
9406 2013-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
9411 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9412
9413 * ielm.el (ielm-menu): New menu.
9414 (inferior-emacs-lisp-mode): Set comment-start.
9415
9416 2013-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.
9423
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
9430 2013-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
9436 2013-05-23 Glenn Morris <rgm@gnu.org>
9437
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
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
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
9465 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9466 (he-string-member, he-reset-string, he-substitute-string): Declare.
9467
9468 * eshell/em-ls.el: Adjust requires.
9469 (eshell-glob-regexp): Declare.
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
9492 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9493
9494 2013-05-22 Leo Liu <sdl.web@gmail.com>
9495
9496 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9497
9498 2013-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
9504 2013-05-22 Glenn Morris <rgm@gnu.org>
9505
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
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
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
9534 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9535
9536 * progmodes/idlw-help.el (idlwave-help-fontify):
9537 Use called-interactively-p.
9538
9539 * term/w32console.el (w32-get-console-codepage)
9540 (w32-get-console-output-codepage): Declare.
9541
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
9594 2013-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
9603 2013-05-21 Glenn Morris <rgm@gnu.org>
9604
9605 * printing.el (pr-menu-bar): Define when compiling.
9606
9607 2013-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
9612 comment-line-break-function and fill-nobreak-predicate.
9613 (octave-goto-function-definition): Support DEFUN_DLD.
9614 (octave-beginning-of-defun): Small tweak.
9615 (octave-help): Show parent directory.
9616
9617 2013-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
9656 2013-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
9663 2013-05-20 Glenn Morris <rgm@gnu.org>
9664
9665 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9666
9667 2013-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.
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.
9688 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9689 heredoc openers.
9690 (ruby-syntax-propertize-expansions): Remove.
9691
9692 2013-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
9697 2013-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
9702 2013-05-18 Leo Liu <sdl.web@gmail.com>
9703
9704 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9705 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9706 (octave-source-directories): Don't check process.
9707 (octave-source-directories, octave-find-definition): Doc fix.
9708
9709 2013-05-18 Glenn Morris <rgm@gnu.org>
9710
9711 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9712 Remove backspace/delete bindings. (Bug#14392)
9713
9714 * cus-dep.el (custom-make-dependencies): Sort the output.
9715 (custom-versions-load-alist): Convert comment to doc.
9716
9717 2013-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
9725 2013-05-17 Leo Liu <sdl.web@gmail.com>
9726
9727 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9728 Clean up when turned off. (Bug#14395)
9729 (smie--highlight-matching-block-overlay): No longer buffer-local.
9730 (smie-highlight-matching-block): Adjust.
9731
9732 2013-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
9738 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9739
9740 * calc/calc-units.el (math-extract-units): Preserve powers
9741 of units.
9742
9743 2013-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
9750 2013-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
9756 2013-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
9766 2013-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
9777 2013-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
9792 2013-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
9797 2013-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
9840 2013-05-16 Leo Liu <sdl.web@gmail.com>
9841
9842 * simple.el (prog-indent-sexp): Indent enclosing defun.
9843
9844 2013-05-15 Glenn Morris <rgm@gnu.org>
9845
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
9876 * cus-dep.el: Provide a feature.
9877 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9878 Don't mistakenly ignore files whose basenames match a basename
9879 from preloaded-file-list (eg cedet/ede/simple.el).
9880 Add a fallback method for getting :group.
9881
9882 2013-05-15 Juri Linkov <juri@jurta.org>
9883
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
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
9898 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * loadup.el: Just use unversioned DOC.
9901
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
9927 2013-05-15 Leo Liu <sdl.web@gmail.com>
9928
9929 * progmodes/octave.el (octave-goto-function-definition):
9930 Improve and fix callers.
9931
9932 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9935 the setter (bug#14387).
9936
9937 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9938 surrounding group (bug#14402).
9939
9940 2013-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
9945 2013-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
9950 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9951
9952 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9953 Remove signals for which replies are never received.
9954
9955 2013-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
9981 2013-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
9986 2013-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
9991 2013-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.
9996 (octave-font-lock-texinfo-comment): Fix invalid search bound
9997 error: wrong side of point.
9998
9999 2013-05-14 Glenn Morris <rgm@gnu.org>
10000
10001 * progmodes/flymake.el (flymake-xml-program): New option.
10002 (flymake-xml-init): Use it.
10003
10004 * term/xterm.el: Provide a feature.
10005
10006 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10007
10008 2013-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
10013 2013-05-13 Leo Liu <sdl.web@gmail.com>
10014
10015 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10016 ###, and %!.
10017 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10018 C-M-q.
10019 (octave-comment-start-skip): Include %!.
10020 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10021
10022 2013-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
10034 2013-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
10039 2013-05-11 Glenn Morris <rgm@gnu.org>
10040
10041 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10042
10043 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10044 Treat cc-provide like provide.
10045
10046 2013-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
10053 2013-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
10058 2013-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.
10062 (octave-eldoc-function-signatures, octave-eldoc-function):
10063 New functions.
10064 (octave-mode, inferior-octave-mode): Add eldoc support.
10065
10066 2013-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
10071 2013-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.
10076 (octave-indent-comment): New function.
10077 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
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.
10081
10082 2013-05-11 Glenn Morris <rgm@gnu.org>
10083
10084 * faces.el (internal-face-x-get-resource):
10085 * frame.el (ns-display-monitor-attributes-list):
10086 * calc/calc-aent.el (math-to-radians-2):
10087 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10088 Fix declarations.
10089
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
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
10102 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10103
10104 * term.el (term-set-escape-char): Make it idempotent.
10105
10106 2013-05-10 Leo Liu <sdl.web@gmail.com>
10107
10108 * progmodes/octave.el (inferior-octave-completion-table):
10109 No longer a function and all uses changed. Use cache to speed up
10110 completion due to bug#11906.
10111 (octave-beginning-of-defun): Re-write to be more general.
10112
10113 2013-05-10 Glenn Morris <rgm@gnu.org>
10114
10115 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10116
10117 2013-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
10125 2013-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
10130 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10131
10132 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10133
10134 2013-05-09 Glenn Morris <rgm@gnu.org>
10135
10136 * international/fontset.el (vertical-centering-font-regexp):
10137 Set standard-value.
10138
10139 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10140
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
10167 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10168 Add :version.
10169
10170 2013-05-09 Leo Liu <sdl.web@gmail.com>
10171
10172 * progmodes/octave.el (inferior-octave-completion-at-point):
10173 Restore file completion. (Bug#14300)
10174 (inferior-octave-startup): Fix incorrect highlighting for the
10175 first prompt.
10176
10177 2013-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
10187 2013-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
10194 2013-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):
10201 Mark as obsolete.
10202 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10203 their declaration.
10204 (vhdl-mode-syntax-table-init): Remove.
10205
10206 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10207 last change.
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
10222 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10223 Consolidate declaration.
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
10234 2013-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
10244 2013-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
10253 2013-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
10260 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10261
10262 * cus-edit.el (custom-save-variables):
10263 Pretty-print long values. (Bug#14187)
10264
10265 2013-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
10271 2013-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
10276 2013-05-07 Glenn Morris <rgm@gnu.org>
10277
10278 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10279 Remove explicit eshell-isearch-cancel-map.
10280
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
10286 2013-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
10291 2013-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
10296 2013-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.
10301 (octave-completion-at-point): Rename from
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
10307 2013-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
10312 2013-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
10320 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10321
10322 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10323
10324 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10325
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
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
10335 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10336
10337 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10338
10339 2013-05-06 Glenn Morris <rgm@gnu.org>
10340
10341 * w32-fns.el (w32-charset-info-alist): Declare.
10342
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
10347 * generic-x.el: No need to require comint when compiling.
10348
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
10356 2013-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
10362 2013-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
10370 2013-05-05 Richard Stallman <rms@gnu.org>
10371
10372 * vc/compare-w.el (compare-windows-whitespace):
10373 Treat no-break space as whitespace.
10374
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
10379 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10380 Doc fixes, rename args.
10381
10382 2013-05-05 Alan Mackenzie <acm@muc.de>
10383
10384 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10385
10386 2013-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
10392 2013-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
10404 2013-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
10411 2013-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
10416 2013-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
10423 2013-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.
10427 (octave-completing-read, octave-goto-function-definition):
10428 New helpers.
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-.
10433 (user-error): Alias to error if not defined.
10434
10435 2013-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
10441 2013-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
10447 2013-05-02 Leo Liu <sdl.web@gmail.com>
10448
10449 * progmodes/octave.el (octave-syntax-propertize-function):
10450 Include the case when ' is at line beginning. (Bug#14336)
10451
10452 2013-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
10457 2013-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
10464 2013-05-01 Leo Liu <sdl.web@gmail.com>
10465
10466 * progmodes/octave.el: Compatible with older emacs-24 releases.
10467 (inferior-octave-has-built-in-variables): Remove. Built-in
10468 variables were removed from Octave in 2007.
10469 (inferior-octave-startup): Fix uses.
10470 (comint-line-beginning-position): Remove compatibility code for
10471 emacs 21.
10472
10473 2013-05-01 Juri Linkov <juri@jurta.org>
10474
10475 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10476
10477 2013-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
10485 2013-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
10492 2013-04-30 Leo Liu <sdl.web@gmail.com>
10493
10494 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10495 change.
10496
10497 2013-04-30 Alan Mackenzie <acm@muc.de>
10498
10499 Handle arbitrarily long C++ member initialisation lists.
10500 * progmodes/cc-engine.el (c-back-over-member-initializers):
10501 new function.
10502 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10503 (most) member init lists.
10504
10505 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10506
10507 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10508 variable.
10509
10510 2013-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
10523 2013-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
10536 2013-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
10543 2013-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
10548 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10549
10550 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10551
10552 2013-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
10557 2013-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
10562 2013-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
10574 2013-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
10589 2013-04-20 Roland Winkler <winkler@gnu.org>
10590
10591 * faces.el (read-face-name): Use completing-read if arg multiple
10592 is nil.
10593
10594 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10595
10596 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10597 displayed, move point to after the totals line.
10598 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10599 for the details.
10600
10601 2013-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
10608 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10609
10610 * textmodes/remember.el (remember-store-in-files): Document that
10611 the file name format is passed to `format-time-string'.
10612
10613 2013-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
10618 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10621 (bug#14274).
10622
10623 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10624 \n and comment, even if it's not an implicit ; (bug#14218).
10625
10626 2013-04-26 Glenn Morris <rgm@gnu.org>
10627
10628 * subr.el (read-number): Once more use `read' rather than
10629 `string-to-number', to trap non-numeric input. (Bug#14254)
10630
10631 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10632
10633 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10634 Use `syntax-multiline' text property consistently instead of
10635 `font-lock-multiline'. (Bug#14237)
10636
10637 2013-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
10644 2013-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.
10648 (octave-not-in-string-or-comment-p): Rename to
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
10653 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10654
10655 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10656
10657 2013-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
10662 2013-04-25 Leo Liu <sdl.web@gmail.com>
10663
10664 * progmodes/octave.el (octave-completion-at-point-function):
10665 Make use of inferior octave process.
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
10671 2013-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
10698 2013-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
10706 2013-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
10713 2013-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
10723 2013-04-25 Glenn Morris <rgm@gnu.org>
10724
10725 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10726
10727 2013-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
10736 2013-04-24 Reuben Thomas <rrt@sc3d.org>
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
10745 2013-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
10750 2013-04-24 Glenn Morris <rgm@gnu.org>
10751
10752 * vc/vc-bzr.el (vc-bzr-print-log):
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
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
10767 2013-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
10772 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10773
10774 * textmodes/reftex-vars.el (reftex-label-regexps):
10775 Call `reftex-compile-variables' after changes to this variable.
10776
10777 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
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
10785 2013-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
10790 2013-04-22 Leo Liu <sdl.web@gmail.com>
10791
10792 * info-look.el: Prefer latex2e.info. (Bug#14240)
10793
10794 2013-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 ...
10799 * net/tramp.el (tramp-call-process): ... here.
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):
10811 (tramp-find-inline-compress): Improve traces.
10812 (tramp-maybe-send-script): Check for Perl binary.
10813 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10814
10815 2013-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
10821 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10822
10823 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10824 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10825 `completion-at-point'. (Bug#13774)
10826
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
10831 2013-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
10837 2013-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
10842 2013-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
10847 2013-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):
10854 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10855 (vc-cvs-annotate-command):
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
10874 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10875
10876 * progmodes/sh-script.el (sh-imenu-generic-expression):
10877 Handle function names with a single character. (Bug#14111)
10878
10879 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10880
10881 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10882 for subroutines defined in an eval (bug#14182).
10883
10884 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10885
10886 * bookmark.el (bookmark-completing-read): Improve handling of empty
10887 string (bug#14176).
10888
10889 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10892
10893 2013-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
10911 2013-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
10918 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10919
10920 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10921
10922 2013-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
10928 2013-04-18 Leo Liu <sdl.web@gmail.com>
10929
10930 * bindings.el (help-event-list): Add ?\?.
10931
10932 2013-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
10948 2013-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
10953 2013-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
10962 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10963
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.
10972
10973 2013-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
10980 2013-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
10987 2013-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
10993 2013-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
10998 2013-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
11003 2013-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
11009 2013-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
11021 2013-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
11026 2013-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
11032 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11035 global bindings.
11036
11037 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11038
11039 2013-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
11052 2013-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
11059 2013-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 #.
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
11068 on the #, not BOL.
11069
11070 2013-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
11076 2013-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.
11085 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11086 handling of spaces in the regexp.
11087
11088 2013-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
11093 2013-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
11101 2013-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
11107 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * files.el (normal-mode): Only use default major-mode if no other mode
11110 was specified.
11111
11112 * emacs-lisp/trace.el (trace-values): New function.
11113
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
11118 2013-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
11123 2013-04-13 Roland Winkler <winkler@gnu.org>
11124
11125 * textmodes/bibtex.el (bibtex-url): Doc fix.
11126
11127 2013-04-13 Roland Winkler <winkler@gnu.org>
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
11133 2013-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
11139 2013-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
11157 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11158
11159 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11160
11161 2013-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
11166 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11167
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
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
11181 2013-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
11188 2013-04-09 Bastien Guerry <bzg@gnu.org>
11189
11190 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11191
11192 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11195
11196 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11197 timer (bug#14156).
11198
11199 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11200
11201 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11202 declaration.
11203
11204 2013-04-07 Leo Liu <sdl.web@gmail.com>
11205
11206 * pcmpl-x.el: New file.
11207
11208 2013-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
11222 2013-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
11230 2013-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
11235 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11236
11237 * whitespace.el (whitespace-color-on, whitespace-color-off):
11238 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11239
11240 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11241
11242 * ispell.el (ispell-set-spellchecker-params):
11243 Really set `ispell-args' for all equivs.
11244
11245 2013-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
11251 2013-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
11258 2013-04-05 Leo Liu <sdl.web@gmail.com>
11259
11260 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11261
11262 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11263
11264 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11265
11266 2013-04-04 Glenn Morris <rgm@gnu.org>
11267
11268 * electric.el (electric-pair-inhibit-predicate): Add :version.
11269
11270 2013-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
11275 2013-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
11281 2013-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
11289 2013-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
11294 2013-04-03 Alan Mackenzie <acm@muc.de>
11295
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.
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
11309 2013-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
11318 2013-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
11325 2013-03-31 Roland Winkler <winkler@gnu.org>
11326
11327 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11328
11329 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11332
11333 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
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
11339 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
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
11345 2013-03-30 Chong Yidong <cyd@gnu.org>
11346
11347 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11348
11349 2013-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
11355 2013-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
11362 2013-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
11368 2013-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
11375 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11376
11377 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11378 instead of `forward-symbol'.
11379
11380 2013-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
11387 2013-03-28 Leo Liu <sdl.web@gmail.com>
11388
11389 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11390
11391 2013-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
11398 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11401 and suffixes don't overlap (bug#14061).
11402
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
11407 2013-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
11413 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11414
11415 * eshell/em-unix.el: Move su and sudo to...
11416 * eshell/em-tramp.el: ...Eshell tramp module.
11417
11418 2013-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
11424 2013-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
11429 2013-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
11434 2013-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
11439 2013-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
11452 2013-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
11463 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11464
11465 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11466 Make it safe-local.
11467
11468 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11469
11470 2013-03-23 Leo Liu <sdl.web@gmail.com>
11471
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
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
11490 2013-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
11498 2013-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
11503 2013-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
11509 2013-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
11514 2013-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
11522 2013-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
11527 2013-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
11536 2013-03-20 Leo Liu <sdl.web@gmail.com>
11537
11538 * ido.el (ido-chop): Fix bug#10994.
11539
11540 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11541
11542 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11543 Remove vars.
11544 (whitespace-color-on, whitespace-color-off):
11545 Use `font-lock-fontify-buffer' (Bug#13817).
11546
11547 2013-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
11553 2013-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).
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).
11561
11562 2013-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
11568 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11569
11570 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11571
11572 2013-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
11576 2013-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
11589 2013-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
11598 2013-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
11605 display property instead the char property of the buffer's first char.
11606
11607 2013-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
11616 2013-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
11628 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11629
11630 * net/tramp-adb.el (tramp-adb-parse-device-names):
11631 Use `start-process' instead of `call-process'. Otherwise, the
11632 function might be blocked under MS Windows. (Bug#13299)
11633
11634 2013-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)
11643 (eldoc-display-message-no-interference-p):
11644 Support eldoc-post-insert-mode.
11645
11646 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11647 (eval-expression): Run it.
11648
11649 2013-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
11654 2013-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
11659 2013-03-16 Leo Liu <sdl.web@gmail.com>
11660
11661 * progmodes/scheme.el: Add indentation and font-locking for λ.
11662 (Bug#13975)
11663
11664 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11667 token before point (bug#13942).
11668
11669 2013-03-16 Leo Liu <sdl.web@gmail.com>
11670
11671 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11672
11673 2013-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
11680 2013-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
11686 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11687
11688 * doc-view.el: Fix bug#13887.
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.
11694
11695 2013-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
11700 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11701
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.
11705
11706 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11709 backquotes for `obsolete' (bug#13929).
11710
11711 * international/mule.el (find-auto-coding): Include file name in
11712 obsolescence warning (bug#13922).
11713
11714 2013-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
11721 2013-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
11738 2013-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
11743 See ChangeLog.16 for earlier changes.
11744
11745 ;; Local Variables:
11746 ;; coding: utf-8
11747 ;; End:
11748
11749 Copyright (C) 2011-2013 Free Software Foundation, Inc.
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/>.