]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Shell completion for filenames from current directory, related docs.
[gnu-emacs] / lisp / ChangeLog
1 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2
3 * shell.el Shell completion now matches executable filenames from
4 the current buffer's directory, on systems in which this behaviour
5 is the default (windows-nt, ms-dos).
6
7 2013-12-27 Glenn Morris <rgm@gnu.org>
8
9 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Unbreak bootstrap.
10
11 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14
15 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
18 (bug#16251).
19
20 * electric.el: Move all electric-pair-* to elec-pair.el.
21 * elec-pair.el: New file, split from electric.el.
22
23 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
24
25 * net/shr.el (shr-find-fill-point): Don't try to fill if the
26 indentation level is larger than the width, because that will
27 infloop.
28 (shr-insert): Fill repeatedly long texts, so that Japanese is
29 formatted correctly (bug#16263).
30 (shr-find-fill-point): Off by one error in comparison with the
31 indentation.
32
33 2013-12-26 João Távora <joaotavora@gmail.com>
34
35 * electric.el (electric-pair-mode): More flexible engine for skip-
36 and inhibit predicates, new options for pairing-related functionality.
37 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
38 if that keeps or improves their balance in buffers.
39 (electric-pair-delete-adjacent-pairs): Delete the pair when
40 backspacing over adjacent matched delimiters.
41 (electric-pair-open-extra-newline): Open extra newline when
42 inserting newlines between adjacent matched delimiters.
43 (electric--sort-post-self-insertion-hook):
44 Sort post-self-insert-hook according to priority values when
45 minor-modes are activated.
46 * simple.el (newline-and-indent): Call newline with interactive
47 set to t.
48 (blink-paren-post-self-insert-function): Set priority to 100.
49 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
50 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
51 comments. Locally set electric-pair-skip-whitespace to 'chomp and
52 electric-pair-open-newline-between-pairs to nil.
53
54 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
55
56 * progmodes/python.el: Use lexical-binding.
57 (python-nav-beginning-of-defun): Stop searching ASAP.
58
59 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
60
61 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
62 Fix interactive spec. Doc fix. (Bug#15754)
63
64 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
65
66 * emacs-lisp/byte-run.el (eval-when-compile):
67 * progmodes/cc-defs.el (cc-eval-when-compile):
68 Fix edebug spec (bug#16184).
69
70 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
71
72 * net/shr.el (shr-visit-file): Remove debugging function.
73 (shr-insert): Don't infloop if we can't find a good place to break
74 the line (bug#16256).
75
76 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
77
78 * progmodes/python.el:
79 (python-nav--lisp-forward-sexp): New function.
80 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
81 python-nav-lisp-forward-sexp-safe.
82 (python-nav--forward-sexp): New argument SAFE allows switching
83 forward sexp movement behavior for parens.
84 (python-nav-forward-sexp): Throw errors on unterminated parens
85 (Bug#16191).
86 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
87 (python-nav-backward-sexp-safe): New functions.
88 (python-shell-buffer-substring):
89 Use `python-nav-forward-sexp-safe'.
90
91 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
92
93 * net/shr.el (shr-find-fill-point): Don't break lines before a
94 quotation mark.
95 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
96 (shr-find-fill-point): Remove the special checks for the quotation
97 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
98
99 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
100
101 * net/eww.el (eww-form-textarea): Use a different face for
102 textareas than text input since they have different keymaps
103 (bug#16142).
104
105 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
106
107 * progmodes/python.el (python-nav-beginning-of-statement):
108 Speed up (Bug#15295).
109
110 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
111
112 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
113 the window configuration.
114
115 2013-12-24 Eli Zaretskii <eliz@gnu.org>
116
117 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
118 we run on MS-Windows or MS-DOS.
119
120 2013-12-24 Martin Rudalics <rudalics@gmx.at>
121
122 * window.el (balance-windows-area): Call window-size instead of
123 window-height and window-width. Bug#16241.
124
125 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
126
127 * net/eww.el (eww-bookmark-quit): Remove.
128 (eww-bookmark-browse): Restore the window configuration when you
129 choose a bookmark (bug#16144).
130
131 2013-12-24 Daniel Colascione <dancol@dancol.org>
132
133 * icomplete.el: Remove redundant :group arguments to `defcustom'
134 throughout.
135 (icomplete-show-matches-on-no-input): New customizable variable.
136 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
137 we have something to show.
138 (icomplete-exhibit): Compute completions even if we have no user input.
139
140 2013-12-23 Daniel Colascione <dancol@dancol.org>
141
142 * icomplete.el: Move `provide' to end of file.
143
144 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
145
146 * net/gnutls.el (gnutls-verify-error): Add version tag.
147
148 2013-12-23 Chong Yidong <cyd@gnu.org>
149
150 * subr.el (set-transient-map): Rename from
151 set-temporary-overlay-map. Doc fix.
152
153 * face-remap.el (text-scale-adjust):
154 * indent.el (indent-rigidly):
155 * kmacro.el (kmacro-call-macro):
156 * minibuffer.el (minibuffer-force-complete):
157 * repeat.el (repeat):
158 * simple.el (universal-argument--mode):
159 * calendar/todo-mode.el (todo-insert-item--next-param):
160 * progmodes/f90.el (f90-abbrev-start): Callers changed.
161
162 * indent.el (indent-rigidly): Use substitute-command-keys.
163
164 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
165
166 * net/eww.el (eww-tag-select): Add text-property to jump to next
167 select field.
168 (eww) : Add non-supported ftp error.
169
170 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
171
172 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
173 comments. Handle electric indent after typing `?' and `!'.
174
175 2013-12-22 Chong Yidong <cyd@gnu.org>
176
177 * faces.el (face-spec-recalc): If the theme specs are not
178 applicable to a frame, fall back on the defface spec.
179 This prevents themes from obliterating faces on low-color terminals.
180
181 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
182
183 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
184 after `{'. We need it after block openers, and it doesn't seem
185 to hurt after hash openers.
186
187 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
188
189 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
190 extracted from `ruby-smie-rules'.
191 (ruby--electric-indent-chars): New variable.
192 (ruby--electric-indent-p): New function.
193 (ruby-mode): Use `electric-indent-functions' instead of
194 `electric-indent-chars'.
195
196 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
197
198 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
199 docstring.
200 (ruby-smie-rules): Indent plus one level after `=>'.
201
202 2013-12-21 Richard Stallman <rms@gnu.org>
203
204 * simple.el (newline): Doc fix.
205
206 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
207
208 * net/eww.el (eww-list-histories, eww-list-histories)
209 (eww-history-browse, eww-history-quit, eww-history-kill)
210 (eww-history-mode-map, eww-history-mode): New command and
211 functions to list browser histories.
212 (eww-form-text): Support text form with disabled
213 and readonly attributes.
214 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
215
216 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
217
218 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
219 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
220 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
221 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
222 Use `user-error'.
223 (eww-bookmark-mode-map): Add menu.
224 (eww-render, eww-mode): Use `setq-local'.
225 (eww-tool-bar-map): New variable.
226 (eww-mode): Set `tool-bar-map'.
227 (eww-view-source): Check for `html-mode' with `fboundp'.
228
229 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
230
231 * net/shr.el (shr--extract-best-source): Don't bug out on audio
232 elements with text inside. Also remove debugging.
233
234 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
235
236 * cus-start.el (all): Add ns-use-srgb-colorspace.
237
238 2013-12-21 Chong Yidong <cyd@gnu.org>
239
240 * custom.el (custom-theme-recalc-face): Do nothing if the face is
241 undefined. Thus, theme settings for undefined faces do not take
242 effect until the faces are defined with defface, the same as with
243 theme variables.
244
245 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
246 (face-spec-reset-face): Don't assign extra properties in temacs.
247 (face-spec-recalc): Apply X resources too.
248
249 2013-12-21 Chong Yidong <cyd@gnu.org>
250
251 * faces.el (face-spec-set):
252 * cus-face.el (custom-theme-set-faces, custom-set-faces):
253 * custom.el (defface): Doc fixes (Bug#16203).
254
255 * indent.el (indent-rigidly-map): Add docstring, and move commands
256 into named functions.
257 (indent-rigidly-left, indent-rigidly-right)
258 (indent-rigidly-left-to-tab-stop)
259 (indent-rigidly-right-to-tab-stop): New functions. Decide on
260 indentation direction based on bidi direction, and accumulate
261 sequential commands in a single undo boundary.
262 (indent-rigidly--pop-undo): New utility function.
263
264 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
265
266 * faces.el (read-face-name): Require crm.el when using crm-separator.
267
268 2013-12-20 Daniel Colascione <dancol@dancol.org>
269
270 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
271 so that we don't reflow comments into the shebang line.
272
273 2013-12-20 Juri Linkov <juri@jurta.org>
274
275 * saveplace.el (save-place-to-alist): Add `dired-filename' as
276 a position when `dired-directory' is non-nil. Check integer
277 positions with `integerp'.
278 (toggle-save-place, save-places-to-alist): Add check for
279 `dired-directory'.
280 (save-place-find-file-hook): Check integer positions with
281 `integerp'.
282 (save-place-dired-hook): Use `dired-goto-file' when
283 `dired-filename' is found in the assoc list. Check integer
284 positions with `integerp'.
285 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
286
287 * dired.el (dired-initial-position-hook): Rename back from
288 `dired-initial-point-hook'.
289 (dired-initial-position): Rename `dired-initial-point-hook' to
290 `dired-initial-position-hook'.
291 (dired-file-name-at-point): Doc fix. (Bug#15329)
292
293 2013-12-20 Juri Linkov <juri@jurta.org>
294
295 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
296 (read-regexp-suggestions): New function.
297 (read-regexp): Use `read-regexp-defaults-function' to get default values.
298 Use `read-regexp-suggestions'. Add non-empty default to history
299 for empty input.
300 (occur-read-regexp-defaults-function): Remove function.
301 (occur-read-primary-args): Use `regexp-history-last' instead of
302 `occur-read-regexp-defaults-function'.
303
304 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
305 (hi-lock-line-face-buffer, hi-lock-face-buffer)
306 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
307 `hi-lock-read-regexp-defaults-function'. Doc fix.
308 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
309 with `find-tag-default-as-symbol-regexp'. Doc fix.
310 (hi-lock-read-regexp-defaults): Remove function.
311 (hi-lock-regexp-okay): Add check for null.
312
313 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
314 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
315
316 * subr.el (find-tag-default-as-symbol-regexp): New function.
317 (find-tag-default-as-regexp): Move symbol regexp formatting to
318 `find-tag-default-as-symbol-regexp'.
319
320 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
321
322 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
323 (Bug#14179)
324
325 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
326
327 * calendar/todo-mode.el: New implementation of item insertion
328 commands and key bindings.
329 (todo-key-prompt): New face.
330 (todo-insert-item): New command.
331 (todo-insert-item--parameters): New defconst, replacing defvar
332 todo-insertion-commands-args-genlist.
333 (todo-insert-item--param-key-alist): New defconst, replacing
334 defvar todo-insertion-commands-arg-key-list.
335 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
336 (todo-insert-item--argsleft, todo-insert-item--apply-args)
337 (todo-insert-item--next-param): New functions.
338 (todo-insert-item--args, todo-insert-item--argleft)
339 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
340 New variables.
341 (todo-key-bindings-t): Change binding of "i" from
342 todo-insertion-map to todo-insert-item.
343 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
344 (todo-insertion-command-name, todo-insertion-commands-names)
345 (todo-define-insertion-command, todo-insertion-commands)
346 (todo-insertion-key-bindings, todo-insertion-map): Remove.
347
348 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
349
350 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
351 (todo-toggle-item-highlighting): Use eval-and-compile instead of
352 eval-when-compile.
353 (todo-move-category): Allow choosing a non-existing todo file to
354 move the category to, and create that file.
355 (todo-default-priority): New user option.
356 (todo-set-item-priority): Use it.
357 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
358 (desktop-restore-file-buffer): Declare.
359 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
360 (todo-modes-set-2): Locally set desktop-save-buffer to
361 todo-desktop-save-buffer.
362 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
363 (auto-mode-alist): Add autoload cookie.
364
365 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
366
367 * emacs-lisp/subr-x.el: Renamed from helpers.el.
368 helpers.el was a poor choice of name.
369 (string-remove-prefix): New function.
370 (string-remove-suffix): New function.
371
372 2013-12-20 Martin Rudalics <rudalics@gmx.at>
373
374 Fix assignment for new window total sizes.
375 * window.el (window--pixel-to-size): Remove function.
376 (window--pixel-to-total-1, window--pixel-to-total):
377 Fix calculation of new total sizes.
378
379 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
380
381 * comint.el (comint-output-filter): Fix rear-nonsticky property
382 placement (Bug#16010).
383
384 2013-12-20 Chong Yidong <cyd@gnu.org>
385
386 * faces.el (read-color): Minor fix for completion function.
387
388 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
389
390 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
391 New option. (Bug#16182)
392 (ruby-smie--indent-to-stmt-p): Use it.
393 (ruby-smie-rules): Revert the logic in the handling of `when'.
394 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
395 (ruby-deep-arglist, ruby-deep-indent-paren)
396 (ruby-deep-indent-paren-style): Update docstrings to note that the
397 vars don't have any effect with SMIE.
398
399 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
400
401 * calc/calc.el (calc-enter, calc-pop): Use the variable
402 `calc-context-sensitive-enter'.
403
404 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
405
406 * net/shr.el (shr-insert): Protect against infloops in degenerate
407 tables.
408
409 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
410
411 * progmodes/octave.el (octave): Add link to manual and octave
412 homepage.
413 (octave-mode-menu): Link to octave-mode manual.
414
415 2013-12-20 Leo Liu <sdl.web@gmail.com>
416
417 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
418 insertion using skeleton-end-newline. (Bug#16138)
419
420 2013-12-20 Juri Linkov <juri@jurta.org>
421
422 * replace.el (occur-engine): Use `add-face-text-property'
423 to add the face property to matches and titles. (Bug#14645)
424
425 * hi-lock.el (hi-green): Use lighter color "light green" closer to
426 the palette of other hi-lock colors.
427 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
428
429 2013-12-19 Juri Linkov <juri@jurta.org>
430
431 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
432 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
433 (minibuffer-history-symbol): Move variable declaration closer to
434 its usage.
435
436 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
437 (Bug#14785)
438
439 2013-12-19 Juri Linkov <juri@jurta.org>
440
441 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
442 New function.
443 (log-edit-hook): Add it to :options. (Bug#16170)
444
445 2013-12-19 Juri Linkov <juri@jurta.org>
446
447 * simple.el (eval-expression-print-format): Don't check for
448 command names and the last command. Always display additional
449 formats of the integer result in the echo area, and insert them
450 to the current buffer only with a zero prefix arg.
451 Display character when char-displayable-p is non-nil.
452 (eval-expression): With a zero prefix arg, set `print-length' and
453 `print-level' to nil, and insert the integer values from
454 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
455
456 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
457 `eval-last-sexp-arg-internal'. Doc fix.
458 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
459 `eval-last-sexp-print-value'. Doc fix.
460 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
461 Set `print-length' and `print-level' to nil when arg is zero.
462 (eval-last-sexp): Doc fix.
463 (eval-defun-2): Print the integer values from
464 `eval-expression-print-format' at the end.
465
466 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
467 values from `eval-expression-print-format' at the end.
468
469 * ielm.el (ielm-eval-input): Print the integer
470 values from `eval-expression-print-format' at the end.
471
472 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
473
474 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
475 2013-12-11T19:01:44Z!tzz@lifelogs.com.
476
477 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
480 (hl-line-highlight, global-hl-line-highlight): Use it.
481 (hl-line-overlay): Use defvar-local.
482
483 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
484
485 * term/ns-win.el: Require dnd.
486 (global-map): Remove drag items.
487 (ns-insert-text, ns-set-foreground-at-mouse)
488 (ns-set-background-at-mouse):
489 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
490 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
491 New functions.
492
493 2013-12-19 Glenn Morris <rgm@gnu.org>
494
495 * emacs-lisp/ert.el (ert-select-tests):
496 Fix string/symbol mixup. (Bug#16121)
497
498 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
499
500 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
501 keywords to their parent.
502
503 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
504
505 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
506 first arg to be a string (fixed dead code), or an operator symbol.
507 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
508 operator symbols.
509 (ruby-smie-rules): Remove parent token check in the `.' clause, it
510 did nothing. Don't respond to `(:after ".")', it will be called
511 with :before anyway. Remove the ` @ ' rule, it didn't seem to
512 change anything. Only return indentation for binary operators
513 when they are hanging. De-dent opening paren when its parent is
514 `.', otherwise it looks bad when the dot is not at bol or eol
515 (bug#16182).
516
517 2013-12-19 Juri Linkov <juri@jurta.org>
518
519 * replace.el (query-replace-read-args): Split a non-negative arg
520 and a negative arg into separate elements.
521 (query-replace, query-replace-regexp, replace-string)
522 (replace-regexp): Add arg `backward'. Doc fix.
523 (replace-match-maybe-edit): When new arg `backward' is non-nil,
524 move point to the beginning of the match.
525 (replace-search, replace-highlight): Use new arg `backward'
526 to set the value of `isearch-forward'.
527 (perform-replace): Add arg `backward' and use it to perform
528 replacement backward. (Bug#14979)
529
530 * isearch.el (isearch-query-replace): Use a negative prefix arg
531 to call `perform-replace' with a non-nil arg `backward'.
532
533 2013-12-18 Juri Linkov <juri@jurta.org>
534
535 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
536 to the default list. Move `log-edit-show-files' to the end.
537 Add more available functions to options.
538 (log-edit): Move default specific settings to
539 `log-edit-insert-message-template'. Don't move point.
540 (log-edit-insert-message-template): New function.
541 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
542 (Bug#16170)
543
544 2013-12-18 Juri Linkov <juri@jurta.org>
545
546 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
547 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
548
549 2013-12-18 Leo Liu <sdl.web@gmail.com>
550
551 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
552
553 2013-12-18 Eli Zaretskii <eliz@gnu.org>
554
555 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
556 formats for displaying file sizes when the -s switch is given.
557 Instead, compute a separate format for displaying the size in
558 blocks, which is displayed in addition to the "regular" size.
559 When -h is given in addition to -s, produce size in blocks in
560 human-readable form as well. (Bug#16179)
561
562 2013-12-18 Tassilo Horn <tsdh@gnu.org>
563
564 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
565 Reference tables with ~\ref{...} instead of only \ref{...}.
566
567 2013-12-18 Chong Yidong <cyd@gnu.org>
568
569 * cus-edit.el (custom-magic-alist): Fix "themed" description
570 (Bug#14348).
571
572 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
573 is non-nil, do not create a new entry in the symbol's theme-value
574 or theme-face property; update theme-settings only (Bug#14664).
575 (custom-available-themes): Doc fix.
576
577 * cus-theme.el (custom-new-theme-mode-map): Add bindings
578 (Bug#15674).
579
580 * replace.el (occur-engine): Avoid infloop (Bug#7593).
581
582 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
583
584 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
585 (Bug#13914).
586
587 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
588
589 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
590
591 2013-12-18 Glenn Morris <rgm@gnu.org>
592
593 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
594 * cus-start.el (load-prefer-newer): New option.
595
596 2013-12-18 Le Wang <l26wang@gmail.com>
597
598 * comint.el (comint-previous-matching-input-from-input):
599 Retain point (Bug#13404).
600
601 2013-12-18 Chong Yidong <cyd@gnu.org>
602
603 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
604
605 2013-12-18 Glenn Morris <rgm@gnu.org>
606
607 * mail/emacsbug.el (report-emacs-bug):
608 Only mention enable-multibyte-characters if non-standard.
609
610 2013-12-17 Juri Linkov <juri@jurta.org>
611
612 * arc-mode.el (archive-extract-by-file): Check if directory exists
613 before deletion to not show irrelevant errors if it doesn't exist.
614
615 2013-12-17 Juri Linkov <juri@jurta.org>
616
617 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
618 (Bug#14751)
619
620 * net/eww.el (browse-web): Add alias to `eww'.
621 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
622 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
623
624 * net/browse-url.el (browse-url-browser-function): Move `eww'
625 closer to similar functions.
626
627 * startup.el (fancy-startup-screen, fancy-about-screen):
628 Set browse-url-browser-function to eww-browse-url locally.
629 (Bug#14751)
630
631 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * window.el (window--pixel-to-total): Remove unused `mini' var.
634 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
635 (split-window): Remove unused `new' var.
636 (window--display-buffer): Remove unused `frame' and `delta' vars.
637 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
638 and display-width'.
639
640 2013-12-17 Martin Rudalics <rudalics@gmx.at>
641
642 * dired.el (dired-mark-pop-up):
643 * register.el (register-preview): Don't bind
644 split-height-threshold here since it's now done in
645 display-buffer-below-selected.
646
647 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
648
649 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
650 xterm-rgb-convert-to-16bit.
651 (rxvt-register-default-colors): Standardize with
652 xterm-register-default-colors (Bug#14078).
653
654 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
655
656 * simple.el (kill-region): Pass mark first, then point, so that
657 kill-append works right (Bug#12819).
658 (copy-region-as-kill, kill-ring-save): Likewise.
659
660 2013-12-17 Leo Liu <sdl.web@gmail.com>
661
662 * net/rcirc.el (rcirc-add-face):
663 * eshell/em-prompt.el (eshell-emit-prompt):
664 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
665 (Bug#16167)
666
667 2013-12-17 Chong Yidong <cyd@gnu.org>
668
669 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
670 Suggested by Xue Fuqiao.
671
672 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
673
674 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
675
676 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * net/shr.el (shr-insert-document): Remove unused var
679 `shr-preliminary-table-render'.
680 (shr-rescale-image): Remove unused arg `force'.
681 (shr-put-image): Update calls accordingly.
682 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
683
684 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
685
686 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
687 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
688 :close-all, to see which indentation method to use (Bug#16116).
689 (smie-rules-function): Document the method :close-all.
690
691 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
692
693 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
694
695 * net/eww.el (eww-display-html): If we can't find the anchor we're
696 looking for, then go to point-min.
697
698 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
699
700 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
701 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
702 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
703 Expand dir too, in case it's relative.
704
705 2013-12-16 Juri Linkov <juri@jurta.org>
706
707 * desktop.el (desktop-auto-save-timeout): Change default to
708 `auto-save-timeout'. Doc fix.
709 (desktop-save): Skip the timestamp in desktop-saved-frameset
710 when checking for auto-save changes.
711 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
712 `desktop-auto-save' is called repeatedly by the idle timer.
713 (desktop-auto-save-set-timer): Replace `run-with-timer' with
714 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
715 (Bug#15331)
716
717 2013-12-16 Juri Linkov <juri@jurta.org>
718
719 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
720 (Bug#16035)
721 (isearch-pre-command-hook): Check `this-command' for symbolp.
722
723 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
726
727 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
728
729 * progmodes/cfengine.el (cfengine3--current-word): Remove.
730 (cfengine3--current-function): Bring in the current-function
731 functionality from `cfengine3--current-word'.
732 (cfengine3-completion-function): Bring in the
733 bounds-of-current-word functionality from
734 `cfengine3--current-word'.
735
736 2013-12-16 Martin Rudalics <rudalics@gmx.at>
737
738 * window.el (display-buffer-below-selected):
739 Bind split-height-threshold to 0 as suggested by Juri Linkov.
740
741 2013-12-16 Leo Liu <sdl.web@gmail.com>
742
743 * progmodes/compile.el (compile-goto-error): Do not push-mark.
744 Remove NOMSG arg and all uses changed.
745
746 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
749 (cua--deactivate-rectangle): Don't deactivate the mark.
750 (cua-set-rectangle-mark): Don't set mark-active since
751 cua--activate-rectangle already does it for us.
752 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
753 non-rectangular region.
754
755 * emulation/cua-base.el (cua-repeat-replace-region):
756 Use with-current-buffer.
757
758 * net/gnutls.el: Use cl-lib.
759 (gnutls-negotiate): `mapcan' -> cl-mapcan.
760
761 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
762
763 * emacs-lisp/package.el (package-built-in-p): Support both
764 built-in and the package.el converted package descriptions.
765 (package-show-package-list): Allow keywords.
766 (package-keyword-button-action): Use it instead of
767 `finder-list-matches'.
768 (package-menu-filter-interactive): Interactive filtering (by
769 keyword) function.
770 (package-menu--generate): Support keywords and change keymappings
771 and headers when they are given.
772 (package--has-keyword-p): Helper function.
773 (package-menu--refresh): Use it.
774 (package--mapc): Helper function.
775 (package-all-keywords): Use it.
776 (package-menu-mode-map): Set up menu items and keybindings to
777 provide a filtering UI.
778
779 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
780
781 * net/gnutls.el (gnutls-verify-error): New defcustom to control
782 the behavior when a certificate fails validation. Defaults to
783 old behavior: never abort, just warn.
784 (gnutls-negotiate): Use it.
785
786 2013-12-14 Martin Rudalics <rudalics@gmx.at>
787
788 * window.el (display-buffer-below-selected): Never split window
789 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
790
791 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
792
793 * emacs-lisp/package.el (package--prepare-dependencies): New function.
794 (package-buffer-info): Use it (bug#15108).
795
796 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * icomplete.el (icomplete-completions): Make sure the prefix is already
799 displayed elsewhere before hiding it (bug#16219).
800
801 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
802
803 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
804 open-paren tokens when preceded by a open-paren, too.
805 (ruby-smie-rules): Handle virtual indentation after open-paren
806 tokens specially. If there is code between it and eol, return the
807 column where is starts (Bug#16118).
808
809 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
810
811 * progmodes/cfengine.el: Fix `add-hook' doc.
812 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
813 (cfengine3--current-word): Fix parameters.
814 (cfengine3-make-syntax-cache): Simplify further.
815 (cfengine3-completion-function, cfengine3--current-function):
816 Use `assq' for symbols.
817 (cfengine3--current-function): Fix `cfengine3--current-word' call.
818
819 2013-12-13 Glenn Morris <rgm@gnu.org>
820
821 * loadup.el (load-path): Warn if site-load or site-init changes it.
822 No more need to reset it when bootstrapping.
823
824 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
825
826 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
827 locations for cf-promises.
828 (cfengine-mode-syntax-functions-regex): New caching variable.
829 (cfengine3-fallback-syntax): Fallback syntax for cases where
830 cf-promises doesn't run.
831 (cfengine3--current-word): Reimplement using
832 `cfengine-mode-syntax-functions-regex'.
833 (cfengine3-completion-function, cfengine3--current-function):
834 Use `cfengine3-make-syntax-cache' directly.
835 (cfengine3-clear-syntax-cache): New function.
836 (cfengine3-make-syntax-cache): Simplify and create
837 `cfengine-mode-syntax-functions-regex' on demand.
838 (cfengine3-format-function-docstring): Don't call
839 `cfengine3-make-syntax-cache' explicitly.
840
841 2013-12-13 Martin Rudalics <rudalics@gmx.at>
842
843 Fix windmove-find-other-window broken after pixelwise resizing
844 (Bug#16017).
845 * windmove.el (windmove-other-window-loc): Revert change from
846 2013-12-04.
847 (windmove-find-other-window): Call window-in-direction.
848 * window.el (window-in-direction): New arguments SIGN, WRAP and
849 MINI to emulate original windmove-find-other-window behavior.
850
851 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
852
853 * simple.el (blink-matching--overlay): New variable.
854 (blink-matching-open): Instead of moving point, highlight the
855 matching paren with an overlay
856 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
857
858 * faces.el (paren-showing-faces, show-paren-match)
859 (show-paren-mismatch): Move from paren.el.
860
861 2013-12-13 Leo Liu <sdl.web@gmail.com>
862
863 * indent.el (indent-region): Disable progress reporter in
864 minibuffer. (Bug#16108)
865
866 * bindings.el (visual-order-cursor-movement): Fix version.
867
868 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
869
870 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
871 Also match after beginning of line.
872 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
873 files. Thanks to Russell Sim. (Bug#15378)
874
875 2013-12-13 Juri Linkov <juri@jurta.org>
876
877 * simple.el <Keypad support>: Remove key bindings duplicated
878 with bindings.el. (Bug#14397)
879
880 2013-12-13 Juri Linkov <juri@jurta.org>
881
882 * comint.el (comint-mode-map): Replace `delete-char' with
883 `delete-forward-char'. (Bug#16109)
884
885 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
886
887 * progmodes/python.el (python-indent-calculate-indentation):
888 Fix de-denters cornercase. (Bug#15731)
889
890 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
891
892 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
893 (advice--make): Pay attention to `depth'.
894 (advice--make-1): Don't autoload commands eagerly.
895 * emacs-lisp/elp.el (elp-instrument-function):
896 * emacs-lisp/trace.el (trace-function-internal):
897 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
898
899 * iswitchb.el (iswitchb-mode): Don't belittle ido.
900
901 2013-12-12 Eli Zaretskii <eliz@gnu.org>
902
903 * term/w32-win.el (w32-handle-dropped-file):
904 * startup.el (normal-top-level):
905 * net/browse-url.el (browse-url-file-url):
906 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
907 decode file names using 'utf-8' rather than
908 file-name-coding-system.
909
910 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
911
912 * progmodes/python.el (python-indent-context)
913 (python-indent-calculate-indentation): Fix auto-identation
914 behavior for comment blocks. (Bug#15916)
915
916 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
917
918 * progmodes/python.el (python-indent-calculate-indentation):
919 When determining indentation, don't treat "return", "pass", etc., as
920 operators when they are just string constituents. (Bug#15812)
921
922 2013-12-12 Juri Linkov <juri@jurta.org>
923
924 * uniquify.el (uniquify-buffer-name-style): Change default to
925 `post-forward-angle-brackets'.
926
927 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
928 `uniquify'. Change default to `post-forward-angle-brackets'.
929
930 2013-12-11 Glenn Morris <rgm@gnu.org>
931
932 * emacs-lisp/package.el (finder-list-matches):
933 Autoload rather than falsely declaring.
934
935 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
936
937 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
938 (eww-mode-map): Use them.
939
940 2013-12-11 Martin Rudalics <rudalics@gmx.at>
941
942 * window.el (display-buffer-in-side-window): Fix doc-string
943 (Bug#16115).
944
945 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
946
947 * vc/vc-git.el: Silence byte-compiler warnings.
948 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
949 (log-edit-set-header): Declare.
950
951 2013-12-11 Eli Zaretskii <eliz@gnu.org>
952
953 * Makefile.in (custom-deps, finder-data): Run output file names
954 through unmsys--file-name. (Bug#16099)
955
956 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
959 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
960
961 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
962 instead of deleting the selection "by hand" (bug#16098).
963 Rely on insert-for-yank to yank rectangles.
964 (cua-highlight-region-shift-only): Mark obsolete.
965 (cua-mode): Don't enable/disable transient-mark-mode,
966 shift-select-mode (cua-mode works both with and without them), and
967 pc-selection-mode (obsolete).
968 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
969 (cua--deactivate-rectangle): Deactivate it.
970
971 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
972 (delete-selection-helper): Make sure yank starts at the top of the
973 deleted region.
974 (minibuffer-keyboard-quit): Use region-active-p.
975
976 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
977
978 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
979 to `delete' (bug#16109).
980
981 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
982
983 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
984 info manual and show keybindings and set `:group' keyword.
985
986 2013-12-11 Juri Linkov <juri@jurta.org>
987
988 * delsel.el (delete-active-region): Let-bind `this-command'
989 to prevent `kill-region' from changing its original value.
990 (delete-selection-helper): Handle `overwrite-mode' for the type
991 `kill' exactly the same way as for the type `t'.
992 (insert-char, quoted-insert, reindent-then-newline-and-indent):
993 Support more commands. (Bug#13312)
994
995 2013-12-11 Juri Linkov <juri@jurta.org>
996
997 * bindings.el: Map kp keys to non-kp keys systematically
998 with basic modifiers control, meta and shift. (Bug#14397)
999
1000 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1001
1002 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1003 "Close browser" menu items. Fix wrong function of "List
1004 bookmarks".
1005
1006 2013-12-11 Juri Linkov <juri@jurta.org>
1007
1008 * misearch.el (multi-isearch-buffers): Set the value of
1009 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1010 arg of isearch-forward to t.
1011 (multi-isearch-buffers-regexp): Set the value of
1012 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1013 arg of isearch-forward-regexp to t.
1014 (multi-isearch-files): Set the value of
1015 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1016 arg of isearch-forward to t.
1017 (multi-isearch-files-regexp): Set the value of
1018 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1019 arg of isearch-forward-regexp to t. (Bug#16035)
1020
1021 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1022 arg of isearch-forward to t.
1023 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1024 arg of isearch-forward-regexp to t.
1025 (dired-isearch-filter-filenames): Remove unnecessary check for
1026 `dired-isearch-filenames'.
1027
1028 * comint.el (comint-history-isearch-backward):
1029 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1030 (comint-history-isearch-backward-regexp):
1031 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1032
1033 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1034
1035 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1036 unmsys--file-name. (Bug#16099)
1037
1038 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1039
1040 * emacs-lisp/package.el (package-keyword-button-action):
1041 Remove finder.el require dependency.
1042
1043 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1044
1045 * emacs-lisp/package.el: Require finder.el.
1046 (describe-package-1): Add keyword buttons.
1047 (package-make-button): New convenience function.
1048 (package-keyword-button-action): Keyword button action using
1049 `finder-list-matches'.
1050
1051 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1052
1053 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1054 last commit.
1055
1056 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1059 symlinked files.
1060
1061 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1062
1063 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1064 after the end of a percent literal.
1065
1066 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1067
1068 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1069 Handle caret-delimited strings (Bug#16079).
1070
1071 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1072
1073 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1074 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1075 `ruby-parse-partial' (Bug#16078).
1076
1077 2013-12-09 Leo Liu <sdl.web@gmail.com>
1078
1079 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1080
1081 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1082
1083 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1084 (js-switch-indent-offset): New option.
1085 (js--proper-indentation): Use it. And handle the case when
1086 "default" is actually a key in an object literal.
1087 (js--same-line): New function.
1088 (js--multi-line-declaration-indentation): Use it.
1089 (js--indent-in-array-comp, js--array-comp-indentation):
1090 New functions.
1091 (js--proper-indentation): Use them, to handle array comprehension
1092 continuations.
1093
1094 2013-12-08 Leo Liu <sdl.web@gmail.com>
1095
1096 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1097 (flymake-make-overlay): Remove arg MOUSE-FACE.
1098 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1099
1100 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1103 New function.
1104 (redisplay-highlight-region-function): Use it.
1105
1106 * emulation/cua-base.el (cua--explicit-region-start)
1107 (cua--last-region-shifted): Remove.
1108 (cua--deactivate): Use deactivate-mark.
1109 (cua--pre-command-handler-1): Don't handle shift-selection.
1110 (cua--post-command-handler-1): Don't change transient-mark-mode.
1111 (cua--select-keymaps): Use region-active-p rather than
1112 cua--explicit-region-start or cua--last-region-shifted.
1113 (cua-mode): Enable shift-select-mode.
1114
1115 2013-12-08 Leo Liu <sdl.web@gmail.com>
1116
1117 * progmodes/flymake.el (flymake-popup-current-error-menu):
1118 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1119 (flymake-posn-at-point-as-event, flymake-popup-menu)
1120 (flymake-make-emacs-menu): Remove. (Bug#16077)
1121
1122 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 * rect.el (rectangle-mark-mode): Activate mark even if
1125 transient-mark-mode is off (bug#16066).
1126 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1127 is > mark and at bolp.
1128
1129 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1130 (region-extract-function): Use it.
1131 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1132 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1133 Delete functions.
1134 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1135 kill-ring-save, kill-region, delete-char, delete-forward-char.
1136 Ignore self-insert-iso.
1137
1138 * emulation/cua-gmrk.el (cua--init-global-mark):
1139 Ignore `self-insert-iso'.
1140
1141 * emulation/cua-base.el (cua--prefix-copy-handler)
1142 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1143 checking cua--rectangle.
1144 (cua-delete-region): Use region-extract-function.
1145 (cua-replace-region): Delete function.
1146 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1147 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1148 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1149 (cua--init-keymaps): Don't remap delete-selection commands.
1150 (cua-mode): Use delete-selection-mode instead of rolling our own
1151 (bug#16085).
1152
1153 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1154 Obey region-extract-function.
1155
1156 Make registers and delete-selection-mode work on rectangles.
1157 * register.el (describe-register-1): Don't modify the register's value.
1158 (copy-to-register): Obey region-extract-function.
1159 * delsel.el (delete-active-region): Obey region-extract-function.
1160
1161 2013-12-08 Leo Liu <sdl.web@gmail.com>
1162
1163 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1164 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1165 (flymake-compilation-prevents-syntax-check)
1166 (flymake-start-syntax-check-on-newline)
1167 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1168 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1169 (flymake-xml-program, flymake-master-file-dirs)
1170 (flymake-master-file-count-limit)
1171 (flymake-allowed-file-name-masks): Relocate.
1172 (flymake-makehash, flymake-float-time)
1173 (flymake-replace-regexp-in-string, flymake-split-string)
1174 (flymake-get-temp-dir): Remove.
1175 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1176 (flymake-current-row, flymake-selected-frame)
1177 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1178 related functions. (Bug#16077)
1179
1180 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1181
1182 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1183
1184 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1185
1186 * help-fns.el (describe-function-1): Use new advice-* functions
1187 rather than old ad-* functions. Fix function type description and
1188 source links for advised functions and subrs.
1189
1190 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1191
1192 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1193
1194 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1195
1196 * progmodes/compile.el (compilation-start):
1197 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1198
1199 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1200 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1201
1202 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1203
1204 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1205 Touch up the last change.
1206
1207 2013-12-06 Leo Liu <sdl.web@gmail.com>
1208
1209 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1210 (inferior-octave-startup): Always use "octave> " for prompt.
1211 (octave-goto-function-definition)
1212 (octave-sync-function-file-names)
1213 (octave-find-definition-default-filename): Remove redundant backquotes.
1214
1215 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1216
1217 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1218 syntax for `?'.
1219 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1220 where appropriate already.
1221 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1222 end of method names (Bug#15874).
1223
1224 2013-12-06 Juri Linkov <juri@jurta.org>
1225
1226 * isearch.el (isearch--saved-overriding-local-map):
1227 New internal variable.
1228 (isearch-mode): Set it to the initial value of
1229 `overriding-terminal-local-map'.
1230 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1231 with `isearch--saved-overriding-local-map'. (Bug#16035)
1232
1233 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * progmodes/octave.el (inferior-octave-completion-table):
1236 Turn back into function, use `completion-table-with-cache'
1237 (Bug#11906). Update all references.
1238
1239 * minibuffer.el (completion-table-with-cache): New function.
1240
1241 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1242
1243 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1244
1245 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1246
1247 * net/eww.el (eww-current-source): New variable to store page
1248 source.
1249 (eww-display-html, eww-mode, eww-save-history)
1250 (eww-restore-history): Use it.
1251 (eww-view-source): New command to view page source.
1252 Opportunistically uses `html-mode' to highlight the buffer.
1253 (eww-mode-map): Install it.
1254
1255 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * net/dbus.el (dbus-unregister-service)
1258 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1259 Fix docstring.
1260 (dbus-unregister-service): Skip :serial entries in
1261 `dbus-registered-objects-table'.
1262 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1263
1264 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1265
1266 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1267 around keywords with extra `split-string' argument.
1268
1269 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1270
1271 * windmove.el (windmove-other-window-loc): Handle navigation
1272 between windows (excluding the minibuffer window - Bug#16017).
1273
1274 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1275
1276 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1277 in D-Bus type syntax.
1278 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1279 preserve unibyte strings. (Bug#16048)
1280
1281 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1284 Call force-mode-line-update is the proper buffer (bug#16042).
1285
1286 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1287
1288 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1289 `log-edit-remember-comment', make argument optional. Adjust all
1290 callers.
1291 (log-edit-mode): Add `log-edit-remember-comment' to
1292 `kill-buffer-hook' locally.
1293 (log-edit-kill-buffer): Don't remember comment explicitly since
1294 the buffer is killed anyway.
1295
1296 2013-12-04 Juri Linkov <juri@jurta.org>
1297
1298 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1299 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1300
1301 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1302
1303 * notifications.el (notifications-close-notification): Call the
1304 D-Bus method with ID being a `:uint32'. (Bug#16030)
1305
1306 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1307
1308 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1309
1310 2013-12-03 Juri Linkov <juri@jurta.org>
1311
1312 * progmodes/compile.el (compilation-start): Rename window alist
1313 entry `no-display-ok' to `allow-no-window'.
1314
1315 * simple.el (shell-command): Add window alist entry
1316 `allow-no-window' to `display-buffer'.
1317 (async-shell-command): Doc fix.
1318
1319 * window.el (display-buffer-no-window): New action function.
1320 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1321
1322 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1323
1324 * vc/log-edit.el (log-edit-set-header): Extract from
1325 `log-edit-toggle-header'.
1326 (log-edit-extract-headers): Separate the summary, when extracted
1327 from header, from the rest of the message with an empty line.
1328
1329 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1330 line, if present, to the Summary header.
1331
1332 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1335 in current-buffer (bug#16029).
1336
1337 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1338
1339 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1340 (debugger-mode-map): Bind it.
1341 (debugger--backtrace-base): New function.
1342 (debugger-eval-expression): Use it.
1343 (debugger-frame-number): Skip local vars when present.
1344 (debugger--locals-visible-p, debugger--insert-locals)
1345 (debugger--show-locals, debugger--hide-locals): New functions.
1346
1347 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1348
1349 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1350 "LC_ALL".
1351 (tramp-get-remote-locale): New defun.
1352 (tramp-open-connection-setup-interactive-shell): Use it.
1353
1354 2013-12-02 Leo Liu <sdl.web@gmail.com>
1355
1356 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1357
1358 * progmodes/sh-script.el (sh-shell-process):
1359 * progmodes/octave.el (inferior-octave-process-live-p):
1360 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1361 (gdb-inferior-io-sentinel):
1362 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1363
1364 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1367 `save-selected-window' to `log-edit-hide-buf'. This makes
1368 `log-edit-show-files' idempotent.
1369 (log-edit-show-files): Mark the new window as dedicated.
1370
1371 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1372
1373 * vc/log-edit.el (log-edit-mode-map): Add binding for
1374 `log-edit-kill-biffer'.
1375 (log-edit-hide-buf): Add a FIXME comment.
1376 (log-edit-add-new-comment): New function, extracted from
1377 `log-edit-done'.
1378 (log-edit-done, log-edit-add-to-changelog): Use it.
1379 (log-edit-kill-buffer): New command.
1380
1381 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1382
1383 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1384 instead of killing the buffer.
1385
1386 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1389
1390 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1391
1392 * net/eww.el (eww-form-checkbox-selected-symbol)
1393 (eww-form-checkbox-symbol): New customizable variable.
1394 (eww-form-checkbox, eww-toggle-checkbox):
1395 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1396
1397 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1398 (shr--get-media-pref, shr--extract-best-source): New function.
1399 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1400 no :src tag was specified.
1401
1402 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1403 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1404 Use \\` to match beginning of string instead of ^.
1405 (eww-browse-with-external-browser): Provide optional URL parameter.
1406 (eww-render): Set `eww-current-title' back to "".
1407
1408 * net/shr.el (shr-tag-video): Display content for video if no
1409 poster is available.
1410 (shr-tag-audio): Add support for <audio> tag.
1411
1412 * net/eww.el (eww-text-input-types): New const.
1413 (eww-process-text-input): Treat input types in
1414 `eww-text-input-types' as text.
1415
1416 * net/shr.el (shr-tag-table): Fix comment typo.
1417
1418 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1419
1420 * net/eww.el (eww-follow-link): New command to avoid reloading
1421 pages when we follow #target links (bug#15243).
1422 (eww-quit): Special mode buffers shouldn't query before exiting.
1423
1424 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1425
1426 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1427 forms.
1428
1429 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1430
1431 * net/eww.el (eww-restore-history): Update the window title after
1432 moving in the history.
1433 (eww-current-dom): New variable used to save the current DOM.
1434
1435 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1436
1437 * vc/log-edit.el (log-edit-mode-map): Add binding for
1438 `log-edit-beginning-of-line'.
1439 (log-edit-setup-add-author): New user option.
1440 (log-edit-beginning-of-line): New command.
1441 (log-edit): Move major mode call above the contents setup so that
1442 the local variable values are already applied.
1443 (log-edit): Only insert "Author: " when
1444 `log-edit-setup-add-author' is non-nil.
1445 (log-edit): When SETUP is non-nil, position point after ": "
1446 instead of point-min.
1447
1448 2013-12-01 Glenn Morris <rgm@gnu.org>
1449
1450 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1451
1452 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1453
1454 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1455 redisplay to make sure the initial frame gets a chance to become
1456 visible. (Bug#16014)
1457
1458 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1459
1460 Support resizing frames and windows pixelwise.
1461 * cus-start.el (frame-resize-pixelwise)
1462 (window-resize-pixelwise): New entries.
1463 * emacs-lisp/debug.el (debug): Use window-total-height instead
1464 of window-total-size.
1465 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1466 * help.el (describe-bindings-internal): Call help-buffer
1467 (temp-buffer-max-width): New option.
1468 (resize-temp-buffer-window, help-window-setup)
1469 (with-help-window): Rewrite.
1470 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1471 dragging dividers.
1472 * window.el (frame-char-size, window-min-pixel-height)
1473 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1474 (window-min-pixel-width, window-safe-min-pixel-size)
1475 (window-combination-p, window-safe-min-size)
1476 (window-resizable-p, window--size-to-pixel)
1477 (window--pixel-to-size, window--resize-apply-p): New functions.
1478 (window-safe-min-height): Fix doc-string.
1479 (window-size, window-min-size, window--min-size-1)
1480 (window-sizable, window-sizable-p, window--min-delta-1)
1481 (window-min-delta, window--max-delta-1, window-max-delta)
1482 (window--resizable, window--resizable-p, window-resizable)
1483 (window-full-height-p, window-full-width-p, window-at-side-p)
1484 (window--in-direction-2, window-in-direction)
1485 (window--resize-reset-1, window--resize-mini-window)
1486 (window-resize, window-resize-no-error)
1487 (window--resize-child-windows-normal)
1488 (window--resize-child-windows, window--resize-siblings)
1489 (window--resize-this-window, window--resize-root-window)
1490 (window--resize-root-window-vertically)
1491 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1492 (maximize-window, minimize-window, delete-window)
1493 (quit-restore-window, window-split-min-size, split-window)
1494 (balance-windows-2, balance-windows)
1495 (balance-windows-area-adjust, balance-windows-area)
1496 (window--state-get-1, window-state-get, window--state-put-1)
1497 (window--state-put-2, window-state-put)
1498 (display-buffer-record-window, window--display-buffer):
1499 Make functions handle pixelwise sizing of windows.
1500 (display-buffer--action-function-custom-type)
1501 (display-buffer-fallback-action):
1502 Add display-buffer-in-previous-window.
1503 (display-buffer-use-some-window): Resize window to height it had
1504 before.
1505 (fit-window-to-buffer-horizontally): New option.
1506 (fit-frame-to-buffer): Describe new values.
1507 (fit-frame-to-buffer-bottom-margin): Replace with
1508 fit-frame-to-buffer-margins.
1509 (window--sanitize-margin): New function.
1510 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1511 using window-text-pixel-size.
1512
1513 2013-11-30 Glenn Morris <rgm@gnu.org>
1514
1515 * emacs-lisp/bytecomp.el (byte-compile-form):
1516 Make the `interactive-only' warning like the `obsolete' one.
1517 * comint.el (comint-run):
1518 * files.el (insert-file-literally, insert-file):
1519 * replace.el (replace-string, replace-regexp):
1520 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1521 (goto-line, insert-buffer, next-line, previous-line):
1522 Tweak `interactive-only' spec.
1523
1524 Stop keeping (most) generated cedet grammar files in the repository.
1525 * Makefile.in (semantic): New.
1526 (compile-main): Depend on semantic.
1527
1528 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1531 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1532
1533 * uniquify.el (uniquify-buffer-name-style): Change default.
1534
1535 * loadup.el: Preload "uniquify".
1536
1537 * time.el (display-time-update): Update all mode lines (bug#15999).
1538
1539 * electric.el (electric-indent-mode): Enable by default.
1540 * loadup.el: Preload "electric".
1541
1542 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1543
1544 * emacs-lisp/helpers.el (string-empty-p): New function.
1545 (string-blank-p): New function.
1546
1547 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1548
1549 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1550 (Bug#14029).
1551
1552 2013-11-29 Andreas Politz <politza@fh-trier.de>
1553 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1554 allow non-lambda lists as functions.
1555 (imenu--in-alist): Don't recurse into non-subalists.
1556 (imenu): Don't pass function itself as an argument (Bug#14029).
1557
1558 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * progmodes/python.el (python-mode-map): Remove binding for ":".
1561 (python-indent-electric-colon): Remove command.
1562 (python-indent-post-self-insert-function): Integrate the previous code
1563 of python-indent-electric-colon. Make it conditional on
1564 electric-indent-mode.
1565 (python-mode): Add ?: to electric-indent-chars.
1566 Move python-indent-post-self-insert-function to the end of
1567 post-self-insert-hook.
1568
1569 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * doc-view.el (doc-view-goto-page): Update mode-line.
1572
1573 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1574
1575 2013-11-27 Glenn Morris <rgm@gnu.org>
1576
1577 * international/charprop.el, international/uni-bidi.el:
1578 * international/uni-category.el, international/uni-combining.el:
1579 * international/uni-comment.el, international/uni-decimal.el:
1580 * international/uni-decomposition.el, international/uni-digit.el:
1581 * international/uni-lowercase.el, international/uni-mirrored.el:
1582 * international/uni-name.el, international/uni-numeric.el:
1583 * international/uni-old-name.el, international/uni-titlecase.el:
1584 * international/uni-uppercase.el:
1585 Remove generated files from VCS repository.
1586
1587 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1588
1589 * filenotify.el (file-notify-add-watch): Don't special-case
1590 w32notify when computing the directory to watch.
1591
1592 2013-11-27 Glenn Morris <rgm@gnu.org>
1593
1594 Make bootstrap without generated uni-*.el files possible again.
1595 * loadup.el: Update command-line-args checking for unidata-gen.
1596 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1597 * composite.el, international/characters.el:
1598 Handle unicode tables being undefined.
1599
1600 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1601 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1602 (compile-main): Depend on leim rule.
1603 (leim): New rule.
1604 * loadup.el: Move leim-list.el to leim/ subdirectory.
1605 * startup.el (normal-top-level): No more leim directory.
1606 * international/ja-dic-cnv.el (skkdic-convert):
1607 Disable version-control and autoloads in output files.
1608 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1609 Disable version-control and autoloads in output files.
1610 * leim/quail: Move here from ../leim.
1611 * leim/quail/hangul.el (hangul-input-method-activate):
1612 Add autoload cookie.
1613 (generated-autoload-load-name): Set file-local value.
1614 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1615 (generated-autoload-load-name): Set file-local value.
1616
1617 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1618
1619 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1620 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1621 (eww-quit): Ask confirmation before quitting eww.
1622
1623 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1624
1625 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1626 reading output from Diff on MS-Windows and MS-DOS.
1627
1628 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1629
1630 * emacs-lisp/helpers.el (string-reverse): New function.
1631
1632 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1633
1634 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1635 names on MS Windows, like "/[::1]:".
1636
1637 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1638 SWITCHES.
1639
1640 2013-11-26 Glenn Morris <rgm@gnu.org>
1641
1642 * progmodes/python.el (python-indent-guess-indent-offset):
1643 Avoid corner-case error. (Bug#15975)
1644
1645 Preload leim-list.el. (Bug#4789)
1646 * loadup.el: Load leim-list.el when found.
1647 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1648
1649 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1650
1651 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1652
1653 * emacs-lisp/helpers.el (string-join): New function.
1654
1655 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1656
1657 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1658 Mark as obsolete and replace it with a symbol property.
1659 (byte-compile-form): Use new 'interactive-only property.
1660 * comint.el, files.el, replace.el, simple.el:
1661 Apply new 'interactive-only properly.
1662
1663 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1664
1665 * window.el (display-buffer-at-bottom): Make sure that
1666 split-window-sensibly creates the new window on bottom
1667 (Bug#15961).
1668
1669 2013-11-23 David Kastrup <dak@gnu.org>
1670
1671 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1672 on the conflict markers when available.
1673 (smerge--get-marker): New function.
1674 (smerge-end-re, smerge-base-re): Add subgroup.
1675
1676 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * frame.el (handle-focus-in, handle-focus-out): Add missing
1679 interactive spec.
1680
1681 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1682
1683 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1684 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1685
1686 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1689 (gomoku--last-pos): New var.
1690 (gomoku--intangible-chars): New const.
1691 (gomoku--intangible): New function.
1692 (gomoku-mode): Use it. Derive from special-mode.
1693 (gomoku-move-up): Adjust line count.
1694 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1695 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1696 Simplify accordingly.
1697
1698 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1699 Remove blink-cursor code.
1700 (blink-cursor-timer-function, blink-cursor-suspend):
1701 Don't special-case GUIs.
1702 (blink-cursor-mode): Use focus-in/out-hook.
1703
1704 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1705
1706 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1707 work when annotation is invisible (Bug#13886).
1708
1709 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1710
1711 * json.el (json-alist-p): Only return non-nil if the alist has
1712 simple keys (Bug#13518).
1713
1714 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1715
1716 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1717 when control-statement is the first statement in a buffer (Bug#15956).
1718
1719 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1720
1721 * imenu.el (imenu-generic-skip-comments-and-strings):
1722 New option (Bug#15560).
1723 (imenu--generic-function): Use it.
1724
1725 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1726
1727 * minibuffer.el (completion--in-region-1): Scroll the correct
1728 window. (Bug#13898)
1729
1730 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1731
1732 * emacs-lisp/helpers.el: Add some string helpers.
1733 (string-trim-left): Removes leading whitespace.
1734 (string-trim-right): Removes trailing whitespace.
1735 (string-trim): Removes leading and trailing whitespace.
1736
1737 * subr.el (string-suffix-p): New function.
1738
1739 2013-11-23 Glenn Morris <rgm@gnu.org>
1740
1741 * progmodes/python.el (python-shell-send-file):
1742 Add option to delete file when done. (Bug#15647)
1743 (python-shell-send-string, python-shell-send-region): Use it.
1744
1745 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1746
1747 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1748 to set buffer-read-only to t, never to nil. (Bug#15938)
1749
1750 * textmodes/tex-mode.el (latex-noindent-environments):
1751 Add safe-local-variable property. (Bug#15936)
1752
1753 2013-11-23 Glenn Morris <rgm@gnu.org>
1754
1755 * textmodes/enriched.el (enriched-mode): Doc fix.
1756 * emacs-lisp/authors.el (authors-renamed-files-alist):
1757 Add enriched.doc -> enriched.txt.
1758
1759 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1760
1761 2013-11-22 Leo Liu <sdl.web@gmail.com>
1762
1763 * progmodes/octave.el (inferior-octave-startup): Spit out error
1764 message.
1765
1766 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1767
1768 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1769 Improve docstring.
1770 Add :version.
1771 (ruby-encoding-magic-comment-style): Add :version.
1772
1773 2013-11-22 Leo Liu <sdl.web@gmail.com>
1774
1775 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1776 (Bug#15076)
1777 (octave-help-mode): Adapt to change to help-mode-finish to use
1778 derived-mode-p on 2013-09-17.
1779 (inferior-octave-prompt): Also match octave-gui.
1780 (octave-kill-process): Don't ask twice. (Bug#10564)
1781
1782 2013-11-22 Leo Liu <sdl.web@gmail.com>
1783
1784 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1785 (inferior-octave-startup, inferior-octave-check-process)
1786 (inferior-octave-track-window-width-change)
1787 (octave-completion-at-point, octave-eldoc-function): Use it.
1788 (octave-kill-process): Provide confirmation. (Bug#10564)
1789
1790 2013-11-21 Leo Liu <sdl.web@gmail.com>
1791
1792 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1793 Fix obsolete variable comment-use-global-state.
1794
1795 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1796
1797 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1798 Add `octave-source-file'.
1799 (octave-source-file): New function. (Bug#15935)
1800
1801 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1802
1803 * net/eww.el (eww-local-regex): New variable.
1804 (eww): Use it to detect localhost and similar.
1805
1806 2013-11-21 Leo Liu <sdl.web@gmail.com>
1807
1808 Add completion for command `ag'.
1809 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1810 (pcomplete/ag): New function.
1811 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1812
1813 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1816 (bug#14646).
1817 (make-obsolete): Remove interactive spec.
1818
1819 2013-11-21 Glenn Morris <rgm@gnu.org>
1820
1821 * startup.el (command-line-1): Use path-separator with -L.
1822
1823 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1824
1825 * emacs-lisp/package.el (describe-package-1): Add package archive
1826 to shown fields.
1827
1828 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1829
1830 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1831 Change default to "# encoding: %s" to differentiate it from the
1832 default Ruby encoding comment template.
1833
1834 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1835
1836 * ses.el (ses-mode): Doc fix. (Bug#14748)
1837
1838 2013-11-20 Leo Liu <sdl.web@gmail.com>
1839
1840 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1841
1842 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1843
1844 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1845 when rebase or bisect are in progress.
1846
1847 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1848
1849 * filenotify.el (file-notify-add-watch): Doc fix.
1850
1851 2013-11-19 Leo Liu <sdl.web@gmail.com>
1852
1853 * obsolete/rcompile.el: Mark obsolete.
1854
1855 * progmodes/compile.el (compilation-start)
1856 (compilation-goto-locus, compilation-find-file):
1857 Pass no-display-ok and handle nil value from display-buffer.
1858 (Bug#13594)
1859
1860 * window.el (display-buffer-alist, display-buffer): Document the
1861 new parameter no-display-ok. Return either a window or nil
1862 but never a non-window value.
1863
1864 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * electric.el (electric-indent-mode-map): Remove.
1867 (electric-indent-mode): Change the global-map instead (bug#15915).
1868
1869 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1870 Use add-function.
1871
1872 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * emacs-lisp/nadvice.el (remove-function): Align with
1875 add-function's behavior.
1876
1877 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1878 (gdb--string-regexp): New constant.
1879 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1880 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1881 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1882 submatch 1.
1883 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1884 Adjust use accordingly.
1885 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1886
1887 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1888
1889 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1890 interpolation curlies (Bug#15914).
1891
1892 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1893
1894 * calc/calc.el (calc-context-sensitive-enter): New variable.
1895 (calc-enter): Use `calc-context-sensitive-enter'.
1896
1897 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1898
1899 * progmodes/cfengine.el: Version bump.
1900 (cfengine-cf-promises): New defcustom to locate cf-promises.
1901 (cfengine3-vartypes): Add new "data" type.
1902 (cfengine3--current-word): New function to get current name-like
1903 word or its bounds.
1904 (cfengine3--current-function): New function to look up a CFEngine
1905 function's definition.
1906 (cfengine3-format-function-docstring): New function.
1907 (cfengine3-make-syntax-cache): New function.
1908 (cfengine3-documentation-function): New function: ElDoc glue.
1909 (cfengine3-completion-function): New function: completion glue.
1910 (cfengine3-mode): Set `compile-command',
1911 `eldoc-documentation-function', and add to
1912 `completion-at-point-functions'.
1913
1914 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1915
1916 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1917 `tramp-current-connection'.
1918
1919 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1920
1921 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1922 nil/self/true/false with "end of symbol".
1923
1924 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1925
1926 * subr.el (version-regexp-alist): Fix a typo.
1927
1928 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1929
1930 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1931 "en_US.utf8" and "LC_CTYPE" to "".
1932 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1933 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1934
1935 2013-11-15 Leo Liu <sdl.web@gmail.com>
1936
1937 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1938
1939 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * progmodes/gud.el (ctl-x-map):
1942 Remove C-x SPC binding. (Bug#12342)
1943 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1944
1945 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1946
1947 * subr.el (version-regexp-alist):
1948 Recognize hg, svn and darcs versions as snapshot versions.
1949
1950 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1951 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1952 (ruby--encoding-comment-required-p): Extract from
1953 `ruby-mode-set-encoding'.
1954 (ruby-mode-set-encoding): Add the ability to always insert an
1955 utf-8 encoding comment. Fix and simplify coding comment update
1956 logic.
1957
1958 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1959
1960 * net/tramp-gvfs.el (top): Run init code only when
1961 `tramp-gvfs-enabled' is not nil.
1962 (tramp-gvfs-enabled): Check also :system bus.
1963
1964 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 Sync with upstream verilog-mode revision 78e66ba.
1967 * progmodes/verilog-mode.el (verilog-end-of-defun)
1968 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1969 (verilog-get-end-of-defun): Remove unused argument.
1970 (verilog-comment-depth): Remove unused local `e'.
1971 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1972 Don't pass arg to verilog-get-end-of-defun.
1973
1974 2013-11-14 Glenn Morris <rgm@gnu.org>
1975
1976 * obsolete/assoc.el (aget): Prefix dynamic variable.
1977
1978 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1979
1980 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * widget.el, hfy-cmap.el: Remove bogus package version number.
1983
1984 2013-11-13 Glenn Morris <rgm@gnu.org>
1985
1986 * replace.el (replace-eval-replacement):
1987 Try to give more helpful error message. (Bug#15836)
1988
1989 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1990 (archive-7z-update): Avoid custom type mismatches.
1991
1992 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1993
1994 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1995
1996 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1997 address can be empty.
1998
1999 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2000 Accept nil SWITCHES.
2001 (tramp-gvfs-handle-write-region): Implement APPEND.
2002
2003 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2006 binary "|" operator and closing block args delimiter.
2007 Remove FIXME comment referring to Ruby 1.8-only syntax.
2008 (ruby-smie--implicit-semi-p): Not after "|" operator.
2009 (ruby-smie--closing-pipe-p): New function.
2010 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2011 (ruby-smie-rules): Indent after "|".
2012
2013 2013-11-12 Glenn Morris <rgm@gnu.org>
2014
2015 * ps-print.el (ps-face-attribute-list):
2016 Handle anonymous faces. (Bug#15827)
2017
2018 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2019
2020 * window.el (display-buffer-other-frame): Fix doc-string.
2021 (Bug#15868)
2022
2023 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2026
2027 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2028
2029 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2030 (tramp-sh-handle-file-local-copy): Don't write a message when
2031 saving temporary files.
2032
2033 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2034 both directories are remote.
2035 (tramp-smb-handle-directory-files): Do not return double entries.
2036 Do not expand full file names.
2037 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2038 (tramp-smb-handle-write-region): Implement APPEND.
2039 (tramp-smb-get-stat-capability): Fix a stupid bug.
2040
2041 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2044
2045 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2046
2047 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2048 throwing error over malformed let/let* (bug#15814).
2049
2050 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * iswitchb.el (iswitchb-mode): Mark obsolete.
2053
2054 2013-11-11 Glenn Morris <rgm@gnu.org>
2055
2056 * international/uni-bidi.el, international/uni-category.el:
2057 * international/uni-name.el, international/uni-numeric.el:
2058 Regenerate for Unicode 6.3.0.
2059
2060 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2061
2062 * net/tramp.el (tramp-methods):
2063 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2064 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2065
2066 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2067
2068 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2069 Force highlighting text after Summary keyword in doc face for rpm.
2070
2071 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2072
2073 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2074 available and the word has no wildcards, append one to the grep pattern.
2075 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2076 (ispell-complete-word): Call `ispell-lookup-words' with the value
2077 independent of `ispell-look-p'.
2078
2079 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2080
2081 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2082 Not after "||".
2083 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2084 their parent.
2085
2086 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2089 (ruby-font-lock-keywords): Use backquote.
2090
2091 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2092
2093 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2094 (ruby-smie--backward-token): Only consider full-string matches.
2095
2096 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2097
2098 * faces.el (describe-face): Add distant-foreground.
2099
2100 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2101
2102 * progmodes/ruby-mode.el: Improve encoding comment handling.
2103 (ruby-encoding-magic-comment-style): New option.
2104 (ruby-custom-encoding-magic-comment-template): New option.
2105 (ruby--insert-coding-comment, ruby--detect-encoding):
2106 New functions extracted from `ruby-mode-set-encoding'.
2107 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2108 to control the style of the auto-inserted encoding comment.
2109
2110 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2113 Use `smie-backward-sexp' with token argument.
2114
2115 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2118 Remove instrumentation code.
2119
2120 2013-11-08 Glenn Morris <rgm@gnu.org>
2121
2122 * progmodes/autoconf.el (autoconf-mode):
2123 Tweak comment-start-skip. (Bug#15822)
2124
2125 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2128 at bobp (bug#15826).
2129 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2130
2131 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2132
2133 * man.el (Man-start-calling): New macro, extracted from
2134 Man-getpage-in-background.
2135 (Man-getpage-in-background): Use it.
2136 (Man-update-manpage): New command.
2137 (Man-mode-map): Bind it.
2138
2139 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2140
2141 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2142 of "and", "or", "&&" and "||".
2143 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2144 argument. Prohibit opening curly brace because it could only be a
2145 block opener in that position.
2146 (ruby-smie--forward-token, ruby-smie--backward-token):
2147 Separate "|" from "&" or "*" going after it. That can happen in block
2148 arguments.
2149 (ruby-smie--indent-to-stmt): New function, seeks the end of
2150 previous statement or beginning of buffer.
2151 (ruby-smie-rules): Use it.
2152 (ruby-smie-rules): Check if there's a ":" before a curly block
2153 opener candidate; if there is, it's a hash.
2154
2155 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2158 (cl--block-wrapper): Fix last accidental change.
2159
2160 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2161
2162 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2163 Instrument, in order to hunt failure on hydra.
2164
2165 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2166
2167 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2168 malformed bindings form (bug#15814).
2169
2170 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2171
2172 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2173 "." compared to " @ ". This incidentally fixes some indentation
2174 examples with "do".
2175 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2176 (ruby-smie-grammar): New tokens: "and" and "or".
2177 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2178 Exclude "and" and "or". Remove "do" in order to work around token
2179 priorities.
2180 (ruby-smie-rules): Add all infix tokens. Handle the case of
2181 beginning-of-buffer.
2182
2183 2013-11-06 Glenn Morris <rgm@gnu.org>
2184
2185 * Makefile.in (setwins_almost, setwins_for_subdirs):
2186 Avoid accidental matches.
2187
2188 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * menu-bar.el (popup-menu): Use key-binding.
2191
2192 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2193
2194 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2195 menus, support also the menus produced by minor modes.
2196 (Bug#15817)
2197
2198 2013-11-06 Leo Liu <sdl.web@gmail.com>
2199
2200 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2201 DISTANCE to bound the search. All uses changed. (Bug#15808)
2202
2203 2013-11-06 Glenn Morris <rgm@gnu.org>
2204
2205 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2206 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2207 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2208
2209 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * electric.el (electric-indent-just-newline): New command.
2212 (electric-indent-mode-map): New keymap.
2213 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2214 Re-add :group which weren't redundant.
2215
2216 * electric.el (electric-indent-local-mode): New minor mode.
2217 (electric-indent-functions-without-reindent): New var.
2218 (electric-indent-post-self-insert-function): Use it.
2219 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2220
2221 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2222
2223 * international/quail.el (quail-help): Be more explicit about the
2224 meaning of the labels shown on the keys. (Bug#15800)
2225
2226 * startup.el (normal-top-level): Load the subdirs.el files before
2227 setting the locale environment. (Bug#15805)
2228
2229 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2232 via arguments so as to get the right ones (bug#15418).
2233
2234 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2235
2236 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2237
2238 Fix problems found while writing a test suite.
2239
2240 * net/tramp-compat.el (tramp-compat-load): New defun.
2241 * net/tramp.el (tramp-handle-load): Use it.
2242
2243 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2244 "(numberp ok-if-already-exists)" correctly.
2245
2246 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2247
2248 * international/characters.el (glyphless-char-display-control):
2249 Add usage note.
2250
2251 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2252
2253 * progmodes/python.el (python-mode):
2254 * progmodes/scheme.el (scheme-mode):
2255 * progmodes/prolog.el (prolog-mode):
2256 * progmodes/ruby-mode.el (ruby-mode):
2257 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2258 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2259
2260 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * rect.el (rectangle--highlight-for-redisplay):
2263 * emacs-lisp/smie.el (smie--next-indent-change):
2264 Use buffer-chars-modified-tick.
2265
2266 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2267
2268 * electric.el (electric-indent-post-self-insert-function):
2269 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2270
2271 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2272
2273 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2274
2275 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2276
2277 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2278 (bug#15786).
2279
2280 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2283
2284 * progmodes/python.el: Fix up last change.
2285 (python-shell--save-temp-file): New function.
2286 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2287 `string' comes from the current buffer.
2288 (python-shell-send-string-no-output): Remove `msg' arg.
2289 (python--use-fake-loc): New var.
2290 (python-shell-buffer-substring): Obey it. Try to compensate for the
2291 extra coding line added by python-shell--save-temp-file.
2292 (python-shell-send-region): Use python-shell--save-temp-file and
2293 python-shell-send-file directly. Add `nomain' argument.
2294 (python-shell-send-buffer): Use python-shell-send-region.
2295 (python-electric-pair-string-delimiter): New function.
2296 (python-mode): Use it.
2297
2298 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2299
2300 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2301 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2302 environment and decoding all of the default-directory's to here
2303 from command-line.
2304 (command-line): Decode also argv[0].
2305
2306 * loadup.el: Error out if default-directory is a multibyte string
2307 when we are dumping.
2308
2309 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2310
2311 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2312
2313 * emacs-lisp/package.el (package-menu-mode)
2314 (package-menu--print-info, package-menu--archive-predicate):
2315 Add Archive column to package list.
2316
2317 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2318
2319 Fix problems found while writing a test suite.
2320
2321 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2322 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2323 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2324 to nil when running original file name handler. Otherwise,
2325 there are problems with constructs like "$$FOO".
2326
2327 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2328 for `localname'.
2329
2330 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2331
2332 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2333
2334 * subr.el (version<, version<=, version=):
2335 Update docstrings with information for snapshot versions.
2336
2337 * helpers.el: New library for misc helper functions.
2338 (hash-table-keys): New function returning a list of hash keys.
2339 (hash-table-values): New function returning a list of hash values.
2340
2341 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2342
2343 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2344 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2345
2346 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2347
2348 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2349 checking whether point is after a 1-letter word.
2350
2351 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2352
2353 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2354 Don't infloop when expanding region over `multiline' syntax-type that
2355 begins a line (bug#15778).
2356
2357 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2360 Make it into a proper minor mode.
2361 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2362 (rectangle-mark-mode-map): New keymap.
2363 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2364
2365 2013-11-04 Glenn Morris <rgm@gnu.org>
2366
2367 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2368
2369 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2372 (ruby-smie-rules): Use smie-rule-parent instead.
2373
2374 * emacs-lisp/smie.el (smie-rule-parent): Always call
2375 smie-indent-virtual rather than only for hanging tokens.
2376 (smie--next-indent-change): New helper command.
2377
2378 2013-11-03 Glenn Morris <rgm@gnu.org>
2379
2380 * Makefile.in (abs_srcdir): Remove.
2381 (emacs): Unset EMACSLOADPATH.
2382
2383 2013-11-02 Glenn Morris <rgm@gnu.org>
2384
2385 * Makefile.in (EMACS): Use a relative filename.
2386 (abs_top_builddir): Remove.
2387 (custom-deps, finder-data, autoloads): Use --chdir.
2388
2389 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2390
2391 Use relative filenames in TAGS files.
2392 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2393 (lisptagsfiles4, TAGS): Use relative file names.
2394 (TAGS-LISP): Remove.
2395 (maintainer-clean): No more TAGS-LISP file.
2396
2397 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2398 (lisptagsfiles4): Use absolute filenames again.
2399 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2400 Remove all *loaddefs files, not just the first. Remove esh-groups.
2401 (maintainer-clean): Delete TAGS, TAGS-LISP.
2402
2403 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2404
2405 * emacs-lisp/package.el (package-version-join):
2406 Recognize snapshot versions.
2407
2408 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2409
2410 * subr.el (version-regexp-alist): Add support for snapshot versions.
2411
2412 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2413
2414 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2415 New function, replacement for `smie-rule-parent' for when we want to
2416 skip over our direct parent if it's an assignment token..
2417 (ruby-smie-rules): Use it.
2418
2419 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2420
2421 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2422 unconditionally. Remove now unnecessary forward declarations.
2423 Remove XEmacs-specific setup.
2424 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2425 (ruby-font-lock-syntactic-keywords)
2426 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2427 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2428 (ruby-here-doc-end-syntax): Remove.
2429 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2430 defined as function.
2431
2432 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2433
2434 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2435
2436 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2437
2438 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2439 table and abbrev table, `define-derived-mode' does that for us
2440 anyway.
2441
2442 2013-11-01 Glenn Morris <rgm@gnu.org>
2443
2444 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2445 files is atomic for some time, so no parallel compilation issues).
2446
2447 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2448
2449 * faces.el (face-x-resources): Add :distant-foreground.
2450 (region): Use :distant-foreground for gtk and ns.
2451
2452 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2453
2454 Allow multiple bibliographies when BibLaTeX is used rather than
2455 BibTeX.
2456 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2457 (reftex-locate-bibliography-files): Us it.
2458
2459 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2460
2461 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2462 allow comments in pbm files.
2463
2464 * term/w32-win.el (dynamic-library-alist): Support newer versions
2465 of libjpeg starting with v7: look only for the DLL from the
2466 version against which Emacs was built.
2467 Support versions of libpng beyond 1.4.x.
2468 Support libtiff v4.x.
2469
2470 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2471
2472 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2473 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2474 Add property :safe.
2475 (ruby-deep-arglist): Add property :type.
2476
2477 2013-10-31 Glenn Morris <rgm@gnu.org>
2478
2479 * Makefile.in (custom-deps, finder-data): No need to setq the target
2480 variables, we are in the right directory and the defaults work fine.
2481
2482 2013-10-30 Glenn Morris <rgm@gnu.org>
2483
2484 * Makefile.in (autoloads): Do not use abs_lisp.
2485
2486 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2487 `newline' does not respect `standard-output', so use `princ'.
2488
2489 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2490
2491 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2492 * buff-menu.el (Buffer-menu--unmark): New function.
2493 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2494
2495 2013-10-30 Glenn Morris <rgm@gnu.org>
2496
2497 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2498
2499 * emacs-lisp/package.el (lm-homepage): Declare.
2500
2501 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2502 Fix doc typos.
2503
2504 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2505
2506 * Makefile.in (finder-data, autoloads, update-subdirs)
2507 (compile-main, compile-clean, compile-always, bootstrap-clean):
2508 Check return value of cd.
2509 (compile-calc): Remove.
2510
2511 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2514
2515 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2516 (byte-compile-and-folded): New function.
2517 (=, <, >, <=, >=): Use it.
2518
2519 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2520 (path-separator, null-device, buffer-file-coding-system)
2521 (lpr-headers-switches): Check system-type before modifying them.
2522 (find-buffer-file-type-coding-system): Mark obsolete.
2523 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2524 find-file-not-found-set-buffer-file-coding-system.
2525 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2526 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2527 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2528 (w32-direct-print-region-helper, w32-direct-print-region-function)
2529 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2530 * startup.el (normal-top-level-add-subdirs-to-load-path):
2531 * ps-print.el (ps-print-region-function):
2532 * lpr.el (print-region-function): Use new name.
2533
2534 * subr.el (custom-declare-variable-early): Remove function.
2535 (custom-declare-variable-list): Remove var.
2536 (error, user-error): Remove `while' loop.
2537 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2538 (user-emacs-directory-warning, locate-user-emacs-file):
2539 Move to files.el.
2540 * simple.el (read-quoted-char-radix, read-quoted-char):
2541 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2542 Move from subr.el.
2543 * custom.el (custom-declare-variable-list): Don't process
2544 custom-declare-variable-list.
2545
2546 * progmodes/python.el (python-shell-get-buffer): New function.
2547 (python-shell-get-process): Use it.
2548 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2549 Python which encoding was used. Don't split-string since we only care
2550 about the first line. Return the temp-file, if applicable.
2551 (python-shell-send-region): Tell compile.el how to turn locations in
2552 the temp-file into locations in the source buffer.
2553
2554 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * subr.el (undefined): Add missing behavior from the C code for
2557 unbound keys.
2558
2559 * rect.el: Use lexical-binding. Add new rectangular region support.
2560 (rectangle-mark): New command.
2561 (rectangle--region): New var.
2562 (deactivate-mark-hook): Reset rectangle--region.
2563 (rectangle--extract-region, rectangle--insert-for-yank)
2564 (rectangle--highlight-for-redisplay)
2565 (rectangle--unhighlight-for-redisplay): New functions.
2566 (region-extract-function, redisplay-unhighlight-region-function)
2567 (redisplay-highlight-region-function): Use them to handle
2568 rectangular region.
2569 * simple.el (region-extract-function): New var.
2570 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2571 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2572 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2573 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2574 (redisplay-unhighlight-region-function)
2575 (redisplay-highlight-region-function): New vars.
2576 (redisplay--update-region-highlight): New function.
2577 (pre-redisplay-function): Use it.
2578 (exchange-point-and-mark): Don't deactivate the mark before
2579 reactivate-it anyway.
2580 * comint.el (comint-kill-region): Remove yank-handler argument.
2581 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2582 (delete-char): Remove property, since it's now part of their
2583 default behavior.
2584 (self-insert-iso): Remove property since this command doesn't exist.
2585
2586 * emacs-lisp/package.el (package--download-one-archive)
2587 (describe-package-1): Don't query the user about final newline.
2588
2589 2013-10-29 Daniel Colascione <dancol@dancol.org>
2590
2591 * net/tramp.el (tramp-methods): Document new functionality.
2592 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2593 tramp-hostname-checker if method provides one instead of scanning
2594 argument list for "%h" to decide hostname acceptability.
2595
2596 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2597
2598 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2599 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2600 Handle COPY-CONTENTS. (Bug#15737)
2601
2602 2013-10-28 Daiki Ueno <ueno@gnu.org>
2603
2604 * epa-file.el
2605 (epa-file-cache-passphrase-for-symmetric-encryption):
2606 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2607
2608 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2609
2610 * image.el (defimage):
2611 (image-load-path): Doc fixes.
2612
2613 2013-10-27 Alan Mackenzie <acm@muc.de>
2614
2615 Indent statements in macros following "##" correctly.
2616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2617 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2618
2619 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2620
2621 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2622
2623 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2624
2625 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2626 after `=' is probably a new expression.
2627
2628 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2629
2630 * man.el (man-imenu-title): New option.
2631 (Man-mode-map): Add menu. (Bug#15722)
2632 (Man-mode): Add imenu to menu.
2633
2634 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2635
2636 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2637 specific in what the first arg can be: a non-keyword word,
2638 string/regexp/percent literal opener, opening paren, or unary
2639 operator followed directly by word.
2640
2641 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2644 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2645 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2646 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2647 Remove vars, they do not apply any more.
2648 (prolog-mode-abbrev-table): Remove redundant declaration.
2649 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2650 (prolog-use-smie): Remove.
2651 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2652 supported by prolog-electric-if-then-else-flag.
2653 (prolog-mode-variables, prolog-menu): Use setq-local.
2654 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2655 Remove binding to `Backspace' since this key doesn't exist anyway.
2656 Remove bindings for electric self-inserting keys.
2657 (prog-mode): Assume it's defined.
2658 (prolog-post-self-insert): New function.
2659 (prolog-mode): Use it.
2660 (prolog-indent-line, prolog-indent-level)
2661 (prolog-find-indent-of-matching-paren)
2662 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2663 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2664 (prolog-goto-next-paren, prolog-in-string-or-comment)
2665 (prolog-tokenize, prolog-inside-mline-comment)
2666 (prolog-find-start-of-mline-comment): Remove functions.
2667 (prolog-find-unmatched-paren, prolog-clause-end)
2668 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2669 (prolog-electric--if-then-else): Rename from
2670 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2671 (prolog-tokenize-searchkey): Remove const.
2672 (prolog-clause-info): Use forward-sexp.
2673 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2674 (prolog-electric-if-then-else): Remove commands.
2675 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2676 for use in post-self-insert-hook.
2677 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2678 for use in post-self-insert-hook.
2679 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2680 for use in post-self-insert-hook.
2681 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2682 adapt it for use in post-self-insert-hook.
2683
2684 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2685
2686 * emacs-lisp/ert.el (ert-run-tests-interactively):
2687 Use `completing-read'. (Bug#9756)
2688
2689 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2690
2691 * simple.el (line-move): Call line-move-1 instead of
2692 line-move-visual when the current window hscroll is zero, but
2693 temporary-goal-column indicates we will need to hscroll as result
2694 of the movement. (Bug#15712)
2695
2696 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2697
2698 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2699 capitalization. Use :visible instead of :active.
2700 Fix `ruby-indent-exp' reference. Add menu items for the generic
2701 commands that are used with SMIE.
2702 (ruby-do-end-to-brace): Insert space after `{'.
2703
2704 2013-10-25 John Anthony <john@jo.hnanthony.com>
2705
2706 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2707
2708 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2709
2710 2013-10-25 Glenn Morris <rgm@gnu.org>
2711
2712 * vc/vc.el (vc-print-log): Don't use a working revision unless
2713 one was explicitly specified. (Bug#15322)
2714
2715 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * subr.el (add-to-list): Preserve return value in compiler-macro
2718 (bug#15692).
2719
2720 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2721
2722 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2723 result. Ask user to retry using '-all' flag. (Bug#15701)
2724
2725 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * emacs-lisp/smie.el: New smie-config system.
2728 (smie-config): New defcustom.
2729 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2730 (smie-config-guess, smie-config-save): New commands.
2731 (smie-config--mode-local, smie-config--buffer-local)
2732 (smie-config--trace, smie-config--modefuns): New vars.
2733 (smie-config--advice, smie-config--mode-hook)
2734 (smie-config--setter, smie-config-local, smie-config--get-trace)
2735 (smie-config--guess-value, smie-config--guess): New functions.
2736 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2737 text properties. Treat "string fence" syntax like string syntax.
2738
2739 * progmodes/sh-script.el (sh-use-smie): Change default.
2740 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2741 (sh-var-value): Simplify by CSE.
2742 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2743 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2744 is used.
2745 (sh-guess-basic-offset): Use cl-incf.
2746 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2747
2748 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2749
2750 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2751 (bug#15699).
2752
2753 2013-10-24 Glenn Morris <rgm@gnu.org>
2754
2755 * Makefile.in (abs_top_srcdir): Remove.
2756 (update-subdirs): Use relative path to update-subdirs.
2757
2758 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2759
2760 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2761 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2762 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2763 Call unmsys--file-name before expand-file-name, not after it.
2764
2765 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2768 (ert-test-skipped): New error.
2769 (ert-skip, ert-stats-skipped): New defuns.
2770 (ert--skip-unless): New macro.
2771 (ert-test-skipped): New struct.
2772 (ert--run-test-debugger, ert-test-result-type-p)
2773 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2774 (ert--stats-set-test-and-result, ert-char-for-test-result)
2775 (ert-string-for-test-result, ert-run-tests-batch)
2776 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2777 Handle skipped tests. (Bug#9803)
2778
2779 2013-10-24 Glenn Morris <rgm@gnu.org>
2780
2781 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2782
2783 * Makefile.in (abs_top_srcdir): New, set by configure.
2784 (update-subdirs): Correct build-aux location.
2785
2786 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2787
2788 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2789 value, whether we could auto-deduce `backend', or not.
2790
2791 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2792 with parameters" example. Simplify the "is it block or is it
2793 hash" check, but also make it more thorough.
2794
2795 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2796
2797 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2798
2799 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2802 { if it is hanging.
2803
2804 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2805 :before ";".
2806
2807 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2808
2809 * progmodes/compile.el (compilation-directory-matcher)
2810 (compilation-page-delimiter):
2811 Support GNU Make-4.0 directory quoting. (Bug#15678)
2812
2813 2013-10-23 Leo Liu <sdl.web@gmail.com>
2814
2815 * ido.el (ido-tidy): Handle read-only text.
2816
2817 2013-10-23 Glenn Morris <rgm@gnu.org>
2818
2819 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2820 (emacs, compile, compile-always):
2821 Quote entities that might contain whitespace.
2822 (custom-deps, finder-data, autoloads): Use abs_lisp.
2823 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2824 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2825 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2826
2827 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2828
2829 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2830 Use `following-char'.
2831
2832 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2835 * progmodes/ruby-mode.el (ruby-smie-rules):
2836 Remove corresponding workaround. Fix indentation rule of ";" so it
2837 also applies when ";" is the parent.
2838
2839 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2840
2841 * frame.el (display-screens, display-pixel-height)
2842 (display-pixel-width, display-mm-width, display-backing-store)
2843 (display-save-under, display-planes, display-color-cells)
2844 (display-visual-class, display-monitor-attributes-list):
2845 Mention the optional ‘display’ argument in doc strings.
2846
2847 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2848
2849 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2850 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2851
2852 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2853
2854 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2855 TODO. Add "." after " @ ".
2856 (ruby-smie--at-dot-call): New function. Checks if point at method
2857 call with explicit target.
2858 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2859 to the method name tokens when it precedes them.
2860 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2861 (ruby-smie-rules): Add rule for indentation before and after "."
2862 token.
2863
2864 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * textmodes/remember.el (remember-diary-extract-entries):
2867 Avoid add-to-list.
2868
2869 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2870 an instruction.
2871
2872 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2875 (ruby-smie--implicit-semi-p): Add new operator chars.
2876
2877 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2878 `smie-down-list'.
2879 (ruby-smie--args-separator-p): Check that there's no newline
2880 between method call and its arguments.
2881
2882 2013-10-20 Alan Mackenzie <acm@muc.de>
2883
2884 Allow comma separated lists after Java "implements".
2885
2886 * progmodes/cc-engine.el (c-backward-over-enum-header):
2887 Parse commas.
2888 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2889 from a "disallowed" list in enum fontification.
2890
2891 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2892
2893 * startup.el (default-frame-background-mode): Remove unused defvar.
2894
2895 * progmodes/verilog-mode.el (verilog-mode): Don't set
2896 comment-indent-function globally.
2897
2898 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2899
2900 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2901 Move Info menu item creation to ns-win.el.
2902
2903 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2904 in menu bar.
2905
2906 * menu-bar.el: Move GNUStep specific menus...
2907
2908 * term/ns-win.el (ns-initialize-window-system): ... to here.
2909
2910 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * simple.el (newline): Only run post-self-insert-hook when
2913 called interactively.
2914
2915 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2916
2917 * icomplete.el (icomplete-with-completion-tables): Add :version.
2918
2919 2013-10-19 Alan Mackenzie <acm@muc.de>
2920
2921 Fix fontification bugs with constructors and const.
2922
2923 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2924 CASE 2) Remove the check for the absence of a suffix construct
2925 after a function declaration with only types (no identifiers) in
2926 the parentheses. Also, accept a function declaration with just a
2927 type inside the parentheses, if this type can be positively
2928 recognised as such, or if a prefix keyword like "explicit" nails
2929 down the construct as a declaration.
2930
2931 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2932
2933 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2934 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2935 the problem whereby selecting a menu item that leads to a
2936 minibuffer prompt moves the cursor out of the minibuffer window,
2937 making it hard to type at the prompt. Suggested by Stefan Monnier
2938 <monnier@iro.umontreal.ca>.
2939
2940 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2941
2942 * menu-bar.el: Don't make Services menu.
2943
2944 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2945
2946 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2947 (ffap-alist): Use ffap-c++-mode for c++-mode.
2948 (ffap-c++-path): New variable.
2949 (ffap-c++-mode): New function.
2950
2951 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2952
2953 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2954
2955 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2956
2957 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2958 introduced on 2013-09-08, which results in an infinite loop
2959 requesting a password.
2960
2961 2013-10-18 Glenn Morris <rgm@gnu.org>
2962
2963 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2964
2965 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2966
2967 Sync with upstream verilog-mode revision 1a6ecec7.
2968 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2969 (verilog-mode-release-date): Remove.
2970 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2971 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2972 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2973 (verilog-auto-tieoff-ignore-regexp)
2974 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2975 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2976 (verilog-signals-with, verilog-dir-cache-preserving)
2977 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2978 Doc fixes.
2979 (verilog-case-fold): New option, to control case folding in
2980 regexp searches, bug597.
2981 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2982 (verilog-string-match-fold, verilog-in-paren-count)
2983 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2984 (verilog-at-close-struct-p): New functions.
2985 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2986 (verilog-forward-sexp, verilog-set-auto-endcomments):
2987 (verilog-leap-to-case-head): Handle "unique0" case.
2988 (verilog-in-constraint-re): New constant.
2989 (verilog-keywords, verilog-type-font-keywords):
2990 Add some SystemVerilog 1800-2012 keywords.
2991 (verilog-label-be): Remove unimplemented argument, bug669.
2992 (verilog-batch-execute-func): When batch expanding clear
2993 create-lockfiles to prevent spurious user locks when a file ends
2994 up not changing.
2995 (verilog-calculate-indent, verilog-calc-1)
2996 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2997 (verilog-do-indent): Fix indentation of nested constraints
2998 and structures.
2999 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3000 (verilog-auto-inst-param): Use verilog-string-match-fold.
3001 (verilog-read-inst-module-matcher):
3002 Fix AUTOINST on gate primitives with #1.
3003 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3004 Reads all user-defined typed variables.
3005 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3006 (verilog-signals-matching-regexp)
3007 (verilog-signals-not-matching-regexp, verilog-auto):
3008 Respect verilog-case-fold.
3009 (verilog-diff-report): Fix line count.
3010 (verilog-auto-assign-modport): Remove unused local `modi'.
3011 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3012 better handle multidimensional arrays.
3013 Fix packed array ports misadding bit index in AUTOINST, bug637.
3014 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3015 to not double-declare existing outputs and inputs, respectively.
3016 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3017 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3018 (verilog-sk-uvm-component): New skeleton.
3019 (verilog-submit-bug-report): Add verilog-case-fold,
3020 remove verilog-mode-release-date.
3021
3022 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3023
3024 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3025 as before.
3026
3027 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3028
3029 * textmodes/remember.el (remember): Set buffer-offer-save in
3030 remember buffers (bug#13566).
3031
3032 2013-10-18 Daniel Colascione <dancol@dancol.org>
3033
3034 When evaluating forms in ielm, direct standard output to ielm
3035 buffer. Add new ielm-return-for-effect command. Remove trailing
3036 whitespace throughout.
3037
3038 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3039 (ielm-return-for-effect): New command.
3040 (ielm-send-input): Accept optional `for-effect' parameter.
3041 (ielm-eval-input): Accept optional `for-effect' parameter.
3042 Bind `standard-output' to stream we create using
3043 `ielm-standard-output-impl'. Suppress printing result when
3044 `for-effect'.
3045 (ielm-standard-output-impl): New function.
3046 (inferior-emacs-lisp-mode): Explain new features in documentation.
3047
3048 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3049
3050 Code cleanup.
3051
3052 * net/tramp.el (tramp-debug-message): Do not check for connection
3053 buffer.
3054 (tramp-message): Use "vector" connection property.
3055
3056 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3057 (tramp-equal-remote, tramp-eshell-directory-change)
3058 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3059 (tramp-adb-handle-rename-file)
3060 * net/tramp-cmds.el (tramp-list-remote-buffers)
3061 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3062 * net/tramp-compat.el (tramp-compat-process-running-p)
3063 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3064 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3065 (tramp-gvfs-handle-rename-file)
3066 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3067 (tramp-set-file-uid-gid)
3068 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3069 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3070 of `file-remote-p'.
3071
3072 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3073 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3074 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3075 (tramp-gw-open-network-stream): Suppress unrelated traces.
3076
3077 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3078 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3079 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3080 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3081 connection property.
3082
3083 * net/tramp-cache.el (top): Suppress traces when reading
3084 persistency file.
3085
3086 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3087 Refactor common code. Improve debug message.
3088 (tramp-maybe-open-connection)
3089 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3090 connection buffer too early.
3091
3092 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3093 from `tramp-smb-actions-with-acl'.
3094 (tramp-smb-actions-set-acl): New defconst.
3095 (tramp-smb-handle-copy-directory)
3096 (tramp-smb-action-get-acl): New defun, renamed from
3097 `tramp-smb-action-with-acl'.
3098 (tramp-smb-action-set-acl): New defun.
3099 (tramp-smb-handle-set-file-acl): Rewrite.
3100
3101 2013-10-17 Glenn Morris <rgm@gnu.org>
3102
3103 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3104
3105 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * skeleton.el (skeleton-newline): Remove.
3108 (skeleton-internal-1): Use (insert "\n") instead.
3109
3110 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3111 let-bindings.
3112
3113 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3114 forward-sexp-function while we redo its job (bug#15613).
3115
3116 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3117
3118 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3119 represented by lists.
3120
3121 2013-10-16 Glenn Morris <rgm@gnu.org>
3122
3123 * tmm.el (tmm--history): New dynamic variable.
3124 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3125
3126 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3129 (tramp-smb-errors): Add error messages.
3130 (tramp-smb-actions-with-acl): New defconst.
3131 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3132 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3133 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3134 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3135 (tramp-smb-get-stat-capability): Fix tests.
3136
3137 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3138
3139 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3140 (bug#15580).
3141
3142 2013-10-16 Glenn Morris <rgm@gnu.org>
3143
3144 * ansi-color.el (ansi-color-drop-regexp):
3145 Add 1J, 1K, 2K. (Bug#15617)
3146
3147 * files.el (hack-local-variables--warned-lexical): New.
3148 (hack-local-variables):
3149 Warn about misplaced lexical-binding. (Bug#15616)
3150
3151 * net/eww.el (eww-render): Always set eww-current-url,
3152 and update header line. (Bug#15622)
3153 (eww-display-html): ... Rather than just doing it here.
3154
3155 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3156
3157 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3158 menu navigations commands.
3159
3160 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3161
3162 * progmodes/subword.el (subword-capitalize): Be careful when
3163 the search for [[:alpha:]] fails (bug#15580).
3164
3165 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3166
3167 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3168 to commands that scroll the menu.
3169
3170 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3173 Handle methods ending with `?' and `!'.
3174
3175 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3176
3177 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3178 `japanese-cp932' to `cp932' to fix the problem where saving a
3179 source file written in Shift_JIS twice would end up having
3180 `coding: japanese-cp932' which Ruby could not recognize.
3181 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3182 in `ruby-encoding-map'.
3183 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3184 doesn't need to be explicitly declared in magic comment.
3185 (ruby-encoding-map): Add type declaration for better customize UI.
3186
3187 2013-10-13 Glenn Morris <rgm@gnu.org>
3188
3189 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3190 Occur buffers are read-only. http://bugs.debian.org/720775
3191
3192 * emacs-lisp/authors.el (authors-fixed-entries):
3193 Comment out old alpha stuff.
3194
3195 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3196
3197 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3198 to `after-save-hook' instead of `before-save-hook'.
3199 (ruby-mode-set-encoding): Use the value of coding system used to
3200 write the file. Call `basic-save-buffer-1' after modifying the
3201 buffer.
3202
3203 2013-10-13 Alan Mackenzie <acm@muc.de>
3204
3205 Fix indentation/fontification of Java enum with
3206 "implements"/generic.
3207
3208 * progmodes/cc-engine.el (c-backward-over-enum-header):
3209 Extracted from the three other places and enhanced to handle generics.
3210 (c-inside-bracelist-p): Uses new function above.
3211 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3212 function above.
3213 (c-font-lock-enum-tail): Uses new function above.
3214
3215 2013-10-13 Kenichi Handa <handa@gnu.org>
3216
3217 * international/mule-cmds.el (select-safe-coding-system): Remove a
3218 superfluous condition in chekcing whether a coding system is safe
3219 or not.
3220
3221 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3222
3223 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3224
3225 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3226
3227 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3228
3229 2013-10-13 Glenn Morris <rgm@gnu.org>
3230
3231 * menu-bar.el (menu-bar-update-buffers):
3232 Unify Buffers menu prompt string. (Bug#15576)
3233
3234 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3235
3236 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3237 Add some entries.
3238 (authors-fixed-entries): Use accented form of name.
3239
3240 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3243 method calls (bug#15594).
3244 (ruby-smie--args-separator-p): New function.
3245 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3246 recognize paren-free method calls.
3247
3248 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3249 internals of universal-argument.
3250
3251 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3252
3253 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3254 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3255 dropped menu on second mouse click on the menu bar.
3256
3257 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3260 (explicit-shell-file-name): Declare.
3261 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3262 (sh-completion-at-point-function): New function.
3263 (sh-mode): Use it.
3264 (sh-smie--keyword-p): Remove unused argument.
3265 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3266 vars.
3267 (sh-set-shell): Always setup SMIE, even if we use the
3268 old indentation code.
3269
3270 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3271
3272 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3273 cases of ? and =.
3274 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3275 predicate would return nil are almost non-existent.
3276 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3277
3278 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3279 cache also after commands that modify the buffer but don't move
3280 point.
3281
3282 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * env.el (substitute-env-in-file-name): New function.
3285 (substitute-env-vars): Extend the meaning of the optional arg.
3286
3287 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3288
3289 * term/w32-win.el (dynamic-library-alist): Define separate lists
3290 of GIF DLLs for versions before and after 5.0.0 of giflib.
3291 (Bug#15531)
3292
3293 2013-10-10 João Távora <joaotavora@gmail.com>
3294
3295 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3296 not locked, use last revision and current source as
3297 defaults. (Bug#15569)
3298
3299 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3300
3301 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3302 menu-bar is hidden.
3303
3304 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3305
3306 * window.el (pop-to-buffer-same-window): Fix doc-string.
3307 (Bug#15492)
3308
3309 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3312
3313 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3314
3315 * calendar/icalendar.el (icalendar-import-file):
3316 Fix interactive spec. (Bug#15482)
3317
3318 2013-10-10 Glenn Morris <rgm@gnu.org>
3319
3320 * desktop.el (desktop-save): Default to saving in .emacs.d,
3321 since PWD is no longer in desktop-path by default. (Bug#15319)
3322
3323 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3324 now that text mode has a menu with the same entry.
3325 (menu-bar-text-mode-auto-fill): Remove now unused func.
3326 * textmodes/text-mode.el (text-mode-map):
3327 Use auto-fill help text from menu-bar.el.
3328
3329 2013-10-10 John Anthony <john@jo.hnanthony.com>
3330
3331 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3332
3333 2013-10-09 Juri Linkov <juri@jurta.org>
3334
3335 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3336 instead of this-command-keys. Add universal-argument-more and
3337 universal-argument-minus to the list of prefix commands. (Bug#15568)
3338
3339 2013-10-09 Glenn Morris <rgm@gnu.org>
3340
3341 * vc/vc-svn.el (vc-svn-create-repo):
3342 Expand paths in file://... url. (Bug#15446)
3343
3344 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3345 Add some entries.
3346 (authors): Remove unused local variables.
3347
3348 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * profiler.el: Create a more coherent calltree from partial backtraces.
3351 (profiler-format): Hide the tail with `invisible' so that C-s can still
3352 find the hidden elements.
3353 (profiler-calltree-depth): Don't recurse so enthusiastically.
3354 (profiler-function-equal): New hash-table-test.
3355 (profiler-calltree-build-unified): New function.
3356 (profiler-calltree-build): Use it.
3357 (profiler-report-make-name-part): Indent the calltree less.
3358 (profiler-report-mode): Add visibility specs for profiler-format.
3359 (profiler-report-expand-entry, profiler-report-toggle-entry):
3360 Expand the whole subtree when provided with a prefix arg.
3361
3362 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3363
3364 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3365 iuwu-mod token.
3366 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3367 hanging iuwu-mod token.
3368 (ruby-smie--forward-token): Do not include a dot after a token in
3369 that token.
3370 (ruby-smie--backward-token): Likewise.
3371
3372 2013-10-08 Juri Linkov <juri@jurta.org>
3373
3374 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3375 to isearch-other-control-char.
3376 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3377 and isearch-post-command-hook to post-command-hook.
3378 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3379 and isearch-post-command-hook from post-command-hook.
3380 (isearch-unread-key-sequence)
3381 (isearch-reread-key-sequence-naturally)
3382 (isearch-lookup-scroll-key, isearch-other-control-char)
3383 (isearch-other-meta-char): Remove functions.
3384 (isearch-pre-command-hook, isearch-post-command-hook):
3385 New functions based on isearch-other-meta-char rewritten
3386 relying on the new behavior of overriding-terminal-local-map
3387 that does not replace the local keymaps any more. (Bug#15200)
3388
3389 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3390
3391 Support menus on text-mode terminals.
3392 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3393 functionality.
3394
3395 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3396
3397 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3398 Move here from mouse.el.
3399 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3400 and arrow keys.
3401 (tty-menu-navigation-map): New map for TTY menu navigation.
3402
3403 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3404
3405 * frame.el (display-mouse-p): Report text-mode mouse as available
3406 on w32.
3407 (display-popup-menus-p): Report availability if mouse is
3408 available; don't condition on window-system.
3409
3410 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3411 (tty-menu-selected-face): New faces.
3412
3413 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3414
3415 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3416 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3417 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3418 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3419 New constants.
3420 (lisp-mode-variables): New `elisp' argument.
3421 (emacs-lisp-mode): Use it.
3422 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3423 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3424
3425 * indent.el: Use lexical-binding.
3426 (indent-region): Add progress reporter.
3427 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3428 last step.
3429 (indent--next-tab-stop): New function to implement this behavior.
3430 (tab-to-tab-stop, move-to-tab-stop): Use it.
3431
3432 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3433
3434 * indent.el (indent-rigidly--current-indentation): New function.
3435 (indent-rigidly-map): New var.
3436 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3437
3438 2013-10-08 Bastien Guerry <bzg@gnu.org>
3439
3440 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3441
3442 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * progmodes/perl-mode.el: Use lexical-binding.
3445 Remove redundant :group args.
3446 (perl-nochange): Change default to be closer to other major modes's
3447 standard behavior.
3448 (perl-indent-line): Don't consider text on current line as a
3449 valid beginning of function from which to indent.
3450
3451 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3452 with more than one argument (bug#15538).
3453
3454 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3455
3456 * vc/pcvs.el: Use lexical-binding.
3457 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3458 environment of `eval'.
3459 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3460 than a list of expressions. Adjust callers.
3461 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3462
3463 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3464
3465 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3466 case of the dot in a chained method call being on the following line.
3467
3468 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * electric.el (electric-indent-inhibit): New var.
3471 (electric-indent-post-self-insert-function): Use it.
3472 * progmodes/python.el (python-mode): Set it.
3473
3474 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3475 open braces.
3476
3477 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3478
3479 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3480 (css-mode): Use electric-indent-chars.
3481
3482 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3483 (font-lock-beg, font-lock-end): Move before first use.
3484 (nxml-mode): Use syntax-propertize-function.
3485 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3486 (nxml-extend-after-change-region): Remove.
3487 * nxml/xmltok.el: Use lexical-binding.
3488 (xmltok-save): Use `declare'.
3489 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3490 * nxml/nxml-util.el: Use lexical-binding.
3491 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3492 Use `declare'.
3493 * nxml/nxml-ns.el: Use lexical-binding.
3494 (nxml-ns-save): Use `declare'.
3495 (nxml-ns-prefixes-for): Avoid add-to-list.
3496 * nxml/rng-match.el: Use lexical-binding.
3497 (rng--ipattern): Use cl-defstruct.
3498 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3499 (rng-cons-group-after, rng-subst-group-after)
3500 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3501 Use closures instead of `(lambda...).
3502
3503 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3504
3505 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3506 of BEG and END.
3507
3508 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3509 Use `tramp-handle-insert-file-contents'.
3510 (tramp-gvfs-handle-insert-file-contents): Remove function.
3511
3512 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3513 Use `save-restriction' in order to keep markers.
3514
3515 * net/trampver.el: Update release number.
3516
3517 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * progmodes/compile.el (compilation-parse-errors):
3520 Use compilation--put-prop.
3521 (compilation--ensure-parse): Check compilation-multiline.
3522
3523 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3524
3525 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3526 lexical-binding.
3527
3528 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3529
3530 * progmodes/ruby-mode.el: Fix recently added tests.
3531 (ruby-smie-grammar): Add - and +.
3532 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3533 (ruby-smie--backward-id): New functions.
3534 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3535 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3536 any more.
3537
3538 2013-10-07 Leo Liu <sdl.web@gmail.com>
3539
3540 * register.el (register-preview-delay)
3541 (register-preview-functions): New variables.
3542 (register-read-with-preview, register-preview)
3543 (register-describe-oneline): New functions.
3544 (point-to-register, window-configuration-to-register)
3545 (frame-configuration-to-register, jump-to-register)
3546 (number-to-register, view-register, insert-register)
3547 (copy-to-register, append-to-register, prepend-to-register)
3548 (copy-rectangle-to-register): Use register-read-with-preview to
3549 read register. (Bug#15525)
3550
3551 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3552
3553 * net/network-stream.el (network-stream-open-starttls): Don't add
3554 --insecure if it's already present, because that gnutls-cli
3555 rejects getting that parameter twice.
3556
3557 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3558
3559 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3560 keyword, too.
3561
3562 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3563
3564 * newcomment.el (comment-use-global-state): Change default value
3565 to t, mark obsolete (Bug#15251).
3566 (comment-beginning): In addition to `comment-to-syntax', check the
3567 value of `comment-use-global-state'.
3568
3569 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3572 (ruby-comment-column): Follow the global default, by default.
3573 (ruby-smie-grammar): Add assignment syntax.
3574 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3575 open-paren, a comma, or a \.
3576 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3577 and line continuations.
3578 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3579 followed by implicit semi-colons. Add rule for string concatenation
3580 and for indentation at BOB.
3581 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3582
3583 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3584 calling next-sexp, since next-token may have skipped chars which
3585 next-sexp doesn't know should be skipped!
3586
3587 2013-10-05 Leo Liu <sdl.web@gmail.com>
3588
3589 * progmodes/octave.el (octave-send-region):
3590 Call compilation-forget-errors.
3591
3592 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3593
3594 * vc/vc-svn.el (vc-svn-find-admin-dir):
3595 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3596 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3597 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3598 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3599
3600 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3603
3604 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * subr.el (read-passwd): Hide chars even when called within a context
3607 where after-change-functions is disabled (bug#15501).
3608 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3609 until we removed ourself from overriding-terminal-local-map.
3610
3611 2013-10-04 Leo Liu <sdl.web@gmail.com>
3612
3613 * progmodes/octave.el (inferior-octave-mode):
3614 Call compilation-forget-errors.
3615
3616 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3617
3618 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3619
3620 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3621
3622 * net/secrets.el (secrets-create-collection): Add optional
3623 argument ALIAS. Use proper Label keyword. Append ALIAS as
3624 dbus-call-method argument. (Bug#15516)
3625
3626 2013-10-04 Leo Liu <sdl.web@gmail.com>
3627
3628 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3629 (inferior-octave-compilation-font-lock-keywords): New variables.
3630 (compilation-error-regexp-alist)
3631 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3632 (inferior-octave-mode): Use compilation-shell-minor-mode.
3633
3634 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3635
3636 * minibuffer.el (completion--replace): Be careful that `end' might be
3637 a marker.
3638
3639 2013-10-03 Daiki Ueno <ueno@gnu.org>
3640
3641 Add support for package signature checking.
3642 * emacs-lisp/package.el (url-http-file-exists-p)
3643 (epg-make-context, epg-context-set-home-directory)
3644 (epg-verify-string, epg-context-result-for)
3645 (epg-signature-status, epg-signature-to-string)
3646 (epg-check-configuration, epg-configuration)
3647 (epg-import-keys-from-file): Declare.
3648 (package-check-signature): New user option.
3649 (package-unsigned-archives): New user option.
3650 (package-desc): Add `signed' field.
3651 (package-load-descriptor): Set `signed' field if .signed file exists.
3652 (package--archive-file-exists-p): New function.
3653 (package--check-signature): New function.
3654 (package-install-from-archive): Check package signature.
3655 (package--download-one-archive): Check archive signature.
3656 (package-delete): Remove .signed file.
3657 (package-import-keyring): New command.
3658 (package-refresh-contents): Import default keyring.
3659 (package-desc-status): Add "unsigned" status.
3660 (describe-package-1, package-menu--print-info)
3661 (package-menu-mark-delete, package-menu--find-upgrades)
3662 (package-menu--status-predicate): Support "unsigned" status.
3663
3664 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3667 the new compilation scheme using the new byte-codes.
3668
3669 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3670 (byte-pophandler): New byte codes.
3671 (byte-goto-ops): Adjust accordingly.
3672 (byte-compile--use-old-handlers): New var.
3673 (byte-compile-catch): Use new byte codes depending on
3674 byte-compile--use-old-handlers.
3675 (byte-compile-condition-case--old): Rename from
3676 byte-compile-condition-case.
3677 (byte-compile-condition-case--new): New function.
3678 (byte-compile-condition-case): New function that dispatches depending
3679 on byte-compile--use-old-handlers.
3680 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3681 when we can.
3682
3683 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3684 Optimize under `condition-case' and `catch' if
3685 byte-compile--use-old-handlers is nil.
3686 (disassemble-offset): Handle new bytecodes.
3687
3688 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * subr.el (error): Use `declare'.
3691 (decode-char, encode-char): Use advertised-calling-convention instead
3692 of the docstring to discourage use of the `restriction' arg.
3693
3694 2013-10-03 Daiki Ueno <ueno@gnu.org>
3695
3696 * epg.el (epg-verify-file): Add a comment saying that it does not
3697 notify verification error as a return value nor a signal.
3698 (epg-verify-string): Ditto.
3699
3700 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3701
3702 * progmodes/compile.el (compilation-start): Try globbing the arg to
3703 `cd' (bug#15417).
3704
3705 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3706
3707 Sync with Tramp 2.2.8.
3708
3709 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3710 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3711 * net/trampver.el: Update release number.
3712
3713 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3714
3715 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3716 and default-process-coding-system for darwin only.
3717
3718 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3721
3722 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3723
3724 * vc/vc-git.el (vc-git-grep): Disable pager.
3725
3726 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3727
3728 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3729 Use :url instead of :homepage, as per
3730 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3731
3732 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3733 non-nil, use `syntax-ppss' (Bug#15251).
3734
3735 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3736
3737 * progmodes/octave.el (inferior-octave-startup-file):
3738 Prefer ~/.emacs.d/init_octave.m.
3739
3740 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3741
3742 * emacs-lisp/package.el (package-desc-from-define):
3743 Accept additional arguments as plist, convert them to an alist and store
3744 them in the `extras' slot.
3745 (package-generate-description-file): Convert extras alist back to
3746 plist and append to the `define-package' form arguments.
3747 (package--alist-to-plist): New function.
3748 (package--ac-desc): Add `extras' slot.
3749 (package--add-to-archive-contents): Check if the archive-contents
3750 vector is long enough, and if it is, pass its `extras' slot value
3751 to `package-desc-create'.
3752 (package-buffer-info): Call `lm-homepage', pass the returned value
3753 to `package-desc-from-define'.
3754 (describe-package-1): Render the homepage button (Bug#13291).
3755
3756 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3757 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3758
3759 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3760
3761 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3762 and default-process-coding-system to utf-8-unix (Bug#15402).
3763
3764 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3765
3766 * subr.el (looking-back): Do not recommend using looking-back.
3767
3768 2013-09-28 Alan Mackenzie <acm@muc.de>
3769
3770 Fix indentation/fontification of Java enum with "implements".
3771
3772 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3773 regexp which matches "implements", etc., in Java.
3774 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3775 specifier clauses coming after "enum".
3776 * progmodes/cc-fonts.el (c-font-lock-declarations)
3777 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3778 after "enum".
3779
3780 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3781
3782 * faces.el (region): Change ns_selection_color to
3783 ns_selection_fg_color, add ns_selection_bg_color.
3784
3785 2013-09-28 Leo Liu <sdl.web@gmail.com>
3786
3787 * progmodes/octave.el (inferior-octave-completion-table)
3788 (inferior-octave-completion-at-point): Minor tweaks.
3789
3790 * textmodes/ispell.el (ispell-lookup-words): Rename from
3791 lookup-words. (Bug#15460)
3792 (lookup-words): Obsolete.
3793 (ispell-complete-word, ispell-command-loop): All uses changed.
3794
3795 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3796
3797 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3798 (octave-mode-menu): Add octave-send-buffer.
3799 (octave-send-buffer): New function.
3800
3801 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3802
3803 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3804 octave-lookfor.
3805 (octave-mode-menu): Add octave-lookfor.
3806 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3807 octave-lookfor.
3808 (octave-lookfor): New function.
3809
3810 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * emacs-lisp/cl-macs.el:
3813 (cl--loop-destr-temps): Remove.
3814 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3815 its convention.
3816 (cl--loop-set-iterator-function): New function.
3817 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3818 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3819 Bind `it' with `let' instead of substituting it with `cl-subst'.
3820 (cl--unused-var-p): New function.
3821 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3822 Eliminate some unused variable warnings (bug#15326).
3823
3824 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3825
3826 * doc-view.el (doc-view-scale-reset): Rename from
3827 `doc-view-reset-zoom-level'.
3828 (doc-view-scale-adjust): New command.
3829 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3830 `doc-view-scale-adjust'.
3831
3832 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3833
3834 * doc-view.el (doc-view-reset-zoom-level): New command.
3835 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3836 zoom commands (bug#15466).
3837
3838 2013-09-26 Kenichi Handa <handa@gnu.org>
3839
3840 * international/quail.el (quail-help): Make it not a command.
3841
3842 2013-09-26 Leo Liu <sdl.web@gmail.com>
3843
3844 * minibuffer.el (completion-all-sorted-completions): Make args
3845 optional as they are.
3846
3847 2013-09-25 Daniel Colascione <dancol@dancol.org>
3848
3849 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3850 specs are and that they're not evaluated.
3851
3852 2013-09-24 Sam Steingold <sds@gnu.org>
3853
3854 * midnight.el (clean-buffer-list-kill-regexps)
3855 (clean-buffer-list-kill-buffer-names): Update for the new Man
3856 buffer naming which includes the object name.
3857
3858 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3861 (eshell-parse-command, eshell-parse-pipeline): Use it since
3862 eshell-separate-commands requires a dynamic scoped var.
3863 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3864
3865 2013-09-23 Leo Liu <sdl.web@gmail.com>
3866
3867 * autoinsert.el (auto-insert-alist): Make the value of
3868 lexical-binding match its file setting.
3869
3870 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3871
3872 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3873
3874 * autoarg.el (autoarg-kp-digit-argument):
3875 * electric.el (Electric-command-loop):
3876 * kmacro.el (kmacro-step-edit-insert):
3877 Do not set universal-argument-num-events.
3878
3879 2013-09-22 Leo Liu <sdl.web@gmail.com>
3880
3881 * files.el (interpreter-mode-alist): Add octave.
3882
3883 2013-09-21 Alan Mackenzie <acm@muc.de>
3884
3885 C++: fontify identifier in declaration following "public:" correctly.
3886 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3887 to match "public", etc.
3888 (c-decl-prefix-re): Add ":" into the C++ value.
3889 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3890 bit. Add a check for a ":" preceded by "public", etc.
3891
3892 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3893
3894 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3895 recognized by GDB 7.5 and later.
3896
3897 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3898
3899 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3900
3901 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * subr.el (internal--call-interactively): New const.
3904 (called-interactively-p): Use it (bug#3984).
3905
3906 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3907
3908 * vc/pcvs.el (cvs-mode-ignore):
3909 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3910 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3911
3912 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3915 (eshell-ls-orig-insert-directory): Remove.
3916 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3917 (eshell-ls-use-in-dired): Use advice-add/remove.
3918 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3919 Add `orig-fun' arg for use in :around advice.
3920 Make it check (redundantly) eshell-ls-use-in-dired.
3921
3922 2013-09-19 Glenn Morris <rgm@gnu.org>
3923
3924 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3925
3926 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3927
3928 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3929
3930 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3931
3932 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3933 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3934 (tramp-get-remote-python): New defuns.
3935 (tramp-get-remote-uid-with-perl)
3936 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3937 contributed by yary <not.com@gmail.com> (tiny change).
3938 (tramp-get-remote-uid-with-python)
3939 (tramp-get-remote-gid-with-python): New defuns. Python code
3940 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3941 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3942
3943 2013-09-19 Glenn Morris <rgm@gnu.org>
3944
3945 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3946
3947 * eshell/em-unix.el (eshell-remove-entries):
3948 Rename argument to avoid name-clash with global `top-level'.
3949
3950 * eshell/esh-proc.el (eshell-kill-process-function):
3951 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3952 (eshell-reset-after-proc): Remove unused arg `proc'.
3953
3954 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3955 (directory-files-and-attributes): Mark unused arg.
3956
3957 * eshell/em-unix.el (eshell-remove-entries):
3958 Remove unused arg `path'. Update callers.
3959
3960 * eshell/em-hist.el (eshell-hist-parse-arguments):
3961 Remove unused arg `silent'. Update callers.
3962
3963 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3964 Fix (f)boundp mix-up.
3965
3966 * eshell/em-smart.el (eshell-smart-scroll-window)
3967 (eshell-disable-after-change):
3968 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3969
3970 2013-09-18 Alan Mackenzie <acm@muc.de>
3971
3972 Fix fontification of type when followed by "const".
3973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3974 "known" types from fontification.
3975
3976 2013-09-18 Glenn Morris <rgm@gnu.org>
3977
3978 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3979 (chart-face-list): Drop Emacsen without display-color-p.
3980
3981 * net/eww.el (libxml-parse-html-region): Declare.
3982 (eww-display-html): Explicit error if no libxml2 support.
3983
3984 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3985
3986 * image.el (image-type-from-buffer, image-multi-frame-p):
3987 Remove --without-x warning/error.
3988
3989 * mouse.el (mouse-yank-primary):
3990 * term.el (term-mouse-paste):
3991 Reorder to silence --without-x compilation.
3992
3993 * mpc.el (doc-view-mode): Silence --without-x compilation.
3994
3995 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3996 Silence --without-x compilation.
3997
3998 * progmodes/gud.el (gud-find-file, gud-mode):
3999 Silence --without-x compilation.
4000 (tooltip-mode): Declare.
4001
4002 * wdired.el (dired-backup-overwrite): Remove declaration.
4003 (wdired-mode-map): Add doc string.
4004
4005 * custom.el (x-get-resource): Declare.
4006
4007 * eshell/em-glob.el (ange-cache):
4008 * eshell/em-unix.el (ange-cache): Declare.
4009
4010 * faces.el (x-display-list, x-open-connection, x-get-resource):
4011 Declare.
4012
4013 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4014 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4015 Declare.
4016
4017 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4018
4019 * net/gnutls.el (gnutls-log-level): Declare.
4020
4021 * net/shr.el (image-size, image-animate): Declare.
4022
4023 * simple.el (font-info): Declare.
4024
4025 * subr.el (x-popup-dialog): Declare.
4026
4027 * term/common-win.el (x-select-enable-primary)
4028 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4029 Declare.
4030
4031 * term/ns-win.el (x-handle-args): Declare.
4032
4033 * term/x-win.el (x-select-enable-clipboard): Declare.
4034
4035 * term/w32-win.el (create-default-fontset): Declare.
4036
4037 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4038 Declare.
4039
4040 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4041 (fit-frame-to-buffer): Explicit error if --without-x.
4042 (mouse-autoselect-window-select): Silence compiler.
4043
4044 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4045
4046 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4047 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4048 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4049 * eshell/esh-util.el (eshell-sublist):
4050 Remove unused local variables.
4051
4052 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4053
4054 * textmodes/two-column.el: Make 2C-split work for --without-x.
4055 (scroll-bar-columns): Autoload.
4056 (top-level): Require fringe when compiling.
4057
4058 2013-09-18 Leo Liu <sdl.web@gmail.com>
4059
4060 * subr.el (add-hook): Robustify to handle closure as well.
4061
4062 2013-09-17 Glenn Morris <rgm@gnu.org>
4063
4064 * simple.el (messages-buffer-mode-map): Unbind "g".
4065
4066 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * help-mode.el (help-mode-finish): Use derived-mode-p.
4069 Remove obsolete highlighting.
4070
4071 * play/life.el (life-mode): Use define-derived-mode. Derive from
4072 special-mode.
4073 (life): Let-bind inhibit-read-only.
4074 (life-setup): Avoid `setq'. Use `life-mode'.
4075
4076 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4077 which should not be needed any more.
4078 (package-menu-refresh, package-menu-describe-package): Use user-error.
4079
4080 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4081 (eshell-post-rewrite-command-hook): Make obsolete.
4082 (eshell-parse-command): Simplify.
4083 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4084 (eshell--cmd): Declare.
4085 (eshell-parse-pipeline): Remove unused var `final-p'.
4086 Pass a dynvar to eshell-post-rewrite-command-hook.
4087 Implement the new eshell-post-rewrite-command-function.
4088 (eshell-invoke-directly): Remove unused arg `input'.
4089 * eshell/esh-io.el (eshell-io-initialize):
4090 Use eshell-post-rewrite-command-function (bug#15399).
4091 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4092 adjust to new calling convention.
4093 (eshell-create-handles): Rename args to avoid clashing with dynvar
4094 `standard-output'.
4095
4096 2013-09-17 Glenn Morris <rgm@gnu.org>
4097
4098 * simple.el (messages-buffer-mode): New major mode.
4099 (messages-buffer): New function.
4100 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4101 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4102 (ert-run-test): Use `messages-buffer' function.
4103 (ert--force-message-log-buffer-truncation): Ignore read-only.
4104 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4105 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4106
4107 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4110
4111 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4112
4113 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * icomplete.el (icomplete-in-buffer): New var.
4116 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4117 vars and replace them with functions.
4118 (icomplete-minibuffer-setup): Adjust accordingly.
4119 (icomplete--completion-table, icomplete--completion-predicate)
4120 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4121 New functions.
4122 (icomplete-forward-completions, icomplete-backward-completions)
4123 (icomplete-simple-completing-p, icomplete-exhibit)
4124 (icomplete-completions): Use them.
4125 (icomplete--in-region-buffer): New var.
4126 (icomplete--in-region-setup): New function.
4127 (icomplete-mode): Use it.
4128
4129 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4130 (bug#15379).
4131 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4132 return args and options.
4133 (eshell-eval-using-options): Use the new return value of
4134 eshell--do-opts to set the options's vars in their scope.
4135 (eshell--set-option): Rename from eshell-set-option.
4136 Add arg `opt-vals'.
4137 (eshell--process-option): Rename from eshell-process-option.
4138 Add arg `opt-vals'.
4139 (eshell--process-args): Use an `opt-vals' alist to store the options's
4140 values during their processing and return them additionally to the
4141 remaining args.
4142
4143 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4144
4145 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4146 continuation character an operator, as far as indentation is
4147 concerned (Bug#15369).
4148
4149 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4150
4151 * window.el (window--state-put-2): Don't process buffer state
4152 when buffer doesn't exist any more (Bug#15382).
4153
4154 2013-09-15 Glenn Morris <rgm@gnu.org>
4155
4156 * eshell/em-unix.el (eshell/rm):
4157 Make -f ignore missing files. (Bug#15373)
4158
4159 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4160 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4161 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4162
4163 2013-09-14 Glenn Morris <rgm@gnu.org>
4164
4165 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4166
4167 2013-09-13 Glenn Morris <rgm@gnu.org>
4168
4169 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4170 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4171
4172 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4173
4174 * frame.el (x-focus-frame): Mark as declared in frame.c.
4175
4176 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * ls-lisp.el: Use advice-add.
4179 (original-insert-directory): Remove.
4180 (ls-lisp--insert-directory): Rename from insert-directory; add
4181 `orig-fun' argument.
4182 (insert-directory): Advise.
4183
4184 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4185
4186 * term.el (term-emulate-terminal): Decode the command string
4187 before passing it to term-command-hook. (Bug#15337)
4188
4189 2013-09-13 Glenn Morris <rgm@gnu.org>
4190
4191 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4192
4193 * eshell/esh-ext.el (eshell-search-path): Declare.
4194
4195 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4196 Otherwise an error occurs if eshell-dirs module not loaded.
4197
4198 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4199
4200 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4201
4202 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4203 `tramp-check-proper-host'. Check for a valid method name.
4204
4205 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4206 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4207 * net/tramp-sh.el (tramp-maybe-open-connection):
4208 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4209
4210 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4211 also for hash values.
4212
4213 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * term/ns-win.el (parameters): Don't declare as dynamic.
4216 (before-make-frame-hook): Don't add ineffective function.
4217
4218 * eshell/*.el: Use lexical-binding (bug#15231).
4219
4220 2013-09-12 Kenichi Handa <handa@gnu.org>
4221
4222 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4223
4224 2013-09-12 Glenn Morris <rgm@gnu.org>
4225
4226 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4227 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4228
4229 * subr.el (do-after-load-evaluation): Also give compiler warnings
4230 when obsolete files are used (except by obsolete files).
4231
4232 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4233 in the status output, assume `filename' is the first. (Bug#15322)
4234
4235 * vc/vc.el (vc-deduce-fileset): Doc fix.
4236
4237 * calc/calc-help.el (Info-goto-node):
4238 * progmodes/cperl-mode.el (Info-find-node):
4239 * vc/ediff.el (Info-goto-node): Update declarations.
4240
4241 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4242
4243 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4244 (vc-bzr-pull): Require vc-dispatcher.
4245 * vc/vc-git.el (vc-compilation-mode): Declare.
4246 (vc-git-pull): Require vc-dispatcher.
4247
4248 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4249
4250 * progmodes/octave.el (help-button-action): Declare.
4251
4252 * shell.el (shell-directory-tracker): Output error as a message
4253 rather than just returning it as a string.
4254 (shell-process-pushd): Remove useless use of message.
4255
4256 * dframe.el (dframe-timer-fn):
4257 * files.el (dir-locals-read-from-file):
4258 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4259 (mpc-format):
4260 * reveal.el (reveal-post-command):
4261 * saveplace.el (load-save-place-alist-from-file):
4262 * shell.el (shell-resync-dirs):
4263 * w32-common-fns.el (x-get-selection-value):
4264 * emacs-lisp/copyright.el (copyright-find-copyright):
4265 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4266 * emulation/tpu-edt.el (tpu-copy-keyfile):
4267 * play/bubbles.el (bubbles--mark-neighbourhood):
4268 * progmodes/executable.el
4269 (executable-make-buffer-file-executable-if-script-p):
4270 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4271
4272 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 Cleanup Eshell to rely less on dynamic scoping.
4275 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4276 last-value, and ext-command here. Bind `args' closer to `body'.
4277 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4278 (eshell--args): Declare new dynamic var.
4279 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4280 last-value, and ext-command. Pass `args' to `body'.
4281 (eshell-process-args): Bind eshell--args.
4282 (eshell-set-option): Use eshell--args.
4283 * eshell/eshell.el (eshell): Use derived-mode-p.
4284 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4285 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4286 (eshell-glob-function): Declare.
4287 * eshell/esh-util.el: Require cl-lib.
4288 (eshell-read-hosts-file): Avoid add-to-list.
4289 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4290 `err'.
4291 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4292 Declare.
4293 (eshell/diff): Remove unused var `err'.
4294 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4295 `killflag'.
4296 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4297 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4298 first use.
4299 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4300 Move declaration before first use.
4301 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4302 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4303 rely on cl-return.
4304
4305 2013-09-12 Glenn Morris <rgm@gnu.org>
4306
4307 * term/ns-win.el (global-map): Remove binding for ispell-next,
4308 deleted 1999-05-29. (Bug#15357)
4309
4310 2013-09-11 Glenn Morris <rgm@gnu.org>
4311
4312 * echistory.el (electric-command-history): Remove call to deleted func.
4313
4314 * play/landmark.el (landmark-mode): Fix typos.
4315
4316 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4317 Check cvs-sort-ignore-file is bound.
4318
4319 * savehist.el: No need for cl when compiling on Emacs.
4320
4321 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4324 (bug#15338).
4325 (eshell-self-insert-command, eshell-send-invisible):
4326 Remove unused argument.
4327 (eshell-handle-control-codes): Remove unused var `orig'.
4328 Avoid delete-backward-char.
4329
4330 * files.el (set-auto-mode): Simplify a bit further.
4331
4332 2013-09-11 Glenn Morris <rgm@gnu.org>
4333
4334 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4335 (set-auto-mode): Don't regexp-quote elements.
4336 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4337 * progmodes/cc-mode.el (interpreter-mode-alist):
4338 * progmodes/ruby-mode.el (interpreter-mode-alist):
4339 Revert previous change.
4340
4341 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * play/snake.el (snake-mode):
4344 * play/mpuz.el (mpuz-mode):
4345 * play/landmark.el (lm-mode):
4346 * play/blackbox.el (blackbox-mode):
4347 * play/5x5.el (5x5-mode):
4348 * obsolete/options.el (Edit-options-mode):
4349 * net/quickurl.el (quickurl-list-mode):
4350 * net/newst-treeview.el (newsticker-treeview-mode):
4351 * mail/rmailsum.el (rmail-summary-mode):
4352 * mail/mspools.el (mspools-mode):
4353 * locate.el (locate-mode):
4354 * ibuffer.el (ibuffer-mode):
4355 * emulation/ws-mode.el (wordstar-mode):
4356 * emacs-lisp/debug.el (debugger-mode):
4357 * array.el (array-mode):
4358 * net/eudc.el (eudc-mode): Use define-derived-mode.
4359 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4360 Move initialization into declaration.
4361 (mairix-searches-mode): Use define-derived-mode.
4362 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4363 (eudc-edit-hotlist): Use dolist.
4364 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4365 (Man-mode): Use define-derived-mode.
4366 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4367 (Info-edit-mode): Use define-derived-mode.
4368 (Info-cease-edit): Use Info-mode.
4369 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4370 into declaration.
4371 (eshell-mode): Use define-derived-mode.
4372 * chistory.el (command-history-mode-map): Rename from
4373 command-history-map.
4374 (command-history-mode): Use define-derived-mode.
4375 (Command-history-setup): Remove function.
4376 * calc/calc.el (calc-trail-mode-map): New var.
4377 (calc-trail-mode): Use define-derived-mode.
4378 (calc-trail-buffer): Set calc-main-buffer manually.
4379 * bookmark.el (bookmark-insert-annotation): New function.
4380 (bookmark-edit-annotation): Use it.
4381 (bookmark-edit-annotation-mode): Make it a proper major mode.
4382 (bookmark-send-edited-annotation): Use derived-mode-p.
4383 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4384 closer to its ideal place. Use \' to match EOS.
4385
4386 * profiler.el (profiler-calltree-find): Use function-equal.
4387
4388 2013-09-10 Glenn Morris <rgm@gnu.org>
4389
4390 * files.el (interpreter-mode-alist): Convert to regexps.
4391 (set-auto-mode): Adapt for this. (Bug#15306)
4392 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4393 Comment out unused variable.
4394 * progmodes/cc-mode.el (interpreter-mode-alist):
4395 * progmodes/python.el (interpreter-mode-alist):
4396 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4397 * progmodes/sh-script.el (sh-set-shell):
4398 No longer use interpreter-mode-alist to get list of shells.
4399
4400 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4401
4402 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * simple.el: Use set-temporary-overlay-map for universal-argument.
4405 (universal-argument-map): Don't use default-bindings (bug#15317).
4406 Bind switch-frame explicitly. Replace universal-argument-minus with
4407 a conditional binding.
4408 (universal-argument-num-events, saved-overriding-map): Remove.
4409 (restore-overriding-map): Remove.
4410 (universal-argument--mode): Rename from save&set-overriding-map,
4411 and rewrite.
4412 (universal-argument, universal-argument-more, negative-argument)
4413 (digit-argument): Adjust accordingly.
4414 (universal-argument-minus): Remove.
4415 (universal-argument-other-key): Remove.
4416
4417 * subr.el (with-demoted-errors): Add `format' argument.
4418
4419 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4420
4421 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4422 `tramp-cleanup-connection'.
4423
4424 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4425 parameters KEEP-DEBUG and KEEP-PASSWORD.
4426
4427 * net/tramp.el (tramp-file-name-handler):
4428 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4429 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4430 (tramp-maybe-open-connection):
4431 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4432 Use `tramp-cleanup-connection'.
4433
4434 * net/tramp-sh.el (tramp-maybe-open-connection):
4435 Catch 'uname-changed inside the progress reporter.
4436
4437 2013-09-10 Glenn Morris <rgm@gnu.org>
4438
4439 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4440
4441 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4442 returns "alternate access method" in mode (eg "-rw-r--r--.").
4443
4444 2013-09-08 Glenn Morris <rgm@gnu.org>
4445
4446 * saveplace.el (load-save-place-alist-from-file):
4447 Demote errors. (Bug#15305)
4448
4449 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4450
4451 Improve compatibility with older Emacsen, and XEmacs.
4452
4453 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4454 only if it is bound. It isn't for XEmacs.
4455 (with-tramp-progress-reporter): Do not let-bind `result'.
4456 This yields to scoping errors in XEmacs.
4457 (tramp-handle-make-auto-save-file-name): New function, moved from
4458 tramp-sh.el.
4459
4460 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4461 for `make-auto-save-file-name'.
4462 (tramp-adb--gnu-switches-to-ash):
4463 Use `tramp-compat-replace-regexp-in-string'.
4464
4465 * net/tramp-cache.el (tramp-cache-print): Call
4466 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4467
4468 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4469 bound. It isn't for XEmacs.
4470
4471 * net/tramp-compat.el (tramp-compat-copy-file):
4472 Catch `wrong-number-of-arguments' error.
4473 (tramp-compat-replace-regexp-in-string): New defun.
4474
4475 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4476 for `make-auto-save-file-name'.
4477 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4478 `copy-file'.
4479 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4480 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4481 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4482
4483 * net/tramp-gw.el (tramp-gw-open-network-stream):
4484 Use `tramp-compat-replace-regexp-in-string'.
4485
4486 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4487 Call `tramp-handle-make-auto-save-file-name'.
4488 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4489 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4490 (tramp-sh-file-inotifywait-process-filter):
4491 Use `tramp-compat-replace-regexp-in-string'.
4492 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4493
4494 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4495 for `make-auto-save-file-name'.
4496 (tramp-smb-handle-copy-directory):
4497 Call `tramp-compat-replace-regexp-in-string'.
4498 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4499 (tramp-smb-handle-copy-file): Improve error message.
4500 (tramp-smb-handle-rename-file): Rename directly only in case
4501 `newname' does not exist yet. This is a restriction of smbclient.
4502 (tramp-smb-maybe-open-connection): Rerun the function only when
4503 `auth-sources' is non-nil.
4504
4505 2013-09-08 Kenichi Handa <handa@gnu.org>
4506
4507 * international/characters.el: Set category "^" (Combining) for
4508 more characters.
4509
4510 2013-09-07 Alan Mackenzie <acm@muc.de>
4511
4512 Correctly fontify Java class constructors.
4513 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4514 in Java Mode.
4515 (c-recognize-typeless-decls): Set the Java value to t.
4516 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4517 While handling a "(", add a check for, effectively, Java, and handle a
4518 "typeless" declaration there.
4519
4520 2013-09-07 Roland Winkler <winkler@gnu.org>
4521
4522 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4523 field subtitle for entry type book.
4524
4525 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * minibuffer.el: Make minibuffer-complete call completion-in-region
4528 rather than other way around.
4529 (completion--some, completion-pcm--find-all-completions):
4530 Don't delay signals when debugging.
4531 (minibuffer-completion-contents): Beware fields within the
4532 minibuffer contents.
4533 (completion-all-sorted-completions): Use defvar-local.
4534 (completion--do-completion, completion--cache-all-sorted-completions)
4535 (completion-all-sorted-completions, minibuffer-force-complete):
4536 Add args `beg' and `end'.
4537 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4538 (minibuffer-complete): Use completion-in-region.
4539 (completion-complete-and-exit): New fun, extracted from
4540 minibuffer-complete-and-exit.
4541 (minibuffer-complete-and-exit): Use it.
4542 (completion--complete-and-exit): Rename from
4543 minibuffer--complete-and-exit.
4544 (completion-in-region--single-word): New function, extracted from
4545 minibuffer-complete-word.
4546 (minibuffer-complete-word): Use it.
4547 (display-completion-list): Make `common-substring' argument obsolete.
4548 (completion--in-region): Call completion--in-region-1 instead of
4549 minibuffer-complete.
4550 (completion-help-at-point): Pass boundaries to
4551 minibuffer-completion-help as args rather than via an overlay.
4552 (completion-pcm--string->pattern): Use `any-delim'.
4553 (completion-pcm--optimize-pattern): New function.
4554 (completion-pcm--pattern->regex): Handle `any-delim'.
4555 * icomplete.el (icomplete-forward-completions)
4556 (icomplete-backward-completions, icomplete-completions):
4557 Adjust calls to completion-all-sorted-completions and
4558 completion--cache-all-sorted-completions.
4559 (icomplete-with-completion-tables): Default to t.
4560 * emacs-lisp/crm.el (crm--current-element): Rename from
4561 crm--select-current-element. Don't put an overlay but return the
4562 boundaries instead.
4563 (crm--completion-command): Take two new args to bind to the boundaries.
4564 (crm-completion-help): Adjust accordingly.
4565 (crm-complete): Use completion-in-region.
4566 (crm-complete-word): Use completion-in-region--single-word.
4567 (crm-complete-and-exit): Use completion-complete-and-exit.
4568
4569 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4572 than dynamically.
4573
4574 2013-09-06 Juri Linkov <juri@jurta.org>
4575
4576 * info.el (Info-display-images-node): When image file doesn't exist
4577 display text version of the image if it's provided in the Info file.
4578 Otherwise, display the location of missing image from SRC attribute.
4579 Add help-echo text property from ALT attribute. (Bug#15279)
4580
4581 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4584 (edit-abbrevs-mode): Use define-derived-mode.
4585
4586 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4587 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4588 that it's defined.
4589 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4590 Use define-derived-mode.
4591
4592 * epg.el (epg-start-encrypt): Minor CSE simplification.
4593
4594 2013-09-06 William Xu <william.xwl@gmail.com>
4595
4596 * arc-mode.el: Add support for 7za (bug#15264).
4597 (archive-7z-program): New var.
4598 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4599 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4600 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4601
4602 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4603
4604 Remove URL syntax.
4605
4606 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4607 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4608 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4609 (tramp-postfix-host-format, tramp-file-name-regexp)
4610 (tramp-completion-file-name-regexp)
4611 (tramp-completion-dissect-file-name)
4612 (tramp-handle-substitute-in-file-name): Remove 'url case.
4613 (tramp-file-name-regexp-url)
4614 (tramp-completion-file-name-regexp-url): Remove constants.
4615
4616 2013-09-06 Glenn Morris <rgm@gnu.org>
4617
4618 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4619
4620 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4621
4622 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4623 keywords" below "here-doc beginnings" (Bug#15270).
4624
4625 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * subr.el (pop): Use `car-safe'.
4628 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4629 to detect unused `pop' return value.
4630
4631 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4632 var `block-regexp'.
4633 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4634 (python-fill-string): Remove unused var `marker'.
4635 (python-skeleton-add-menu-items): Remove unused var `items'.
4636
4637 * international/mule-cmds.el: Require CL.
4638 (find-coding-systems-for-charsets): Avoid add-to-list.
4639 (sanitize-coding-system-list): New function, extracted from
4640 select-safe-coding-system-interactively.
4641 (select-safe-coding-system-interactively): Use it.
4642 (read-input-method-name): Accept symbols for `default'.
4643
4644 * emacs-lisp/advice.el (defadvice): Add indent rule.
4645
4646 2013-09-05 Daniel Hackney <dan@haxney.org>
4647
4648 * dired-x.el:
4649 * net/ange-ftp.el:
4650 * net/browse-url.el:
4651 * net/dbus.el:
4652 * net/eudc.el:
4653 * net/eudcb-ldap.el:
4654 * net/eww.el:
4655 * net/imap.el:
4656 * printing.el:
4657 * vc/ediff-diff.el:
4658 * vc/ediff-init.el:
4659 * vc/ediff-merg.el:
4660 * vc/ediff-mult.el:
4661 * vc/ediff-util.el:
4662 * vc/ediff-wind.el:
4663 * vc/ediff.el:
4664 * vc/emerge.el:
4665 * vc/pcvs.el:
4666 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4667 byte compiler. Remove some unused let-bound variables.
4668
4669 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4672 a "ref-cell", since it gets better optimized (bug#14883).
4673
4674 2013-09-05 Glenn Morris <rgm@gnu.org>
4675
4676 * progmodes/cc-awk.el (c-forward-sws): Declare.
4677
4678 2013-09-04 Glenn Morris <rgm@gnu.org>
4679
4680 * generic-x.el [rul-generic-mode]: Require cc-mode.
4681 (c++-mode-syntax-table): Declare.
4682 (rul-generic-mode-syntax-table): Init in the defvar.
4683
4684 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4687 (vc-do-command, vc-set-async-update):
4688 * vc/vc-mtn.el (vc-mtn-dir-status):
4689 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4690 (vc-hg-pull, vc-hg-merge-branch):
4691 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4692 (vc-git-merge-branch):
4693 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4694 (vc-cvs-dir-status-files):
4695 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4696 (vc-bzr-dir-status-files):
4697 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4698 * vc/vc-annotate.el: Use lexical-binding.
4699 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4700 (vc-sentinel-movepoint): Declare.
4701 (vc-annotate): Don't use `goto-line'.
4702 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4703 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4704 (vc-sentinel-movepoint): Declare.
4705 * vc/vc-svn.el: Use lexical-binding.
4706 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4707 * vc/vc-sccs.el:
4708 * vc/vc-rcs.el: Use lexical-binding.
4709
4710 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4711 `deleted'. Don't drop errors silently.
4712
4713 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4714
4715 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4716
4717 * vc/vc.el (vc-ignore): Rewrite.
4718 (vc-default-ignore): New function.
4719 (vc-default-ignore-completion-table): Use find-ignore-file.
4720
4721 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4722 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4723 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4724 Remove. Most code moved to vc.el.
4725
4726 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4729 * net/tramp-smb.el (tramp-smb-get-file-entries):
4730 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4731 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4732
4733 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4734 Update call to it.
4735 (eww-change-select): Remove unused var `properties'.
4736 (eww-make-unique-file-name): Remove unused var `base'.
4737
4738 * finder.el (finder-compile-keywords): Don't mess with windows.
4739
4740 * calculator.el (calculator-funcall): Fix typo in last change.
4741
4742 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4743
4744 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4745 <pkg>-autoloads.el file stop us.
4746
4747 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4748 warnings, and factor out common code.
4749
4750 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4751
4752 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4753 two-character operators and whether the character preceding them
4754 changes their meaning (Bug#15208).
4755
4756 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4757
4758 Format code sent to Python shell for robustness.
4759 * progmodes/python.el (python-shell-buffer-substring):
4760 New function.
4761 (python-shell-send-region, python-shell-send-buffer): Use it.
4762
4763 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4764
4765 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4766 * net/tramp.el (tramp-user-error): ... here.
4767 (tramp-find-method, tramp-check-proper-host)
4768 (tramp-dissect-file-name, tramp-debug-message)
4769 (tramp-handle-shell-command):
4770 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4772
4773 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4774
4775 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4776
4777 * avoid.el (mouse-avoidance-point-position)
4778 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4779 returns nil.
4780
4781 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4782
4783 * progmodes/python.el (python-shell-completion-get-completions):
4784 Drop use of deleted `comint-last-prompt-overlay'.
4785 (python-nav-if-name-main): New command.
4786
4787 2013-09-01 Glenn Morris <rgm@gnu.org>
4788
4789 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4790 Avoid leading space in $wins. Otherwise the sed command used by
4791 eg compile-main ends up containing "/*.el". (Bug#15170)
4792
4793 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4794
4795 2013-08-30 Glenn Morris <rgm@gnu.org>
4796
4797 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4798 Fix is-this-a-directory logic. (Bug#15220)
4799
4800 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 * textmodes/css-mode.el: Use SMIE.
4803 (css-smie-grammar): New var.
4804 (css-smie--forward-token, css-smie--backward-token)
4805 (css-smie-rules): New functions.
4806 (css-mode): Use them.
4807 (css-navigation-syntax-table): Remove var.
4808 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4809 (css-indent-calculate, css-indent-line): Remove functions.
4810
4811 Misc changes to reduce use of `(lambda...); and other cleanups.
4812 * cus-edit.el: Use lexical-binding.
4813 (customize-push-and-save, customize-apropos)
4814 (custom-buffer-create-internal): Use closures.
4815 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4816 * progmodes/ada-xref.el: Use setq.
4817 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4818 * dframe.el: Use lexical-binding.
4819 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4820 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4821 * descr-text.el: Use lexical-binding.
4822 (describe-text-widget, describe-text-sexp, describe-property-list):
4823 Use closures.
4824 * comint.el (comint-history-isearch-push-state): Use a closure.
4825 * calculator.el: Use lexical-binding.
4826 (calculator-number-to-string): Make it work with lexical-binding.
4827 (calculator-funcall): Same and use cl-letf.
4828
4829 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4830 (lisp--company-doc-string, lisp--company-location): New functions.
4831 (lisp-completion-at-point): Use them to improve Company support.
4832
4833 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4834 params of lambda expressions.
4835 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4836 (ruby-smie--opening-pipe-p): New function.
4837 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4838 symbols and matched |...| for formal params.
4839 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4840 from being treated as hanging. Handle "rescue".
4841
4842 2013-08-29 Glenn Morris <rgm@gnu.org>
4843
4844 * progmodes/cc-engine.el (c-pull-open-brace):
4845 Move definition before use.
4846
4847 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4850 are immutable. Don't use `unsafe' any more.
4851 (cl--defsubst-expand): Don't substitute at the same time as keeping
4852 a residual unused let-binding. Don't use `unsafe' any more.
4853
4854 2013-08-29 Glenn Morris <rgm@gnu.org>
4855
4856 * calendar/cal-china.el (calendar-chinese-year-cache):
4857 Recenter on 2015.
4858
4859 * nxml/nxml-util.el (nxml-debug-clear-inside):
4860 Use cl-loop rather than loop.
4861
4862 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4863
4864 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4865
4866 2013-08-28 Glenn Morris <rgm@gnu.org>
4867
4868 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4869
4870 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4871
4872 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4873
4874 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * simple.el (repeat-complex-command--called-interactively-skip):
4877 New function.
4878 (repeat-complex-command): Use it (bug#14136).
4879
4880 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4881 (c-define-abbrev-table): Add `doc' argument.
4882 (c-mode-abbrev-table, c++-mode-abbrev-table)
4883 (objc-mode-abbrev-table, java-mode-abbrev-table)
4884 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4885 (awk-mode-abbrev-table): Use it.
4886 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4887 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4888 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4889 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4890 Move initialization into the declaration; and remove any
4891 autoload cookie.
4892
4893 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4894 and dynamic let binding.
4895
4896 * vc/smerge-mode.el: Remove redundant :group args.
4897
4898 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4899 to load-path.
4900
4901 2013-08-28 Juri Linkov <juri@jurta.org>
4902
4903 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4904 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4905 (isearch-other-meta-char): Handle an undefined shifted printing
4906 character by downshifting it. (Bug#15200)
4907
4908 2013-08-28 Juri Linkov <juri@jurta.org>
4909
4910 * isearch.el (isearch-search): Change regexp error message for
4911 non-regexp searches. (Bug#15166)
4912
4913 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4914
4915 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4916 for portability to hosts where /bin/sh has problems.
4917
4918 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4921
4922 2013-08-27 Juri Linkov <juri@jurta.org>
4923
4924 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4925 in the keyboard macro. (Bug#15126)
4926
4927 2013-08-27 Juri Linkov <juri@jurta.org>
4928
4929 * isearch.el (isearch-quote-char): Comment out converting unibyte
4930 to multibyte, thus syncing with its `quoted-insert' counterpart.
4931 (Bug#15166)
4932
4933 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4934
4935 * window.el (display-buffer-use-some-window): Add missing
4936 argument in call of get-largest-window (Bug#15185).
4937 Reported by Stephen Leake.
4938
4939 2013-08-27 Glenn Morris <rgm@gnu.org>
4940
4941 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4942
4943 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4946 from a matcher-function unless there's no more matches (bug#15161).
4947
4948 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4949
4950 * minibuffer.el: Revert change from 2013-08-20.
4951
4952 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4953 with text property `tramp-default', if appropriate.
4954 (tramp-check-proper-host): New defun.
4955 (tramp-dissect-file-name): Do not check hostname. Revert change
4956 of 2013-03-18.
4957 (tramp-backtrace): Make VEC-OR-PROC optional.
4958
4959 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4960 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4961 * net/tramp-sh.el (tramp-maybe-open-connection):
4962 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4963 Apply `tramp-check-proper-host'.
4964
4965 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4966
4967 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4968 lambda expression in order to have `describe-variable' display it.
4969
4970 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4971
4972 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4973 BUF can be optional. (Bug#15186)
4974
4975 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4976
4977 * progmodes/flymake.el (flymake-get-real-file-name-function):
4978 Fix broken customization. (Bug#15184)
4979
4980 2013-08-25 Alan Mackenzie <acm@muc.de>
4981
4982 Improve indentation of bracelists defined by macros (without "=").
4983
4984 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4985 expansion begins with "{", regard it as bracelist when it doesn't
4986 contain a ";".
4987
4988 Parse C++ inher-intro when there's a template split over 2 lines.
4989
4990 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4991 rigorously the search for "class" etc. followed by ":".
4992
4993 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4994 random languages a regexp which never matches rather than nil.
4995
4996 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4997
4998 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4999 (c-awk-regexp-one-line-possibly-open-char-list-re)
5000 (c-awk-one-line-possibly-open-regexp-re)
5001 (c-awk-one-line-non-syn-ws*-re): Remove.
5002 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5003 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5004 (c-awk-space*-unclosed-regexp-/-re): New constants.
5005 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5006 aren't regexp delimiters.
5007
5008 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5009 handling for a rare situation in AWK Mode involving unterminated
5010 strings/regexps.
5011
5012 2013-08-23 Glenn Morris <rgm@gnu.org>
5013
5014 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5015
5016 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5017
5018 * files.el (create-file-buffer): If the result would begin with
5019 spaces, prepend a "|" instead of removing them. (Bug#15162)
5020
5021 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5024 text-properties (bug#15155).
5025
5026 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5027 exist any more.
5028 (calc-keypad-redraw): Remove unused var `pad'.
5029 (calc-keypad-press): Remove unused var `menu'.
5030
5031 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (display-buffer-pop-up-frame):
5034 Call pop-up-frame-function with BUFFER current so `make-frame' will
5035 use it as the new frame's buffer (Bug#15133).
5036
5037 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * calendar/timeclock.el: Minor cleanups.
5040 (timeclock-ask-before-exiting, timeclock-use-display-time):
5041 Use `symbol'.
5042 (timeclock-modeline-display): Define as alias before the
5043 actual definition.
5044 (timeclock-mode-line-display): Use define-minor-mode.
5045 (timeclock-day-list-template): Make it a function, add an argument.
5046 (timeclock-day-list-required, timeclock-day-list-length)
5047 (timeclock-day-list-debt, timeclock-day-list-span)
5048 (timeclock-day-list-break): Adjust calls accordingly.
5049
5050 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5053 Use read--expression so that completion works again.
5054
5055 2013-08-21 Sam Steingold <sds@gnu.org>
5056
5057 Add rudimentary inferior shell interaction
5058 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5059 (sh-set-shell): Reset it.
5060 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5061 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5062
5063 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * align.el: Use lexical-binding.
5066 (align-region): Simplify accordingly.
5067
5068 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5069
5070 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5071
5072 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5073 `non-essential' up.
5074
5075 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5076
5077 * net/tramp.el:
5078 * net/tramp-adb.el:
5079 * net/tramp-cmds.el:
5080 * net/tramp-ftp.el:
5081 * net/tramp-gvfs.el:
5082 * net/tramp-gw.el:
5083 * net/tramp-sh.el: Don't wrap external variable declarations by
5084 `eval-when-compile'.
5085
5086 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5087
5088 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5089 now that Emacs supports ImageMagick animations.
5090
5091 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5092
5093 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5094 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5095
5096 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5097
5098 * window.el (mouse-autoselect-window-select): Do autoselect when
5099 mouse pointer is on margin.
5100
5101 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5102
5103 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5104
5105 2013-08-16 Glenn Morris <rgm@gnu.org>
5106
5107 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5108 Handle "Remote Directory" response of some clients. (Bug#15058)
5109
5110 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5111 Tweak warning. (Bug#14926)
5112
5113 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5114 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5115
5116 * image-mode.el (image-mode-map): Add menu items to reverse,
5117 increase, decrease, reset animation speed.
5118 (image--set-speed, image-increase-speed, image-decrease-speed)
5119 (image-reverse-speed, image-reset-speed): New functions.
5120 (image-mode-map): Add bindings for speed commands.
5121
5122 * image.el (image-animate-get-speed, image-animate-set-speed):
5123 New functions.
5124 (image-animate-timeout): Respect image :speed property.
5125
5126 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5129 previous line (bug#15101).
5130 (debugger-eval-expression, debugger-record-expression):
5131 Use read--expression (bug#15102).
5132
5133 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5134
5135 Remove byte compiler warnings, visible when compiling with
5136 `byte-compile-force-lexical-warnings' set to t.
5137
5138 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5139 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5140 (tramp-handle-unhandled-file-name-directory)
5141 (tramp-handle-file-notify-add-watch, tramp-action-login)
5142 (tramp-action-succeed, tramp-action-permission-denied)
5143 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5144 arguments with "_".
5145
5146 * net/tramp-adb.el (tramp-adb-parse-device-names)
5147 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5148 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5149 (tramp-adb-handle-file-truename): Remove unused arguments.
5150
5151 * net/tramp-cache.el (tramp-flush-directory-property)
5152 (tramp-flush-connection-property, tramp-list-connections)
5153 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5154
5155 * net/tramp-compat.el (tramp-compat-make-temp-file):
5156 Rename FILENAME to F.
5157
5158 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5159 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5160 (tramp-zeroconf-parse-workstation-device-names)
5161 (tramp-zeroconf-parse-webdav-device-names)
5162 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5163
5164 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5165 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5166
5167 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5168 arguments.
5169 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5170 (tramp-sh-handle-insert-file-contents-literally)
5171 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5172 with "_".
5173 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5174 Remove unused variables.
5175
5176 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5177 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5178 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5179
5180 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5181 Make them a defconst.
5182 (tramp-uuencode-region): Remove unused variable.
5183
5184 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5185
5186 * frameset.el (frameset--prop-setter): New function.
5187 (frameset-prop): Add gv-setter declaration.
5188 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5189 parameter was already set in FILTERED. Doc fix.
5190 (frameset--record-minibuffer-relationships): Allow saving a
5191 minibufferless frame without its corresponding minibuffer frame.
5192 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5193 frame, if the frame id matches.
5194 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5195 frames before orphaned ones.
5196 (frameset-restore): Warn about orphaned windows, instead of error out.
5197
5198 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5199
5200 * window.el (window-make-atom): Don't overwrite parameter
5201 already present.
5202 (display-buffer-in-atom-window): Handle special case where we
5203 split an already atomic window.
5204 (window--major-non-side-window, display-buffer-in-side-window)
5205 (window--side-check): Ignore minibuffer window when walking
5206 window tree.
5207 (window-deletable-p): Return 'frame only if no other frame uses
5208 our minibuffer window.
5209 (record-window-buffer): Run buffer-list-update-hook.
5210 (split-window): Make sure window--check-frame won't destroy an
5211 existing atomic window in case the new window gets nested
5212 inside.
5213 (display-buffer-at-bottom): Ignore minibuffer window when
5214 walking window tree. Don't split a side window.
5215 (pop-to-buffer): Don't set-buffer here, the select-window call
5216 should do that.
5217 (mouse-autoselect-window-select): Autoselect only if we are in the
5218 text portion of the window.
5219
5220 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5221
5222 * net/shr.el (shr-parse-image-data): New function to grab both the
5223 data itself and the Content-Type.
5224 (shr-put-image): Use it.
5225
5226 * net/eww.el (eww-display-image): Ditto.
5227
5228 * image.el (image-content-type-suffixes): New variable.
5229
5230 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5231
5232 * progmodes/python.el (python-imenu--build-tree)
5233 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5234
5235 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5236
5237 * simple.el (backward-word): Mention the optional argument.
5238
5239 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * frameset.el (frameset--make): Rename constructor from make-frameset.
5242 (frameset-p, frameset-valid-p): Don't autoload.
5243 (frameset-valid-p): Use normal accessors.
5244
5245 2013-08-13 Glenn Morris <rgm@gnu.org>
5246
5247 * progmodes/compile.el (compile-command): Tweak example in doc.
5248 * obsolete/scribe.el (scribe-mode):
5249 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5250
5251 * mail/feedmail.el (feedmail-confirm-outgoing)
5252 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5253
5254 * cus-start.el (truncate-partial-width-windows): Fix type.
5255
5256 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5257
5258 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5259
5260 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * emacs-lisp/timer.el (timer--time-setter): New function.
5263 (timer--time): Use it as gv-setter.
5264
5265 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5266 setter is not a symbol.
5267
5268 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5269
5270 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5271 if sending fails. This makes debugging easier.
5272
5273 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5274
5275 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5276 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5277 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5278
5279 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5280
5281 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5282
5283 2013-08-12 Glenn Morris <rgm@gnu.org>
5284
5285 * format.el (format-annotate-function):
5286 Handle read-only text properties in the source. (Bug#14887)
5287
5288 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5289
5290 * net/eww.el (eww-display-html): Ignore coding system errors.
5291 One web site uses "utf-8lias" as the coding system.
5292
5293 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5294
5295 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5296
5297 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5298
5299 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5300 (tutorial--detailed-help): Remove unused local variables.
5301 (tutorial--save-tutorial-to): Use ignore-errors.
5302 (help-with-tutorial): Use looking-at-p.
5303
5304 * view.el (view-buffer-other-window, view-buffer-other-frame):
5305 Mark unused arguments.
5306
5307 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5308 (woman-select-symbol-fonts, woman, woman-find-file)
5309 (woman-insert-file-contents, woman-non-underline-faces):
5310 Use string-match-p.
5311 (woman1-unquote): Move declaration.
5312
5313 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5314 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5315 argument. Remove unused local variable.
5316 (xml-parse-elem-type): Use string-match-p.
5317 (xml-substitute-numeric-entities): Use ignore-errors.
5318
5319 * calculator.el (calculator): Mark unused argument.
5320 (calculator-paste, calculator-quit, calculator-integer-p):
5321 Use ignore-errors.
5322 (calculator-string-to-number, calculator-decimal, calculator-exp)
5323 (calculator-op-or-exp): Use string-match-p.
5324
5325 * dired.el (dired-buffer-more-recently-used-p): Declare.
5326 (dired-insert-set-properties, dired-insert-old-subdirs):
5327 Use ignore-errors.
5328
5329 * dired-aux.el (dired-compress): Use ignore-errors.
5330 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5331 (dired-do-async-shell-command, dired-do-shell-command)
5332 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5333 (dired-insert-subdir-validate): Use string-match-p.
5334 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5335 (dired-add-entry): Use string-match-p, looking-at-p.
5336 (dired-insert-subdir-newpos): Remove unused local variable.
5337
5338 * filenotify.el (file-notify-callback): Remove unused local variable.
5339
5340 * filesets.el (filesets-error): Mark unused argument.
5341 (filesets-which-command-p, filesets-filter-dir-names)
5342 (filesets-directory-files, filesets-get-external-viewer)
5343 (filesets-ingroup-get-data): Use string-match-p.
5344
5345 * find-file.el (ff-other-file-name, ff-other-file-name)
5346 (ff-find-the-other-file, ff-cc-hh-converter):
5347 Remove unused local variables.
5348 (ff-get-file-name): Use string-match-p.
5349 (ff-all-dirs-under): Use ignore-errors.
5350
5351 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5352 (follow-select-if-visible): Remove unused local variable.
5353
5354 * forms.el (read-file-filter): Move declaration.
5355 (forms--make-format, forms--make-parser, forms-insert-record):
5356 Quote function with #'.
5357 (forms--update): Use string-match-p. Quote function with #'.
5358
5359 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5360 (help-make-xrefs): Use looking-at-p.
5361 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5362
5363 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5364 (ibuffer-confirm-operation-on): Use string-match-p.
5365
5366 * msb.el (msb-item-handler, msb-dired-item-handler):
5367 Mark unused arguments.
5368
5369 * ses.el (ses-decode-cell-symbol)
5370 (ses-kill-override): Remove unused local variable.
5371 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5372 (ses-load): Use ignore-errors, looking-at-p.
5373 (ses-jump-safe): Use ignore-errors.
5374 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5375
5376 * tabify.el (untabify, tabify): Mark unused arguments.
5377
5378 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5379 Mark unused argument.
5380 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5381 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5382
5383 * emacs-lisp/timer.el (timer--time): Define setter with
5384 gv-define-setter to avoid deprecation warning.
5385
5386 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5387 (*record-cmpl-statistics-p*): Remove (was commented out).
5388 (cmpl-statistics-block): Remove (body was commented out).
5389 All callers changed.
5390 (add-completions-from-buffer, load-completions-from-file):
5391 Remove unused variables.
5392
5393 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5394
5395 * filecache.el (file-cache-delete-file-list):
5396 Print message only when told so.
5397 (file-cache-files-matching): Use #' in mapconcat argument.
5398
5399 * ffap.el (ffap-url-at-point): Fix reference to variable
5400 thing-at-point-default-mail-uri-scheme.
5401
5402 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * subr.el (define-error): New function.
5405 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5406 error-file-not-found and define with define-error.
5407 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5408 and define with define-error.
5409 * userlock.el (file-locked, file-supersession):
5410 * simple.el (mark-inactive):
5411 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5412 * progmodes/ada-mode.el (ada-mode-errors):
5413 * play/life.el (life-extinct):
5414 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5415 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5416 * nxml/rng-util.el (rng-error):
5417 * nxml/rng-uri.el (rng-uri-error):
5418 * nxml/rng-match.el (rng-compile-error):
5419 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5420 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5421 * nxml/nxml-rap.el (nxml-scan-error):
5422 * nxml/nxml-outln.el (nxml-outline-error):
5423 * net/soap-client.el (soap-error):
5424 * net/gnutls.el (gnutls-error):
5425 * net/ange-ftp.el (ftp-error):
5426 * mpc.el (mpc-proc-error):
5427 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5428 (json-number-format, json-string-escape, json-string-format)
5429 (json-key-format, json-object-format):
5430 * jka-compr.el (compression-error):
5431 * international/quail.el (quail-error):
5432 * international/kkc.el (kkc-error):
5433 * emacs-lisp/ert.el (ert-test-failed):
5434 * calc/calc.el (calc-error, inexact-result, math-overflow)
5435 (math-underflow):
5436 * bookmark.el (bookmark-error-no-filename):
5437 * epg.el (epg-error): Define with define-error.
5438
5439 * time.el (display-time-event-handler)
5440 (display-time-next-load-average): Don't call sit-for since it seems
5441 unnecessary (bug#15045).
5442
5443 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5444 Use #' instead of ' to quote functions.
5445 (checkdoc-output-mode): Use setq-local.
5446 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5447 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5448 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5449 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5450 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5451 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5452 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5453 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5454
5455 * ido.el (ido-completion-help): Fix up compiler warning.
5456
5457 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * frameset.el (frameset-p): Add autoload cookie.
5460 (frameset--jump-to-register): New function, based on code moved from
5461 register.el.
5462 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5463
5464 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5465 (frameset-restore, frameset-save, frameset-session-filter-alist):
5466 Remove declarations.
5467 (register-alist): Doc fix.
5468 (frameset-to-register): Move to frameset.el.
5469 (jump-to-register, describe-register-1): Remove frameset-specific code.
5470
5471 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5472
5473 * allout-widgets.el (allout-widgets-pre-command-business)
5474 (allout-widgets-post-command-business)
5475 (allout-widgets-after-change-handler)
5476 (allout-decorate-item-and-context, allout-set-boundary-marker)
5477 (allout-body-modification-handler)
5478 (allout-graphics-modification-handler): Mark ignored arguments.
5479 (allout-widgets-post-command-business)
5480 (allout-widgets-exposure-change-processor)
5481 (allout-widgets-exposure-undo-processor)
5482 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5483 (allout-parse-item-at-point, allout-decorate-item-guides)
5484 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5485 * allout.el (epa-passphrase-callback-function): Declare.
5486 (allout-overlay-insert-in-front-handler)
5487 (allout-overlay-interior-modification-handler)
5488 (allout-isearch-end-handler, allout-chart-siblings)
5489 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5490 (allout-yank-processing, allout-process-exposed)
5491 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5492 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5493 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5494 (lisp-indent-defform): Mark ignored arguments.
5495 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5496 (calculate-lisp-indent): Remove unused variables.
5497 * international/characters.el (indian-2-column, arabic-2-column)
5498 (tibetan): Mark ignored arguments.
5499 (use-cjk-char-width-table): Mark ignored arguments.
5500 Remove unused variables.
5501 * international/fontset.el (build-default-fontset-data)
5502 (x-compose-font-name, create-fontset-from-fontset-spec):
5503 Mark ignored arguments.
5504 (fontset-plain-name): Remove unused variables.
5505 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5506 (keyboard-coding-system): Mark ignored arguments.
5507 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5508 * help.el (resize-temp-buffer-window):
5509 * window.el (display-buffer-in-major-side-window)
5510 (display-buffer-in-side-window, display-buffer-in-previous-window):
5511 Remove unused variables.
5512 * isearch.el (isearch-forward-symbol):
5513 * version.el (emacs-bzr-version-bzr):
5514 * international/mule-cmds.el (current-language-environment):
5515 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5516 (x-handle-display):
5517 * term/pc-win.el (x-list-fonts, x-display-planes)
5518 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5519 (x-server-version, x-display-screens, x-display-mm-height)
5520 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5521 (x-selection-owner-p, x-own-selection-internal)
5522 (x-disown-selection-internal, x-get-selection-internal)
5523 (msdos-initialize-window-system):
5524 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5525 * term/x-win.el (x-handle-no-bitmap-icon):
5526 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5527 (vc-default-find-file-hook, vc-default-extra-menu):
5528 Mark ignored arguments.
5529
5530 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5533 break-condition in the context of the debugged code (bug#12685).
5534
5535 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5536
5537 * comint.el:
5538 Do not use an overlay to highlight the last prompt. (Bug#14744)
5539 (comint-mode): Make comint-last-prompt buffer local.
5540 (comint-last-prompt): New variable.
5541 (comint-last-prompt-overlay): Remove. Superseded by
5542 comint-last-prompt.
5543 (comint-snapshot-last-prompt, comint-output-filter):
5544 Use comint-last-prompt.
5545
5546 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5547
5548 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5549 (frameset-save): Check validity of the resulting frameset.
5550
5551 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5552
5553 * ido.el (ido-record-command): Add doc string.
5554
5555 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5556
5557 * frameset.el (frameset): Do not disable creation of the default
5558 frameset-p predicate. Doc fix.
5559 (frameset-valid-p): New function, copied from the old predicate-p.
5560 Add additional checks.
5561 (frameset-restore): Check with frameset-valid-p.
5562 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5563 (frameset-name, frameset-description, frameset-properties)
5564 (frameset-states): Add docstring.
5565 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5566 (frameset-filter-alist): Doc fixes.
5567
5568 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5569
5570 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5571
5572 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5575 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5576 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5577 (byte-compile-normal-call): Remove obsolescence check.
5578
5579 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5580
5581 * frameset.el (frameset-restore): Doc fix.
5582
5583 * register.el (frameset-frame-id, frameset-frame-with-id)
5584 (frameset-p, frameset-restore, frameset-save): Declare.
5585 (register-alist): Document framesets.
5586 (frameset-session-filter-alist): Declare.
5587 (frameset-to-register): New function.
5588 (jump-to-register): Implement jumping to framesets. Doc fix.
5589 (describe-register-1): Describe framesets.
5590
5591 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5592
5593 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5594
5595 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5596 Use lexical-binding.
5597
5598 * frameset.el (frameset): Use type vector, not list (incompatible
5599 change). Do not declare a new constructor, use the default one.
5600 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5601 `name' and `description', respectively, and add read-only slot
5602 `timestamp'. Doc fixes.
5603 (frameset-copy, frameset-persistent-filter-alist)
5604 (frameset-filter-alist, frameset-switch-to-gui-p)
5605 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5606 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5607 (frameset-filter-iconified, frameset-keep-original-display-p):
5608 Doc fixes.
5609 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5610 Rename from frameset-filter-(save|restore)-param. All callers changed.
5611 Doc fix.
5612 (frameset-p): Adapt to change to vector and be more thorough.
5613 Change arg name to OBJECT. Doc fix.
5614 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5615 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5616 All callers changed.
5617 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5618 All callers changed.
5619 (frameset--record-minibuffer-relationships): Rename from
5620 frameset--process-minibuffer-frames. All callers changed.
5621 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5622 Use new default constructor (again). Doc fix.
5623 (frameset--find-frame-if): Rename from `frameset--find-frame.
5624 All callers changed.
5625 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5626 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5627 Doc fix.
5628 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5629 PARAMETERS and WINDOW-STATE, respectively.
5630 (frameset-restore): Add new keyword argument PREDICATE.
5631 Reset frameset--target-display to nil. Doc fix.
5632
5633 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5636 (bat-mode): Use it.
5637 (bat-mode-syntax-table): Mark \n as end-of-comment.
5638 (bat-font-lock-keywords): Remove comment rule.
5639
5640 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5641 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5642
5643 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5644 (byte-compile-callargs-warn): Use `push'.
5645 (byte-compile-arglist-warn): Ignore higher-order "calls".
5646 (byte-compile-file-form-autoload): Use `pcase'.
5647 (byte-compile-function-form): If quoting a symbol, check that it exists.
5648
5649 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5650
5651 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5652 and add a few popular commands found in batch files.
5653 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5654 (dos-mode): Doc fixes.
5655
5656 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5659 (dos-mode): Use setq-local. Add space after "rem".
5660 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5661 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5662
5663 2013-08-07 Arni Magnusson <arnima@hafro.is>
5664
5665 * progmodes/dos.el: New file.
5666 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5667 dos-mode.
5668
5669 2013-08-06 Glenn Morris <rgm@gnu.org>
5670
5671 * calendar/calendar.el: Add new faces, and day-header-array.
5672 (calendar-weekday-header, calendar-weekend-header)
5673 (calendar-month-header): New faces.
5674 (calendar-day-header-construct): New function.
5675 (calendar-day-header-width): Also :set calendar-day-header-array.
5676 (calendar-american-month-header, calendar-european-month-header)
5677 (calendar-iso-month-header): Use calendar- faces.
5678 (calendar-generate-month):
5679 Use calendar-day-header-array for day headers; apply faces to them.
5680 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5681 (calendar-abbrev-construct): Add optional maxlen argument.
5682 (calendar-day-name-array): Doc fix.
5683 (calendar-day-name-array, calendar-abbrev-length)
5684 (calendar-day-abbrev-array):
5685 Also :set calendar-day-header-array, and maybe redraw.
5686 (calendar-day-header-array): New option. (Bug#15007)
5687 (calendar-font-lock-keywords): Set to nil and make obsolete.
5688 (calendar-day-name): Add option to use header array.
5689
5690 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5691
5692 * net/shr.el (shr-render-td): Remove debugging.
5693 (shr-render-td): Make width computation consistent by defaulting
5694 all zero-width columns to 10 characters. This may not be optimal,
5695 but it's at least consistent.
5696 (shr-make-table-1): Redo last change to fix the real problem in
5697 colspan handling.
5698
5699 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5700
5701 * files.el (cache-long-line-scans):
5702 Make obsolete alias to `cache-long-scans'.
5703
5704 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5705
5706 * frameset.el (frameset, frameset-filter-alist)
5707 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5708 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5709 (frameset-compute-pos): Rename from frameset--compute-pos,
5710 and add docstring.
5711 (frameset-move-onscreen): Use frameset-compute-pos.
5712 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5713
5714 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5715 Fix typos in docstrings.
5716
5717 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5718
5719 * frame.el (get-other-frame): Tiny cleanup.
5720
5721 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5722
5723 * vc/vc.el (vc-default-ignore-completion-table):
5724 Silence byte-compiler warning.
5725
5726 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5727 slot , which can indeed be nil.
5728 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5729 Move entry for `left' from persistent to live filter alist.
5730 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5731 Doc fixes.
5732 (frameset-filter-params): When restoring a frame, copy items added to
5733 `filtered', to avoid unwittingly modifying the original parameters.
5734 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5735 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5736
5737 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5738 to use looking-at-p instead of looking-at. (Bug#15028)
5739
5740 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 Revert introduction of isearch-filter-predicates (bug#14714).
5743 Rely on add-function instead.
5744 * isearch.el (isearch-filter-predicates): Rename it back to
5745 isearch-filter-predicate.
5746 (isearch-message-prefix): Use advice-function-mapc and advice
5747 properties to get the isearch-message-prefix.
5748 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5749 instead of run-hook-with-args-until-failure.
5750 (isearch-filter-visible): Not obsolete any more.
5751 * loadup.el: Preload nadvice.
5752 * replace.el (perform-replace): Revert to funcall
5753 instead of run-hook-with-args-until-failure.
5754 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5755 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5756 dired-isearch-filenames-toggle; make it into a proper minor mode.
5757 Use add/remove-function.
5758 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5759 Call the minor-mode rather than add/remove-hook.
5760 (dired-isearch-filter-filenames):
5761 Remove isearch-message-prefix property.
5762 * info.el (Info--search-loop): New function, extracted from Info-search.
5763 Funcall isearch-filter-predicate instead of
5764 run-hook-with-args-until-failure isearch-filter-predicates.
5765 (Info-search): Use it.
5766 (Info-mode): Use isearch-filter-predicate instead of
5767 isearch-filter-predicates.
5768
5769 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5770
5771 Do not call to `selected-window' where it is assumed by default.
5772 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5773 `window-hscroll', `window-width', `window-height', `window-buffer',
5774 `window-frame', `window-start', `window-point', `next-window'
5775 and `window-display-table'.
5776 * abbrev.el (abbrev--default-expand):
5777 * bs.el (bs--show-with-configuration):
5778 * buff-menu.el (Buffer-menu-mouse-select):
5779 * calc/calc.el (calc):
5780 * calendar/calendar.el (calendar-generate-window):
5781 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5782 (diary-make-entry):
5783 * comint.el (send-invisible, comint-dynamic-complete-filename)
5784 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5785 * completion.el (complete):
5786 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5787 * disp-table.el (describe-current-display-table):
5788 * doc-view.el (doc-view-insert-image):
5789 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5790 * ehelp.el (with-electric-help):
5791 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5792 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5793 * emacs-lisp/helper.el (Helper-help-scroller):
5794 * emulation/cua-base.el (cua--post-command-handler-1):
5795 * eshell/esh-mode.el (eshell-output-filter):
5796 * ffap.el (ffap-gnus-wrapper):
5797 * help-macro.el (make-help-screen):
5798 * hilit-chg.el (highlight-compare-buffers):
5799 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5800 * hl-line.el (global-hl-line-highlight):
5801 * icomplete.el (icomplete-simple-completing-p):
5802 * isearch.el (isearch-done):
5803 * jit-lock.el (jit-lock-stealth-fontify):
5804 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5805 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5806 * mpc.el (mpc-tagbrowser, mpc):
5807 * net/rcirc.el (rcirc-any-buffer):
5808 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5809 * play/landmark.el (landmark-max-width, landmark-max-height):
5810 * play/zone.el (zone):
5811 * progmodes/compile.el (compilation-goto-locus):
5812 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5813 * progmodes/etags.el (find-tag-other-window):
5814 * progmodes/fortran.el (fortran-column-ruler):
5815 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5816 * progmodes/verilog-mode.el (verilog-point-text):
5817 * reposition.el (reposition-window):
5818 * rot13.el (toggle-rot13-mode):
5819 * server.el (server-switch-buffer):
5820 * shell.el (shell-dynamic-complete-command)
5821 (shell-dynamic-complete-environment-variable):
5822 * simple.el (insert-buffer, set-selective-display)
5823 (delete-completion-window):
5824 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5825 (speedbar-recenter):
5826 * startup.el (fancy-splash-head):
5827 * textmodes/ispell.el (ispell-command-loop):
5828 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5829 * tutorial.el (help-with-tutorial):
5830 * vc/add-log.el (add-change-log-entry):
5831 * vc/compare-w.el (compare-windows):
5832 * vc/ediff-help.el (ediff-indent-help-message):
5833 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5834 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5835 (ediff-setup-control-frame):
5836 * vc/emerge.el (emerge-position-region):
5837 * vc/pcvs-util.el (cvs-bury-buffer):
5838 * window.el (walk-windows, mouse-autoselect-window-select):
5839 * winner.el (winner-set-conf, winner-undo): Related users changed.
5840
5841 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5842
5843 * frameset.el (frameset--set-id): Doc fix.
5844 (frameset-frame-id, frameset-frame-id-equal-p)
5845 (frameset-locate-frame-id): New functions.
5846 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5847 (frameset-restore): Use them.
5848
5849 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5850
5851 Do not call to `selected-frame' where it is assumed by default.
5852 Affected functions are `raise-frame', `redraw-frame',
5853 `frame-first-window', `frame-terminal' and `delete-frame'.
5854 * calendar/appt.el (appt-disp-window):
5855 * epg.el (epg-wait-for-completion):
5856 * follow.el (follow-delete-other-windows-and-split)
5857 (follow-avoid-tail-recenter):
5858 * international/mule.el (set-terminal-coding-system):
5859 * mail/rmail.el (rmail-mail-return):
5860 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5861 * progmodes/f90.el (f90-add-imenu-menu):
5862 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5863 * server.el (server-switch-buffer):
5864 * simple.el (delete-completion-window):
5865 * talk.el (talk):
5866 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5867 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5868 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5869 * vc/ediff.el (ediff-documentation): Related users changed.
5870 * frame.el (selected-terminal): Remove the leftover.
5871
5872 2013-08-05 Glenn Morris <rgm@gnu.org>
5873
5874 * calendar/calendar.el (calendar-generate-month):
5875 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5876 (calendar-generate-month, calendar-font-lock-keywords):
5877 Fix for calendar-day-header-width > length of any day name.
5878
5879 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5880
5881 * desktop.el (desktop-clear): Use new name of sort predicate.
5882
5883 * frameset.el (frameset): Add docstring. Move :version property to its
5884 own `version' slot.
5885 (frameset-copy): Rename from copy-frameset.
5886 (frameset-p): Check more thoroughly.
5887 (frameset-prop): Do not check for :version, which is no longer a prop.
5888 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5889 Use new :never value instead of t.
5890 (frameset-filter-alist): Expand and clarify docstring.
5891 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5892 (frameset-filter-minibuffer, frameset-filter-save-param)
5893 (frameset-filter-restore-param, frameset-filter-iconified):
5894 Add pointer to docstring of frameset-filter-alist.
5895 (frameset-filter-params): Rename filter values to be more meaningful:
5896 :never instead of t, and reverse the meanings of :save and :restore.
5897 (frameset--process-minibuffer-frames): Clarify error message.
5898 (frameset-save): Avoid unnecessary and confusing call to framep.
5899 Use new BOA constructor for framesets.
5900 (frameset--reuse-list): Doc fix.
5901 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5902 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5903 (frameset-minibufferless-first-p): Doc fix.
5904 Rename from frameset-sort-frames-for-deletion.
5905 (frameset-restore): Doc fixes. Use new function names.
5906 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5907
5908 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5909
5910 * desktop.el (desktop-restore-forces-onscreen)
5911 (desktop-restore-reuses-frames): Document :keyword constant values.
5912 (desktop-filter-parameters-alist): Remove, now identical to
5913 frameset-filter-alist.
5914 (desktop--filter-tty*): Remove, moved to frameset.el.
5915 (desktop-save-frameset, desktop-restore-frameset):
5916 Do not pass :filters argument.
5917
5918 * frameset.el (frameset-live-filter-alist)
5919 (frameset-persistent-filter-alist): New variables.
5920 (frameset-filter-alist): Use them. Add autoload cookie.
5921 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5922 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5923 `frameset--id' (it's supposed to be internal to frameset.el).
5924 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5925 (frameset--initial-params): New function.
5926 (frameset--get-frame): Use it. Doc fix.
5927 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5928 Accept :all, not 'all.
5929 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5930 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5931 with fbound symbols. Fix frame id matching, and remove matching ids if
5932 the frame being restored is deleted. Obey :delete.
5933
5934 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * subr.el (macrop): New function.
5937 (text-clone--maintaining): New var.
5938 (text-clone--maintain): Rename from text-clone-maintain. Use it
5939 instead of inhibit-modification-hooks.
5940
5941 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5942 a proxy, so as handle autoloads and redefinitions of the target.
5943 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5944
5945 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5946 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5947 (pcase--mutually-exclusive-p): New function.
5948 (pcase--split-consp): Use it.
5949 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5950 mutually exclusive with the current predicate.
5951
5952 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5953 (edebug-macrop): Remove. Use `macrop' instead.
5954 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5955 (ad-macro-p):
5956 * eshell/esh-cmd.el (eshell-macrop):
5957 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5958
5959 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5962 (advice-mapc): New function, using it.
5963 (advice-function-member-p): New function.
5964 (advice--normalize): Store the cdr in advice--saved-rewrite since
5965 that's the part that will be changed.
5966 (advice--symbol-function): New function.
5967 (advice-remove): Handle removal before the function is defined.
5968 Adjust to new advice--saved-rewrite.
5969 (advice-member-p): Use advice-function-member-p and
5970 advice--symbol-function.
5971
5972 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5975 (frameset-filter-minibuffer): Doc fix.
5976 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5977 (frameset--set-id, frameset--process-minibuffer-frames)
5978 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5979 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5980
5981 * desktop.el (desktop-clear): Only delete frames when called
5982 interactively and desktop-restore-frames is non-nil. Doc fix.
5983 (desktop-read): Set desktop-saved-frameset to nil.
5984
5985 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5986
5987 * vc/vc.el (vc-ignore): Rewrite.
5988 (vc-default-ignore-completion-table):
5989 (vc--read-lines):
5990 (vc--add-line, vc--remove-regexp): New functions.
5991
5992 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5993 (vc-svn-ignore-completion-table): New function.
5994
5995 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5996 (vc-hg-ignore-completion-table):
5997 (vc-hg-find-ignore-file): New functions.
5998
5999 * vc/vc-git.el (vc-git-ignore): Rewrite.
6000 (vc-git-ignore-completion-table):
6001 (vc-git-find-ignore-file): New functions.
6002
6003 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6004
6005 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6006 (vc-bzr-ignore-completion-table):
6007 (vc-bzr-find-ignore-file): New functions.
6008
6009 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * frameset.el (frameset-prop): New function and setter.
6012 (frameset-save): Do not modify frame list passed by the caller.
6013
6014 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6017
6018 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6021 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6022
6023 * custom.el (custom-initialize-default, custom-initialize-set)
6024 (custom-initialize-reset, custom-initialize-changed): Affect the
6025 toplevel-default-value (bug#6275, bug#14586).
6026 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6027 for bug#6275.
6028
6029 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6030
6031 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6032 Add cl-def* expressions.
6033
6034 * frameset.el (frameset-filter-params): Fix order of arguments.
6035
6036 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6037
6038 Move code related to saving frames to frameset.el.
6039 * desktop.el: Require frameset.
6040 (desktop-restore-frames): Doc fix.
6041 (desktop-restore-reuses-frames): Rename from
6042 desktop-restoring-reuses-frames.
6043 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6044 (desktop-clear): Clear frames too.
6045 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6046 (desktop--filter-tty*, desktop-save, desktop-read):
6047 Use frameset functions.
6048 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6049 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6050 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6051 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6052 (desktop--process-minibuffer-frames, desktop-save-frames)
6053 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6054 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6055 (desktop--sort-states, desktop-restoring-frames-p)
6056 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6057 (desktop-restoring-frameset-p, desktop-restore-frameset)
6058 (desktop--check-dont-save, desktop-save-frameset): New functions.
6059 (desktop--app-id): New constant.
6060 (desktop-first-buffer, desktop-buffer-ok-count)
6061 (desktop-buffer-fail-count): Move before first use.
6062 * frameset.el: New file.
6063
6064 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * files.el: Use lexical-binding.
6067 (dir-locals-read-from-file): Remove unused `err' variable.
6068 (hack-dir-local-variables--warned-coding): New var.
6069 (hack-dir-local-variables): Use it to avoid repeated warnings.
6070 (make-backup-file-name--default-function): New function.
6071 (make-backup-file-name-function): Use it as default.
6072 (buffer-stale--default-function): New function.
6073 (buffer-stale-function): Use it as default.
6074 (revert-buffer-insert-file-contents--default-function): New function.
6075 (revert-buffer-insert-file-contents-function): Use it as default.
6076 (insert-directory): Avoid add-to-list.
6077
6078 * autorevert.el (auto-revert-handler): Simplify.
6079 Use buffer-stale--default-function.
6080
6081 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6082
6083 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6084
6085 * whitespace.el (whitespace-ensure-local-variables): New function.
6086 (whitespace-cleanup-region): Call it.
6087 (whitespace-turn-on): Call it.
6088
6089 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6090
6091 Complete file name handlers.
6092
6093 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6094 (tramp-handle-verify-visited-file-modtime)
6095 (tramp-handle-file-notify-rm-watch): New functions.
6096 (tramp-call-process): Do not bind `default-directory'.
6097
6098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6099 Order alphabetically.
6100 [access-file, add-name-to-file, dired-call-process]:
6101 [dired-compress-file, file-acl, file-notify-rm-watch]:
6102 [file-ownership-preserved-p, file-selinux-context]:
6103 [make-directory-internal, make-symbolic-link, set-file-acl]:
6104 [set-file-selinux-context, set-visited-file-modtime]:
6105 [verify-visited-file-modtime]: Add handler.
6106 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6107
6108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6109 [file-notify-add-watch, file-notify-rm-watch]:
6110 [set-file-times, set-visited-file-modtime]:
6111 [verify-visited-file-modtime]: Add handler.
6112 (with-tramp-gvfs-error-message)
6113 (tramp-gvfs-handle-set-visited-file-modtime)
6114 (tramp-gvfs-fuse-file-name): Remove.
6115 (tramp-gvfs-handle-file-notify-add-watch)
6116 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6117 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6118
6119 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6120 Order alphabetically.
6121 [file-notify-rm-watch ]: Use default Tramp handler.
6122 [executable-find]: Remove private handler.
6123 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6124 `default-directory'.
6125 (tramp-sh-handle-executable-find)
6126 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6127 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6128 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6129 Do not use `format' in `tramp-message'.
6130
6131 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6132 [file-notify-rm-watch, set-visited-file-modtime]:
6133 [verify-visited-file-modtime]: Add handler.
6134 (tramp-smb-call-winexe): Do not bind `default-directory'.
6135
6136 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6137
6138 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6139
6140 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6141
6142 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6143 use it.
6144 (log-view-diff-changeset): Same.
6145 (log-view-diff-common): Call backend command `previous-revision'
6146 to find out the previous revision, in both cases. Swap the
6147 variables `to' and `fr', so that `fr' usually refers to the
6148 earlier revision (Bug#14989).
6149
6150 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6151
6152 * ibuf-ext.el (ibuffer-filter-by-filename):
6153 Make it work with dired buffers too.
6154
6155 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6156
6157 * emacs-lisp/re-builder.el (reb-color-display-p):
6158 * files.el (save-buffers-kill-terminal):
6159 * net/browse-url.el (browse-url):
6160 * server.el (server-save-buffers-kill-terminal):
6161 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6162 Prefer nil to selected-frame for the first arg of frame-parameter.
6163
6164 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6165
6166 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6167
6168 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6169
6170 * minibuffer.el (completion--twq-all): Try and preserve each
6171 completion's case choice (bug#14907).
6172
6173 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6174
6175 * net/network-stream.el (open-network-stream): Mention the new
6176 :nogreeting parameter.
6177 (network-stream-open-starttls): Use the :nogreeting parameter
6178 (bug#14938).
6179
6180 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6181
6182 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6183 more natural than popping.
6184
6185 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6186 (shr-urlify): Highlight under mouse.
6187
6188 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6189
6190 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6191
6192 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6193
6194 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6195 buffer for output.
6196
6197 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6198 point-min==1. Fix search string. Fix parentheses missing.
6199
6200 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6201 assume point-min==1. Fix search string. Fix parentheses missing.
6202
6203 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6204
6205 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6206 buffer for output.
6207
6208 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6209
6210 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6211 initial frame is minibuffer-less. (Bug#14841)
6212
6213 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6216 option.
6217
6218 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6219 (tramp-maybe-open-connection): Use it.
6220
6221 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6224 minimal set of parameters passed when creating a frame, because
6225 the minibuffer status of a frame cannot be changed later.
6226
6227 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6228
6229 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6230 replace-regexp-in-string and inadvertent omissions in previous change.
6231 (todo-filter-items): Ensure only file names are comma-separated in
6232 name of filtered items buffer.
6233
6234 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6235
6236 * desktop.el: Optionally force offscreen frames back onscreen.
6237 (desktop-restoring-reuses-frames): New option.
6238 (desktop--compute-pos, desktop--move-onscreen): New functions.
6239 (desktop--make-frame): Use desktop--move-onscreen.
6240
6241 2013-07-27 Alan Mackenzie <acm@muc.de>
6242
6243 Fontify a Java generic method as a function.
6244 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6245 value to t.
6246
6247 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6248
6249 * calendar/todo-mode.el: Add command to rename todo files.
6250 (todo-rename-file): New command.
6251 (todo-key-bindings-t): Add key binding for it. Change the
6252 bindings of todo-filter-regexp-items(-multifile) to use `x'
6253 instead of `r', since the latter is better suited to the new
6254 renaming command.
6255
6256 2013-07-27 Alan Mackenzie <acm@muc.de>
6257
6258 Make Java try-with-resources statement parse properly.
6259 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6260 (c-block-stmt-1-2-key): New language constants/variables.
6261 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6262 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6263 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6264 with c-block-stmt-1-2-key.
6265
6266 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * desktop.el (desktop--make-frame): Apply most frame parameters after
6269 creating the frame to force (partially or totally) offscreen frames to
6270 be restored as such.
6271
6272 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6273
6274 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6275 (Bug#14948)
6276
6277 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6280 `base' arg of backtrace-frame.
6281
6282 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6283
6284 * simple.el (list-processes): Doc fix.
6285
6286 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * desktop.el (desktop--select-frame):
6289 Try harder to reuse existing frames.
6290
6291 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6294 (edebug-eval): Use backtrace-eval.
6295 (edebug--display, edebug--recursive-edit): Don't let-bind the
6296 edebug-outer-* vars that keep track of variables we locally let-bind.
6297 (edebug-outside-excursion): Don't restore outside values of locally
6298 let-bound vars.
6299 (edebug--display): Use user-error.
6300 (cl-lexical-debug, cl-debug-env): Remove.
6301
6302 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6303
6304 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6305 are restored to be sure that they are visible before deleting any
6306 remaining ones.
6307
6308 2013-07-26 Matthias Meulien <orontee@gmail.com>
6309
6310 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6311 vc-print-root-log. (Bug#14948)
6312
6313 2013-07-26 Richard Stallman <rms@gnu.org>
6314
6315 Add aliases for encrypting mail.
6316 * epa.el (epa-mail-aliases): New option.
6317 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6318 Bind inhibit-read-only so read-only text doesn't ruin everything.
6319 (epa-mail-default-recipients): New subroutine broken out.
6320 Handle epa-mail-aliases.
6321
6322 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 Add support for lexical variables to the debugger's `e' command.
6325 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6326 vars, except for debugger-outer-match-data.
6327 (debugger-frame-number): Move check for "on a function call" from
6328 callers into it. Add `skip-base' argument.
6329 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6330 (debugger-env-macro): Only reset the state stored in non-variables,
6331 i.e. current-buffer and match-data.
6332 (debugger-eval-expression): Rewrite using backtrace-eval.
6333 * subr.el (internal--called-interactively-p--get-frame): Remove.
6334 (called-interactively-p):
6335 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6336 `base' arg of backtrace-frame instead.
6337
6338 2013-07-26 Glenn Morris <rgm@gnu.org>
6339
6340 * align.el (align-regexp): Doc fix. (Bug#14857)
6341 (align-region): Explicit error if subexpression missing/does not match.
6342
6343 * simple.el (global-visual-line-mode):
6344 Do not duplicate the mode lighter. (Bug#14858)
6345
6346 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6347
6348 * window.el (display-buffer): In display-buffer bind
6349 split-window-keep-point to t, bug#14829.
6350
6351 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6354 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6355 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6356 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6357 Change accordingly.
6358 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6359 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6360
6361 2013-07-25 Glenn Morris <rgm@gnu.org>
6362
6363 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6364
6365 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6368 parameter to modify-frame-parameters if the value has not changed;
6369 this is a workaround for bug#14949.
6370 (desktop--make-frame): On cl-delete-if call, check parameter name,
6371 not full parameter.
6372
6373 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6374
6375 * vc/vc.el (vc-ignore): New function.
6376
6377 * vc/vc-svn.el (vc-svn-ignore): New function.
6378
6379 * vc/vc-hg.el (vc-hg-ignore): New function.
6380
6381 * vc/vc-git.el (vc-git-ignore): New function.
6382
6383 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6384 (vc-dir-ignore): New function.
6385
6386 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6387 (cvs-append-to-ignore): Move here from pcvs.el.
6388
6389 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6390
6391 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6392
6393 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6394
6395 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6396 (desktop-restore-frames): Warn when deleting an existing frame failed.
6397
6398 2013-07-24 Glenn Morris <rgm@gnu.org>
6399
6400 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6401
6402 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6403
6404 * filenotify.el (file-notify-supported-p):
6405 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6406 Remove functions.
6407
6408 * autorevert.el (auto-revert-use-notify):
6409 (auto-revert-notify-add-watch):
6410 * net/tramp.el (tramp-file-name-for-operation):
6411 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6412 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6413 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6414 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6415 Remove `file-notify-supported-p' entry.
6416
6417 2013-07-24 Glenn Morris <rgm@gnu.org>
6418
6419 * printing.el: Replace all uses of deleted ps-windows-system,
6420 ps-lp-system, ps-flatten-list with lpr- versions.
6421
6422 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6425 checked with memq (bug#14935).
6426
6427 * files.el (revert-buffer-function): Use a non-nil default.
6428 (revert-buffer-preserve-modes): Declare var to
6429 provide access to the `preserve-modes' argument.
6430 (revert-buffer): Let-bind it.
6431 (revert-buffer--default): New function, extracted from revert-buffer.
6432
6433 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * lpr.el: Signal print errors more prominently.
6436 (print-region-function): Don't default to nil.
6437 (lpr-print-region): New function, extracted from print-region-1.
6438 Check lpr's return value and signal an error in case of problem.
6439 (print-region-1): Use it.
6440 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6441 versions instead.
6442 (ps-printer-name): Default to nil.
6443 (ps-printer-name-option): Default to lpr-printer-switch.
6444 (ps-print-region-function): Don't default to nil.
6445 (ps-postscript-code-directory): Simplify default.
6446 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6447 (ps-string-list, ps-eval-switch, ps-flatten-list)
6448 (ps-flatten-list-1): Remove.
6449 (ps-multibyte-buffer): Avoid setq.
6450 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6451 (print-region-function, ps-print-region-function): Don't set them here.
6452
6453 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6454
6455 * ido.el (ido-fractionp):
6456 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6457 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6458 (ido-max-directory-size, ido-max-dir-file-cache)
6459 (ido-decorations): Doc fix.
6460
6461 * ansi-color.el: Fix old URL.
6462
6463 2013-07-23 Michael R. Mauger <michael@mauger.com>
6464
6465 * progmodes/sql.el: Version 3.3
6466 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6467 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6468 (sql-interactive-remove-continuation-prompt): Rewrite, use
6469 functions above. Fix continuation prompt and complete output line
6470 handling.
6471 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6472 redirected output buffer.
6473 (sql-mode): Restore deleted code (Bug#13591).
6474
6475 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6478
6479 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6480
6481 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6482
6483 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6484 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6485 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6486
6487 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6488
6489 * desktop.el (desktop-clear): Simplify; remove useless checks
6490 against invalid buffer names.
6491 (desktop-list*): Use cl-list*.
6492 (desktop-buffer-info, desktop-create-buffer): Simplify.
6493
6494 2013-07-23 Leo Liu <sdl.web@gmail.com>
6495
6496 * bookmark.el (bookmark-make-record): Restore NAME as a default
6497 value. (Bug#14933)
6498
6499 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6502 extracted from autoload--insert-text.
6503 (autoload--insert-text): Remove.
6504 (autoload--print-cookie-text): New function, extracted from
6505 autoload--insert-cookie-text.
6506 (autoload--insert-cookie-text): Remove.
6507 (autoload-generate-file-autoloads): Adjust calls accordingly.
6508
6509 * winner.el (winner-hook-installed-p): Remove.
6510 (winner-mode): Simplify accordingly.
6511
6512 * subr.el (add-to-list): Fix compiler-macro when `append' is
6513 not constant. Don't use `cl-member' for the base case.
6514
6515 * progmodes/subword.el: Fix boundary case (bug#13758).
6516 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6517 own group.
6518 (subword-backward-regexp): Make it a constant.
6519 (subword-forward-internal): Don't treat a trailing capital as the
6520 beginning of a word.
6521
6522 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6523
6524 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6525 global value of tabulated-list-revert-hook (bug#14930).
6526
6527 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6528
6529 * desktop.el: Require 'cl-lib.
6530 (desktop-before-saving-frames-functions): New hook.
6531 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6532 for frames being saved. Rename from desktop--save-minibuffer-frames.
6533 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6534 Do not save frames with non-nil `desktop-dont-save' parameter.
6535 Filter out deleted frames.
6536 (desktop--find-frame): Use cl-find-if.
6537 (desktop--select-frame): Use cl-(first|second|third) to access values
6538 of desktop-mini.
6539 (desktop--make-frame): Use cl-delete-if.
6540 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6541 (desktop-restore-frames): Use cl-(first|second|third) to access values
6542 of desktop-mini. Look for visible frame at the end, not while
6543 restoring frames.
6544
6545 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6546 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6547 Use string-match-p, looking-at-p (bug#14927).
6548
6549 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * desktop.el (desktop-saved-frame-states):
6552 Rename from desktop--saved-states; all users changed.
6553 (desktop-save-frames): Rename from desktop--save-frames.
6554 Do not save state to desktop file.
6555 (desktop-save): Save desktop-saved-frame-states to desktop file
6556 and reset to nil.
6557 (desktop-restoring-frames-p): New function.
6558 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6559 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6560 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6561
6562 * desktop.el: Correctly restore iconified frames.
6563 (desktop--filter-iconified-position): New function.
6564 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6565
6566 2013-07-20 Glenn Morris <rgm@gnu.org>
6567
6568 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6569 Let `message' do the formatting.
6570 (def-gdb-preempt-display-buffer): Add explicit format.
6571
6572 * image-dired.el (image-dired-track-original-file):
6573 Use with-current-buffer.
6574 (image-dired-track-thumbnail): Use with-current-buffer.
6575 Avoid changing point of wrong window.
6576
6577 * image-dired.el (image-dired-track-original-file):
6578 Avoid changing point of wrong window. (Bug#14909)
6579
6580 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6581
6582 * progmodes/gdb-mi.el (gdb-done-or-error):
6583 Guard against "%" in gdb output. (Bug#14127)
6584
6585 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6586
6587 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6588 (Bug#14826)
6589
6590 * international/mule.el (coding-system-iso-2022-flags): Fix last
6591 change.
6592
6593 2013-07-20 Kenichi Handa <handa@gnu.org>
6594
6595 * international/mule.el (coding-system-iso-2022-flags):
6596 Add `8-bit-level-4'. (Bug#8522)
6597
6598 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599
6600 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6601 (bug#14815).
6602
6603 * net/eww.el (eww-process-text-input): Allow inputting when the
6604 point is at the start of the line, as the properties aren't
6605 front-sticky.
6606
6607 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6608 degenerate widths.
6609
6610 2013-07-19 Richard Stallman <rms@gnu.org>
6611
6612 * epa.el (epa-popup-info-window): Doc fix.
6613
6614 * subr.el (split-string): New arg TRIM.
6615
6616 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6617
6618 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6619 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6620
6621 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * filenotify.el (file-notify--library): Rename from
6624 `file-notify-support'. Do not autoload. Adapt all uses.
6625 (file-notify-supported-p): New defun.
6626
6627 * autorevert.el (auto-revert-use-notify):
6628 Use `file-notify-supported-p' instead of `file-notify-support'.
6629 Adapt docstring.
6630 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6631
6632 * net/tramp.el (tramp-file-name-for-operation):
6633 Add `file-notify-supported-p'.
6634
6635 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6636 New defun.
6637 (tramp-sh-file-name-handler-alist): Add it as handler for
6638 `file-notify-supported-p '.
6639
6640 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6641 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6642 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6643 Add `ignore' as handler for `file-notify-*' functions.
6644
6645 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6646
6647 * simple.el (line-move-partial, line-move): Don't start vscroll or
6648 scroll-up if the current line is not taller than the window.
6649 (Bug#14881)
6650
6651 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6652
6653 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6654 highlight question marks in the method names as strings.
6655 (ruby-block-beg-keywords): Inline.
6656 (ruby-font-lock-keyword-beg-re): Extract from
6657 `ruby-font-lock-keywords'.
6658
6659 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6660
6661 * frame.el (blink-cursor-blinks): New defcustom.
6662 (blink-cursor-blinks-done): New defvar.
6663 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6664 (blink-cursor-timer-function): Check if number of blinks has been
6665 done on X and NS.
6666 (blink-cursor-suspend, blink-cursor-check): New defuns.
6667
6668 2013-07-15 Glenn Morris <rgm@gnu.org>
6669
6670 * edmacro.el (edmacro-format-keys): Fix previous change.
6671
6672 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6673
6674 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6675 The hack didn't work outside English locales anyway.
6676
6677 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * simple.el (define-alternatives): Rename from alternatives-define,
6680 per RMS' suggestion.
6681
6682 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6683
6684 * desktop.el (desktop-restore-frames): Change default to t.
6685 (desktop-restore-in-current-display): Now offer more options.
6686 (desktop-restoring-reuses-frames): New customization option.
6687 (desktop--saved-states): Doc fix.
6688 (desktop-filter-parameters-alist): New variable, renamed and expanded
6689 from desktop--excluded-frame-parameters.
6690 (desktop--target-display): New variable.
6691 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6692 (desktop--filter-tty*, desktop--filter-*-color)
6693 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6694 (desktop--filter-save-desktop-parm)
6695 (desktop-restore-in-original-display-p): New functions.
6696 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6697 (desktop--save-minibuffer-frames): New function, inspired by a similar
6698 function from Martin Rudalics.
6699 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6700 (desktop--restore-in-this-display-p): Remove.
6701 (desktop--find-frame): Rename from desktop--find-frame-in-display
6702 and add predicate argument.
6703 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6704 (desktop--reuse-list): New variable.
6705 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6706 New functions.
6707 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6708
6709 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6710
6711 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6712
6713 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6714
6715 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6716 Highlight conversion methods on Kernel.
6717
6718 2013-07-13 Alan Mackenzie <acm@muc.de>
6719
6720 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6721 and comment it out. This out-commenting enables certain C++
6722 declarations to be parsed correctly.
6723
6724 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6725
6726 * international/mule.el (define-coding-system): Doc fix.
6727
6728 * simple.el (default-font-height): Don't call font-info if the
6729 frame's default font didn't change since the frame was created.
6730 (Bug#14838)
6731
6732 2013-07-13 Leo Liu <sdl.web@gmail.com>
6733
6734 * ido.el (ido-read-file-name): Guard against non-symbol value.
6735
6736 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6737
6738 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6739 in nested defuns.
6740
6741 2013-07-13 Leo Liu <sdl.web@gmail.com>
6742
6743 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6744 ido-set-matches call. (Bug#6852)
6745
6746 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6747
6748 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6749 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6750 Ruby 2.0.
6751 (ruby-font-lock-keywords): Distinguish calls to functions with
6752 module-like names from module references. Highlight character
6753 literals.
6754
6755 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6756
6757 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6758 (gdb-send): Handle continued commands. (Bug#14847)
6759
6760 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6761
6762 * desktop.el (desktop--v2s): Remove unused local variable.
6763 (desktop-save-buffer): Make defvar-local; adjust docstring.
6764 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6765 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6766
6767 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6768
6769 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6770
6771 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6772
6773 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6774 (Bug#14842)
6775
6776 2013-07-12 Glenn Morris <rgm@gnu.org>
6777
6778 * doc-view.el: Require cl-lib at runtime too.
6779 (doc-view-remove-if): Remove.
6780 (doc-view-search-next-match, doc-view-search-previous-match):
6781 Use cl-remove-if.
6782
6783 * edmacro.el: Require cl-lib at runtime too.
6784 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6785 (edmacro-mismatch, edmacro-subseq): Remove.
6786
6787 * shadowfile.el: Require cl-lib.
6788 (shadow-remove-if): Remove.
6789 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6790 Use cl-remove-if.
6791
6792 * wid-edit.el: Require cl-lib.
6793 (widget-choose): Use cl-remove-if.
6794 (widget-remove-if): Remove.
6795
6796 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6797 (ebrowse-delete-if-not): Remove.
6798 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6799 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6800 Use cl-delete-if-not.
6801
6802 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6805 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6806
6807 2013-07-12 Leo Liu <sdl.web@gmail.com>
6808
6809 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6810
6811 2013-07-11 Glenn Morris <rgm@gnu.org>
6812
6813 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6814 (edebug-gensym-index, edebug-gensym):
6815 Remove reimplementation of cl-gensym.
6816 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6817
6818 * thumbs.el: Require cl-lib at run-time too.
6819 (thumbs-gensym-counter, thumbs-gensym):
6820 Remove reimplementation of cl-gensym.
6821 (thumbs-temp-file): Use cl-gensym.
6822
6823 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6824 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6825 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6826 (ert--union, ert--gensym-counter, ert--gensym-counter)
6827 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6828 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6829 (ert-make-test-unbound, ert--expand-should-1)
6830 (ert--expand-should, ert--should-error-handle-error)
6831 (should-error, ert--explain-equal-rec)
6832 (ert--plist-difference-explanation, ert-select-tests)
6833 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6834 Use cl-lib functions rather than reimplementations.
6835
6836 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6837
6838 * net/tramp.el (tramp-methods): Extend docstring.
6839 (tramp-connection-timeout): New defcustom.
6840 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6841 (with-tramp-progress-reporter): Simplify.
6842 (tramp-process-actions): Improve messages.
6843
6844 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6845 * net/tramp-sh.el (tramp-maybe-open-connection):
6846 Use `tramp-connection-timeout'.
6847 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6848 (Bug#14808)
6849
6850 2013-07-11 Leo Liu <sdl.web@gmail.com>
6851
6852 * ido.el (ido-read-file-name): Conform to the requirements of
6853 read-file-name. (Bug#11861)
6854 (ido-read-directory-name): Conform to the requirements of
6855 read-directory-name.
6856
6857 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6858
6859 * subr.el (delay-warning): New function.
6860
6861 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6862
6863 * simple.el (default-line-height): New function.
6864 (line-move-partial, line-move): Use it instead of computing the
6865 line height inline.
6866 (line-move-partial): Always compute ROWH. If the last line is
6867 partially-visible, but its text is completely visible, allow
6868 cursor to enter such a partially-visible line.
6869
6870 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6871
6872 Improve error messages. (Bug#14808)
6873
6874 * net/tramp.el (tramp-current-connection): New defvar, moved from
6875 tramp-sh.el.
6876 (tramp-message-show-progress-reporter-message): Remove, not
6877 needed anymore.
6878 (tramp-error-with-buffer): Show message in minibuffer.
6879 Discard input before waiting. Reset connection timestamp.
6880 (with-tramp-progress-reporter): Improve messages.
6881 (tramp-process-actions): Use progress reporter. Delete process in
6882 case of error. Improve messages.
6883
6884 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6885 Call `tramp-error-with-buffer' with vector and buffer.
6886 (tramp-current-connection): Remove.
6887 (tramp-maybe-open-connection): The car of
6888 `tramp-current-connection' are the first 3 slots of the vector.
6889
6890 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6891
6892 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6893 inside continued strings.
6894
6895 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6896
6897 Timestamp fixes for undo (Bug#14824).
6898 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6899
6900 2013-07-10 Leo Liu <sdl.web@gmail.com>
6901
6902 * files.el (require-final-newline): Allow safe local value.
6903 (Bug#14834)
6904
6905 2013-07-09 Leo Liu <sdl.web@gmail.com>
6906
6907 * ido.el (ido-read-directory-name): Handle fallback.
6908 (ido-read-file-name): Update DIR to ido-current-directory.
6909 (Bug#1516)
6910 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6911
6912 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6913
6914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6915 "autoload". Remove "warn lower camel case" section, previously
6916 commented out. Highlight negation char. Do not highlight the
6917 target in singleton method definitions.
6918
6919 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * faces.el (tty-setup-hook): Declare the hook.
6922
6923 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6924 and detect when a guard/pred depends on local vars (bug#14773).
6925 (pcase--u1): Adjust caller.
6926
6927 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6928
6929 * simple.el (line-move-partial, line-move): Account for
6930 line-spacing.
6931 (line-move-partial): Avoid setting vscroll when the last
6932 partially-visible line in window is of default height.
6933
6934 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6935
6936 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6937 been used a while.
6938
6939 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6940
6941 * subr.el (read-quoted-char): Remove unused local variable `char'.
6942
6943 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6944
6945 * ediff.el (ediff-version): Version update.
6946 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6947 (ediff-merge-with-ancestor-command, ediff-directories-command)
6948 (ediff-directories3-command, ediff-merge-directories-command)
6949 (ediff-merge-directories-with-ancestor-command): New functions.
6950 All are command-line interfaces to ediff: to facilitate calling
6951 Emacs with the appropriate ediff functions invoked.
6952
6953 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6954 (viper-save-kill-buffer): Check if buffer is modified.
6955
6956 * viper.el (viper-version): Version update.
6957 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6958
6959 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6962 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6963 (viper-intercept-ESC-key): Simplify.
6964 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6965 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6966 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6967 (viper-setup-ESC-to-escape): New functions.
6968 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6969 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6970
6971 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6972
6973 * simple.el (default-font-height, window-screen-lines):
6974 New functions.
6975 (line-move, line-move-partial): Use them instead of
6976 frame-char-height and window-text-height. This makes scrolling
6977 text smoother when the buffer's default face uses a font that is
6978 different from the frame's default font.
6979
6980 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6981
6982 * files.el (write-file): Do not display confirm dialog for NS,
6983 it does its own dialog, which can't be cancelled (Bug#14578).
6984
6985 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6986
6987 * simple.el (line-move-partial): Adjust the row returned by
6988 posn-at-point for the current window-vscroll. (Bug#14567)
6989
6990 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6991
6992 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6993 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6994 spaces.
6995
6996 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6997
6998 * window.el (window-state-put-stale-windows): New variable.
6999 (window--state-put-2): Save list of windows without matching buffer.
7000 (window-state-put): Remove "bufferless" windows if possible.
7001
7002 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * simple.el (alternatives-define): Remove leftover :group keyword.
7005 Tweak docstring.
7006
7007 2013-07-06 Leo Liu <sdl.web@gmail.com>
7008
7009 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7010 (ido-enable-virtual-buffers): New variable.
7011 (ido-buffer-internal, ido-toggle-virtual-buffers)
7012 (ido-make-buffer-list): Use it.
7013 (ido-exhibit): Support turning on and off virtual buffers
7014 automatically.
7015
7016 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7017
7018 * simple.el (alternatives-define): New macro.
7019
7020 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * subr.el (read-quoted-char): Use read-key.
7023 (sit-for): Let read-event decode tty input (bug#14782).
7024
7025 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7026
7027 * calendar/todo-mode.el: Add handling of file deletion, both by
7028 mode command and externally. Fix various related bugs.
7029 Clarify Commentary and improve some documentation strings and code.
7030 (todo-delete-file): New command.
7031 (todo-check-file): New function.
7032 (todo-show): Handle external deletion of the file we're trying to
7033 show (bug#14688). Replace called-interactively-p by an optional
7034 prefix argument to avoid problematic interaction with catch form
7035 when byte compiled (bug#14702).
7036 (todo-quit): Handle external deletion of the archive's todo file.
7037 Make sure the buffer that was visiting the archive file is still
7038 live before trying to bury it.
7039 (todo-category-completions): Handle external deletion of any
7040 category completion files.
7041 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7042 of todo files, in case of external deletion.
7043 (todo-add-file): Replace unnecessary setq by let-binding.
7044 (todo-find-archive): Check whether there are any archives.
7045 Replace unnecessary setq by let-binding.
7046 (todo-archive-done-item): Use find-file-noselect to get the
7047 archive buffer whether or not the archive already exists.
7048 Remove superfluous code. Use file size instead of buffer-file-name to
7049 check if the archive is new; if it is, update list of archives.
7050 (todo-default-todo-file): Allow nil to be a valid value for when
7051 there are no todo files.
7052 (todo-reevaluate-default-file-defcustom): Use corrected definition
7053 of todo-default-todo-file.
7054 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7055 (todo-delete-category, todo-show-categories-table)
7056 (todo-category-number): Clarify comment.
7057 (todo-filter-items): Clarify documentation string.
7058 (todo-show-current-file, todo-display-as-todo-file)
7059 (todo-reset-and-enable-done-separator): Tweak documentation string.
7060 (todo-done-separator): Make separator length window-width, since
7061 bug#2749 is now fixed.
7062
7063 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7064
7065 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7066 Support both "gvfs-monitor-dir" and "inotifywait".
7067 (tramp-sh-file-inotifywait-process-filter): Rename from
7068 `tramp-sh-file-notify-process-filter'.
7069 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7070 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7071
7072 2013-07-05 Leo Liu <sdl.web@gmail.com>
7073
7074 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7075
7076 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7077
7078 * frame.el (display-pixel-height, display-pixel-width)
7079 (display-mm-height, display-mm-width): Mention behavior on
7080 multi-monitor setups in docstrings.
7081 (w32-display-monitor-attributes-list): Declare function.
7082 (display-monitor-attributes-list): Use it.
7083
7084 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7085
7086 * filenotify.el: New package.
7087
7088 * autorevert.el (top): Require filenotify.el.
7089 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7090 instead.
7091 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7092 (auto-revert-notify-handler): Use `file-notify-*' functions.
7093
7094 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7095
7096 * net/tramp.el (tramp-file-name-for-operation):
7097 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7098
7099 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7100 for `file-notify-add-watch' and `file-notify-rm-watch'.
7101 (tramp-process-sentinel): Improve trace.
7102 (tramp-sh-handle-file-notify-add-watch)
7103 (tramp-sh-file-notify-process-filter)
7104 (tramp-sh-handle-file-notify-rm-watch)
7105 (tramp-get-remote-inotifywait): New defuns.
7106
7107 2013-07-03 Juri Linkov <juri@jurta.org>
7108
7109 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7110 call of `occur-read-primary-args' to interactive spec.
7111
7112 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7113 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7114
7115 2013-07-03 Matthias Meulien <orontee@gmail.com>
7116
7117 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7118 `Buffer-menu-multi-occur'. Add it to the menu.
7119 (Buffer-menu-mode): Document it in docstring.
7120 (Buffer-menu-multi-occur): New command. (Bug#14673)
7121
7122 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7125 keywords and built-ins.
7126
7127 2013-07-03 Glenn Morris <rgm@gnu.org>
7128
7129 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7130
7131 Make info-xref checks case-sensitive by default
7132 * info.el (Info-find-node, Info-find-in-tag-table)
7133 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7134 Add option for exact case matching of nodes.
7135 * info-xref.el (info-xref): New custom group.
7136 (info-xref-case-fold): New option.
7137 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7138
7139 2013-07-03 Leo Liu <sdl.web@gmail.com>
7140
7141 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7142
7143 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7144
7145 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7146 middle of block statement initially, lower the depth. Remove
7147 FIXME comment, not longer valid. Remove middle of block statement
7148 detection, no need to do that anymore since we've been using
7149 `ruby-parse-region' here.
7150
7151 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7152
7153 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7154
7155 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7156
7157 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7158
7159 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7162 (desktop-restore-in-current-display): New customization option.
7163 (desktop--excluded-frame-parameters): Add `font'.
7164 (desktop--save-frames): Rename from desktop--save-windows.
7165 (desktop--restore-in-this-display-p): New function.
7166 (desktop--make-full-frame): Remove unwanted width/height from
7167 full(width|height) frames.
7168 (desktop--restore-frames): Rename from desktop--restore-windows.
7169 Obey desktop-restore-current-display. Do not delete old frames or
7170 select a new frame unless we were able to restore at least one frame.
7171
7172 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7173
7174 * files.el (find-file-noselect): Simplify conditional expression.
7175
7176 * remember.el (remember-append-to-file):
7177 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7178
7179 Add `remember-notes' function to store random notes across Emacs
7180 restarts.
7181 * remember.el (remember-data-file): Add :set callback to affect
7182 notes buffer (if any).
7183 (remember-notes): New command.
7184 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7185 New defcustoms for the `remember-notes' function.
7186 (remember-notes-save-and-bury-buffer): New command.
7187 (remember-notes-mode-map): New variable.
7188 (remember-mode): New minor mode.
7189 (remember-notes--kill-buffer-query): New function.
7190 * startup.el (initial-buffer-choice): Add notes to custom type.
7191
7192 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7193
7194 * bindings.el (right-char, left-char): Don't call sit-for, this is
7195 no longer needed. Use arithmetic comparison only for numerical
7196 arguments.
7197
7198 * international/mule-cmds.el (select-safe-coding-system):
7199 Handle the case of FROM being a string correctly. (Bug#14755)
7200
7201 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7202
7203 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7204 progression on degenerate tables.
7205 (shr-rescale-image): ImageMagick animated images currently don't work.
7206
7207 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7208
7209 Some fixes and improvements for desktop frame restoration.
7210 It is still experimental and disabled by default.
7211 * desktop.el (desktop--save-windows): Put the selected frame at
7212 the head of the list.
7213 (desktop--make-full-frame): New function.
7214 (desktop--restore-windows): Try to re-select the frame that was
7215 selected upon saving. Do not abort if some frames fail to restore,
7216 just show an error message and continue. Set up maximized frames
7217 so they have default non-maximized dimensions.
7218
7219 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7220
7221 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7222 Don't start heredoc inside a string or comment.
7223
7224 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7225
7226 * bindings.el (visual-order-cursor-movement): New defcustom.
7227 (right-char, left-char): Provide visual-order cursor motion by
7228 calling move-point-visually. Update the doc strings.
7229
7230 2013-06-28 Kenichi Handa <handa@gnu.org>
7231
7232 * international/mule.el (define-coding-system): New coding system
7233 properties :inhibit-null-byte-detection,
7234 :inhibit-iso-escape-detection, and :prefer-utf-8.
7235 (set-buffer-file-coding-system): If :charset-list property of
7236 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7237 appropriate for setting.
7238
7239 * international/mule-cmds.el (select-safe-coding-system):
7240 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7241 multibyte characters, return utf-8 (or one of its siblings).
7242
7243 * international/mule-conf.el (prefer-utf-8): New coding system.
7244 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7245 files.
7246
7247 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7248
7249 * net/shr.el (shr-render-region): New function.
7250
7251 * net/eww.el: Autoload `eww-browse-url'.
7252
7253 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7254
7255 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7256 Adapt to `package-desc-version' being a list.
7257 Use `package--ac-desc-version' to retrieve version from a package
7258 archive element.
7259
7260 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7261
7262 New experimental feature to save&restore window and frame setup.
7263 * desktop.el (desktop-save-windows): New defcustom.
7264 (desktop--saved-states): New var.
7265 (desktop--excluded-frame-parameters): New defconst.
7266 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7267 (desktop--restore-windows, desktop--save-windows): New functions.
7268 (desktop-save): Call `desktop--save-windows'.
7269 (desktop-read): Call `desktop--restore-windows'.
7270
7271 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7272
7273 * net/shr.el (add-face-text-property): Remove compat definition.
7274
7275 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7276
7277 * info.el (Info-try-follow-nearest-node): Move search for footnote
7278 above search for node name to prevent missing a footnote (bug#14717).
7279
7280 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7281
7282 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7283
7284 2013-06-27 Leo Liu <sdl.web@gmail.com>
7285
7286 * net/eww.el (eww-read-bookmarks): Check file size.
7287
7288 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7291 advice--pending if newdef is nil or an autoload (bug#13820).
7292 (advice-mapc): New function.
7293
7294 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7295
7296 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7297 probably.
7298 (eww-mode-map): Add a menu bar.
7299 (eww-add-bookmark): New command.
7300 (eww-bookmark-mode): New mode and commands.
7301 (eww-add-bookmark): Remove newlines from the title.
7302 (eww-bookmark-browse): Don't bug out if it's the only window.
7303
7304 2013-06-26 Glenn Morris <rgm@gnu.org>
7305
7306 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7307 (hfy-size): Handle ttys. (Bug#14668)
7308
7309 * info-xref.el: Update for Texinfo 5 change in *note format.
7310 (info-xref-node-re, info-xref-note-re): New constants.
7311 (info-xref-check-buffer): Use info-xref-note-re.
7312
7313 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7316
7317 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7318 nil terminate the loop (bug#14718).
7319
7320 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7321
7322 * net/eww.el: Rework history traversal. When going forward/back,
7323 put these actions into the history, too, so that they can be
7324 replayed.
7325 (eww-render): Move the history reset to the correct buffer.
7326
7327 2013-06-25 Juri Linkov <juri@jurta.org>
7328
7329 * files-x.el (modify-dir-local-variable): Change the header comment
7330 in the file with directory local variables. (Bug#14692)
7331
7332 * files-x.el (read-file-local-variable-value): Add `default'.
7333 (Bug#14710)
7334
7335 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7336
7337 * net/eww.el (eww-make-unique-file-name): Create a unique file
7338 name before saving to entering `y' accidentally asynchronously.
7339
7340 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7341
7342 * net/eww.el (eww-download): New command and keystroke.
7343
7344 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7345
7346 * net/eww.el (eww-copy-page-url): Change name of command.
7347
7348 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7349 be more consistent with Info and dired.
7350
7351 * net/eww.el (eww-mode-map): Ditto.
7352
7353 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7356 packages from archives.
7357 (package-archive-contents): Change format; include obsolete packages.
7358 (package-desc): Use `dir' to mark builtin packages.
7359 (package--from-builtin): Set the `dir' field to `builtin'.
7360 (generated-autoload-file, version-control): Declare.
7361 (package-compute-transaction): Change first arg and return value to be
7362 lists of package-descs. Adjust to new package-archive-contents format.
7363 (package--add-to-archive-contents): Adjust to new
7364 package-archive-contents format.
7365 (package-download-transaction): Arg is now a list of package-descs.
7366 (package-install): If `pkg' is a package name, pass it as
7367 a requirement, so it is subject to the usual (e.g. disabled) checks.
7368 (describe-package): Accept package-desc as well.
7369 (describe-package-1): Describe a specific package-desc. Add links to
7370 other package-descs for the same package name.
7371 (package-menu-describe-package): Pass the actual package-desc.
7372 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7373 works correctly.
7374 (package-desc-status): New function.
7375 (package-menu--refresh): New function, extracted
7376 from package-menu--generate.
7377 (package-menu--generate): Use it.
7378 (package-delete): Update package-alist.
7379 (package-menu-execute): Don't call package-initialize.
7380
7381 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7382 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7383 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7384 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7385 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7386 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7387
7388 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7389
7390 * window.el (window--state-get-1): Workaround for bug#14527.
7391 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7392
7393 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7394
7395 * net/eww.el (eww-back-url): Implement the history by stashing all
7396 the data into a list.
7397 (eww-forward-url): Allow going forward in the history, too.
7398
7399 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7402 for values and use read--expression for expressions (bug#14710).
7403 (read-file-local-variable): Avoid setq.
7404 (read-file-local-variable-mode): Use minor-mode-list.
7405
7406 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7407
7408 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7409 for DOI URLs.
7410
7411 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7412
7413 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7414 Update imenu-support when dialect changes.
7415
7416 2013-06-25 Leo Liu <sdl.web@gmail.com>
7417
7418 * ido.el (ido-read-internal): Allow forward slash on windows.
7419
7420 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421
7422 * net/eww.el (eww): Start of strings is \\`, not ^.
7423
7424 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7425
7426 * net/shr.el (shr-browse-url): Fix interactive spec.
7427
7428 * net/eww.el (eww): Add a trailing slash to domain names.
7429
7430 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7431
7432 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7433
7434 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435
7436 * net/shr.el (shr-browse-url): Use an external browser if given a
7437 prefix.
7438
7439 * net/eww.el (eww-external-browser): Move to shr.
7440
7441 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7442
7443 * net/eww.el (eww): Work more correctly for file: URLs.
7444 (eww-detect-charset): Allow quoted charsets.
7445 (eww-yank-page-url): New command and keystroke.
7446
7447 2013-06-24 Daiki Ueno <ueno@gnu.org>
7448
7449 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7450 file name of gpg executable.
7451 (epg-context-program): New function.
7452 (epg-context-home-directory): New function.
7453 (epg-context-set-program): New function.
7454 (epg-context-set-home-directory): New function.
7455 (epg--start): Use `epg-context-program' instead of
7456 'epg-gpg-program'.
7457 (epg--list-keys-1): Likewise.
7458
7459 2013-06-24 Leo Liu <sdl.web@gmail.com>
7460
7461 * ido.el (ido-read-internal): Fix bug#14620.
7462
7463 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7464
7465 * faces.el (face-documentation): Simplify.
7466 (read-face-attribute, tty-find-type, x-resolve-font-name):
7467 Use `string-match-p'.
7468 (list-faces-display): Use `string-match-p'. Simplify.
7469 (face-spec-recalc): Check face to avoid face alias loops.
7470 (read-color): Use `string-match-p' and non-capturing parenthesis.
7471
7472 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7473
7474 * net/shr.el (shr-rescale-image): Use the new
7475 :max-width/:max-height functionality.
7476
7477 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7478
7479 * net/eww.el (eww-search-prefix): New variable.
7480 (eww): Use it.
7481 (eww-external-browser): New variable.
7482 (eww-mode-map): New keystroke.
7483 (eww-browse-with-external-browser): New command.
7484
7485 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7486
7487 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7490 Don't skip aligning the next header field when padding is 0;
7491 otherwise, field width is not respected unless the title is as
7492 wide as the field.
7493
7494 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * emacs-lisp/package.el (package-el-version): Remove.
7497 (package-process-define-package): Fix inf-loop.
7498 (package-install): Allow symbols as arguments again.
7499
7500 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7501
7502 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7503 add some more keyword-like methods.
7504 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7505
7506 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7507
7508 * bs.el (bs-buffer-show-mark): Make defvar-local.
7509 (bs-mode): Use setq-local.
7510
7511 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7512 (emacs-lock--try-unlocking): Make defvar-local.
7513
7514 2013-06-22 Glenn Morris <rgm@gnu.org>
7515
7516 * play/cookie1.el (cookie-apropos): Minor simplification.
7517
7518 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7519
7520 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7521
7522 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7523 `regexp-opt', it breaks the build during dumping.
7524
7525 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7526
7527 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7528 Highlight keyword-like methods on Kernel and Module with
7529 font-lock-builtin-face.
7530 (auto-mode-alist): Consolidate different entries into one regexp
7531 and add more *file-s.
7532
7533 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7534
7535 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7536
7537 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7538 (diary-entry): Use it in the action of this button type instead of
7539 diary-goto-entry.
7540
7541 * calendar/todo-mode.el: New version.
7542 (todo-add-category): Append new category to end of file and give
7543 it the highest number, instead of putting it at the beginning and
7544 giving it 0. Incorporate noninteractive functionality.
7545 (todo-forward-category): Adapt to 1-based category numbering.
7546 Allow skipping over archived categories.
7547 (todo-backward-category): Derive from todo-forward-category.
7548 (todo-backward-item, todo-forward-item): Make noninteractive and
7549 delegate interactive part to new commands. Make sensitive to done items.
7550 (todo-categories): Make value an alist of category names and
7551 vectors of item counts.
7552 (todo-category-beg): Make a defconst.
7553 (todo-category-number): Use 1 instead of 0 as initial value.
7554 (todo-category-select): Make sensitive to overlays, optional item
7555 highlighting and done items.
7556 (todo-delete-item): Make sensitive to overlays and marked and done items.
7557 (todo-edit-item): Make sensitive to overlays and editing of
7558 date/time header optional. Add format checks.
7559 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7560 no-op if point is not on an item. Advertise using todo-edit-quit.
7561 (todo-edit-mode): Make sensitive to new format, font-locking, and
7562 multiple todo files.
7563 (todo-insert-item, todo-insert-item-here): Derive from
7564 todo-basic-insert-item and extend functionality.
7565 (todo-item-end, todo-item-start): Make sensitive to done items.
7566 (todo-item-string): Don't return text properties. Restore point.
7567 (todo-jump-to-category): Make sensitive to multiple todo files and
7568 todo archives. Use extended category completion.
7569 (todo-lower-item, todo-raise-item): Rename to *-priority and
7570 derive from todo-set-item-priority.
7571 (todo-mode): Derive from special-mode. Make sensitive to new
7572 format, font-locking and multiple todo files. Make read-only.
7573 (todo-mode-map): Don't suppress digit keys, so they can supply
7574 prefix arguments. Add many new key bindings.
7575 (todo-prefix): Insert as an overlay instead of file text.
7576 Change semantics from diary date expression to purely visual mark.
7577 (todo-print): Rename to todo-print-buffer. Make buffer display
7578 features printable. Remove option to restrict number of items
7579 printed. Add option to print to file.
7580 (todo-print-function): Rename to todo-print-buffer-function.
7581 (todo-quit): Extend to handle exiting new todo modes.
7582 (todo-remove-item): Make sensitive to overlays.
7583 (todo-save): Extend to buffers of filtered items.
7584 (todo-show): Make sensitive to done items, multiple todo files and
7585 new todo modes. Offer to convert legacy todo file before creating
7586 first new todo file.
7587 (todo-show-priorities): Rename to todo-top-priorities.
7588 Change semantics of value 0.
7589 (todo-top-priorities): Rename to todo-filter-top-priorities,
7590 derive from todo-filter-items and extend functionality.
7591 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7592 and extend functionality to other types of filtered items.
7593 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7594 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7595 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7596 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7597 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7598 (todo-edit-mode-hook, todo-entry-prefix-function)
7599 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7600 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7601 (todo-initials, todo-insert-threshold, todo-item-string-start)
7602 (todo-line-string, todo-menu, todo-mode-hook)
7603 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7604 (todo-print-priorities, todo-remove-separator)
7605 (todo-save-top-priorities-too, todo-string-count-lines)
7606 (todo-string-multiline-p, todo-time-string-format)
7607 (todo-tmp-buffer-name): Remove.
7608 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7609 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7610 (todo-edit-category-diary-inclusion)
7611 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7612 (todo-edit-file, todo-edit-item-date-day)
7613 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7614 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7615 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7616 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7617 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7618 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7619 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7620 (todo-filter-top-priorities-multifile, todo-find-archive)
7621 (todo-find-filtered-items-file, todo-go-to-source-item)
7622 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7623 (todo-jump-to-archive-category, todo-lower-category)
7624 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7625 (todo-move-category, todo-move-item, todo-next-button)
7626 (todo-next-item, todo-padded-string, todo-powerset)
7627 (todo-previous-button, todo-previous-item)
7628 (todo-print-buffer-to-file, todo-raise-category)
7629 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7630 (todo-set-category-number, todo-set-item-priority)
7631 (todo-set-top-priorities-in-category)
7632 (todo-set-top-priorities-in-file, todo-show-categories-table)
7633 (todo-sort-categories-alphabetically-or-numerically)
7634 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7635 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7636 (todo-toggle-item-header, todo-toggle-item-highlighting)
7637 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7638 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7639 (todo-unarchive-items, todo-unmark-category): New commands.
7640 (todo-absolute-file-name, todo-add-to-buffer-list)
7641 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7642 (todo-basic-insert-item, todo-category-completions)
7643 (todo-category-number, todo-category-string-matcher-1)
7644 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7645 (todo-check-format, todo-clear-matches)
7646 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7647 (todo-current-category, todo-date-string-matcher)
7648 (todo-define-insertion-command, todo-diary-expired-matcher)
7649 (todo-diary-goto-entry, todo-diary-item-p)
7650 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7651 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7652 (todo-done-item-section-p, todo-done-separator)
7653 (todo-done-string-matcher, todo-files, todo-filter-items)
7654 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7655 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7656 (todo-insert-category-line, todo-insert-item-from-calendar)
7657 (todo-insert-sort-button, todo-insert-with-overlays)
7658 (todo-insertion-command-name, todo-insertion-key-bindings)
7659 (todo-label-to-key, todo-longest-category-name-length)
7660 (todo-make-categories-list, todo-mode-external-set)
7661 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7662 (todo-modes-set-3, todo-multiple-filter-files)
7663 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7664 (todo-read-category, todo-read-date, todo-read-dayname)
7665 (todo-read-file-name, todo-read-time)
7666 (todo-reevaluate-category-completions-files-defcustom)
7667 (todo-reevaluate-default-file-defcustom)
7668 (todo-reevaluate-filelist-defcustoms)
7669 (todo-reevaluate-filter-files-defcustom)
7670 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7671 (todo-reset-done-separator, todo-reset-done-separator-string)
7672 (todo-reset-done-string, todo-reset-global-current-todo-file)
7673 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7674 (todo-reset-prefix, todo-set-categories)
7675 (todo-set-date-from-calendar, todo-set-show-current-file)
7676 (todo-set-top-priorities, todo-short-file-name)
7677 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7678 (todo-total-item-counts, todo-update-buffer-list)
7679 (todo-update-categories-display, todo-update-categories-sexp)
7680 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7681 New functions.
7682 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7683 New major modes.
7684 (todo-categories, todo-display, todo-edit, todo-faces)
7685 (todo-filtered): New defgroups.
7686 (todo-archived-only, todo-button, todo-category-string, todo-date)
7687 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7688 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7689 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7690 (todo-add-item-if-new-category, todo-always-add-time-string)
7691 (todo-categories-align, todo-categories-archived-label)
7692 (todo-categories-category-label, todo-categories-diary-label)
7693 (todo-categories-done-label, todo-categories-number-separator)
7694 (todo-categories-todo-label, todo-categories-totals-label)
7695 (todo-category-completions-files, todo-completion-ignore-case)
7696 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7697 (todo-done-separator-string, todo-done-string)
7698 (todo-files-function, todo-filter-done-items, todo-filter-files)
7699 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7700 (todo-initial-category, todo-initial-file, todo-item-mark)
7701 (todo-legacy-date-time-regexp, todo-mode-line-function)
7702 (todo-nondiary-marker, todo-number-prefix)
7703 (todo-print-buffer-function, todo-show-current-file)
7704 (todo-show-done-only, todo-show-first, todo-show-with-done)
7705 (todo-skip-archived-categories, todo-top-priorities-overrides)
7706 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7707 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7708 New defcustoms.
7709 (todo-category-done, todo-date-pattern, todo-date-string-start)
7710 (todo-diary-items-buffer, todo-done-string-start)
7711 (todo-filtered-items-buffer, todo-item-start)
7712 (todo-month-abbrev-array, todo-month-name-array)
7713 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7714 (todo-top-priorities-buffer): New defconsts.
7715 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7716 (todo-categories-with-marks, todo-category-string-face)
7717 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7718 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7719 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7720 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7721 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7722 (todo-font-lock-keywords, todo-global-current-todo-file)
7723 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7724 (todo-insertion-commands-args)
7725 (todo-insertion-commands-args-genlist)
7726 (todo-insertion-commands-names, todo-insertion-map)
7727 (todo-key-bindings-t, todo-key-bindings-t+a)
7728 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7729 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7730 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7731 (todo-visited): New variables.
7732
7733 2013-06-21 Glenn Morris <rgm@gnu.org>
7734
7735 * play/cookie1.el (cookie-apropos): Add optional display argument.
7736 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7737 (psychoanalyze-pinhead): Use cookie-doctor.
7738
7739 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * emacs-lisp/package.el (tar-get-file-descriptor)
7742 (tar--extract): Declare.
7743
7744 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7745
7746 Extend flymake's warning predicate to be a function (bug#14217).
7747 * progmodes/flymake.el (flymake-warning-predicate): New.
7748 (flymake-parse-line): Use it.
7749 (flymake-warning-re): Make obsolete alias to
7750 `flymake-warning-predicate'.
7751
7752 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7755 (package-obsolete-list): Remove.
7756 (package-activate): Remove min-version argument. Add `force' argument.
7757 Adjust to new package-alist format.
7758 (package-mark-obsolete): Remove.
7759 (package-unpack): Force reload of the package's autoloads.
7760 (package-installed-p): Check builtins if the installed package is not
7761 recent enough.
7762 (package-initialize): Don't reset package-obsolete-list.
7763 Don't specify which package version to activate.
7764 (package-process-define-package, describe-package-1)
7765 (package-menu--generate): Adjust to new package-alist format.
7766
7767 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7768
7769 * allout-widgets.el (allout-widgets-mode-off)
7770 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7771 (allout-widgets-post-command-business)
7772 (allout-widgets-after-copy-or-kill-function)
7773 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7774 (allout-decorate-item-and-context)
7775 (allout-graphics-modification-handler): Fix typos in docstrings.
7776 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7777
7778 * cmuscheme.el (scheme-start-file): Doc fix.
7779 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7780 (scheme-input-filter): Use `string-match-p'.
7781
7782 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7783
7784 * dired-x.el: Use Dired consistently in docstrings.
7785
7786 * dired.el: Use Dired consistently in docstrings.
7787 (dired-readin, dired-mode): Use `setq-local'.
7788 (dired-switches-alist): Make defvar-local.
7789 (dired-buffers-for-dir): Use `zerop'.
7790 (dired-safe-switches-p, dired-switches-escape-p)
7791 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7792 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7793 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7794 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7795 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7796 (dired-toggle-marks, dired-mark-files-containing-regexp)
7797 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7798 (dired-flag-auto-save-files, dired-flag-backup-files):
7799 Use `looking-at-p'.
7800 (dired-mark-files-regexp, dired-build-subdir-alist):
7801 Use `string-match-p', `looking-at-p'.
7802
7803 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7804 (direct-print-region-helper): Use `string-match-p'.
7805
7806 2013-06-21 Leo Liu <sdl.web@gmail.com>
7807
7808 * comint.el (comint-redirect-results-list-from-process):
7809 Fix infinite loop.
7810
7811 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812
7813 * net/eww.el (eww-update-header-line-format): Quote % characters.
7814
7815 2013-06-21 Glenn Morris <rgm@gnu.org>
7816
7817 * play/cookie1.el (cookie): New custom group.
7818 (cookie-file): New option.
7819 (cookie-check-file): New function.
7820 (cookie): Make it interactive. Make start and end messages optional.
7821 Interactively, display the result. Default to cookie-file.
7822 (cookie-insert): Default to cookie-file.
7823 (cookie-snarf): Make start and end messages optional.
7824 Default to cookie-file. Use with-temp-buffer.
7825 (cookie-read): Rename from read-cookie.
7826 Make start and end messages optional. Default to cookie-file.
7827 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7828 Do not autoload it.
7829 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7830 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7831
7832 2013-06-21 Leo Liu <sdl.web@gmail.com>
7833
7834 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7835
7836 2013-06-21 Glenn Morris <rgm@gnu.org>
7837
7838 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7839
7840 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7841 Daniel Hackney <dan@haxney.org>
7842
7843 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7844 Consolidate the single-file vs tarball code.
7845 (package-desc-suffix): New function.
7846 (package-desc-full-name): Don't bother inlining it.
7847 (package-load-descriptor): Return the new package-desc.
7848 (package-mark-obsolete): Remove unused arg `package'.
7849 (package-unpack): Make it work for single files as well.
7850 Make it update package-alist.
7851 (package--make-autoloads-and-stuff): Rename from
7852 package--make-autoloads-and-compile. Don't compile any more.
7853 (package--compile): New function.
7854 (package-generate-description-file): New function, extracted from
7855 package-unpack-single.
7856 (package-unpack-single): Remove.
7857 (package--with-work-buffer): Add indentation and debugging info.
7858 (package-download-single): Remove.
7859 (package-install-from-archive): Rename from package-download-tar, make
7860 it take a pkg-desc, and make it work for single files as well.
7861 (package-download-transaction): Simplify.
7862 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7863 external tar program.
7864 (package-install-from-buffer): Remove `pkg-desc' argument.
7865 Use package-tar-file-info for tar-mode buffers.
7866 (package-install-file): Simplify accordingly.
7867 (package-archive-base): Change to take a pkg-desc.
7868 * tar-mode.el (tar--check-descriptor): New function, extracted from
7869 tar-get-descriptor.
7870 (tar-get-descriptor): Use it.
7871 (tar-get-file-descriptor): New function.
7872 (tar--extract): New function, extracted from tar-extract.
7873 (tar--extract): Use it.
7874 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7875 case the summary uses non-ascii. Adjust to new calling convention of
7876 package-tar-file-info.
7877
7878 2013-06-21 Leo Liu <sdl.web@gmail.com>
7879
7880 * comint.el (comint-redirect-results-list-from-process):
7881 Fix random delay. (Bug#14681)
7882
7883 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * profiler.el (profiler-format-number): Use log, not log10.
7886
7887 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7888
7889 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7890
7891 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7894 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7895 yet available.
7896 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7897 (AUTOGENEL): ... here.
7898 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7899 (cl--defsubst-expand): Use it.
7900
7901 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7902
7903 * subr.el (log10): Move here from C code, and declare as obsolete.
7904 All uses of (log10 X) replaced with (log X 10).
7905
7906 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7907
7908 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7909 Declare with `defvar-local'.
7910 (tabulated-list-use-header-line, tabulated-list-entries)
7911 (tabulated-list-padding, tabulated-list-printer)
7912 (tabulated-list-sort-key): Declare with `defvar-local'.
7913 (tabulated-list-init-header, tabulated-list-print-fake-header):
7914 Use `setq-local'.
7915
7916 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7917
7918 * arc-mode.el (archive-mode): Add `archive-write-file' to
7919 `write-contents-functions' also for remote files. (Bug#14652)
7920
7921 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7922
7923 * cus-edit.el (custom-commands): Fix typos.
7924 (custom-display): Fix tooltip text.
7925 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7926 Fix typos in docstrings.
7927 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7928 (custom-unlispify-menu-entry, custom-magic-value-create)
7929 (custom-add-see-also, custom-group-value-create): Use ?\s.
7930 (custom-guess-type, customize-apropos, editable-field)
7931 (custom-face-value-create): Use `string-match-p'.
7932 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7933
7934 * custom.el (custom-load-symbol): Use `string-match-p'.
7935
7936 * ansi-color.el: Convert to lexical binding.
7937 (ansi-colors): Fix URL.
7938 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7939 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7940 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7941
7942 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7943
7944 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7945
7946 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7947
7948 2013-06-19 Tom Tromey <tromey@redhat.com>
7949
7950 * net/eww.el (eww-top-url): Remove.
7951 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7952 (eww-render): Set new variables. Don't set eww-top-url.
7953 (eww-handle-link): Handle "prev", "home", and "contents".
7954 Downcase the rel text.
7955 (eww-top-url): Choose best top URL.
7956
7957 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7958
7959 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7960 relying in widget.el. Using widget.el leads to too many
7961 user interface inconsistencies.
7962 (eww-self-insert): Implement entering commands in text fields.
7963 (eww-process-text-input): New function to make text input field editing
7964 work.
7965 (eww-submit): Rewrite to use the new-style form methods.
7966 (eww-select-display): Display the correct selected item.
7967 (eww-change-select): Implement changing the select value.
7968 (eww-toggle-checkbox): Implement radio/checkboxes.
7969 (eww-update-field): Fix compilation error.
7970 (eww-tag-textarea): Implement <textarea>.
7971
7972 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7973 we don't shadow mode-specific bindings.
7974
7975 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7976 nothing to push.
7977
7978 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7979
7980 2013-06-19 Glenn Morris <rgm@gnu.org>
7981
7982 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7983
7984 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7985
7986 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7987 not needed.
7988
7989 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7990
7991 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7992
7993 * net/browse-url.el (browse-url-browser-function):
7994 `eww-browse-url' has the right calling signature, `eww' does not.
7995
7996 2013-06-19 Glenn Morris <rgm@gnu.org>
7997
7998 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7999 Only eval autoloaded macros.
8000 (byte-compile-autoload): Only give the macro warning for macros.
8001
8002 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8003 (ps-underlined-faces): Declare.
8004
8005 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8006 (speedbar-add-supported-extension): Declare.
8007
8008 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8009 Don't include a date stamp in the header of the generated file;
8010 it leads to needless differences between output files.
8011
8012 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/secrets.el (secrets-struct-secret-content-type):
8015 Replace check of introspection data by a test call of "CreateItem".
8016 Some servers do not offer introspection.
8017
8018 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * electric.el (electric-pair-mode): Improve interaction with
8021 electric-layout-mode.
8022 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8023 (electric-pair-syntax): Use text-mode-syntax-table in comments
8024 and strings.
8025 (electric-pair--insert): New function.
8026 (electric-pair-post-self-insert-function): Use it and
8027 electric--after-char-pos.
8028
8029 2013-06-19 Leo Liu <sdl.web@gmail.com>
8030
8031 * progmodes/octave.el (octave-help): Fix regexp.
8032
8033 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8034
8035 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8036 (shr-table-horizontal-line): Allow nil as a value, and change the
8037 default.
8038 (shr-insert-table-ruler): Respect the nil value.
8039
8040 2013-06-18 Tom Tromey <tromey@barimba>
8041
8042 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8043 New defvars.
8044 (eww-open-file): New defun.
8045 (eww-render): Initialize new variables.
8046 (eww-display-html): Handle "link" and "a".
8047 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8048 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8049 (eww-back-url): Rename from eww-previous-url.
8050 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8051 New defuns.
8052
8053 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8054
8055 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8056 Distinguish ternary operator tokens from slash symbol and slash
8057 char literal.
8058
8059 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8060
8061 Convert symbol prettification into minor mode and global minor mode.
8062
8063 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8064 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8065 (prettify-symbols--keywords): Rename from
8066 `prog-prettify-symbols-alist' and make a local defvar.
8067 (prettify-symbols--compose-symbol): Rename from
8068 `prog--prettify-font-lock-compose-symbol'.
8069 (prettify-symbols--make-keywords): Rename from
8070 `prog-prettify-font-lock-symbols-keywords' and simplify.
8071 (prog-prettify-install): Remove.
8072 (prettify-symbols-mode): New minor mode, based on
8073 `prog-prettify-install'.
8074 (turn-on-prettify-symbols-mode): New function.
8075 (global-prettify-symbols-mode): New globalized minor mode.
8076
8077 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8078 * progmodes/cfengine.el (cfengine3-mode):
8079 * progmodes/perl-mode.el (perl-mode): Don't call
8080 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8081
8082 2013-06-18 Juri Linkov <juri@jurta.org>
8083
8084 * files-x.el (modify-file-local-variable-message): New function.
8085 (modify-file-local-variable)
8086 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8087 and call `modify-file-local-variable-message' when it's non-nil.
8088 (add-file-local-variable, delete-file-local-variable)
8089 (add-file-local-variable-prop-line)
8090 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8091 and use it. (Bug#9820)
8092
8093 2013-06-18 Juri Linkov <juri@jurta.org>
8094
8095 * emulation/vi.el (vi-shell-op):
8096 * emulation/vip.el (vip-execute-com, ex-command):
8097 * emulation/viper-cmd.el (viper-exec-bang):
8098 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8099 the call of `shell-command-on-region'. (Bug#14637)
8100
8101 * simple.el (shell-command-on-region): Doc fix.
8102
8103 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8106 (bug#14633).
8107
8108 2013-06-18 Glenn Morris <rgm@gnu.org>
8109
8110 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8111
8112 * newcomment.el (comment-search-forward, comment-search-backward):
8113 Doc fix. (Bug#14376)
8114
8115 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8118 (buffer-face-mode-invoke): Doc fix.
8119
8120 2013-06-18 Matthias Meulien <orontee@gmail.com>
8121
8122 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8123 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8124
8125 2013-06-18 Glenn Morris <rgm@gnu.org>
8126
8127 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8128 Replace obsolete function generic-make-keywords with its expansion.
8129
8130 * progmodes/python.el (ffap-alist): Declare.
8131
8132 * textmodes/reftex.el (bibtex-mode-map): Declare.
8133
8134 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8137 (package-unpack, package-unpack-single): Return the pkg-dir.
8138 (package-download-transaction): Use it to update package-alist.
8139
8140 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8141
8142 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8143 possible choice.
8144
8145 2013-06-17 Juri Linkov <juri@jurta.org>
8146
8147 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8148
8149 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8150
8151 * emacs-lisp/package.el (package-load-descriptor):
8152 Remove `with-syntax-table' call, `read' doesn't need it.
8153 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8154
8155 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * startup.el (command-line): Expand package name returned by
8158 `package--description-file' (bug#14639).
8159
8160 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8161
8162 * emacs-lisp/package.el (package-load-descriptor): Do not call
8163 `emacs-lisp-mode', just use its syntax table.
8164
8165 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8168 `font-lock-extra-managed-props' if any prettifying keyword is added.
8169 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8170 (prog-mode): Use `setq-local'.
8171
8172 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * international/characters.el (standard-case-table): Set syntax of ?»
8175 and ?« to punctuation.
8176
8177 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8178
8179 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8180 Save relevant match data before calling `syntax-ppss' (bug#14595).
8181
8182 2013-06-15 Juri Linkov <juri@jurta.org>
8183
8184 * files-x.el (modify-file-local-variable-prop-line): Add local
8185 variables to the end of the existing comment on the first line.
8186 Use `file-auto-mode-skip' to skip interpreter magic line,
8187 and also skip XML declaration.
8188
8189 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * startup.el (package--builtin-versions): New var.
8192 (package-subdirectory-regexp): Remove.
8193 (package--description-file): Hard code its value instead.
8194
8195 * emacs-lisp/package.el: Don't activate packages older than builtin.
8196 (package-obsolete-list): Rename from package-obsolete-alist, and make
8197 it into a simple list of package-desc.
8198 (package-strip-version): Remove.
8199 (package-built-in-p): Use package--builtin-versions.
8200 (package-mark-obsolete): Simplify.
8201 (package-process-define-package): Mark it obsolete if older than the
8202 builtin version.
8203 (package-handle-response): Use line-end-position.
8204 (package-read-archive-contents, package--download-one-archive):
8205 Simplify.
8206 (package--add-to-archive-contents): Skip if older than the builtin or
8207 installed version.
8208 (package-menu-describe-package): Fix last change.
8209 (package-list-unversioned): New var.
8210 (package-menu--generate): Use it.
8211
8212 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8213 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8214 (autoload-builtin-package-versions): New variable.
8215 (autoload-generate-file-autoloads): Use them.
8216 Remove the list of autoloaded functions/macros from the
8217 (autoload...) comments.
8218
8219 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8220
8221 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8222
8223 * simple.el (line-move-partial): Don't jump to the next screen
8224 line as soon as it becomes visible. Instead, continue enlarging
8225 the vscroll until the portion of a tall screen line that's left on
8226 display is about the height of the frame's default font.
8227 (Bug#14567)
8228
8229 2013-06-15 Glenn Morris <rgm@gnu.org>
8230
8231 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8232 compilation-error-regexp-alist void, or local while let-bound.
8233
8234 * progmodes/make-mode.el (makefile-mode-syntax-table):
8235 Treat "=" as punctuation. (Bug#14614)
8236
8237 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8238
8239 * help-fns.el (describe-variable):
8240 Add extra line for permanent-local variables.
8241
8242 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8243
8244 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8245 Add export, import, library. (Bug#9164)
8246 (library): Set indent function.
8247
8248 2013-06-14 Glenn Morris <rgm@gnu.org>
8249
8250 * term/xterm.el (xterm--query):
8251 Stop after first matching handler. (Bug#14615)
8252
8253 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8254
8255 Add support for dired in saveplace.
8256 * dired.el (dired-initial-position-hook): New variable.
8257 (dired-initial-position): Call hook to place cursor position.
8258 * saveplace.el (save-place-to-alist): Add dired position.
8259 (save-place-dired-hook): New function.
8260
8261 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8264 through a symbol rather than letrec.
8265
8266 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8267 (package-desc): Add `dir' field.
8268 (package-desc-full-name): New function.
8269 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8270 (package-maybe-load-descriptor): Remove.
8271 (package-load-all-descriptors): Just call package-load-descriptor.
8272 (package--disabled-p): New function.
8273 (package-desc-vers, package-desc-doc): Remove aliases.
8274 (package--dir): Remove function.
8275 (package-activate): Check if a package is disabled.
8276 (package-process-define-package): New function, extracted from
8277 define-package.
8278 (define-package): Turn into a place holder.
8279 (package-unpack-single, package-tar-file-info):
8280 Use package--description-file.
8281 (package-compute-transaction): Use package--disabled-p.
8282 (package-download-transaction): Don't call
8283 package-maybe-load-descriptor since they're all loaded anyway.
8284 (package-install): Change argument to be a pkg-desc.
8285 (package-delete): Use a single pkg-desc argument.
8286 (describe-package-1): Use package-desc-dir instead of package--dir.
8287 Use package-desc property instead of package-symbol.
8288 (package-install-button-action): Adjust accordingly.
8289 (package--push): Rewrite.
8290 (package-menu--print-info): Adjust accordingly. Change the ID format
8291 to be a pkg-desc.
8292 (package-menu-describe-package, package-menu-get-status)
8293 (package-menu--find-upgrades, package-menu-mark-upgrades)
8294 (package-menu-execute, package-menu--name-predicate):
8295 Adjust accordingly.
8296 * startup.el (package--description-file): New function.
8297 (command-line): Use it.
8298 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8299 Use package-desc-version.
8300
8301 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8302 (byte-compile-preprocess): Use it.
8303 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8304 can't quite recognize.
8305 (byte-compile-add-to-list): Remove.
8306 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8307 (cconv-closure-convert): Add assertion.
8308
8309 * emacs-lisp/map-ynp.el: Use lexical-binding.
8310 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8311 Factor out some repeated code.
8312
8313 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * subr.el (with-eval-after-load): New macro.
8316 (eval-after-load): Allow form to be a function.
8317 take advantage of lexical-binding.
8318 (do-after-load-evaluation): Use dolist and adjust to new format.
8319 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8320
8321 2013-06-13 Juri Linkov <juri@jurta.org>
8322
8323 * replace.el (perform-replace): Display "symbol " and other search
8324 modes from `isearch-message-prefix' in the *Help* buffer.
8325
8326 * isearch.el (isearch-query-replace): Add " symbol" and other
8327 possible search modes from `isearch-message-prefix' to the prompt.
8328 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8329 when reading a regexp to collect.
8330
8331 2013-06-13 Juri Linkov <juri@jurta.org>
8332
8333 * isearch.el (word-search-regexp): Match whitespace if the search
8334 string begins or ends in whitespace. The LAX arg is applied to
8335 both ends of the search string. Use `regexp-quote' and explicit
8336 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8337 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8338 boundaries are replaced with symbol boundaries, and characters
8339 between symbols match non-word non-symbol syntax. (Bug#14602)
8340
8341 2013-06-13 Juri Linkov <juri@jurta.org>
8342
8343 * isearch.el (isearch-del-char): Don't exceed the length of
8344 `isearch-string' by the prefix arg. (Bug#14563)
8345
8346 2013-06-13 Juri Linkov <juri@jurta.org>
8347
8348 * isearch.el (isearch-yank-word, isearch-yank-line)
8349 (isearch-char-by-name, isearch-quote-char)
8350 (isearch-printing-char, isearch-process-search-char):
8351 Add optional count prefix arg. (Bug#14563)
8352
8353 * international/isearch-x.el
8354 (isearch-process-search-multibyte-characters):
8355 Add optional count prefix arg.
8356
8357 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8360 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8361 lexical-binding.
8362
8363 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8364
8365 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8366
8367 2013-06-13 Glenn Morris <rgm@gnu.org>
8368
8369 * startup.el (tty-handle-args):
8370 Don't just discard "--" and anything after. (Bug#14608)
8371
8372 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8373
8374 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8375
8376 Implement changes in Secret Service API. Make it backward compatible.
8377 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8378 (secrets-create-item): Use it. Prefix properties with interface.
8379
8380 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8381
8382 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8383 (term-emulate-terminal): Respect term-suppress-hard-newline.
8384
8385 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8386
8387 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8388 Only remove a `thumb-file' overlay. (Bug#14548)
8389
8390 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8391
8392 * mail/reporter.el (reporter-submit-bug-report):
8393 Handle missing package-name. (Bug#14600)
8394
8395 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8396
8397 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8398 (reftex-citation-prompt, reftex-default-bibliography)
8399 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8400 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8401 (reftex-bib-sort-author, reftex-bib-sort-year)
8402 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8403 (reftex-extract-bib-entries-from-thebibliography)
8404 (reftex-get-bibkey-default, reftex-get-bib-names)
8405 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8406 (reftex-format-bib-entry, reftex-parse-bibitem)
8407 (reftex-format-bibitem, reftex-do-citation)
8408 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8409 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8410 (reftex-insert-bib-matches, reftex-format-citation)
8411 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8412 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8413 existing comments into docstrings.
8414
8415 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8416
8417 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8418
8419 2013-06-12 Andreas Schwab <schwab@suse.de>
8420
8421 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8422 for auto-save files.
8423
8424 2013-06-12 Glenn Morris <rgm@gnu.org>
8425
8426 * ido.el (ido-delete-ignored-files): Remove.
8427 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8428 Go back to calling ido-ignore-item-p directly.
8429
8430 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8431
8432 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8433
8434 * ido.el (ido-delete-ignored-files): New function,
8435 split from ido-make-file-list-1.
8436 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8437 (ido-make-file-list-1): Use ido-delete-ignored-files.
8438
8439 2013-06-12 Leo Liu <sdl.web@gmail.com>
8440
8441 * progmodes/octave.el (inferior-octave-startup)
8442 (inferior-octave-completion-table)
8443 (inferior-octave-track-window-width-change)
8444 (octave-eldoc-function-signatures, octave-help)
8445 (octave-find-definition): Use single quoted strings.
8446 (inferior-octave-startup-args): Change default value.
8447 (inferior-octave-startup): Do not hard code "-i" and
8448 "--no-line-editing".
8449 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8450 (inferior-octave-directory-tracker): Use it.
8451 (octave-goto-function-definition): Robustify.
8452 (octave-help): Support highlighting operators in 'See also'.
8453 (octave-find-definition): Find subfunctions only in Octave mode.
8454
8455 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * help-fns.el (help-fns--compiler-macro): If the handler function is
8458 named, then put a link to it.
8459 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8460 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8461 (cl-typep): Use it.
8462 (cl-eval-when): Simplify debug spec.
8463 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8464 compiler-macro function instead of setting `compiler-macro-file'.
8465
8466 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8467
8468 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8469 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8470
8471 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8472 Daniel Hackney <dan@haxney.org>
8473
8474 First part of Daniel Hackney's patch to package.el.
8475 * emacs-lisp/package.el: Use defstruct.
8476 (package-desc): New, main struct.
8477 (package--bi-desc, package--ac-desc): New structs, used to describe the
8478 format in external files.
8479 (package-desc-vers): Replace with package-desc-version accessor.
8480 (package-desc-doc): Replace with package-desc-summary accessor.
8481 (package-activate-1): Remove `package' arg since the pkg-vec now
8482 includes the name.
8483 (define-package): Use package-desc-from-define.
8484 (package-unpack-single): Change file-name arg to be a symbol.
8485 (package--add-to-archive-contents): Use package-desc-create and new
8486 accessor functions to package--ac-desc.
8487 (package-buffer-info, package-tar-file-info): Return a package-desc.
8488 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8489 arg to be a package-desc.
8490 (package-install-file): Adjust accordingly. Use \' to match EOS.
8491 (package--from-builtin): New function.
8492 (describe-package-1, package-menu--generate): Use it.
8493 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8494 (package-generate-autoloads): Idem and return the name of the file.
8495 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8496 Change pkg-info arg to be a package-desc.
8497 Use package-make-ac-desc.
8498 (package-upload-file): Use \' to match EOS.
8499 * finder.el (finder-compile-keywords): Use package-make-builtin.
8500
8501 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * vc/vc.el (vc-deduce-fileset): Change error message.
8504 (vc-read-backend): New function.
8505 (vc-next-action): Use it.
8506
8507 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8508
8509 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8510 (prolog-font-lock-keywords): Use regexp-opt instead.
8511 Don't manually highlight strings.
8512 (prolog-mode-variables): Simplify comment-start-skip.
8513 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8514
8515 * emacs-lisp/generic.el (generic--normalise-comments)
8516 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8517 (generic-mode-set-comments): Use them.
8518 (generic-bracket-support): Use setq-local.
8519 (generic-make-keywords-list): Declare obsolete.
8520
8521 2013-06-11 Glenn Morris <rgm@gnu.org>
8522
8523 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8524 Prettify after setting font-lock-defaults. (Bug#14574)
8525
8526 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8527
8528 * replace.el (query-replace, occur-read-regexp-defaults-function)
8529 (replace-search):
8530 * subr.el (declare-function, number-sequence, local-set-key)
8531 (substitute-key-definition, locate-user-emacs-file)
8532 (with-silent-modifications, split-string, eval-after-load):
8533 Fix typos, remove unneeded backslashes and reflow some docstrings.
8534
8535 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8538 default for Elisp files.
8539
8540 2013-06-11 Glenn Morris <rgm@gnu.org>
8541
8542 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8543 although define-derived-mode was doing this anyway. (Bug#14583)
8544
8545 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8546
8547 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8548 Fix make-variable-buffer-local call to refer to the correct variable.
8549
8550 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8551
8552 * eshell/em-term.el (eshell-visual-commands)
8553 (eshell-visual-subcommands, eshell-visual-options):
8554 Add summary line to docstrings. Add cross-references.
8555
8556 2013-06-10 Glenn Morris <rgm@gnu.org>
8557
8558 * epa.el (epa-read-file-name): New function. (Bug#14510)
8559 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8560
8561 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8562
8563 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8564 output redirection to be ignored with visual commands.
8565
8566 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8567
8568 * eshell/em-term.el (eshell-visual-command-p): New function.
8569 (eshell-term-initialize): Move long lambda to separate function
8570 eshell-visual-command-p.
8571 * eshell/em-dirs.el (eshell-dirs-initialise):
8572 * eshell/em-script.el (eshell-script-initialize):
8573 Add missing #' to lambda.
8574
8575 2013-06-08 Leo Liu <sdl.web@gmail.com>
8576
8577 * progmodes/octave.el (octave-add-log-current-defun): New function.
8578 (octave-mode): Set add-log-current-defun-function.
8579 (octave-goto-function-definition): Do not move point if not found.
8580 (octave-find-definition): Enhance to try subfunctions first.
8581
8582 2013-06-08 Glenn Morris <rgm@gnu.org>
8583
8584 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8585 (byte-compile-backward-char, byte-compile-backward-word):
8586 Improve previous change, to handle non-explicit nil.
8587
8588 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8591 (smie--opener/closer-at-point): New function.
8592 (smie--matching-block-data): Use it. Don't match from right after an
8593 opener or right before a closer. Obey smie-blink-matching-inners.
8594 Don't signal a mismatch for repeated inners like "switch..case..case".
8595
8596 2013-06-07 Leo Liu <sdl.web@gmail.com>
8597
8598 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8599 to t. (Bug#14303)
8600 (octave-function-header-regexp): Fix. (Bug#14570)
8601 (octave-help-mode-finish-hook, octave-help-mode-finish):
8602 Remove. Just use temp-buffer-show-hook.
8603
8604 * newcomment.el (comment-search-backward): Revert last change.
8605 (Bug#14434)
8606
8607 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8608
8609 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8610
8611 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8612 through xargs, to avoid failure due to MS-Windows limitations on
8613 command-line length.
8614
8615 2013-06-06 Glenn Morris <rgm@gnu.org>
8616
8617 * font-lock.el (lisp-font-lock-keywords-2):
8618 Treat user-error like error.
8619
8620 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8621 (byte-compile-backward-char, byte-compile-backward-word):
8622 Handle explicit nil arguments. (Bug#14565)
8623
8624 2013-06-05 Alan Mackenzie <acm@muc.de>
8625
8626 * isearch.el (isearch-allow-prefix): New user option.
8627 (isearch-other-meta-char): Don't exit isearch when a prefix
8628 argument is typed whilst `isearch-allow-prefix' is non-nil.
8629 (Bug#9706)
8630
8631 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * autorevert.el (auto-revert-notify-handler): Use memq.
8634 Hide assertion failure.
8635
8636 * skeleton.el: Use cl-lib.
8637 (skeleton-further-elements): Use defvar-local.
8638 (skeleton-insert): Use cl-progv.
8639
8640 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8641
8642 * progmodes/prog-mode.el (prog-prettify-symbols)
8643 (prog-prettify-install): Update docstrings.
8644
8645 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * simple.el: Move all the prog-mode code to prog-mode.el.
8648 * progmodes/prog-mode.el: New file.
8649 * loadup.el: Add prog-mode.el.
8650
8651 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8652
8653 * simple.el (prog-prettify-symbols): Add version.
8654 (prog-prettify-install): Add convenience function to prettify symbols.
8655
8656 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8657 (perl--augmented-font-lock-keywords-1)
8658 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8659 variables and use it.
8660
8661 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8662 (cfengine3-mode): Remove unneeded variable and use it.
8663
8664 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8665 (lisp--augmented-font-lock-keywords-1)
8666 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8667 Remove unneeded variables and use it.
8668
8669 2013-06-05 João Távora <joaotavora@gmail.com>
8670
8671 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8672 to point when opening the connection. (Bug#14380)
8673
8674 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * subr.el (load-history-regexp, load-history-filename-element)
8677 (eval-after-load, after-load-functions, do-after-load-evaluation)
8678 (eval-next-after-load, display-delayed-warnings)
8679 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8680 definition of save-match-data.
8681 (overriding-local-map): Remove accidental obsolescence declaration.
8682
8683 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8684
8685 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8686
8687 Generalize symbol prettify support to prog-mode and implement it
8688 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8689 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8690 (prog--prettify-font-lock-compose-symbol)
8691 (prog-prettify-font-lock-symbols-keywords): New variables and
8692 functions to support symbol prettification.
8693 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8694 (lisp--augmented-font-lock-keywords-1)
8695 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8696 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8697 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8698 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8699 Implement prettify of -> => :: strings.
8700 * progmodes/perl-mode.el (perl-prettify-symbols)
8701 (perl--font-lock-compose-symbol)
8702 (perl--font-lock-symbols-keywords): Move to prog-mode.
8703 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8704 (perl-font-lock-keywords-1)
8705 (perl-font-lock-keywords-2): Remove explicit prettify support.
8706 (perl--augmented-font-lock-keywords)
8707 (perl--augmented-font-lock-keywords-1)
8708 (perl--augmented-font-lock-keywords-2, perl-mode):
8709 Implement prettify support.
8710
8711 2013-06-05 Leo Liu <sdl.web@gmail.com>
8712
8713 Re-implement smie matching block highlight using
8714 show-paren-data-function. (Bug#14395)
8715 * emacs-lisp/smie.el (smie-matching-block-highlight)
8716 (smie--highlight-matching-block-overlay)
8717 (smie--highlight-matching-block-lastpos)
8718 (smie-highlight-matching-block)
8719 (smie-highlight-matching-block-mode): Remove.
8720 (smie--matching-block-data-cache): New variable.
8721 (smie--matching-block-data): New function.
8722 (smie-setup): Use smie--matching-block-data for
8723 show-paren-data-function.
8724
8725 * progmodes/octave.el (octave-mode-menu): Fix.
8726 (octave-find-definition): Skip garbage lines.
8727
8728 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8729
8730 Fix compilation error with simultaneous dynamic+lexical scoping.
8731 Add warning when a defvar appears after the first let-binding.
8732 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8733 (byte-compile-close-variables): Initialize it.
8734 (byte-compile--declare-var): New function.
8735 (byte-compile-file-form-defvar)
8736 (byte-compile-file-form-define-abbrev-table)
8737 (byte-compile-file-form-custom-declare-variable): Use it.
8738 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8739 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8740 (byte-compile-bind): Handle dynamic bindings that shadow
8741 lexical bindings.
8742 (byte-compile-unbind): Make arg non-optional.
8743 (byte-compile-let): Simplify.
8744 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8745 (cconv--analyse-function, cconv-analyse-form): Populate it.
8746 Protect byte-compile-bound-variables to limit the scope of defvars.
8747 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8748 Remove unneeded rule for `declare'.
8749
8750 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8751 so as to avoid depending on cl-adjoin at run-time.
8752 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8753
8754 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8755 (macroexp--warn-and-return): Use it.
8756
8757 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * lisp/subr.el: Convert to lexical binding.
8760 (overriding-local-map): Make obsolete.
8761 (add-to-list): Doc fix. Add compiler macro.
8762 (read-key): Swap values of local maps.
8763
8764 2013-06-05 Leo Liu <sdl.web@gmail.com>
8765
8766 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8767
8768 2013-06-04 Leo Liu <sdl.web@gmail.com>
8769
8770 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8771 (compilation-auto-jump): Suppress the "Mark set" message to give
8772 way to exit message.
8773
8774 2013-06-04 Alan Mackenzie <acm@muc.de>
8775
8776 Remove faulty optimisation from indentation calculation.
8777 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8778 search limit based on 2000 characters back from indent-point.
8779
8780 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8781
8782 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8783
8784 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * emacs-lisp/lisp.el: Use lexical-binding.
8787 (lisp--local-variables-1, lisp--local-variables): New functions.
8788 (lisp--local-variables-completion-table): New var.
8789 (lisp-completion-at-point): Use it complete let-bound vars.
8790
8791 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8792 eagerly (bug#14422).
8793
8794 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8795
8796 * autorevert.el (auto-revert-notify-enabled)
8797 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8798 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8799 (auto-revert-notify-handler): Handle also gfilenotify.
8800
8801 * subr.el (file-notify-handle-event): New defun. Replacing ...
8802 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8803 Remove.
8804
8805 2013-06-03 Juri Linkov <juri@jurta.org>
8806
8807 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8808 `M-s h .'. (Bug#14427)
8809
8810 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8811 command `hi-lock-face-symbol-at-point'.
8812 (hi-lock-face-symbol-at-point): New command.
8813 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8814 (hi-lock-menu): Add `highlight-symbol-at-point'.
8815 (hi-lock-mode): Doc fix.
8816
8817 * isearch.el (isearch-forward-symbol-at-point): New command.
8818 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8819 (isearch-highlight-regexp): Add a regexp which matches
8820 words/symbols for word/symbol mode.
8821
8822 * subr.el (find-tag-default-bounds): New function with the body
8823 mostly moved from `find-tag-default'.
8824 (find-tag-default): Move most code to `find-tag-default-bounds',
8825 call it and apply `buffer-substring-no-properties' afterwards.
8826
8827 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8828
8829 * eshell/em-term.el (eshell-term-initialize):
8830 Use `cl-intersection' rather than `intersection'.
8831
8832 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8833
8834 * vc/log-view.el: Doc fix.
8835 (log-view-mode-map): Copy keymap from `special-mode-map'.
8836
8837 2013-06-02 Eric Ludlam <zappo@gnu.org>
8838
8839 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8840 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8841 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8842 (eieio-unbound, eieio-default-superclass)
8843 (eieio--define-field-accessors, method-static, method-before)
8844 (method-primary, method-after, method-num-lists)
8845 (method-generic-before, method-generic-primary)
8846 (method-generic-after, method-num-slots)
8847 (eieio-specialized-key-to-generic-key)
8848 (eieio--check-type, class-v, class-p)
8849 (eieio-class-name, define-obsolete-function-alias)
8850 (eieio-class-parents-fast, eieio-class-children-fast)
8851 (same-class-fast-p, class-constructor, generic-p)
8852 (generic-primary-only-p, generic-primary-only-one-p)
8853 (class-option-assoc, class-option, eieio-object-p)
8854 (class-abstract-p, class-method-invocation-order)
8855 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8856 (eieio-class-un-autoload, eieio-defclass)
8857 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8858 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8859 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8860 (eieio-defgeneric-reset-generic-form)
8861 (eieio-defgeneric-form-primary-only)
8862 (eieio-defgeneric-reset-generic-form-primary-only)
8863 (eieio-defgeneric-form-primary-only-one)
8864 (eieio-defgeneric-reset-generic-form-primary-only-one)
8865 (eieio-unbind-method-implementations)
8866 (eieio--defmethod, eieio--typep)
8867 (eieio-perform-slot-validation, eieio-validate-slot-value)
8868 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8869 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8870 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8871 (eieio-slot-name-index, eieio-class-slot-name-index)
8872 (eieio-set-defaults, eieio-initarg-to-attribute)
8873 (eieio-attribute-to-initarg, eieio-c3-candidate)
8874 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8875 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8876 (eieio-class-precedence-list, eieio-generic-call-methodname)
8877 (eieio-generic-call-arglst, eieio-generic-call-key)
8878 (eieio-generic-call-next-method-list)
8879 (eieio-pre-method-execution-functions, eieio-generic-call)
8880 (eieio-generic-call-primary-only, eieiomt-method-list)
8881 (eieiomt-optimizing-obarray, eieiomt-install)
8882 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8883 (eieio-generic-form, eieio-defmethod, make-obsolete)
8884 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8885 (defclass): Remove `eval-and-compile' from macro.
8886 (call-next-method, shared-initialize): Instead of using
8887 `scoped-class' variable, use new eieio--scoped-class, and
8888 eieio--with-scoped-class.
8889 (initialize-instance): Rename local variable 'scoped-class' to
8890 'this-class' to remove ambiguitity from old global.
8891
8892 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8893 eieio.el.
8894 (eieio--scoped-class-stack): New variable.
8895 (eieio--scoped-class): New fcn.
8896 (eieio--with-scoped-class): New scoping macro.
8897 (eieio-defclass): Use pushnew instead of add-to-list.
8898 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8899 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8900 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8901 `scoped-class' variable, use new eieio--scoped-class, and
8902 eieio--with-scoped-class.
8903
8904 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8905
8906 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8907
8908 * eshell/esh-ext.el (eshell-external-command): Pass args to
8909 `eshell-find-interpreter'.
8910 (eshell-find-interpreter): Add new second parameter ARGS.
8911
8912 * eshell/em-script.el (eshell-script-initialize): Add second arg
8913 to the function added as MATCH to `eshell-interpreter-alist'.
8914
8915 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8916 the function added as MATCH to `eshell-interpreter-alist'.
8917
8918 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8919 (eshell-visual-options): New defcustom.
8920 (eshell-escape-control-x): Adapt docstring.
8921 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8922 `eshell-visual-options' in addition to `eshell-visual-commands'.
8923 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8924
8925 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8926
8927 * progmodes/python.el (python-indent-block-enders): Add break,
8928 continue and raise keywords.
8929
8930 2013-06-01 Glenn Morris <rgm@gnu.org>
8931
8932 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8933
8934 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8935 * progmodes/cc-cmds.el (delete-forward-p):
8936 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8937 * progmodes/cc-engine.el (buffer-syntactic-context):
8938 * progmodes/cc-fonts.el (face-property-instance):
8939 * progmodes/cc-mode.el (set-keymap-parents):
8940 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8941 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8942 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8943 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8944 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8945
8946 * progmodes/cc-vars.el (other): Emacs has this widget since
8947 at least 21.1, so don't (re)define it.
8948
8949 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8950 Replace the obsolete alias pcomplete-arg-quote-list.
8951
8952 2013-06-01 Leo Liu <sdl.web@gmail.com>
8953
8954 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8955 punctuation syntax.
8956 (inferior-octave-minimal-columns)
8957 (inferior-octave-last-column-width): New variables.
8958 (inferior-octave-track-window-width-change): New function.
8959 (inferior-octave-mode): Adjust column width so that Octave output,
8960 for example from 'ls', can fit into the window nicely.
8961
8962 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8963
8964 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8965 Highlight expansions inside regexp literals.
8966
8967 2013-05-31 Glenn Morris <rgm@gnu.org>
8968
8969 * obsolete/sym-comp.el (symbol-complete):
8970 Replace obsolete completion-annotate-function.
8971
8972 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8973
8974 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8975
8976 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8977 New function, checks if point is inside a literal that allows
8978 expression expansion.
8979 (ruby-syntax-propertize-expansion): Use it.
8980 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8981 around the body.
8982
8983 2013-05-30 Juri Linkov <juri@jurta.org>
8984
8985 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8986 to "\M-si".
8987 (isearch-invisible): New variable.
8988 (isearch-forward): Doc fix.
8989 (isearch-mode): Set `isearch-invisible'
8990 to the value of `search-invisible'.
8991 (isearch-toggle-case-fold): Doc fix.
8992 (isearch-toggle-invisible): New command.
8993 (isearch-query-replace): Let-bind `search-invisible'
8994 to the value of `isearch-invisible'.
8995 (isearch-search): Use `isearch-invisible' instead of
8996 `search-invisible'. Let-bind `search-invisible'
8997 to the value of `isearch-invisible'. (Bug#11378)
8998
8999 2013-05-30 Juri Linkov <juri@jurta.org>
9000
9001 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9002 call when `query-flag' is nil and `search-invisible' is non-nil.
9003 (Bug#11746)
9004
9005 2013-05-30 Glenn Morris <rgm@gnu.org>
9006
9007 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9008
9009 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9010 (cc-require): Suppress spurious "noruntime" warnings.
9011 (cc-require-when-compile): Use fboundp, for sake of compiler.
9012
9013 * progmodes/cc-mode.el: Move load of cc-vars before that of
9014 cc-langs (which in turn loads cc-vars), to quieten compiler.
9015
9016 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * paren.el: Simplify the code.
9019 (show-paren-mode): Always start the timer.
9020 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9021 (show-paren--overlay, show-paren--overlay-1): Rename from
9022 show-paren-overlay and show-paren-overlay-1, and initialize to an
9023 overlay rather than to nil.
9024 (show-paren-function): Misc cleanup and simplifications.
9025
9026 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * paren.el (show-paren-data-function): New hook.
9029 (show-paren--default): New function, extracted from show-paren-function.
9030 (show-paren-function): Use show-paren-data-function.
9031
9032 2013-05-30 Glenn Morris <rgm@gnu.org>
9033
9034 * ielm.el (ielm-map, ielm-complete-symbol):
9035 Use completion-at-point rather than obsolete functions.
9036 (inferior-emacs-lisp-mode): Doc fix.
9037 Set completion-at-point-functions, rather than
9038 comint-dynamic-complete-functions.
9039
9040 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9041 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9042 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9043
9044 * image.el (image-animated-p): Tweak definition.
9045
9046 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9047 (rlogin-process-connection-type): Tweak default. Add set-after.
9048 (rlogin-host): Doc fix.
9049 (rlogin): Tweak prompt.
9050 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9051
9052 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9053 * progmodes/tcl.el (inferior-tcl-mode-map):
9054 Use completion-at-point rather than obsolete alias.
9055
9056 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9057
9058 * minibuffer.el (read-file-name-completion-ignore-case):
9059 Move before completion--in-region, for eager macro expansion.
9060
9061 2013-05-29 Juri Linkov <juri@jurta.org>
9062
9063 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9064 for total count of matching lines. Add `global-matches' for total
9065 count of matches. Rename `matches' to `lines' for count of
9066 matching lines. Add `matches' for count of matches.
9067 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9068 to `prev-line' for line number of prev match endpt.
9069 Increment `matches' for every match. Print the number of
9070 matching lines in the header.
9071 (occur-context-lines): Rename `lines' to `curr-line'.
9072 Rename `prev-lines' to `prev-line'. (Bug#14017)
9073
9074 2013-05-29 Juri Linkov <juri@jurta.org>
9075
9076 * replace.el (perform-replace): Add `skip-read-only-count',
9077 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9078 Increment them for corresponding conditions and report the number
9079 of skipped occurrences in the final message. (Bug#11746)
9080 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9081 (replace-string, replace-regexp): Doc fix.
9082
9083 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9086
9087 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9088 prog-mode-map (bug#14504).
9089
9090 2013-05-29 Leo Liu <sdl.web@gmail.com>
9091
9092 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9093 (octave-help): Small simplification.
9094
9095 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9096 off the highlight first.
9097
9098 2013-05-29 Glenn Morris <rgm@gnu.org>
9099
9100 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9101 Handle idlwave-last-system-routine-info-cons-cell being nil.
9102
9103 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9104 (idlwave-write-paths): Simplify via with-temp-buffer.
9105
9106 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9107 * emulation/cua-rect.el: Also load cua-base at run time.
9108
9109 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9110 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9111 (cperl-imenu-on-info): Require imenu.
9112
9113 2013-05-28 Alan Mackenzie <acm@muc.de>
9114
9115 Handle "capitalised keywords" correctly.
9116 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9117
9118 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9119
9120 * eshell/em-unix.el: Add -r option to cp.
9121
9122 2013-05-28 Glenn Morris <rgm@gnu.org>
9123
9124 * vc/vc-arch.el (vc-exec-after): Declare.
9125 (vc-switches): Autoload.
9126 * vc/vc-bzr.el: No need to require vc when compiling.
9127 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9128 (vc-resynch-buffer, vc-dir-refresh): Declare.
9129 (vc-setup-buffer, vc-switches): Autoload.
9130 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9131 (vc-resynch-buffer): Declare.
9132 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9133 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9134 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9135 (grep-read-regexp, grep-read-files, grep-expand-template)
9136 (vc-dir-refresh): Declare.
9137 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9138 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9139 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9140 * vc/vc-mtn.el (vc-exec-after): Declare.
9141 (vc-switches): Autoload.
9142 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9143 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9144 (vc-file-tree-walk): Declare.
9145 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9146 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9147 (vc-tag-precondition, vc-rename-master): Autoload.
9148 * vc/vc-svn.el (vc-exec-after): Declare.
9149 (vc-switches, vc-setup-buffer): Autoload.
9150 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9151 Autoload.
9152 (vc-resynch-buffer): Declare.
9153
9154 * obsolete/fast-lock.el (byte-compile-warnings):
9155 Don't warn about obsolete features in this obsolete file.
9156
9157 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9158 Move definition before use.
9159
9160 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9161 (dun-unix-verbs): Remove dun-zippy.
9162 (dun-zippy): Remove function.
9163
9164 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9165
9166 2013-05-27 Juri Linkov <juri@jurta.org>
9167
9168 * replace.el (replace-search): New function with code moved out
9169 from `perform-replace'.
9170 (replace-highlight, replace-dehighlight): Move function definitions
9171 up closer to `replace-search'. (Bug#11746)
9172
9173 2013-05-27 Juri Linkov <juri@jurta.org>
9174
9175 * replace.el (perform-replace): Ignore invisible matches.
9176 In addition to checking `query-replace-skip-read-only', also
9177 filter out matches by calling `run-hook-with-args-until-failure'
9178 on `isearch-filter-predicates', and also check `search-invisible'
9179 for t or call `isearch-range-invisible'.
9180 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9181
9182 2013-05-27 Juri Linkov <juri@jurta.org>
9183
9184 * isearch.el (isearch-filter-predicates): Rename from
9185 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9186 (isearch-message-prefix): Display text from the property
9187 `isearch-message-prefix' of the currently active filters.
9188 (isearch-search): Don't compare `isearch-filter-predicate' with
9189 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9190 on `isearch-filter-predicates'. Also check `search-invisible' for t
9191 or call `isearch-range-invisible'.
9192 (isearch-filter-visible): Make obsolete.
9193 (isearch-lazy-highlight-search):
9194 Call `run-hook-with-args-until-failure' on
9195 `isearch-filter-predicates' and use `isearch-range-invisible'.
9196
9197 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9198 `isearch-filter-predicates' instead of `funcall'ing
9199 `isearch-filter-predicate'.
9200 (Info-mode): Set `Info-isearch-filter' to
9201 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9202
9203 * dired-aux.el (dired-isearch-filter-predicate-orig):
9204 Remove variable.
9205 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9206 (dired-isearch-filenames-end): Add and remove
9207 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9208 instead of changing the value of `isearch-filter-predicate'.
9209 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9210 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9211 Put property `isearch-message-prefix' to "filename " on
9212 `dired-isearch-filter-filenames'.
9213
9214 * wdired.el (wdired-change-to-wdired-mode):
9215 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9216 locally instead of changing `isearch-filter-predicate'.
9217 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9218
9219 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9220
9221 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9222 return the commit hash (Bug#14459). Also set the
9223 `vc-git-detached' property.
9224 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9225 (vc-git-mode-line-string): Use the same help-echo format whether
9226 in detached mode or not, because we know the actual revision now.
9227 When in detached mode, shorten the revision to 7 chars.
9228
9229 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/easy-mmode.el (define-minor-mode):
9232 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9233 mode hook and provide a docstring.
9234
9235 2013-05-27 Alan Mackenzie <acm@muc.de>
9236
9237 Remove spurious syntax-table text properties inserted by C-y.
9238 * progmodes/cc-mode.el (c-after-change): Also clear hard
9239 syntax-table property with value nil.
9240
9241 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9242
9243 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9244 when reading the events; the buffer layout shall not be changed.
9245
9246 2013-05-27 Leo Liu <sdl.web@gmail.com>
9247
9248 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9249 New variable.
9250 (inferior-octave-directory-tracker): Automatically re-sync
9251 default-directory.
9252 (octave-help): Improve handling of 'See also'.
9253
9254 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * doc-view.el: Minor naming convention tweaks.
9257 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9258
9259 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9260 even if there's no `display' property yet (bug#14435).
9261
9262 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9263
9264 * subr.el (unmsys--file-name): Rename from reveal-filename.
9265
9266 * Makefile.in (custom-deps, finder-data, autoloads)
9267 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9268 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9269 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9270
9271 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9274 error-completion on the first 2 args of condition-case (bug#14446).
9275 Don't burp at EOB.
9276
9277 2013-05-25 Leo Liu <sdl.web@gmail.com>
9278
9279 * comint.el (comint-previous-matching-input): Do not flood the
9280 *Messages* buffer with trivial messages.
9281
9282 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * progmodes/flymake.el (flymake-nop): Don't return a string.
9285 (flymake-set-at): Fix typo.
9286
9287 * simple.el (read--expression): New function, extracted from
9288 eval-expression. Set completion-at-point-functions (bug#14465).
9289 (eval-expression, eval-minibuffer): Use it.
9290
9291 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9292
9293 * progmodes/flymake.el (flymake-save-buffer-in-file)
9294 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9295 (flymake-selected-frame, flymake-log, flymake-ins-after)
9296 (flymake-set-at, flymake-get-buildfile-from-cache)
9297 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9298 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9299 Refine the doc string.
9300 (flymake-get-file-name-mode-and-masks): Reformat.
9301 (flymake-get-real-file-name-function): Fix a minor bug.
9302
9303 2013-05-24 Juri Linkov <juri@jurta.org>
9304
9305 * progmodes/grep.el (grep-mode-font-lock-keywords):
9306 Support =linenumber= format used by git-grep for lines with
9307 function names. (Bug#13549)
9308
9309 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9312 0 after a semi-colon; it works better for smie-auto-fill.
9313 (octave--indent-new-comment-line): New function.
9314 (octave-indent-new-comment-line): Use it (indirectly).
9315 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9316 modify comment-line-break-function.
9317
9318 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9319 (smie-setup): Use add-function to set it.
9320
9321 2013-05-24 Sam Steingold <sds@gnu.org>
9322
9323 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9324 argument (before the `interactive' argument).
9325
9326 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * image-mode.el (image-mode-winprops): Add winprops to
9329 image-mode-winprops-alist before running
9330 image-mode-new-window-functions.
9331 * doc-view.el (doc-view-new-window-function): Don't delay
9332 doc-view-goto-page via timers (bug#14435).
9333
9334 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9335
9336 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9337 (doc-view-desktop-save-buffer): New function.
9338 (doc-view-restore-desktop-buffer): New function.
9339 (desktop-buffer-mode-handlers):
9340 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9341 handler.
9342 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9343 `desktop-save-buffer' function.
9344
9345 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9346
9347 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9348 (tramp-gvfs-file-name-handler): Raise a user error when
9349 `tramp-gvfs-enabled' is nil.
9350 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9351 Do not raise a user error when loading package. (Bug#14447)
9352
9353 * net/xesam.el: Move to obsolete/.
9354
9355 2013-05-24 Glenn Morris <rgm@gnu.org>
9356
9357 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9358
9359 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9360
9361 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9362 (Info-find-node, Man-getpage-in-background): Declare.
9363
9364 * mail/unrmail.el (unrmail):
9365 Replace obsolete detect-coding-with-priority.
9366
9367 * net/socks.el (socks-split-string): Use this rather than split-string.
9368 (socks-nslookup-host): Update for above change.
9369 (dynamic-choice, s5-dynamic-choice-match)
9370 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9371 Comment out unused code.
9372
9373 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9374 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9375 (gud-tooltip-echo-area): Make obsolete.
9376 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9377
9378 * progmodes/js.el (js--optimize-arglist): Declare.
9379
9380 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9381
9382 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9383 (ediff-window-C): Declare.
9384
9385 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9386 Tweak requires to silence compiler.
9387
9388 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9389 (he-search-string, he-tried-table, he-expand-list)
9390 (he-init-string, he-string-member, he-substitute-string)
9391 (he-reset-string): Declare.
9392
9393 * obsolete/options.el (list-options): Use custom-variable-p,
9394 rather than obsolete alias.
9395
9396 2013-05-23 Sam Steingold <sds@gnu.org>
9397
9398 * simple.el (shell-command-on-region): Pass the `replace' argument
9399 down to `call-process-region' to comply with the doc as reported on
9400 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9401
9402 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/smie.el (smie-indent-forward-token)
9405 (smie-indent-backward-token): Handle string tokens (bug#14381).
9406
9407 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9408
9409 * ielm.el (ielm-menu): New menu.
9410 (inferior-emacs-lisp-mode): Set comment-start.
9411
9412 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9413
9414 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9415 Fix deactivate action.
9416
9417 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9418 Add cleveref macros.
9419
9420 * lisp/textmodes/reftex-parse.el
9421 (reftex-locate-bibliography-files): Accept options for
9422 bibliography commands.
9423 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9424 Add addbibresource. Basic Biblatex support.
9425
9426 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9427
9428 * net/tramp-gvfs.el (top):
9429 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9430 when loading package. (Bug#14447)
9431
9432 2013-05-23 Glenn Morris <rgm@gnu.org>
9433
9434 * progmodes/js.el: No need to load comint when compiling.
9435 (ring-insert, comint-send-string, comint-send-input)
9436 (comint-last-input-end, ido-chop): Declare.
9437
9438 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9439 * vc/ediff-mult.el: Adjust requires.
9440 (ediff-directories-internal, ediff-directory-revisions-internal)
9441 (ediff-patch-file-internal): Declare.
9442 * vc/ediff-ptch.el: Adjust requires.
9443 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9444 (ediff-find-file): Autoload.
9445 * vc/ediff-util.el: No need to load ediff when compiling.
9446 (ediff-regions-internal): Declare.
9447 * vc/ediff-wind.el: Adjust requires.
9448 (ediff-compute-toolbar-width): Define when compiling.
9449 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9450 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9451 (dired-get-filename, dired-get-marked-files)
9452 (ediff-last-dir-patch, ediff-patch-default-directory)
9453 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9454 (ediff-patch-buffer-internal): Declare.
9455
9456 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9457 (ispell-process, ispell-buffer-local-words, lm-summary)
9458 (lm-section-start, lm-section-end): Declare.
9459 (checkdoc-ispell-init): Simplify.
9460
9461 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9462 (he-string-member, he-reset-string, he-substitute-string): Declare.
9463
9464 * eshell/em-ls.el: Adjust requires.
9465 (eshell-glob-regexp): Declare.
9466 * eshell/em-tramp.el: Adjust requires.
9467 (eshell-parse-command): Autoload.
9468 * eshell/em-xtra.el: Adjust requires.
9469 (eshell-parse-command): Autoload.
9470 * eshell/esh-ext.el: Adjust requires.
9471 (eshell-parse-command, eshell-close-handles): Autoload.
9472 * eshell/esh-io.el: Adjust requires.
9473 (eshell-output-filter): Autoload.
9474 * eshell/esh-util.el: No need to load tramp when compiling.
9475 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9476 Declare.
9477 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9478 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9479 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9480 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9481 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9482 * eshell/esh-opt.el, eshell/esh-proc.el:
9483 * eshell/esh-var.el: Adjust requires.
9484 * eshell/eshell.el: Do not require esh-util twice.
9485 (eshell-add-input-to-history): Declare.
9486 (eshell-command): Check history module is active before using it.
9487
9488 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9489
9490 2013-05-22 Leo Liu <sdl.web@gmail.com>
9491
9492 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9493
9494 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9495
9496 * autorevert.el (auto-revert-notify-add-watch)
9497 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9498 it indicates changes in file modification time.
9499
9500 2013-05-22 Glenn Morris <rgm@gnu.org>
9501
9502 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9503 Always delete the autoloaded function from the noruntime and
9504 unresolved functions lists.
9505
9506 * allout.el: No need to load epa, epg, overlay when compiling.
9507 (epg-context-set-passphrase-callback, epg-list-keys)
9508 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9509 (epg-key-user-id-list): Declare.
9510
9511 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9512 (viper-set-parsing-style-toggling-macro)
9513 (viper-set-emacs-state-searchstyle-macros):
9514 Use called-interactively-p on Emacs.
9515 (viper-looking-back): Make it an obsolete alias. Update callers.
9516 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9517 Use looking-back rather than viper-looking-back.
9518 (viper-tmp-insert-at-eob, viper-enlarge-region)
9519 (viper-read-string-with-history, viper-register-to-point)
9520 (viper-append-to-register, viper-change-state-to-vi)
9521 (viper-backward-char-carefully, viper-forward-char-carefully)
9522 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9523 (viper-change-state-to-emacs): Declare.
9524 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9525 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9526 * emulation/viper-mous.el: Do not load viper-cmd.
9527 (viper-backward-char-carefully, viper-forward-char-carefully)
9528 (viper-forward-word, viper-adjust-window): Declare.
9529
9530 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9531
9532 * progmodes/idlw-help.el (idlwave-help-fontify):
9533 Use called-interactively-p.
9534
9535 * term/w32console.el (w32-get-console-codepage)
9536 (w32-get-console-output-codepage): Declare.
9537
9538 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9539 Remove unnecessary declarations.
9540 (dframe-message): Doc fix.
9541
9542 * info.el (dframe-select-attached-frame, dframe-current-frame):
9543 Declare.
9544
9545 * speedbar.el (speedbar-message): Make it an obsolete alias.
9546 Update all callers.
9547 (speedbar-with-attached-buffer)
9548 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9549 (speedbar-with-writable): Use backquote.
9550 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9551 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9552 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9553 rather than speedbar- aliases.
9554 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9555 (speedbar-make-specialized-keymap, speedbar-insert-button)
9556 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9557 (speedbar-do-function-pointer): Declare.
9558 (rmail-speedbar-button, rmail-speedbar-find-file)
9559 (rmail-speedbar-move-message):
9560 Use dframe-with-attached-buffer rather than speedbar- alias.
9561 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9562 (dframe-message, speedbar-make-specialized-keymap)
9563 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9564 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9565 (speedbar-insert-button, dframe-select-attached-frame)
9566 (dframe-maybee-jump-to-attached-frame)
9567 (speedbar-change-initial-expansion-list)
9568 (speedbar-previously-used-expansion-list-name): Declare.
9569 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9570 Use dframe-message, dframe-with-attached-buffer rather than
9571 speedbar- aliases.
9572 (gud-sentinel): Silence compiler.
9573 * progmodes/vhdl-mode.el (speedbar-refresh)
9574 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9575 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9576 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9577 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9578 (speedbar-file-lists, speedbar-make-tag-line)
9579 (speedbar-line-directory, speedbar-goto-this-file)
9580 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9581 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9582 (speedbar-make-button, speedbar-reset-scanners)
9583 (speedbar-files-item-info, speedbar-line-text)
9584 (speedbar-find-file-in-frame, speedbar-set-timer)
9585 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9586 (speedbar-with-writable): Do not (re)define it.
9587 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9588 rather than speedbar- alias.
9589
9590 2013-05-21 Leo Liu <sdl.web@gmail.com>
9591
9592 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9593 menu items.
9594 (octave-mode): Tweak fill-nobreak-predicate.
9595 (inferior-octave-startup): Check process to avoid infinite loop.
9596 (inferior-octave): Pop to buffer first to show abornmal process
9597 exit information.
9598
9599 2013-05-21 Glenn Morris <rgm@gnu.org>
9600
9601 * printing.el (pr-menu-bar): Define when compiling.
9602
9603 2013-05-21 Leo Liu <sdl.web@gmail.com>
9604
9605 * progmodes/octave.el (octave-auto-fill): Remove.
9606 (octave-indent-new-comment-line): Improve.
9607 (octave-mode): Use auto fill mode through
9608 comment-line-break-function and fill-nobreak-predicate.
9609 (octave-goto-function-definition): Support DEFUN_DLD.
9610 (octave-beginning-of-defun): Small tweak.
9611 (octave-help): Show parent directory.
9612
9613 2013-05-21 Glenn Morris <rgm@gnu.org>
9614
9615 * files.el (dired-unmark):
9616 * progmodes/gud.el (gdb-input): Update declarations.
9617
9618 * calculator.el (electric, ehelp): No need to load when compiling.
9619 (Electric-command-loop, electric-describe-mode): Declare.
9620
9621 * doc-view.el (doc-view-current-converter-processes): Move before use.
9622
9623 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9624 Move MODE-set-explicitly definition before use.
9625
9626 * international/mule-diag.el (mule-diag):
9627 Don't use obsolete window-system-version.
9628
9629 * mail/feedmail.el (smtpmail): No need to load when compiling.
9630 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9631
9632 * mail/mail-utils.el (rfc822): No need to load when compiling.
9633 (rfc822-addresses): Autoload it.
9634 (mail-strip-quoted-names): Trivial simplification.
9635
9636 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9637 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9638
9639 * net/snmp-mode.el (tempo): Don't duplicate requires.
9640
9641 * progmodes/prolog.el (info): No need to load when compiling.
9642 (comint): Require before shell requires it.
9643 (Info-goto-node): Autoload it.
9644 (Info-follow-nearest-node): Declare.
9645 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9646
9647 * textmodes/artist.el (picture-mode-exit): Declare.
9648
9649 * textmodes/reftex-parse.el (reftex-parse-from-file):
9650 Trivial rewrite so the compiler can parse it better.
9651
9652 2013-05-20 Leo Liu <sdl.web@gmail.com>
9653
9654 * progmodes/octave.el (octave-help-mode-map)
9655 (octave-help-mode-finish-hook): New variables.
9656 (octave-help-mode, octave-help-mode-finish): New functions.
9657 (octave-help): Use octave-help-mode.
9658
9659 2013-05-20 Glenn Morris <rgm@gnu.org>
9660
9661 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9662
9663 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9664
9665 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9666 start at point, so that expansion starting right after opening
9667 slash in a regexp is recognized.
9668 (ruby-syntax-before-regexp-re): New defvar, extracted from
9669 ruby-syntax-propertize-function. Since the value of this regexp
9670 is looked up at runtime now, we should be able to turn
9671 `ruby-syntax-methods-before-regexp' into a defcustom later.
9672 (ruby-syntax-propertize-function): Split regexp matching into two
9673 parts, for opening and closing slashes. That allows us to skip
9674 over string interpolations and support multiline regexps.
9675 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9676 for them, which calls `ruby-syntax-propertize-expansion'.
9677 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9678 call to `ruby-syntax-propertize-function'.
9679 (ruby-syntax-propertize-expansion): Extracted from
9680 `ruby-syntax-propertize-expansions'. Handles one expansion.
9681 (ruby-syntax-propertize-percent-literal): Leave point right after
9682 the percent symbol, so that the expression expansion rule can
9683 propertize the contents.
9684 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9685 heredoc openers.
9686 (ruby-syntax-propertize-expansions): Remove.
9687
9688 2013-05-18 Juri Linkov <juri@jurta.org>
9689
9690 * man.el (Man-default-man-entry): Remove `-' from the end
9691 of the default value. (Bug#14400)
9692
9693 2013-05-18 Glenn Morris <rgm@gnu.org>
9694
9695 * comint.el (comint-password-prompt-regexp):
9696 Allow "password for XXX" where XXX contains colons (eg https://...).
9697
9698 2013-05-18 Leo Liu <sdl.web@gmail.com>
9699
9700 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9701 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9702 (octave-source-directories): Don't check process.
9703 (octave-source-directories, octave-find-definition): Doc fix.
9704
9705 2013-05-18 Glenn Morris <rgm@gnu.org>
9706
9707 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9708 Remove backspace/delete bindings. (Bug#14392)
9709
9710 * cus-dep.el (custom-make-dependencies): Sort the output.
9711 (custom-versions-load-alist): Convert comment to doc.
9712
9713 2013-05-17 Leo Liu <sdl.web@gmail.com>
9714
9715 * newcomment.el (comment-search-backward): Stricter in finding
9716 comment start. (Bug#14303)
9717
9718 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9719 (octave-comment-start-skip): Properly anchored.
9720
9721 2013-05-17 Leo Liu <sdl.web@gmail.com>
9722
9723 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9724 Clean up when turned off. (Bug#14395)
9725 (smie--highlight-matching-block-overlay): No longer buffer-local.
9726 (smie-highlight-matching-block): Adjust.
9727
9728 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9729
9730 Doc string fix for "nanoseconds" (Bug#14406).
9731 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9732 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9733
9734 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9735
9736 * calc/calc-units.el (math-extract-units): Preserve powers
9737 of units.
9738
9739 2013-05-17 Leo Liu <sdl.web@gmail.com>
9740
9741 * subr.el (delete-consecutive-dups): New function.
9742 * ido.el (ido-set-matches-1): Use it.
9743 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9744 * ido.el (ido-remove-consecutive-dups): Remove.
9745
9746 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9749 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9750 regexp-opt's `words'.
9751
9752 2013-05-16 Leo Liu <sdl.web@gmail.com>
9753
9754 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9755 (smie--highlight-matching-block-overlay)
9756 (smie--highlight-matching-block-lastpos)
9757 (smie--highlight-matching-block-timer): New variables.
9758 (smie-highlight-matching-block): New function.
9759 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9760 (smie-setup): Conditionally enable smie-blink-matching-open.
9761
9762 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9763
9764 Sync with upstream verilog-mode r840.
9765 * progmodes/verilog-mode.el (verilog-mode-version)
9766 (verilog-mode-release-date): Update.
9767 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9768 (verilog-sig-tieoff): Fix string error on
9769 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9770 (verilog-read-decls): Fix parameters confusing
9771 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9772
9773 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9774
9775 * subr.el (reveal-filename): New function.
9776
9777 * loadup.el: Compute Emacs executable versions on MS-Windows,
9778 where executables have the .exe extension. Add a hard link
9779 emacs-XX.YY.ZZ.exe on MS-Windows.
9780
9781 * Makefile.in (XARGS_LIMIT): New variable.
9782 (custom-deps, finder-data, autoloads)
9783 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9784 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9785 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9786 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9787
9788 2013-05-16 Leo Liu <sdl.web@gmail.com>
9789
9790 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9791 (octave-mode-menu, octave-mode-map): Remove its uses.
9792
9793 2013-05-16 Reto Zimmermann <reto@gnu.org>
9794
9795 Sync with upstream vhdl mode v3.34.2.
9796 * progmodes/vhdl-mode.el: Use `push' throughout.
9797 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9798 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9799 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9800 (vhdl-actual-generic-name): New option to derive actual generic name.
9801 (vhdl-port-paste-signals): Replace formal by actual generics.
9802 (vhdl-beautify): New name for old group vhdl-align. Update users.
9803 (vhdl-beautify-options): New option.
9804 (vhdl-last-input-event): New compat alias. Use throughout.
9805 (vhdl-goto-line): Replace user level function `goto-line'.
9806 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9807 vhdl-fix-statement-buffer.
9808 (vhdl-create-mode-menu): Add some entries.
9809 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9810 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9811 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9812 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9813 to force statements on one line.
9814 (vhdl-remove-trailing-spaces-region):
9815 New, split from vhdl-remove-trailing-spaces.
9816 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9817 Respect vhdl-beautify-options.
9818 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9819 (vhdl-update-sensitivity-list): Not add with index if exists without.
9820 Not include array index with signal. Ignore keywords in comments.
9821 (vhdl-get-visible-signals): Regexp tweaks.
9822 (vhdl-template-component-inst): Handle empty library.
9823 (vhdl-template-type): Add template for 'enum' type.
9824 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9825 Use vhdl-replace-string.
9826 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9827 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9828 (vhdl-speedbar-initialize): Update for above name change.
9829 (vhdl-compose-wire-components): Fix in handling of constants.
9830 (vhdl-error-regexp-emacs-alist): New variable.
9831 (vhdl-error-regexp-add-emacs): New function;
9832 adds support for new compile.el (Emacs 22+)
9833 (vhdl-generate-makefile-1): Change target order for single lib. units.
9834 Allow use of absolute file names.
9835
9836 2013-05-16 Leo Liu <sdl.web@gmail.com>
9837
9838 * simple.el (prog-indent-sexp): Indent enclosing defun.
9839
9840 2013-05-15 Glenn Morris <rgm@gnu.org>
9841
9842 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9843 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9844 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9845 (whitespace-highlight): Move to whitespace group.
9846
9847 * comint.el (comint-source):
9848 * pcmpl-linux.el (pcmpl-linux):
9849 * shell.el (shell-faces):
9850 * eshell/esh-opt.el (eshell-opt):
9851 * international/ccl.el (ccl): Remove empty custom groups.
9852
9853 * completion.el (dynamic-completion-mode):
9854 * jit-lock.el (jit-lock-debug-mode):
9855 * minibuffer.el (completion-in-region-mode):
9856 * type-break.el (type-break-mode-line-message-mode)
9857 (type-break-query-mode):
9858 * emulation/tpu-edt.el (tpu-edt-mode):
9859 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9860 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9861 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9862
9863 * term/xterm.el (xterm): Change parent group to terminals.
9864
9865 * master.el (master): Remove empty custom group.
9866 (master-mode): Remove unused :group argument.
9867 * textmodes/refill.el (refill): Remove empty custom group.
9868 (refill-mode): Remove unused :group argument.
9869
9870 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9871
9872 * cus-dep.el: Provide a feature.
9873 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9874 Don't mistakenly ignore files whose basenames match a basename
9875 from preloaded-file-list (eg cedet/ede/simple.el).
9876 Add a fallback method for getting :group.
9877
9878 2013-05-15 Juri Linkov <juri@jurta.org>
9879
9880 * isearch.el (isearch-char-by-name): Rename from
9881 `isearch-insert-char-by-name'. Doc fix.
9882 (isearch-forward): Mention `isearch-char-by-name' in
9883 the docstring. (Bug#13348)
9884
9885 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9886 `exit-minibuffer' instead of
9887 `isearch-nonincremental-exit-minibuffer'.
9888 (isearch-edit-string): Remove mention of
9889 `isearch-nonincremental-exit-minibuffer' from docstring.
9890 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9891 (isearch-forward-exit-minibuffer)
9892 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9893
9894 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * loadup.el: Just use unversioned DOC.
9897
9898 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9899 literals as extending to EOB.
9900 (nxml-last-fontify-end): Remove unused variable.
9901 (nxml-after-change1): Use with-silent-modifications.
9902 (nxml-extend-after-change-region): Simplify.
9903 (nxml-extend-after-change-region1): Remove function.
9904 (nxml-after-change1): Don't adjust for dependent regions.
9905 (nxml-fontify-matcher): Simplify.
9906 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9907 (xmltok-add-dependent): Remove function.
9908 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9909 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9910 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9911 unclosed <[[, <?, comment, and other literals as extending to EOB.
9912 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9913 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9914 Remove functions.
9915 (rng-do-some-validation-1): Don't mark dependent regions.
9916 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9917 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9918 (nxml-clear-dependent-regions): Remove functions.
9919 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9920 (nxml-ensure-scan-up-to-date):
9921 Don't clear&mark dependent regions.
9922
9923 2013-05-15 Leo Liu <sdl.web@gmail.com>
9924
9925 * progmodes/octave.el (octave-goto-function-definition):
9926 Improve and fix callers.
9927
9928 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9931 the setter (bug#14387).
9932
9933 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9934 surrounding group (bug#14402).
9935
9936 2013-05-14 Juri Linkov <juri@jurta.org>
9937
9938 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9939 (Bug#14390)
9940
9941 2013-05-14 Glenn Morris <rgm@gnu.org>
9942
9943 * progmodes/f90.el (f90-imenu-generic-expression):
9944 Fix typo in 2013-05-08 change. (Bug#14402)
9945
9946 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9947
9948 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9949 Remove signals for which replies are never received.
9950
9951 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9952
9953 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9954 (gdb-handler-alist, gdb-handler-number): Remove variables.
9955 (gdb-handler-list): New variable.
9956 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9957 (gdb-pending-handler-p, gdb-handle-reply)
9958 (gdb-remove-all-pending-triggers): New functions.
9959 (gdb-discard-unordered-replies): New defcustom.
9960 (gdb-handler): New defstruct.
9961 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9962 instead of gdb-pending-triggers. Update docstring.
9963 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9964 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9965 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9966 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9967 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9968 (gdb-frame-handler): Pending triggers are now automatically managed.
9969 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9970 Remove argument.
9971 (gdb-input): Automatically handles pending triggers. Update docstring.
9972 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9973 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9974 Update comments.
9975 (gdb-done-or-error): Now use gdb-handle-reply.
9976
9977 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9978
9979 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9980 gdb-debug-log.
9981
9982 2013-05-14 Glenn Morris <rgm@gnu.org>
9983
9984 * subr.el (user-emacs-directory-warning): New option.
9985 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9986
9987 2013-05-14 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9990 during redisplay.
9991 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9992 (octave-font-lock-texinfo-comment): Fix invalid search bound
9993 error: wrong side of point.
9994
9995 2013-05-14 Glenn Morris <rgm@gnu.org>
9996
9997 * progmodes/flymake.el (flymake-xml-program): New option.
9998 (flymake-xml-init): Use it.
9999
10000 * term/xterm.el: Provide a feature.
10001
10002 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10003
10004 2013-05-13 Glenn Morris <rgm@gnu.org>
10005
10006 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10007 Add compat aliases as a hack workaround. (Bug#14384)
10008
10009 2013-05-13 Leo Liu <sdl.web@gmail.com>
10010
10011 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10012 ###, and %!.
10013 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10014 C-M-q.
10015 (octave-comment-start-skip): Include %!.
10016 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10017
10018 2013-05-12 Leo Liu <sdl.web@gmail.com>
10019
10020 * progmodes/octave.el (inferior-octave-startup): Store the value
10021 of __octave_srcdir__ for octave-source-directories.
10022 (inferior-octave-check-process): New function refactored out of
10023 inferior-octave-send-list-and-digest.
10024 (octave-source-directories)
10025 (octave-find-definition-filename-function): New variables.
10026 (octave-source-directories)
10027 (octave-find-definition-default-filename): New functions.
10028 (octave-find-definition): Improve to find functions implemented in C++.
10029
10030 2013-05-12 Glenn Morris <rgm@gnu.org>
10031
10032 * calendar/diary-lib.el (diary-outlook-format-1):
10033 Don't include dayname in the output. (Bug#14349)
10034
10035 2013-05-11 Glenn Morris <rgm@gnu.org>
10036
10037 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10038
10039 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10040 Treat cc-provide like provide.
10041
10042 2013-05-11 Kevin Ryde <user42@zip.com.au>
10043
10044 * cus-dep.el (custom-make-dependencies):
10045 Use generated-autoload-load-name for the sake of files such
10046 such cedet/semantic/bovine/c.el, where the base file name
10047 is not in load-path. (Bug#5277)
10048
10049 2013-05-11 Glenn Morris <rgm@gnu.org>
10050
10051 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10052 Provide features.
10053
10054 2013-05-11 Leo Liu <sdl.web@gmail.com>
10055
10056 * progmodes/octave.el (octave-indent-comment): Improve.
10057 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10058 (octave-eldoc-function-signatures, octave-eldoc-function):
10059 New functions.
10060 (octave-mode, inferior-octave-mode): Add eldoc support.
10061
10062 2013-05-11 Richard Stallman <rms@gnu.org>
10063
10064 * epa.el (epa-decrypt-file): Take output file name as argument
10065 and read it using `interactive'.
10066
10067 2013-05-11 Leo Liu <sdl.web@gmail.com>
10068
10069 * progmodes/octave.el (octave-beginning-of-line)
10070 (octave-end-of-line): Check before using up-list because it jumps
10071 out of more syntactic contructs since moving to smie.
10072 (octave-indent-comment): New function.
10073 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10074 (octave-begin-keywords, octave-end-keywords)
10075 (octave-reserved-words, octave-smie-bnf-table)
10076 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10077
10078 2013-05-11 Glenn Morris <rgm@gnu.org>
10079
10080 * faces.el (internal-face-x-get-resource):
10081 * frame.el (ns-display-monitor-attributes-list):
10082 * calc/calc-aent.el (math-to-radians-2):
10083 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10084 Fix declarations.
10085
10086 * calc/calc-menu.el: Make it loadable in isolation.
10087
10088 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10089 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10090 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10091 (eudc-bbdb-query-internal): Require 'bbdb.
10092
10093 * lpr.el (lpr-headers-switches):
10094 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10095
10096 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10097
10098 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10099
10100 * term.el (term-set-escape-char): Make it idempotent.
10101
10102 2013-05-10 Leo Liu <sdl.web@gmail.com>
10103
10104 * progmodes/octave.el (inferior-octave-completion-table):
10105 No longer a function and all uses changed. Use cache to speed up
10106 completion due to bug#11906.
10107 (octave-beginning-of-defun): Re-write to be more general.
10108
10109 2013-05-10 Glenn Morris <rgm@gnu.org>
10110
10111 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10112
10113 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * comint.el (comint-redirect-send-command-to-process): Use :around
10116 rather than :override for comint-redirect-filter.
10117 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10118 Call it instead of comint-redirect-original-filter-function (which
10119 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10120
10121 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10122
10123 * frame.el (display-monitor-attributes-list): Add NS case.
10124 (ns-display-monitor-attributes-list): Declare.
10125
10126 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10127
10128 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10129
10130 2013-05-09 Glenn Morris <rgm@gnu.org>
10131
10132 * international/fontset.el (vertical-centering-font-regexp):
10133 Set standard-value.
10134
10135 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10136
10137 * bookmark.el (bookmark-search-delay):
10138 * cus-start.el (vertical-centering-font-regexp):
10139 * ps-mule.el (ps-mule-font-info-database-default):
10140 * ps-print.el (ps-default-fg, ps-default-bg):
10141 * type-break.el (type-break-good-break-interval):
10142 * whitespace.el (whitespace-indentation-regexp)
10143 (whitespace-space-after-tab-regexp):
10144 * emacs-lisp/testcover.el (testcover-1value-functions)
10145 (testcover-noreturn-functions, testcover-progn-functions)
10146 (testcover-prog1-functions):
10147 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10148 * eshell/em-glob.el (eshell-glob-translate-alist):
10149 * play/tetris.el (tetris-tty-colors):
10150 * progmodes/cpp.el (cpp-face-default-list):
10151 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10152 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10153 (idlwave-help-browser-generic-args):
10154 * progmodes/make-mode.el (makefile-special-targets-list):
10155 * progmodes/python.el (python-shell-virtualenv-path):
10156 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10157 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10158 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10159 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10160 * textmodes/reftex-vars.el (reftex-format-label-function):
10161 * textmodes/remember.el (remember-diary-file): Fix custom types.
10162
10163 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10164 Add :version.
10165
10166 2013-05-09 Leo Liu <sdl.web@gmail.com>
10167
10168 * progmodes/octave.el (inferior-octave-completion-at-point):
10169 Restore file completion. (Bug#14300)
10170 (inferior-octave-startup): Fix incorrect highlighting for the
10171 first prompt.
10172
10173 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * progmodes/ruby-mode.el: First cut at SMIE support.
10176 (ruby-use-smie): New var.
10177 (ruby-smie-grammar): New constant.
10178 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10179 (ruby-smie--forward-token, ruby-smie--backward-token)
10180 (ruby-smie-rules): New functions.
10181 (ruby-mode-variables): Setup SMIE if applicable.
10182
10183 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10184
10185 * simple.el (line-move-visual): Signal beginning/end of buffer
10186 only if vertical-motion moved less than it was requested. Avoids
10187 silly incorrect error messages when there are display strings with
10188 multiple newlines at EOL.
10189
10190 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10193 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10194 (prolog-char-quote-workaround):
10195 * progmodes/cperl-mode.el (cperl-under-as-char):
10196 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10197 Mark as obsolete.
10198 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10199 their declaration.
10200 (vhdl-mode-syntax-table-init): Remove.
10201
10202 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10203 last change.
10204
10205 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10206 syntax for "_".
10207 (ld-script-font-lock-keywords):
10208 Change regexps to use things like \_< and \_>.
10209
10210 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10211 Change all regexps to use things like \_< and \_>.
10212
10213 * progmodes/autoconf.el (autoconf-definition-regexp)
10214 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10215 Handle a _ with symbol syntax.
10216 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10217
10218 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10219 Consolidate declaration.
10220 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10221 the declaration.
10222 (ada-create-syntax-table): Remove.
10223 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10224 already has the right syntax nowadays.
10225 (ada-goto-next-word): Don't change the syntax of "_".
10226
10227 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10228 with-wrapper-hook.
10229
10230 2013-05-08 Sam Steingold <sds@gnu.org>
10231
10232 * thingatpt.el (thing-at-point): Accept optional second argument
10233 NO-PROPERTIES to strip the text properties from the return value.
10234 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10235 to `thing-at-point' instead of stripping the properties ourselves.
10236 Also, when `thing-at-point' fails to find a url, prepend "http://"
10237 to the filename at point on the assumption that the user is
10238 pointing at something like gnu.org/gnu.
10239
10240 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10241
10242 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10243 * faces.el (crm-separator):
10244 Silence byte-compiler.
10245
10246 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10247 (tool-bar-map): Remove unneeded defvars.
10248
10249 2013-05-08 Leo Liu <sdl.web@gmail.com>
10250
10251 Re-work a fix for bug#10994 based on Le Wang's patch.
10252 * ido.el (ido-remove-consecutive-dups): New helper.
10253 (ido-completing-read): Use it.
10254 (ido-chop): Revert fix for bug#10994.
10255
10256 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10257
10258 * cus-edit.el (custom-save-variables):
10259 Pretty-print long values. (Bug#14187)
10260
10261 2013-05-08 Glenn Morris <rgm@gnu.org>
10262
10263 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10264 (m4-mode-syntax-table): Init in the defvar.
10265 (m4-mode-abbrev-table): Let define-derived-mode define it.
10266
10267 2013-05-08 Tom Tromey <tromey@redhat.com>
10268
10269 * progmodes/m4-mode.el (m4-mode-syntax-table):
10270 Do not treat "_" as word constituent. (Bug#14167)
10271
10272 2013-05-07 Glenn Morris <rgm@gnu.org>
10273
10274 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10275 Remove explicit eshell-isearch-cancel-map.
10276
10277 * progmodes/f90.el (f90-smart-end-names): New option.
10278 (f90-smart-end): Doc fix.
10279 (f90-end-block-optional-name): New constant.
10280 (f90-block-match): Respect f90-smart-end-names.
10281
10282 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10285 about implicit semi-colons (bug#14218).
10286
10287 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10288
10289 * frame.el (display-monitor-attributes-list)
10290 (frame-monitor-attributes): New functions.
10291
10292 2013-05-06 Leo Liu <sdl.web@gmail.com>
10293
10294 * progmodes/octave.el (octave-syntax-propertize-function): Change
10295 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10296 (octave-font-lock-keywords): Use octave-operator-regexp.
10297 (octave-completion-at-point): Rename from
10298 octave-completion-at-point-function.
10299 (inferior-octave-directory-tracker): Robustify.
10300 (octave-text-functions): Remove and fix its uses. No such things
10301 any more.
10302
10303 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * emacs-lisp/trace.el (trace--display-buffer): New function.
10306 (trace-make-advice): Use it.
10307
10308 2013-05-06 Juri Linkov <juri@jurta.org>
10309
10310 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10311 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10312 Doc fix.
10313 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10314 in the help string. (Bug#12985)
10315
10316 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10317
10318 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10319
10320 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * progmodes/perl-mode.el: Add support for here documents.
10323 (perl-syntax-propertize-function): Match here-doc markers.
10324 (perl-syntax-propertize-special-constructs): Find their end.
10325 (perl-imenu-generic-expression): Use [:alnum:].
10326
10327 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10328 (advice--add-function): Refresh the advice if already present
10329 (bug#14317).
10330
10331 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10332
10333 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10334
10335 2013-05-06 Glenn Morris <rgm@gnu.org>
10336
10337 * w32-fns.el (w32-charset-info-alist): Declare.
10338
10339 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10340 of its defcustom properties.
10341 (eshell-cmpl-initialize): No need to load pcomplete.
10342
10343 * generic-x.el: No need to require comint when compiling.
10344
10345 * net/eudc-export.el: Make it loadable without bbdb.
10346 (top-level): Use require rather than load-library.
10347 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10348 (eudc-batch-export-records-to-bbdb)
10349 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10350 Require bbdb.
10351
10352 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10355 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10356 some tweaks, instead.
10357
10358 2013-05-05 Leo Liu <sdl.web@gmail.com>
10359
10360 * progmodes/octave.el (octave-font-lock-keywords)
10361 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10362 (inferior-octave-send-list-and-digest): Improve error message.
10363 (octave-mode, inferior-octave-mode): Use setq-local.
10364 (octave-help): Set info-lookup-mode.
10365
10366 2013-05-05 Richard Stallman <rms@gnu.org>
10367
10368 * vc/compare-w.el (compare-windows-whitespace):
10369 Treat no-break space as whitespace.
10370
10371 * mail/rmailsum.el (rmail-summary-rmail-update):
10372 Detect empty summary and don't change selected message.
10373 (rmail-summary-goto-msg): Likewise.
10374
10375 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10376 Doc fixes, rename args.
10377
10378 2013-05-05 Alan Mackenzie <acm@muc.de>
10379
10380 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10381
10382 2013-05-05 Juri Linkov <juri@jurta.org>
10383
10384 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10385 to not add the length of the summary segment to the return value.
10386 (Bug#14125)
10387
10388 2013-05-05 Leo Liu <sdl.web@gmail.com>
10389
10390 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10391 (inferior-octave-output-filter): Remove.
10392 (octave-send-region, inferior-octave-startup): Fix callers.
10393 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10394 (octave-binary-file-extensions): New user variable.
10395 (octave-find-definition): Confirm if opening binary files.
10396 (octave-help-file): Use octave-find-definition to get the binary
10397 confirmation.
10398 (octave-help): Adjust for octave-help-file change.
10399
10400 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10403 Merge the two entries that handle function definitions.
10404 (pascal--syntax-propertize): New const.
10405 (pascal-mode): Use it. Use setq-local.
10406
10407 2013-05-04 Glenn Morris <rgm@gnu.org>
10408
10409 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10410 (diary-from-outlook): Respect diary-from-outlook-function.
10411
10412 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10415 Move the declaration from C.
10416 (read-minibuffer, eval-minibuffer): Move from C.
10417 (completion-setup-function): Avoid minibuffer-completion-contents.
10418
10419 2013-05-03 Leo Liu <sdl.web@gmail.com>
10420
10421 * progmodes/octave.el (octave-font-lock-keywords): Do not
10422 dehighlight 'end' in comments or strings.
10423 (octave-completing-read, octave-goto-function-definition):
10424 New helpers.
10425 (octave-help-buffer): New user variable.
10426 (octave-help-file, octave-help-function): New button types.
10427 (octave-help): New command and bind it to C-h ;.
10428 (octave-find-definition): New command and bind it to M-.
10429 (user-error): Alias to error if not defined.
10430
10431 2013-05-02 Leo Liu <sdl.web@gmail.com>
10432
10433 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10434 for \. (bug#14332)
10435 (octave-font-lock-keywords): Include [ and {.
10436
10437 2013-05-02 Leo Liu <sdl.web@gmail.com>
10438
10439 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10440 (inferior-octave): Remove calling comint-mode and return the buffer.
10441 (inferior-octave-startup): Cosmetic changes.
10442
10443 2013-05-02 Leo Liu <sdl.web@gmail.com>
10444
10445 * progmodes/octave.el (octave-syntax-propertize-function):
10446 Include the case when ' is at line beginning. (Bug#14336)
10447
10448 2013-05-02 Glenn Morris <rgm@gnu.org>
10449
10450 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10451 * desktop.el (vc-dir-mode): Just autoload it here.
10452
10453 2013-05-02 Alan Mackenzie <acm@muc.de>
10454
10455 Eliminate variable c-standard-font-lock-fontify-region-function.
10456 * progmodes/cc-mode.el
10457 (c-standard-font-lock-fontify-region-function): Remove.
10458 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10459
10460 2013-05-01 Leo Liu <sdl.web@gmail.com>
10461
10462 * progmodes/octave.el: Compatible with older emacs-24 releases.
10463 (inferior-octave-has-built-in-variables): Remove. Built-in
10464 variables were removed from Octave in 2007.
10465 (inferior-octave-startup): Fix uses.
10466 (comint-line-beginning-position): Remove compatibility code for
10467 emacs 21.
10468
10469 2013-05-01 Juri Linkov <juri@jurta.org>
10470
10471 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10472
10473 2013-05-01 Juri Linkov <juri@jurta.org>
10474
10475 * comint.el (comint-previous-matching-input): Don't print message
10476 "History item: %d" when `isearch-mode' is active.
10477 (comint-history-isearch-message): Print message "History item: %d"
10478 when `comint-input-ring-index' is not empty and this function is
10479 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10480
10481 2013-05-01 Leo Liu <sdl.web@gmail.com>
10482
10483 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10484 definitions. Use completion-at-point to insert keywords.
10485 (octave-abbrev-start): Remove.
10486 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10487
10488 2013-04-30 Leo Liu <sdl.web@gmail.com>
10489
10490 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10491 change.
10492
10493 2013-04-30 Alan Mackenzie <acm@muc.de>
10494
10495 Handle arbitrarily long C++ member initialisation lists.
10496 * progmodes/cc-engine.el (c-back-over-member-initializers):
10497 new function.
10498 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10499 (most) member init lists.
10500
10501 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10502
10503 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10504 variable.
10505
10506 2013-04-30 Leo Liu <sdl.web@gmail.com>
10507
10508 * progmodes/octave.el (octave-variables): Remove. No builtin
10509 variables any more. All converted to functions.
10510 (octave-font-lock-keywords, octave-completion-at-point-function):
10511 Fix uses.
10512 (octave-font-lock-texinfo-comment): New user variable.
10513 (octave-texinfo-font-lock-keywords): New variable for texinfo
10514 comment block.
10515 (octave-function-comment-block): New face.
10516 (octave-font-lock-texinfo-comment): New function.
10517 (octave-mode): Font lock texinfo comment block.
10518
10519 2013-04-29 Leo Liu <sdl.web@gmail.com>
10520
10521 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10522 indexing expression.
10523 (octave-continuation-string): Do not use \.
10524 (inferior-octave-complete-impossible): Remove.
10525 (inferior-octave-completion-table)
10526 (inferior-octave-completion-at-point): Remove its uses.
10527 (inferior-octave-startup): completion_matches was introduced to
10528 Octave in 1996 so safe to assume it.
10529 (octave-function-file-comment): Improve to follow how Octave does it.
10530 (octave-update-function-file-comment): Tweak.
10531
10532 2013-04-29 Leo Liu <sdl.web@gmail.com>
10533
10534 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10535 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10536 (octave-function-file-comment): Fix typo.
10537 (octave-sync-function-file-names): Use read-char-choice.
10538
10539 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10540
10541 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10542 to t for the less important warnings.
10543
10544 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10545
10546 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10547
10548 2013-04-27 Glenn Morris <rgm@gnu.org>
10549
10550 * vc/log-view.el (log-view-current-entry):
10551 Treat "---" separator lines as part of the following rev. (Bug#14169)
10552
10553 2013-04-27 Juri Linkov <juri@jurta.org>
10554
10555 * subr.el (read-number): Doc fix about using it by interactive
10556 code letter `n'. (Bug#14254)
10557
10558 2013-04-27 Juri Linkov <juri@jurta.org>
10559
10560 * desktop.el (desktop-auto-save-timeout): New option.
10561 (desktop-file-checksum): New variable.
10562 (desktop-save): Add optional arg `auto-save' and don't auto-save
10563 if nothing changed.
10564 (desktop-auto-save-timer): New variable.
10565 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10566 (after-init-hook): Call `desktop-auto-save-set-timer'.
10567 Suggested by Reuben Thomas <rrt@sc3d.org> in
10568 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10569
10570 2013-04-27 Leo Liu <sdl.web@gmail.com>
10571
10572 * progmodes/octave.el (octave-function-file-p)
10573 (octave-skip-comment-forward, octave-function-file-comment)
10574 (octave-update-function-file-comment): New functions.
10575 (octave-mode-map): Bind C-c ; to
10576 octave-update-function-file-comment.
10577 (octave-mode-menu): Add octave-update-function-file-comment.
10578 (octave-mode, inferior-octave-mode): Fix doc-string.
10579 (octave-insert-defun): Conform to Octave's coding convention.
10580 (Bug#14285)
10581
10582 * files.el (basic-save-buffer): Don't let errors in
10583 before-save-hook prevent saving buffer.
10584
10585 2013-04-20 Roland Winkler <winkler@gnu.org>
10586
10587 * faces.el (read-face-name): Use completing-read if arg multiple
10588 is nil.
10589
10590 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10591
10592 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10593 displayed, move point to after the totals line.
10594 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10595 for the details.
10596
10597 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10600 Add current dir to the load-path.
10601 (package-generate-autoloads): Don't rely on
10602 autoload-ensure-default-file.
10603
10604 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10605
10606 * textmodes/remember.el (remember-store-in-files): Document that
10607 the file name format is passed to `format-time-string'.
10608
10609 2013-04-26 Leo Liu <sdl.web@gmail.com>
10610
10611 * progmodes/octave.el (octave-sync-function-file-names): New function.
10612 (octave-mode): Use it in before-save-hook.
10613
10614 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10617 (bug#14274).
10618
10619 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10620 \n and comment, even if it's not an implicit ; (bug#14218).
10621
10622 2013-04-26 Glenn Morris <rgm@gnu.org>
10623
10624 * subr.el (read-number): Once more use `read' rather than
10625 `string-to-number', to trap non-numeric input. (Bug#14254)
10626
10627 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10628
10629 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10630 Use `syntax-multiline' text property consistently instead of
10631 `font-lock-multiline'. (Bug#14237)
10632
10633 2013-04-26 Glenn Morris <rgm@gnu.org>
10634
10635 * emacs-lisp/shadow.el (list-load-path-shadows):
10636 No longer necessary to check for duplicate simple.el, since
10637 2012-07-07 change to init_lread to not include installation lisp
10638 directories in load-path when running uninstalled. (Bug#14270)
10639
10640 2013-04-26 Leo Liu <sdl.web@gmail.com>
10641
10642 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10643 (octave-mode, inferior-octave-mode): Use setq-local.
10644 (octave-not-in-string-or-comment-p): Rename to
10645 octave-in-string-or-comment-p.
10646 (octave-in-comment-p, octave-in-string-p)
10647 (octave-in-string-or-comment-p): Replace defsubst with defun.
10648
10649 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10650
10651 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10652
10653 2013-04-25 Bastien Guerry <bzg@gnu.org>
10654
10655 * textmodes/remember.el (remember-data-directory)
10656 (remember-directory-file-name-format): Fix custom types.
10657
10658 2013-04-25 Leo Liu <sdl.web@gmail.com>
10659
10660 * progmodes/octave.el (octave-completion-at-point-function):
10661 Make use of inferior octave process.
10662 (octave-initialize-completions): Remove.
10663 (inferior-octave-completion-table): New function.
10664 (inferior-octave-completion-at-point): Use it.
10665 (octave-completion-alist): Remove.
10666
10667 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10668
10669 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10670 (opascal-mode-syntax-table): New var.
10671 (opascal-literal-kind, opascal-is-literal-end)
10672 (opascal-literal-token-at): Rewrite.
10673 (opascal--literal-start-re, opascal-font-lock-keywords)
10674 (opascal--syntax-propertize): New constants.
10675 (opascal-font-lock-defaults): Adjust.
10676 (opascal-mode): Use them. Set comment-<foo> variables as well.
10677 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10678 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10679 (delphi-other-face, opascal-other-face): Remove face variables.
10680 (opascal-save-state): Remove macro.
10681 (opascal-fontifying-progress-step): Remove constant.
10682 (opascal--ignore-changes): Remove var.
10683 (opascal-set-token-property, opascal-parse-next-literal)
10684 (opascal-is-stable-literal, opascal-complete-literal)
10685 (opascal-is-literal-start, opascal-face-of)
10686 (opascal-parse-region, opascal-parse-region-until-stable)
10687 (opascal-fontify-region, opascal-after-change)
10688 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10689 (opascal-debug-parse-region, opascal-debug-parse-window)
10690 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10691 (opascal-debug-fontify-buffer): Remove.
10692 (opascal-debug-mode-map): Adjust accordingly.
10693
10694 2013-04-25 Leo Liu <sdl.web@gmail.com>
10695
10696 Merge octave-mod.el and octave-inf.el into octave.el with some
10697 cleanups.
10698 * progmodes/octave.el: New file renamed from octave-mod.el.
10699 * progmodes/octave-inf.el: Merged into octave.el.
10700 * progmodes/octave-mod.el: Renamed to octave.el.
10701
10702 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10703
10704 * textmodes/reftex-vars.el
10705 (reftex-label-ignored-macros-and-environments): New defcustom.
10706
10707 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10708
10709 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10712 (smie-indent-keyword): Improve the check to ensure that the next
10713 comment is really on the same line.
10714 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10715
10716 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10717 semi-colons if the line is not otherwise empty (bug#14218).
10718
10719 2013-04-25 Glenn Morris <rgm@gnu.org>
10720
10721 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10722
10723 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * progmodes/opascal.el (opascal-set-token-property): Rename from
10726 opascal-set-text-properties and only set `token' (bug#14134).
10727 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10728 (opascal-literal-text-properties): Remove.
10729 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10730 Adjust callers.
10731
10732 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10733
10734 * textmodes/remember.el (remember-handler-functions): Add an
10735 option for a new handler `remember-store-in-files'.
10736 (remember-data-directory, remember-directory-file-name-format):
10737 New options.
10738 (remember-store-in-files): New function to store remember notes
10739 as separate files within a directory.
10740
10741 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10742
10743 * progmodes/compile.el (compilation-next-error-function):
10744 Pass "formats" to compilation-find-file (bug#11777).
10745
10746 2013-04-24 Glenn Morris <rgm@gnu.org>
10747
10748 * vc/vc-bzr.el (vc-bzr-print-log):
10749 * vc/vc-hg.el (vc-hg-print-log):
10750 * vc/vc-svn.el (vc-svn-print-log):
10751 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10752
10753 * vc/vc-bzr.el (vc-bzr-print-log):
10754 * vc/vc-cvs.el (vc-cvs-print-log):
10755 * vc/vc-git.el (vc-git-print-log):
10756 * vc/vc-hg.el (vc-hg-print-log):
10757 * vc/vc-mtn.el (vc-mtn-print-log):
10758 * vc/vc-rcs.el (vc-rcs-print-log):
10759 * vc/vc-sccs.el (vc-sccs-print-log):
10760 * vc/vc-svn.el (vc-svn-print-log):
10761 * vc/vc.el (vc-print-log-internal): Doc fixes.
10762
10763 2013-04-23 Glenn Morris <rgm@gnu.org>
10764
10765 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10766 Remove venerable code attempting to avoid substitute-command-keys.
10767
10768 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10769
10770 * textmodes/reftex-vars.el (reftex-label-regexps):
10771 Call `reftex-compile-variables' after changes to this variable.
10772
10773 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10776 Use lexical-binding.
10777 (jit-lock-force-redisplay): Use markers, check buffer's continued
10778 existence and beware narrowed buffers.
10779 (jit-lock-fontify-now): Adjust call accordingly.
10780
10781 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10784 to avoid misleading the user.
10785
10786 2013-04-22 Leo Liu <sdl.web@gmail.com>
10787
10788 * info-look.el: Prefer latex2e.info. (Bug#14240)
10789
10790 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10791
10792 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10793
10794 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10795 * net/tramp.el (tramp-call-process): ... here.
10796 (tramp-set-completion-function, tramp-parse-putty):
10797 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10798 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10799 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10800 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10801 (tramp-call-local-coding-command): Use `tramp-call-process'
10802 instead of `tramp-compat-call-process'.
10803
10804 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10805 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10806 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10807 (tramp-find-inline-compress): Improve traces.
10808 (tramp-maybe-send-script): Check for Perl binary.
10809 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10810
10811 2013-04-22 Daiki Ueno <ueno@gnu.org>
10812
10813 * epg.el (epg-context-pinentry-mode): New function.
10814 (epg-context-set-pinentry-mode): New function.
10815 (epg--start): Pass --pinentry-mode option to gpg command.
10816
10817 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10818
10819 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10820 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10821 `completion-at-point'. (Bug#13774)
10822
10823 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10824 default key binding for `describe-distribution' has been moved to
10825 `C-h C-o'. (Bug#13970)
10826
10827 2013-04-21 Glenn Morris <rgm@gnu.org>
10828
10829 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10830 Add doc strings.
10831 (vc-print-log): Clarify interactive prompt.
10832
10833 2013-04-20 Glenn Morris <rgm@gnu.org>
10834
10835 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10836 No longer include timestamp etc information.
10837
10838 2013-04-20 Roland Winkler <winkler@gnu.org>
10839
10840 * faces.el (read-face-name): Bug fix, return just one face if arg
10841 multiple is nil. (Bug#14209)
10842
10843 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10846 (remove-function): Autoload.
10847
10848 * comint.el (comint-redirect-original-filter-function): Remove.
10849 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10850 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10851 (vc-cvs-annotate-command):
10852 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10853 * progmodes/prolog.el (prolog-consult-compile):
10854 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10855 Use add/remove-function instead.
10856 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10857 (gud-tooltip-process-output, gud-tooltip-tips):
10858 Use add/remove-function instead.
10859 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10860 (scheme-interaction-mode, exit-scheme-interaction-mode):
10861 Use add/remove-function instead.
10862
10863 * vc/vc-dispatcher.el: Use lexical-binding.
10864 (vc--process-sentinel): Rename from vc-process-sentinel.
10865 Change last arg to be the code to run. Don't use vc-previous-sentinel
10866 and vc-sentinel-commands any more.
10867 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10868 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10869
10870 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10871
10872 * progmodes/sh-script.el (sh-imenu-generic-expression):
10873 Handle function names with a single character. (Bug#14111)
10874
10875 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10876
10877 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10878 for subroutines defined in an eval (bug#14182).
10879
10880 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10881
10882 * bookmark.el (bookmark-completing-read): Improve handling of empty
10883 string (bug#14176).
10884
10885 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10888
10889 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10890
10891 New faster Imenu implementation (bug#14058).
10892 * progmodes/python.el:
10893 (python-imenu-prev-index-position):
10894 (python-imenu-format-item-label-function)
10895 (python-imenu-format-parent-item-label-function)
10896 (python-imenu-format-parent-item-jump-label-function):
10897 New vars.
10898 (python-imenu-format-item-label)
10899 (python-imenu-format-parent-item-label)
10900 (python-imenu-format-parent-item-jump-label)
10901 (python-imenu--put-parent, python-imenu--build-tree)
10902 (python-imenu-create-index, python-imenu-create-flat-index)
10903 (python-util-popn): New functions.
10904 (python-mode): Set imenu-create-index-function to
10905 python-imenu-create-index.
10906
10907 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * winner.el (winner-active-region): Use region-active-p, activate-mark
10910 and deactivate-mark (bug#14225).
10911
10912 * simple.el (deactivate-mark): Don't inline it.
10913
10914 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10915
10916 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10917
10918 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10919
10920 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10921 file extensions from the archive-mode entry in order to prefer
10922 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10923
10924 2013-04-18 Leo Liu <sdl.web@gmail.com>
10925
10926 * bindings.el (help-event-list): Add ?\?.
10927
10928 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10929
10930 * subr.el (with-wrapper-hook): Declare obsolete.
10931 * simple.el (filter-buffer-substring-function): New hook.
10932 (filter-buffer-substring): Use it.
10933 (filter-buffer-substring-functions): Mark obsolete.
10934 * minibuffer.el (completion-in-region-function): New hook.
10935 (completion-in-region): Use it.
10936 (completion-in-region-functions): Mark obsolete.
10937 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10938 * abbrev.el (abbrev-expand-function): New hook.
10939 (expand-abbrev): Use it.
10940 (abbrev-expand-functions): Mark obsolete.
10941 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10942 and :filter-return.
10943
10944 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10945
10946 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10947 and do not care about match data.
10948
10949 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10952 completion tables when completing error conditions and
10953 `declare' arguments.
10954 (lisp-complete-symbol, field-complete): Mark as obsolete.
10955 (check-parens): Unmatched parens are user errors.
10956 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10957
10958 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10959
10960 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10961 command changed buffer (ie. `flyspell-pre-buffer' is not current
10962 buffer), which prevents making decisions based on invalid value of
10963 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10964 cause an error when `flyspell-pre-point' was nil after switching
10965 buffers.
10966 (flyspell-post-command-hook): No longer needs to change buffers when
10967 checking pre-word. While at it remove unnecessary progn.
10968
10969 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10970
10971 * textmodes/ispell.el (ispell-add-per-file-word-list):
10972 Fix `flyspell-correct-word-before-point' error when accepting
10973 words and `coment-padding' is an integer by using
10974 `comment-normalize-vars' (Bug #14214).
10975
10976 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10977
10978 New defun movement commands.
10979 * progmodes/python.el (python-nav--syntactically)
10980 (python-nav--forward-defun, python-nav-backward-defun)
10981 (python-nav-forward-defun): New functions.
10982
10983 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10984
10985 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10986 (python-syntax-context): Use named compiler-macro for backwards
10987 compatibility with Emacs 24.x.
10988
10989 2013-04-17 Leo Liu <sdl.web@gmail.com>
10990
10991 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10992 octave-hide-process-buffer.
10993
10994 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10997 (bug#14216).
10998
10999 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11000
11001 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11002 Fix adjustment of offset when receiving incomplete responses from GDB
11003 (bug#14129).
11004
11005 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11006
11007 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11008 python-mode-abbrev-table.
11009 (python-skeleton-define): Adjust accordingly.
11010 (python-mode-abbrev-table): New table that inherits from it so that
11011 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11012
11013 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11014 (abbrev-symbol): Use it.
11015 (abbrev--before-point): Use it since we already handle inheritance.
11016
11017 2013-04-16 Leo Liu <sdl.web@gmail.com>
11018
11019 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11020 binding to info-lookup-symbol.
11021
11022 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11023
11024 * minibuffer.el (completion--twq-all):
11025 * term/ns-win.el (ns-initialize-window-system):
11026 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11027
11028 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11029
11030 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11031 global bindings.
11032
11033 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11034
11035 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11036
11037 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11038 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11039 to nil.
11040 (ruby-end-of-defun): Remove the unused arg, change the docstring
11041 to reflect that this function is only used as the value of
11042 `end-of-defun-function'.
11043 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11044 to reflect an earlier change that beginning/end-of-defun functions
11045 jump between methods in a class definition, as well as top-level
11046 functions.
11047
11048 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * minibuffer.el (minibuffer-complete): Don't just scroll
11051 a *Completions* that's been iconified.
11052 (minibuffer-force-complete): Make sure repetitions do cycle when going
11053 through completion-in-region -> minibuffer-complete.
11054
11055 2013-04-15 Alan Mackenzie <acm@muc.de>
11056
11057 Correct the placement of c-cpp-delimiters when there're #s not at
11058 col 0.
11059
11060 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11061 place a submatch around the #.
11062 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11063 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11064 on the #, not BOL.
11065
11066 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11067
11068 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11069 (advice--member-p): New arg `name'.
11070 (advice--add-function, advice-member-p): Use it (bug#14202).
11071
11072 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11073
11074 Reformulate java imenu-generic-expression.
11075 The old expression contained ill formed regexps.
11076
11077 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11078 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11079 (cc-imenu-java-method-arg-regexp): New defconsts.
11080 (cc-imenu-java-build-type-args-regex): New defun.
11081 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11082 handling of spaces in the regexp.
11083
11084 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11085
11086 * textmodes/ispell.el (ispell-command-loop): Remove
11087 flyspell highlight of a word when ispell accepts it (bug #14178).
11088
11089 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11090
11091 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11092 uses code from the previous `ange-ftp-run-real-handler'.
11093 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11094 only in case that function exist. This is needed for proper
11095 unloading of Tramp.
11096
11097 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11098
11099 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11100
11101 * textmodes/reftex.el (reftex-compile-variables): Use it.
11102
11103 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * files.el (normal-mode): Only use default major-mode if no other mode
11106 was specified.
11107
11108 * emacs-lisp/trace.el (trace-values): New function.
11109
11110 * files.el: Allow : in local variables (bug#14089).
11111 (hack-local-variable-regexp): New var.
11112 (hack-local-variables-prop-line, hack-local-variables): Use it.
11113
11114 2013-04-13 Roland Winkler <winkler@gnu.org>
11115
11116 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11117 data before it gets modified by bibtex-beginning-of-entry.
11118
11119 2013-04-13 Roland Winkler <winkler@gnu.org>
11120
11121 * textmodes/bibtex.el (bibtex-url): Doc fix.
11122
11123 2013-04-13 Roland Winkler <winkler@gnu.org>
11124
11125 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11126 does not visit a BibTeX file, exclude it from the list of buffers
11127 returned by bibtex-initialize.
11128
11129 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11130
11131 * window.el (split-window): Remove interactive form, since as a
11132 command this function is a special case of split-window-below.
11133 Correct doc string.
11134
11135 2013-04-12 Roland Winkler <winkler@gnu.org>
11136
11137 * faces.el (read-face-name): Do not override value of arg default.
11138 Allow single faces and strings as default values. Remove those
11139 elements from return value that are not faces.
11140 (describe-face): Simplify.
11141 (face-at-point): New optional args thing and multiple so that this
11142 function can provide the same functionality previously provided by
11143 read-face-name.
11144 (make-face-bold, make-face-unbold, make-face-italic)
11145 (make-face-unitalic, make-face-bold-italic, invert-face)
11146 (modify-face, read-face-and-attribute): Use face-at-point.
11147
11148 * cus-edit.el (customize-face, customize-face-other-window)
11149 * cus-theme.el (custom-theme-add-face)
11150 * face-remap.el (buffer-face-set)
11151 * facemenu.el (facemenu-set-face): Use face-at-point.
11152
11153 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11154
11155 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11156
11157 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11158
11159 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11160 off leading { and trailing } from field values.
11161
11162 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * emacs-lisp/timer.el (timer--check): New function.
11165 (timer--time, timer-set-function, timer-event-handler): Use it.
11166 (timer-set-idle-time): Simplify.
11167 (timer--activate): CSE.
11168 (timer-event-handler): Give more info in error message.
11169 (internal-timer-start-idle): New function, moved from C.
11170
11171 * mpc.el (mpc-proc): Add `restart' argument.
11172 (mpc-proc-cmd): Use it.
11173 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11174 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11175 less often.
11176
11177 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11178
11179 * progmodes/sh-script.el: Implement `sh-mode' own
11180 `add-log-current-defun-function' (bug#14112).
11181 (sh-current-defun-name): New function.
11182 (sh-mode): Use the function.
11183
11184 2013-04-09 Bastien Guerry <bzg@gnu.org>
11185
11186 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11187
11188 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11191
11192 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11193 timer (bug#14156).
11194
11195 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11196
11197 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11198 declaration.
11199
11200 2013-04-07 Leo Liu <sdl.web@gmail.com>
11201
11202 * pcmpl-x.el: New file.
11203
11204 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11205
11206 Do not set x-display-name until X connection is established.
11207 This is needed to prevent from weird situation described at
11208 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11209 * frame.el (make-frame): Set x-display-name after call to
11210 window system initialization function, not before.
11211 * term/x-win.el (x-initialize-window-system): Add optional
11212 display argument and use it.
11213 * term/w32-win.el (w32-initialize-window-system):
11214 * term/ns-win.el (ns-initialize-window-system):
11215 * term/pc-win.el (msdos-initialize-window-system):
11216 Add compatible optional display argument.
11217
11218 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11219
11220 * files.el (normal-backup-enable-predicate): On MS-Windows and
11221 MS-DOS compare truenames of temporary-file-directory and of the
11222 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11223 don't fail comparison by compare-strings. Also, compare file
11224 names case-insensitively on MS-Windows and MS-DOS.
11225
11226 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11229 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11230
11231 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11232
11233 * whitespace.el (whitespace-color-on, whitespace-color-off):
11234 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11235
11236 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11237
11238 * ispell.el (ispell-set-spellchecker-params):
11239 Really set `ispell-args' for all equivs.
11240
11241 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11242
11243 * ido.el (ido-completions): Use extra elements of ido-decorations
11244 (bug#14143).
11245 (ido-decorations): Update docstring.
11246
11247 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11248
11249 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11250 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11251 nil during initialization, in order not to miss changes since the
11252 file was opened. (Bug#14140)
11253
11254 2013-04-05 Leo Liu <sdl.web@gmail.com>
11255
11256 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11257
11258 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11259
11260 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11261
11262 2013-04-04 Glenn Morris <rgm@gnu.org>
11263
11264 * electric.el (electric-pair-inhibit-predicate): Add :version.
11265
11266 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11269 when a package is required several times (bug#14082).
11270
11271 2013-04-04 Roland Winkler <winkler@gnu.org>
11272
11273 * faces.el (read-face-name): Behave as promised by the docstring.
11274 Assume that arg default is a list of faces.
11275 (describe-face): Call read-face-name with list of default faces.
11276
11277 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11278
11279 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11280 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11281 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11282 the header.
11283 (bookmark-exit-hook-internal): Save even if list is empty.
11284
11285 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11286
11287 * emacs-lisp/package.el (package-pinned-packages): New var.
11288 (package--add-to-archive-contents): Obey it (bug#14118).
11289
11290 2013-04-03 Alan Mackenzie <acm@muc.de>
11291
11292 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11293 Also adapt to the new values of element 7 of a parse state.
11294
11295 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11296 parameter `not-in-delimiter'. Handle being inside comment opener.
11297 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11298 character in case we're typing a '*' after a '/'.
11299 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11300 instead by passing the parameter to c-state-pp-to-literal.
11301
11302 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11303 for elt. 7 of a parse state.
11304
11305 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11306
11307 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11308 * international/latin1-disp.el, international/mule-util.el:
11309 * language/cyril-util.el, language/european.el, language/ind-util.el:
11310 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11311 * language/tibetan.el, language/viet-util.el:
11312 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11313
11314 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11315
11316 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11317 (electric-pair-post-self-insert-function): Use it.
11318 (electric-pair-default-inhibit): New function, extracted from
11319 electric-pair-post-self-insert-function.
11320
11321 2013-03-31 Roland Winkler <winkler@gnu.org>
11322
11323 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11324
11325 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11326
11327 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11328
11329 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11330
11331 Un-indent after "pass" and "return" statements (Bug#13888)
11332 * progmodes/python.el (python-indent-block-enders): New var.
11333 (python-indent-calculate-indentation): Use it.
11334
11335 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11336
11337 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11338 defun. Defining it as defalias could introduce too eager
11339 byte-compiler optimization. (Bug#14030)
11340
11341 2013-03-30 Chong Yidong <cyd@gnu.org>
11342
11343 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11344
11345 2013-03-30 Leo Liu <sdl.web@gmail.com>
11346
11347 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11348 (kmacro-execute-from-register): Pass the keyboard macro to
11349 kmacro-call-macro or repeating won't work correctly.
11350
11351 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11352
11353 * progmodes/subword.el: Back to using `forward-symbol'.
11354
11355 * subr.el (forward-whitespace, forward-symbol)
11356 (forward-same-syntax): Move from thingatpt.el.
11357
11358 2013-03-29 Leo Liu <sdl.web@gmail.com>
11359
11360 * kmacro.el (kmacro-to-register): New command.
11361 (kmacro-execute-from-register): New function.
11362 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11363
11364 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * mpc.el: Use defvar-local and setq-local.
11367 (mpc--proc-connect): Connection failures are not bugs.
11368 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11369 (mpc-volume-map): Bind to the up-events.
11370
11371 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11372
11373 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11374 instead of `forward-symbol'.
11375
11376 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11379 (edebug--recursive-edit): Use it.
11380 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11381 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11382
11383 2013-03-28 Leo Liu <sdl.web@gmail.com>
11384
11385 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11386
11387 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11388
11389 * facemenu.el (list-colors-callback): New defvar.
11390 (list-colors-redisplay): New function.
11391 (list-colors-display): Install list-colors-redisplay as the
11392 revert-buffer-function. (Bug#14063)
11393
11394 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11397 and suffixes don't overlap (bug#14061).
11398
11399 * case-table.el: Use lexical-binding.
11400 (case-table-get-table): New function.
11401 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11402
11403 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11404
11405 * progmodes/subword.el: Add `superword-mode' to do word motion
11406 over symbol_words (parallels and leverages `subword-mode' which
11407 does word motion inside MixedCaseWords).
11408
11409 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11410
11411 * eshell/em-unix.el: Move su and sudo to...
11412 * eshell/em-tramp.el: ...Eshell tramp module.
11413
11414 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11417 Change return value to be a sexp. Delay `get-buffer' to after
11418 restoring the desktop (bug#13951).
11419
11420 2013-03-26 Leo Liu <sdl.web@gmail.com>
11421
11422 * register.el: Move semantic tag handling back to
11423 cedet/semantic/senator.el. (Bug#14052)
11424
11425 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11428 into the prompt either (bug#13963).
11429
11430 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11433 part of "(error-foo)".
11434
11435 2013-03-24 Juri Linkov <juri@jurta.org>
11436
11437 * replace.el (list-matching-lines-prefix-face): New defcustom.
11438 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11439 `occur-engine' if `face-differs-from-default-p' returns t.
11440 (occur-engine): Add `,' inside backquote construct to evaluate
11441 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11442 Pass `prefix-face' to the functions `occur-context-lines' and
11443 `occur-engine-add-prefix'.
11444 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11445 `prefix-face' and propertize the prefix with `prefix-face'.
11446 (Bug#14017)
11447
11448 2013-03-24 Leo Liu <sdl.web@gmail.com>
11449
11450 * nxml/rng-valid.el (rng-validate-while-idle)
11451 (rng-validate-quick-while-idle): Guard against deleted buffer.
11452 (Bug#13999)
11453
11454 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11455 is the last entry in kill-buffer-hook.
11456
11457 * files.el (kill-buffer-hook): Doc fix.
11458
11459 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11460
11461 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11462 Make it safe-local.
11463
11464 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11465
11466 2013-03-23 Leo Liu <sdl.web@gmail.com>
11467
11468 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11469 Remove.
11470
11471 * nxml/rng-valid.el (rng-validate-mode)
11472 (rng-after-change-function, rng-do-some-validation):
11473 * nxml/rng-maint.el (rng-validate-buffer):
11474 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11475 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11476 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11477 (nxml-extend-after-change-region): Use with-silent-modifications.
11478
11479 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11480 timer-idle-list.
11481
11482 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11483 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11484 timer-idle-list. (Bug#13999)
11485
11486 2013-03-23 Juri Linkov <juri@jurta.org>
11487
11488 * info.el (info-index-match): New face.
11489 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11490 main pattern and add text properties with the new face to matches
11491 in index entries relative to the beginning of the index entry.
11492 (Bug#14015)
11493
11494 2013-03-21 Eric Ludlam <zappo@gnu.org>
11495
11496 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11497 Inhibit read only while inserting objects.
11498
11499 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11500
11501 * progmodes/cfengine.el: Update docs to mention
11502 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11503 symbol motion. Remove "_" from the word syntax.
11504
11505 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11506
11507 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11508 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11509
11510 2013-03-20 Juri Linkov <juri@jurta.org>
11511
11512 * info.el (Info-next-reference-or-link)
11513 (Info-prev-reference-or-link): New functions.
11514 (Info-next-reference, Info-prev-reference): Use them.
11515 (Info-try-follow-nearest-node): Handle footnote navigation.
11516 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11517
11518 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11521 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11522
11523 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11524
11525 Suppress unnecessary non-ASCII chatter during build process.
11526 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11527 (batch-skkdic-convert): Suppress most of the chatter.
11528 It's not needed so much now that machines are faster,
11529 and its non-ASCII component was confusing; see Dmitry Gutov in
11530 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11531
11532 2013-03-20 Leo Liu <sdl.web@gmail.com>
11533
11534 * ido.el (ido-chop): Fix bug#10994.
11535
11536 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11537
11538 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11539 Remove vars.
11540 (whitespace-color-on, whitespace-color-off):
11541 Use `font-lock-fontify-buffer' (Bug#13817).
11542
11543 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11546 remapping in mode-line.
11547 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11548
11549 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11550
11551 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11552 value for `whitespace-line' face (Bug#13875).
11553 (whitespace-font-lock-keywords): Change description.
11554 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11555 the constructed keywords instead.
11556 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11557
11558 2013-03-19 Leo Liu <sdl.web@gmail.com>
11559
11560 * progmodes/compile.el (compilation-display-error): New command.
11561 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11562 C-o. (Bug#13992)
11563
11564 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11565
11566 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11567
11568 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11569
11570 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11571
11572 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11573
11574 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11575
11576 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11577 * net/tramp-gvfs.el (top):
11578 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11579 (tramp-handle-shell-command): Use it.
11580 (tramp-dissect-file-name): Raise an error when hostname is a
11581 method name, and neither method nor user is specified.
11582
11583 * net/trampver.el: Update release number.
11584
11585 2013-03-18 Leo Liu <sdl.web@gmail.com>
11586
11587 Make sure eldoc can be turned off properly.
11588 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11589 eldoc-mode.
11590 (eldoc-display-message-p): Revert last change.
11591 (eldoc-display-message-no-interference-p)
11592 (eldoc-print-current-symbol-info): Tweak.
11593
11594 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11595
11596 * doc-view.el (doc-view-new-window-function): Check the new window
11597 overlay's display property instead the char property of the
11598 buffer's first char. Use `with-selected-window' instead of
11599 `save-window-excursion' with `select-window'.
11600 (doc-view-document->bitmap): Check the current doc-view overlay's
11601 display property instead the char property of the buffer's first char.
11602
11603 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11604
11605 Automate the build of ja-dic.el (Bug#13984).
11606 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11607 from the input, rather than assume that it's been done for us by the
11608 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11609 the current date into a ja-dic.el comment, as that complicates
11610 regression testing.
11611
11612 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * whitespace.el: Fix double evaluation.
11615 (whitespace-space, whitespace-hspace, whitespace-tab)
11616 (whitespace-newline, whitespace-trailing, whitespace-line)
11617 (whitespace-space-before-tab, whitespace-indentation)
11618 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11619 obsolete defvars.
11620 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11621 (whitespace-color-on): Use a single font-lock-add-keywords call.
11622 Fix double-evaluation of face variables.
11623
11624 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11625
11626 * net/tramp-adb.el (tramp-adb-parse-device-names):
11627 Use `start-process' instead of `call-process'. Otherwise, the
11628 function might be blocked under MS Windows. (Bug#13299)
11629
11630 2013-03-17 Leo Liu <sdl.web@gmail.com>
11631
11632 Extend eldoc to display info in the mode-line. (Bug#13978)
11633 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11634 (eldoc-mode-line-string): New variable.
11635 (eldoc-minibuffer-message): New function.
11636 (eldoc-message-function): New variable.
11637 (eldoc-message): Use it.
11638 (eldoc-display-message-p)
11639 (eldoc-display-message-no-interference-p):
11640 Support eldoc-post-insert-mode.
11641
11642 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11643 (eval-expression): Run it.
11644
11645 2013-03-17 Roland Winkler <winkler@gnu.org>
11646
11647 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11648 strings in the list of return values.
11649
11650 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11651
11652 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11653 radix before checking for HMS forms.
11654
11655 2013-03-16 Leo Liu <sdl.web@gmail.com>
11656
11657 * progmodes/scheme.el: Add indentation and font-locking for λ.
11658 (Bug#13975)
11659
11660 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11661
11662 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11663 token before point (bug#13942).
11664
11665 2013-03-16 Leo Liu <sdl.web@gmail.com>
11666
11667 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11668
11669 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11670
11671 * startup.el (command-line-normalize-file-name): Fix handling of
11672 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11673 <xfq.free@gmail.com> in
11674 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11675
11676 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11677
11678 Sync with Tramp 2.2.7.
11679
11680 * net/trampver.el: Update release number.
11681
11682 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11683
11684 * doc-view.el: Fix bug#13887.
11685 (doc-view-insert-image): Don't modify overlay associated to
11686 non-live windows, and implement horizontal centering of image in
11687 case it's smaller than the window.
11688 (doc-view-new-window-function): Force redisplay of new windows on
11689 doc-view buffers.
11690
11691 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11692
11693 * saveplace.el (save-place-alist-to-file): Don't sort
11694 `save-place-alist', just pretty-print it (bug#13882).
11695
11696 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11699 Check whether `default-file-name-coding-system' is bound.
11700 It isn't in XEmacs.
11701
11702 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11703
11704 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11705 backquotes for `obsolete' (bug#13929).
11706
11707 * international/mule.el (find-auto-coding): Include file name in
11708 obsolescence warning (bug#13922).
11709
11710 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11711
11712 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11713 for CFEngine 3-specific indentation.
11714 (cfengine3-indent-line): Use it. Fix up category regex.
11715 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11716
11717 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * type-break.el (type-break-file-name):
11720 * textmodes/remember.el (remember-data-file):
11721 * strokes.el (strokes-file):
11722 * shadowfile.el (shadow-initialize):
11723 * saveplace.el (save-place-file):
11724 * ps-bdf.el (bdf-cache-file):
11725 * progmodes/idlwave.el (idlwave-config-directory):
11726 * net/quickurl.el (quickurl-url-file):
11727 * international/kkc.el (kkc-init-file-name):
11728 * ido.el (ido-save-directory-list-file):
11729 * emulation/viper.el (viper-custom-file-name):
11730 * emulation/vip.el (vip-startup-file):
11731 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11732 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11733
11734 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11735
11736 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11737 * language/thai-word.el: Switch to UTF-8.
11738
11739 See ChangeLog.16 for earlier changes.
11740
11741 ;; Local Variables:
11742 ;; coding: utf-8
11743 ;; End:
11744
11745 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11746
11747 This file is part of GNU Emacs.
11748
11749 GNU Emacs is free software: you can redistribute it and/or modify
11750 it under the terms of the GNU General Public License as published by
11751 the Free Software Foundation, either version 3 of the License, or
11752 (at your option) any later version.
11753
11754 GNU Emacs is distributed in the hope that it will be useful,
11755 but WITHOUT ANY WARRANTY; without even the implied warranty of
11756 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11757 GNU General Public License for more details.
11758
11759 You should have received a copy of the GNU General Public License
11760 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.