]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* net/shr.el (shr-insert): Don't infloop if the width is zero.
[gnu-emacs] / lisp / ChangeLog
1 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4
5 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
8 (bug#16251).
9
10 * electric.el: Move all electric-pair-* to elec-pair.el.
11 * elec-pair.el: New file, split from electric.el.
12
13 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14
15 * net/shr.el (shr-find-fill-point): Don't try to fill if the
16 indentation level is larger than the width, because that will
17 infloop.
18 (shr-insert): Fill repeatedly long texts, so that Japanese is
19 formatted correctly (bug#16263).
20 (shr-find-fill-point): Off by one error in comparison with the
21 indentation.
22
23 2013-12-26 João Távora <joaotavora@gmail.com>
24
25 * electric.el (electric-pair-mode): More flexible engine for skip-
26 and inhibit predicates, new options for pairing-related functionality.
27 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
28 if that keeps or improves their balance in buffers.
29 (electric-pair-delete-adjacent-pairs): Delete the pair when
30 backspacing over adjacent matched delimiters.
31 (electric-pair-open-extra-newline): Open extra newline when
32 inserting newlines between adjacent matched delimiters.
33 (electric--sort-post-self-insertion-hook):
34 Sort post-self-insert-hook according to priority values when
35 minor-modes are activated.
36 * simple.el (newline-and-indent): Call newline with interactive
37 set to t.
38 (blink-paren-post-self-insert-function): Set priority to 100.
39 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
40 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
41 comments. Locally set electric-pair-skip-whitespace to 'chomp and
42 electric-pair-open-newline-between-pairs to nil.
43
44 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
45
46 * progmodes/python.el: Use lexical-binding.
47 (python-nav-beginning-of-defun): Stop searching ASAP.
48
49 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
50
51 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
52 Fix interactive spec. Doc fix. (Bug#15754)
53
54 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
55
56 * emacs-lisp/byte-run.el (eval-when-compile):
57 * progmodes/cc-defs.el (cc-eval-when-compile):
58 Fix edebug spec (bug#16184).
59
60 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
61
62 * net/shr.el (shr-visit-file): Remove debugging function.
63 (shr-insert): Don't infloop if we can't find a good place to break
64 the line (bug#16256).
65
66 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
67
68 * progmodes/python.el:
69 (python-nav--lisp-forward-sexp): New function.
70 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
71 python-nav-lisp-forward-sexp-safe.
72 (python-nav--forward-sexp): New argument SAFE allows switching
73 forward sexp movement behavior for parens.
74 (python-nav-forward-sexp): Throw errors on unterminated parens
75 (Bug#16191).
76 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
77 (python-nav-backward-sexp-safe): New functions.
78 (python-shell-buffer-substring):
79 Use `python-nav-forward-sexp-safe'.
80
81 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
82
83 * net/shr.el (shr-find-fill-point): Don't break lines before a
84 quotation mark.
85 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
86 (shr-find-fill-point): Remove the special checks for the quotation
87 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
88
89 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
90
91 * net/eww.el (eww-form-textarea): Use a different face for
92 textareas than text input since they have different keymaps
93 (bug#16142).
94
95 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
96
97 * progmodes/python.el (python-nav-beginning-of-statement):
98 Speed up (Bug#15295).
99
100 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
101
102 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
103 the window configuration.
104
105 2013-12-24 Eli Zaretskii <eliz@gnu.org>
106
107 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
108 we run on MS-Windows or MS-DOS.
109
110 2013-12-24 Martin Rudalics <rudalics@gmx.at>
111
112 * window.el (balance-windows-area): Call window-size instead of
113 window-height and window-width. Bug#16241.
114
115 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
116
117 * net/eww.el (eww-bookmark-quit): Remove.
118 (eww-bookmark-browse): Restore the window configuration when you
119 choose a bookmark (bug#16144).
120
121 2013-12-24 Daniel Colascione <dancol@dancol.org>
122
123 * icomplete.el: Remove redundant :group arguments to `defcustom'
124 throughout.
125 (icomplete-show-matches-on-no-input): New customizable variable.
126 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
127 we have something to show.
128 (icomplete-exhibit): Compute completions even if we have no user input.
129
130 2013-12-23 Daniel Colascione <dancol@dancol.org>
131
132 * icomplete.el: Move `provide' to end of file.
133
134 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
135
136 * net/gnutls.el (gnutls-verify-error): Add version tag.
137
138 2013-12-23 Chong Yidong <cyd@gnu.org>
139
140 * subr.el (set-transient-map): Rename from
141 set-temporary-overlay-map. Doc fix.
142
143 * face-remap.el (text-scale-adjust):
144 * indent.el (indent-rigidly):
145 * kmacro.el (kmacro-call-macro):
146 * minibuffer.el (minibuffer-force-complete):
147 * repeat.el (repeat):
148 * simple.el (universal-argument--mode):
149 * calendar/todo-mode.el (todo-insert-item--next-param):
150 * progmodes/f90.el (f90-abbrev-start): Callers changed.
151
152 * indent.el (indent-rigidly): Use substitute-command-keys.
153
154 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
155
156 * net/eww.el (eww-tag-select): Add text-property to jump to next
157 select field.
158 (eww) : Add non-supported ftp error.
159
160 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
161
162 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
163 comments. Handle electric indent after typing `?' and `!'.
164
165 2013-12-22 Chong Yidong <cyd@gnu.org>
166
167 * faces.el (face-spec-recalc): If the theme specs are not
168 applicable to a frame, fall back on the defface spec.
169 This prevents themes from obliterating faces on low-color terminals.
170
171 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
172
173 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
174 after `{'. We need it after block openers, and it doesn't seem
175 to hurt after hash openers.
176
177 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
178
179 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
180 extracted from `ruby-smie-rules'.
181 (ruby--electric-indent-chars): New variable.
182 (ruby--electric-indent-p): New function.
183 (ruby-mode): Use `electric-indent-functions' instead of
184 `electric-indent-chars'.
185
186 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
187
188 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
189 docstring.
190 (ruby-smie-rules): Indent plus one level after `=>'.
191
192 2013-12-21 Richard Stallman <rms@gnu.org>
193
194 * simple.el (newline): Doc fix.
195
196 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
197
198 * net/eww.el (eww-list-histories, eww-list-histories)
199 (eww-history-browse, eww-history-quit, eww-history-kill)
200 (eww-history-mode-map, eww-history-mode): New command and
201 functions to list browser histories.
202 (eww-form-text): Support text form with disabled
203 and readonly attributes.
204 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
205
206 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
207
208 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
209 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
210 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
211 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
212 Use `user-error'.
213 (eww-bookmark-mode-map): Add menu.
214 (eww-render, eww-mode): Use `setq-local'.
215 (eww-tool-bar-map): New variable.
216 (eww-mode): Set `tool-bar-map'.
217 (eww-view-source): Check for `html-mode' with `fboundp'.
218
219 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
220
221 * net/shr.el (shr--extract-best-source): Don't bug out on audio
222 elements with text inside. Also remove debugging.
223
224 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
225
226 * cus-start.el (all): Add ns-use-srgb-colorspace.
227
228 2013-12-21 Chong Yidong <cyd@gnu.org>
229
230 * custom.el (custom-theme-recalc-face): Do nothing if the face is
231 undefined. Thus, theme settings for undefined faces do not take
232 effect until the faces are defined with defface, the same as with
233 theme variables.
234
235 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
236 (face-spec-reset-face): Don't assign extra properties in temacs.
237 (face-spec-recalc): Apply X resources too.
238
239 2013-12-21 Chong Yidong <cyd@gnu.org>
240
241 * faces.el (face-spec-set):
242 * cus-face.el (custom-theme-set-faces, custom-set-faces):
243 * custom.el (defface): Doc fixes (Bug#16203).
244
245 * indent.el (indent-rigidly-map): Add docstring, and move commands
246 into named functions.
247 (indent-rigidly-left, indent-rigidly-right)
248 (indent-rigidly-left-to-tab-stop)
249 (indent-rigidly-right-to-tab-stop): New functions. Decide on
250 indentation direction based on bidi direction, and accumulate
251 sequential commands in a single undo boundary.
252 (indent-rigidly--pop-undo): New utility function.
253
254 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
255
256 * faces.el (read-face-name): Require crm.el when using crm-separator.
257
258 2013-12-20 Daniel Colascione <dancol@dancol.org>
259
260 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
261 so that we don't reflow comments into the shebang line.
262
263 2013-12-20 Juri Linkov <juri@jurta.org>
264
265 * saveplace.el (save-place-to-alist): Add `dired-filename' as
266 a position when `dired-directory' is non-nil. Check integer
267 positions with `integerp'.
268 (toggle-save-place, save-places-to-alist): Add check for
269 `dired-directory'.
270 (save-place-find-file-hook): Check integer positions with
271 `integerp'.
272 (save-place-dired-hook): Use `dired-goto-file' when
273 `dired-filename' is found in the assoc list. Check integer
274 positions with `integerp'.
275 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
276
277 * dired.el (dired-initial-position-hook): Rename back from
278 `dired-initial-point-hook'.
279 (dired-initial-position): Rename `dired-initial-point-hook' to
280 `dired-initial-position-hook'.
281 (dired-file-name-at-point): Doc fix. (Bug#15329)
282
283 2013-12-20 Juri Linkov <juri@jurta.org>
284
285 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
286 (read-regexp-suggestions): New function.
287 (read-regexp): Use `read-regexp-defaults-function' to get default values.
288 Use `read-regexp-suggestions'. Add non-empty default to history
289 for empty input.
290 (occur-read-regexp-defaults-function): Remove function.
291 (occur-read-primary-args): Use `regexp-history-last' instead of
292 `occur-read-regexp-defaults-function'.
293
294 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
295 (hi-lock-line-face-buffer, hi-lock-face-buffer)
296 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
297 `hi-lock-read-regexp-defaults-function'. Doc fix.
298 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
299 with `find-tag-default-as-symbol-regexp'. Doc fix.
300 (hi-lock-read-regexp-defaults): Remove function.
301 (hi-lock-regexp-okay): Add check for null.
302
303 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
304 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
305
306 * subr.el (find-tag-default-as-symbol-regexp): New function.
307 (find-tag-default-as-regexp): Move symbol regexp formatting to
308 `find-tag-default-as-symbol-regexp'.
309
310 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
311
312 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
313 (Bug#14179)
314
315 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
316
317 * calendar/todo-mode.el: New implementation of item insertion
318 commands and key bindings.
319 (todo-key-prompt): New face.
320 (todo-insert-item): New command.
321 (todo-insert-item--parameters): New defconst, replacing defvar
322 todo-insertion-commands-args-genlist.
323 (todo-insert-item--param-key-alist): New defconst, replacing
324 defvar todo-insertion-commands-arg-key-list.
325 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
326 (todo-insert-item--argsleft, todo-insert-item--apply-args)
327 (todo-insert-item--next-param): New functions.
328 (todo-insert-item--args, todo-insert-item--argleft)
329 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
330 New variables.
331 (todo-key-bindings-t): Change binding of "i" from
332 todo-insertion-map to todo-insert-item.
333 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
334 (todo-insertion-command-name, todo-insertion-commands-names)
335 (todo-define-insertion-command, todo-insertion-commands)
336 (todo-insertion-key-bindings, todo-insertion-map): Remove.
337
338 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
339
340 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
341 (todo-toggle-item-highlighting): Use eval-and-compile instead of
342 eval-when-compile.
343 (todo-move-category): Allow choosing a non-existing todo file to
344 move the category to, and create that file.
345 (todo-default-priority): New user option.
346 (todo-set-item-priority): Use it.
347 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
348 (desktop-restore-file-buffer): Declare.
349 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
350 (todo-modes-set-2): Locally set desktop-save-buffer to
351 todo-desktop-save-buffer.
352 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
353 (auto-mode-alist): Add autoload cookie.
354
355 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
356
357 * emacs-lisp/subr-x.el: Renamed from helpers.el.
358 helpers.el was a poor choice of name.
359 (string-remove-prefix): New function.
360 (string-remove-suffix): New function.
361
362 2013-12-20 Martin Rudalics <rudalics@gmx.at>
363
364 Fix assignment for new window total sizes.
365 * window.el (window--pixel-to-size): Remove function.
366 (window--pixel-to-total-1, window--pixel-to-total):
367 Fix calculation of new total sizes.
368
369 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
370
371 * comint.el (comint-output-filter): Fix rear-nonsticky property
372 placement (Bug#16010).
373
374 2013-12-20 Chong Yidong <cyd@gnu.org>
375
376 * faces.el (read-color): Minor fix for completion function.
377
378 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
379
380 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
381 New option. (Bug#16182)
382 (ruby-smie--indent-to-stmt-p): Use it.
383 (ruby-smie-rules): Revert the logic in the handling of `when'.
384 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
385 (ruby-deep-arglist, ruby-deep-indent-paren)
386 (ruby-deep-indent-paren-style): Update docstrings to note that the
387 vars don't have any effect with SMIE.
388
389 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
390
391 * calc/calc.el (calc-enter, calc-pop): Use the variable
392 `calc-context-sensitive-enter'.
393
394 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
395
396 * net/shr.el (shr-insert): Protect against infloops in degenerate
397 tables.
398
399 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
400
401 * progmodes/octave.el (octave): Add link to manual and octave
402 homepage.
403 (octave-mode-menu): Link to octave-mode manual.
404
405 2013-12-20 Leo Liu <sdl.web@gmail.com>
406
407 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
408 insertion using skeleton-end-newline. (Bug#16138)
409
410 2013-12-20 Juri Linkov <juri@jurta.org>
411
412 * replace.el (occur-engine): Use `add-face-text-property'
413 to add the face property to matches and titles. (Bug#14645)
414
415 * hi-lock.el (hi-green): Use lighter color "light green" closer to
416 the palette of other hi-lock colors.
417 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
418
419 2013-12-19 Juri Linkov <juri@jurta.org>
420
421 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
422 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
423 (minibuffer-history-symbol): Move variable declaration closer to
424 its usage.
425
426 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
427 (Bug#14785)
428
429 2013-12-19 Juri Linkov <juri@jurta.org>
430
431 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
432 New function.
433 (log-edit-hook): Add it to :options. (Bug#16170)
434
435 2013-12-19 Juri Linkov <juri@jurta.org>
436
437 * simple.el (eval-expression-print-format): Don't check for
438 command names and the last command. Always display additional
439 formats of the integer result in the echo area, and insert them
440 to the current buffer only with a zero prefix arg.
441 Display character when char-displayable-p is non-nil.
442 (eval-expression): With a zero prefix arg, set `print-length' and
443 `print-level' to nil, and insert the integer values from
444 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
445
446 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
447 `eval-last-sexp-arg-internal'. Doc fix.
448 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
449 `eval-last-sexp-print-value'. Doc fix.
450 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
451 Set `print-length' and `print-level' to nil when arg is zero.
452 (eval-last-sexp): Doc fix.
453 (eval-defun-2): Print the integer values from
454 `eval-expression-print-format' at the end.
455
456 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
457 values from `eval-expression-print-format' at the end.
458
459 * ielm.el (ielm-eval-input): Print the integer
460 values from `eval-expression-print-format' at the end.
461
462 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
463
464 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
465 2013-12-11T19:01:44Z!tzz@lifelogs.com.
466
467 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
470 (hl-line-highlight, global-hl-line-highlight): Use it.
471 (hl-line-overlay): Use defvar-local.
472
473 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
474
475 * term/ns-win.el: Require dnd.
476 (global-map): Remove drag items.
477 (ns-insert-text, ns-set-foreground-at-mouse)
478 (ns-set-background-at-mouse):
479 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
480 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
481 New functions.
482
483 2013-12-19 Glenn Morris <rgm@gnu.org>
484
485 * emacs-lisp/ert.el (ert-select-tests):
486 Fix string/symbol mixup. (Bug#16121)
487
488 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
489
490 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
491 keywords to their parent.
492
493 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
494
495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
496 first arg to be a string (fixed dead code), or an operator symbol.
497 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
498 operator symbols.
499 (ruby-smie-rules): Remove parent token check in the `.' clause, it
500 did nothing. Don't respond to `(:after ".")', it will be called
501 with :before anyway. Remove the ` @ ' rule, it didn't seem to
502 change anything. Only return indentation for binary operators
503 when they are hanging. De-dent opening paren when its parent is
504 `.', otherwise it looks bad when the dot is not at bol or eol
505 (bug#16182).
506
507 2013-12-19 Juri Linkov <juri@jurta.org>
508
509 * replace.el (query-replace-read-args): Split a non-negative arg
510 and a negative arg into separate elements.
511 (query-replace, query-replace-regexp, replace-string)
512 (replace-regexp): Add arg `backward'. Doc fix.
513 (replace-match-maybe-edit): When new arg `backward' is non-nil,
514 move point to the beginning of the match.
515 (replace-search, replace-highlight): Use new arg `backward'
516 to set the value of `isearch-forward'.
517 (perform-replace): Add arg `backward' and use it to perform
518 replacement backward. (Bug#14979)
519
520 * isearch.el (isearch-query-replace): Use a negative prefix arg
521 to call `perform-replace' with a non-nil arg `backward'.
522
523 2013-12-18 Juri Linkov <juri@jurta.org>
524
525 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
526 to the default list. Move `log-edit-show-files' to the end.
527 Add more available functions to options.
528 (log-edit): Move default specific settings to
529 `log-edit-insert-message-template'. Don't move point.
530 (log-edit-insert-message-template): New function.
531 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
532 (Bug#16170)
533
534 2013-12-18 Juri Linkov <juri@jurta.org>
535
536 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
537 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
538
539 2013-12-18 Leo Liu <sdl.web@gmail.com>
540
541 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
542
543 2013-12-18 Eli Zaretskii <eliz@gnu.org>
544
545 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
546 formats for displaying file sizes when the -s switch is given.
547 Instead, compute a separate format for displaying the size in
548 blocks, which is displayed in addition to the "regular" size.
549 When -h is given in addition to -s, produce size in blocks in
550 human-readable form as well. (Bug#16179)
551
552 2013-12-18 Tassilo Horn <tsdh@gnu.org>
553
554 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
555 Reference tables with ~\ref{...} instead of only \ref{...}.
556
557 2013-12-18 Chong Yidong <cyd@gnu.org>
558
559 * cus-edit.el (custom-magic-alist): Fix "themed" description
560 (Bug#14348).
561
562 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
563 is non-nil, do not create a new entry in the symbol's theme-value
564 or theme-face property; update theme-settings only (Bug#14664).
565 (custom-available-themes): Doc fix.
566
567 * cus-theme.el (custom-new-theme-mode-map): Add bindings
568 (Bug#15674).
569
570 * replace.el (occur-engine): Avoid infloop (Bug#7593).
571
572 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
573
574 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
575 (Bug#13914).
576
577 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
578
579 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
580
581 2013-12-18 Glenn Morris <rgm@gnu.org>
582
583 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
584 * cus-start.el (load-prefer-newer): New option.
585
586 2013-12-18 Le Wang <l26wang@gmail.com>
587
588 * comint.el (comint-previous-matching-input-from-input):
589 Retain point (Bug#13404).
590
591 2013-12-18 Chong Yidong <cyd@gnu.org>
592
593 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
594
595 2013-12-18 Glenn Morris <rgm@gnu.org>
596
597 * mail/emacsbug.el (report-emacs-bug):
598 Only mention enable-multibyte-characters if non-standard.
599
600 2013-12-17 Juri Linkov <juri@jurta.org>
601
602 * arc-mode.el (archive-extract-by-file): Check if directory exists
603 before deletion to not show irrelevant errors if it doesn't exist.
604
605 2013-12-17 Juri Linkov <juri@jurta.org>
606
607 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
608 (Bug#14751)
609
610 * net/eww.el (browse-web): Add alias to `eww'.
611 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
612 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
613
614 * net/browse-url.el (browse-url-browser-function): Move `eww'
615 closer to similar functions.
616
617 * startup.el (fancy-startup-screen, fancy-about-screen):
618 Set browse-url-browser-function to eww-browse-url locally.
619 (Bug#14751)
620
621 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * window.el (window--pixel-to-total): Remove unused `mini' var.
624 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
625 (split-window): Remove unused `new' var.
626 (window--display-buffer): Remove unused `frame' and `delta' vars.
627 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
628 and display-width'.
629
630 2013-12-17 Martin Rudalics <rudalics@gmx.at>
631
632 * dired.el (dired-mark-pop-up):
633 * register.el (register-preview): Don't bind
634 split-height-threshold here since it's now done in
635 display-buffer-below-selected.
636
637 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
638
639 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
640 xterm-rgb-convert-to-16bit.
641 (rxvt-register-default-colors): Standardize with
642 xterm-register-default-colors (Bug#14078).
643
644 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
645
646 * simple.el (kill-region): Pass mark first, then point, so that
647 kill-append works right (Bug#12819).
648 (copy-region-as-kill, kill-ring-save): Likewise.
649
650 2013-12-17 Leo Liu <sdl.web@gmail.com>
651
652 * net/rcirc.el (rcirc-add-face):
653 * eshell/em-prompt.el (eshell-emit-prompt):
654 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
655 (Bug#16167)
656
657 2013-12-17 Chong Yidong <cyd@gnu.org>
658
659 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
660 Suggested by Xue Fuqiao.
661
662 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
663
664 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
665
666 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * net/shr.el (shr-insert-document): Remove unused var
669 `shr-preliminary-table-render'.
670 (shr-rescale-image): Remove unused arg `force'.
671 (shr-put-image): Update calls accordingly.
672 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
673
674 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
675
676 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
677 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
678 :close-all, to see which indentation method to use (Bug#16116).
679 (smie-rules-function): Document the method :close-all.
680
681 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
682
683 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
684
685 * net/eww.el (eww-display-html): If we can't find the anchor we're
686 looking for, then go to point-min.
687
688 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
689
690 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
691 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
692 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
693 Expand dir too, in case it's relative.
694
695 2013-12-16 Juri Linkov <juri@jurta.org>
696
697 * desktop.el (desktop-auto-save-timeout): Change default to
698 `auto-save-timeout'. Doc fix.
699 (desktop-save): Skip the timestamp in desktop-saved-frameset
700 when checking for auto-save changes.
701 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
702 `desktop-auto-save' is called repeatedly by the idle timer.
703 (desktop-auto-save-set-timer): Replace `run-with-timer' with
704 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
705 (Bug#15331)
706
707 2013-12-16 Juri Linkov <juri@jurta.org>
708
709 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
710 (Bug#16035)
711 (isearch-pre-command-hook): Check `this-command' for symbolp.
712
713 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
716
717 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
718
719 * progmodes/cfengine.el (cfengine3--current-word): Remove.
720 (cfengine3--current-function): Bring in the current-function
721 functionality from `cfengine3--current-word'.
722 (cfengine3-completion-function): Bring in the
723 bounds-of-current-word functionality from
724 `cfengine3--current-word'.
725
726 2013-12-16 Martin Rudalics <rudalics@gmx.at>
727
728 * window.el (display-buffer-below-selected):
729 Bind split-height-threshold to 0 as suggested by Juri Linkov.
730
731 2013-12-16 Leo Liu <sdl.web@gmail.com>
732
733 * progmodes/compile.el (compile-goto-error): Do not push-mark.
734 Remove NOMSG arg and all uses changed.
735
736 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
739 (cua--deactivate-rectangle): Don't deactivate the mark.
740 (cua-set-rectangle-mark): Don't set mark-active since
741 cua--activate-rectangle already does it for us.
742 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
743 non-rectangular region.
744
745 * emulation/cua-base.el (cua-repeat-replace-region):
746 Use with-current-buffer.
747
748 * net/gnutls.el: Use cl-lib.
749 (gnutls-negotiate): `mapcan' -> cl-mapcan.
750
751 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
752
753 * emacs-lisp/package.el (package-built-in-p): Support both
754 built-in and the package.el converted package descriptions.
755 (package-show-package-list): Allow keywords.
756 (package-keyword-button-action): Use it instead of
757 `finder-list-matches'.
758 (package-menu-filter-interactive): Interactive filtering (by
759 keyword) function.
760 (package-menu--generate): Support keywords and change keymappings
761 and headers when they are given.
762 (package--has-keyword-p): Helper function.
763 (package-menu--refresh): Use it.
764 (package--mapc): Helper function.
765 (package-all-keywords): Use it.
766 (package-menu-mode-map): Set up menu items and keybindings to
767 provide a filtering UI.
768
769 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
770
771 * net/gnutls.el (gnutls-verify-error): New defcustom to control
772 the behavior when a certificate fails validation. Defaults to
773 old behavior: never abort, just warn.
774 (gnutls-negotiate): Use it.
775
776 2013-12-14 Martin Rudalics <rudalics@gmx.at>
777
778 * window.el (display-buffer-below-selected): Never split window
779 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
780
781 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
782
783 * emacs-lisp/package.el (package--prepare-dependencies): New function.
784 (package-buffer-info): Use it (bug#15108).
785
786 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * icomplete.el (icomplete-completions): Make sure the prefix is already
789 displayed elsewhere before hiding it (bug#16219).
790
791 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
792
793 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
794 open-paren tokens when preceded by a open-paren, too.
795 (ruby-smie-rules): Handle virtual indentation after open-paren
796 tokens specially. If there is code between it and eol, return the
797 column where is starts (Bug#16118).
798
799 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
800
801 * progmodes/cfengine.el: Fix `add-hook' doc.
802 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
803 (cfengine3--current-word): Fix parameters.
804 (cfengine3-make-syntax-cache): Simplify further.
805 (cfengine3-completion-function, cfengine3--current-function):
806 Use `assq' for symbols.
807 (cfengine3--current-function): Fix `cfengine3--current-word' call.
808
809 2013-12-13 Glenn Morris <rgm@gnu.org>
810
811 * loadup.el (load-path): Warn if site-load or site-init changes it.
812 No more need to reset it when bootstrapping.
813
814 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
815
816 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
817 locations for cf-promises.
818 (cfengine-mode-syntax-functions-regex): New caching variable.
819 (cfengine3-fallback-syntax): Fallback syntax for cases where
820 cf-promises doesn't run.
821 (cfengine3--current-word): Reimplement using
822 `cfengine-mode-syntax-functions-regex'.
823 (cfengine3-completion-function, cfengine3--current-function):
824 Use `cfengine3-make-syntax-cache' directly.
825 (cfengine3-clear-syntax-cache): New function.
826 (cfengine3-make-syntax-cache): Simplify and create
827 `cfengine-mode-syntax-functions-regex' on demand.
828 (cfengine3-format-function-docstring): Don't call
829 `cfengine3-make-syntax-cache' explicitly.
830
831 2013-12-13 Martin Rudalics <rudalics@gmx.at>
832
833 Fix windmove-find-other-window broken after pixelwise resizing
834 (Bug#16017).
835 * windmove.el (windmove-other-window-loc): Revert change from
836 2013-12-04.
837 (windmove-find-other-window): Call window-in-direction.
838 * window.el (window-in-direction): New arguments SIGN, WRAP and
839 MINI to emulate original windmove-find-other-window behavior.
840
841 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
842
843 * simple.el (blink-matching--overlay): New variable.
844 (blink-matching-open): Instead of moving point, highlight the
845 matching paren with an overlay
846 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
847
848 * faces.el (paren-showing-faces, show-paren-match)
849 (show-paren-mismatch): Move from paren.el.
850
851 2013-12-13 Leo Liu <sdl.web@gmail.com>
852
853 * indent.el (indent-region): Disable progress reporter in
854 minibuffer. (Bug#16108)
855
856 * bindings.el (visual-order-cursor-movement): Fix version.
857
858 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
859
860 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
861 Also match after beginning of line.
862 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
863 files. Thanks to Russell Sim. (Bug#15378)
864
865 2013-12-13 Juri Linkov <juri@jurta.org>
866
867 * simple.el <Keypad support>: Remove key bindings duplicated
868 with bindings.el. (Bug#14397)
869
870 2013-12-13 Juri Linkov <juri@jurta.org>
871
872 * comint.el (comint-mode-map): Replace `delete-char' with
873 `delete-forward-char'. (Bug#16109)
874
875 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
876
877 * progmodes/python.el (python-indent-calculate-indentation):
878 Fix de-denters cornercase. (Bug#15731)
879
880 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
883 (advice--make): Pay attention to `depth'.
884 (advice--make-1): Don't autoload commands eagerly.
885 * emacs-lisp/elp.el (elp-instrument-function):
886 * emacs-lisp/trace.el (trace-function-internal):
887 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
888
889 * iswitchb.el (iswitchb-mode): Don't belittle ido.
890
891 2013-12-12 Eli Zaretskii <eliz@gnu.org>
892
893 * term/w32-win.el (w32-handle-dropped-file):
894 * startup.el (normal-top-level):
895 * net/browse-url.el (browse-url-file-url):
896 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
897 decode file names using 'utf-8' rather than
898 file-name-coding-system.
899
900 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
901
902 * progmodes/python.el (python-indent-context)
903 (python-indent-calculate-indentation): Fix auto-identation
904 behavior for comment blocks. (Bug#15916)
905
906 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
907
908 * progmodes/python.el (python-indent-calculate-indentation):
909 When determining indentation, don't treat "return", "pass", etc., as
910 operators when they are just string constituents. (Bug#15812)
911
912 2013-12-12 Juri Linkov <juri@jurta.org>
913
914 * uniquify.el (uniquify-buffer-name-style): Change default to
915 `post-forward-angle-brackets'.
916
917 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
918 `uniquify'. Change default to `post-forward-angle-brackets'.
919
920 2013-12-11 Glenn Morris <rgm@gnu.org>
921
922 * emacs-lisp/package.el (finder-list-matches):
923 Autoload rather than falsely declaring.
924
925 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
926
927 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
928 (eww-mode-map): Use them.
929
930 2013-12-11 Martin Rudalics <rudalics@gmx.at>
931
932 * window.el (display-buffer-in-side-window): Fix doc-string
933 (Bug#16115).
934
935 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
936
937 * vc/vc-git.el: Silence byte-compiler warnings.
938 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
939 (log-edit-set-header): Declare.
940
941 2013-12-11 Eli Zaretskii <eliz@gnu.org>
942
943 * Makefile.in (custom-deps, finder-data): Run output file names
944 through unmsys--file-name. (Bug#16099)
945
946 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
949 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
950
951 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
952 instead of deleting the selection "by hand" (bug#16098).
953 Rely on insert-for-yank to yank rectangles.
954 (cua-highlight-region-shift-only): Mark obsolete.
955 (cua-mode): Don't enable/disable transient-mark-mode,
956 shift-select-mode (cua-mode works both with and without them), and
957 pc-selection-mode (obsolete).
958 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
959 (cua--deactivate-rectangle): Deactivate it.
960
961 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
962 (delete-selection-helper): Make sure yank starts at the top of the
963 deleted region.
964 (minibuffer-keyboard-quit): Use region-active-p.
965
966 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
967
968 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
969 to `delete' (bug#16109).
970
971 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
972
973 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
974 info manual and show keybindings and set `:group' keyword.
975
976 2013-12-11 Juri Linkov <juri@jurta.org>
977
978 * delsel.el (delete-active-region): Let-bind `this-command'
979 to prevent `kill-region' from changing its original value.
980 (delete-selection-helper): Handle `overwrite-mode' for the type
981 `kill' exactly the same way as for the type `t'.
982 (insert-char, quoted-insert, reindent-then-newline-and-indent):
983 Support more commands. (Bug#13312)
984
985 2013-12-11 Juri Linkov <juri@jurta.org>
986
987 * bindings.el: Map kp keys to non-kp keys systematically
988 with basic modifiers control, meta and shift. (Bug#14397)
989
990 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
991
992 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
993 "Close browser" menu items. Fix wrong function of "List
994 bookmarks".
995
996 2013-12-11 Juri Linkov <juri@jurta.org>
997
998 * misearch.el (multi-isearch-buffers): Set the value of
999 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1000 arg of isearch-forward to t.
1001 (multi-isearch-buffers-regexp): Set the value of
1002 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1003 arg of isearch-forward-regexp to t.
1004 (multi-isearch-files): Set the value of
1005 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1006 arg of isearch-forward to t.
1007 (multi-isearch-files-regexp): Set the value of
1008 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1009 arg of isearch-forward-regexp to t. (Bug#16035)
1010
1011 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1012 arg of isearch-forward to t.
1013 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1014 arg of isearch-forward-regexp to t.
1015 (dired-isearch-filter-filenames): Remove unnecessary check for
1016 `dired-isearch-filenames'.
1017
1018 * comint.el (comint-history-isearch-backward):
1019 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1020 (comint-history-isearch-backward-regexp):
1021 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1022
1023 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1024
1025 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1026 unmsys--file-name. (Bug#16099)
1027
1028 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1029
1030 * emacs-lisp/package.el (package-keyword-button-action):
1031 Remove finder.el require dependency.
1032
1033 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1034
1035 * emacs-lisp/package.el: Require finder.el.
1036 (describe-package-1): Add keyword buttons.
1037 (package-make-button): New convenience function.
1038 (package-keyword-button-action): Keyword button action using
1039 `finder-list-matches'.
1040
1041 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1042
1043 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1044 last commit.
1045
1046 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1047
1048 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1049 symlinked files.
1050
1051 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1054 after the end of a percent literal.
1055
1056 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1057
1058 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1059 Handle caret-delimited strings (Bug#16079).
1060
1061 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1062
1063 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1064 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1065 `ruby-parse-partial' (Bug#16078).
1066
1067 2013-12-09 Leo Liu <sdl.web@gmail.com>
1068
1069 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1070
1071 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1072
1073 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1074 (js-switch-indent-offset): New option.
1075 (js--proper-indentation): Use it. And handle the case when
1076 "default" is actually a key in an object literal.
1077 (js--same-line): New function.
1078 (js--multi-line-declaration-indentation): Use it.
1079 (js--indent-in-array-comp, js--array-comp-indentation):
1080 New functions.
1081 (js--proper-indentation): Use them, to handle array comprehension
1082 continuations.
1083
1084 2013-12-08 Leo Liu <sdl.web@gmail.com>
1085
1086 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1087 (flymake-make-overlay): Remove arg MOUSE-FACE.
1088 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1089
1090 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1093 New function.
1094 (redisplay-highlight-region-function): Use it.
1095
1096 * emulation/cua-base.el (cua--explicit-region-start)
1097 (cua--last-region-shifted): Remove.
1098 (cua--deactivate): Use deactivate-mark.
1099 (cua--pre-command-handler-1): Don't handle shift-selection.
1100 (cua--post-command-handler-1): Don't change transient-mark-mode.
1101 (cua--select-keymaps): Use region-active-p rather than
1102 cua--explicit-region-start or cua--last-region-shifted.
1103 (cua-mode): Enable shift-select-mode.
1104
1105 2013-12-08 Leo Liu <sdl.web@gmail.com>
1106
1107 * progmodes/flymake.el (flymake-popup-current-error-menu):
1108 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1109 (flymake-posn-at-point-as-event, flymake-popup-menu)
1110 (flymake-make-emacs-menu): Remove. (Bug#16077)
1111
1112 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * rect.el (rectangle-mark-mode): Activate mark even if
1115 transient-mark-mode is off (bug#16066).
1116 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1117 is > mark and at bolp.
1118
1119 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1120 (region-extract-function): Use it.
1121 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1122 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1123 Delete functions.
1124 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1125 kill-ring-save, kill-region, delete-char, delete-forward-char.
1126 Ignore self-insert-iso.
1127
1128 * emulation/cua-gmrk.el (cua--init-global-mark):
1129 Ignore `self-insert-iso'.
1130
1131 * emulation/cua-base.el (cua--prefix-copy-handler)
1132 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1133 checking cua--rectangle.
1134 (cua-delete-region): Use region-extract-function.
1135 (cua-replace-region): Delete function.
1136 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1137 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1138 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1139 (cua--init-keymaps): Don't remap delete-selection commands.
1140 (cua-mode): Use delete-selection-mode instead of rolling our own
1141 (bug#16085).
1142
1143 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1144 Obey region-extract-function.
1145
1146 Make registers and delete-selection-mode work on rectangles.
1147 * register.el (describe-register-1): Don't modify the register's value.
1148 (copy-to-register): Obey region-extract-function.
1149 * delsel.el (delete-active-region): Obey region-extract-function.
1150
1151 2013-12-08 Leo Liu <sdl.web@gmail.com>
1152
1153 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1154 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1155 (flymake-compilation-prevents-syntax-check)
1156 (flymake-start-syntax-check-on-newline)
1157 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1158 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1159 (flymake-xml-program, flymake-master-file-dirs)
1160 (flymake-master-file-count-limit)
1161 (flymake-allowed-file-name-masks): Relocate.
1162 (flymake-makehash, flymake-float-time)
1163 (flymake-replace-regexp-in-string, flymake-split-string)
1164 (flymake-get-temp-dir): Remove.
1165 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1166 (flymake-current-row, flymake-selected-frame)
1167 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1168 related functions. (Bug#16077)
1169
1170 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1171
1172 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1173
1174 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1175
1176 * help-fns.el (describe-function-1): Use new advice-* functions
1177 rather than old ad-* functions. Fix function type description and
1178 source links for advised functions and subrs.
1179
1180 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1181
1182 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1183
1184 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1185
1186 * progmodes/compile.el (compilation-start):
1187 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1188
1189 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1190 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1191
1192 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1193
1194 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1195 Touch up the last change.
1196
1197 2013-12-06 Leo Liu <sdl.web@gmail.com>
1198
1199 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1200 (inferior-octave-startup): Always use "octave> " for prompt.
1201 (octave-goto-function-definition)
1202 (octave-sync-function-file-names)
1203 (octave-find-definition-default-filename): Remove redundant backquotes.
1204
1205 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1206
1207 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1208 syntax for `?'.
1209 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1210 where appropriate already.
1211 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1212 end of method names (Bug#15874).
1213
1214 2013-12-06 Juri Linkov <juri@jurta.org>
1215
1216 * isearch.el (isearch--saved-overriding-local-map):
1217 New internal variable.
1218 (isearch-mode): Set it to the initial value of
1219 `overriding-terminal-local-map'.
1220 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1221 with `isearch--saved-overriding-local-map'. (Bug#16035)
1222
1223 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1224
1225 * progmodes/octave.el (inferior-octave-completion-table):
1226 Turn back into function, use `completion-table-with-cache'
1227 (Bug#11906). Update all references.
1228
1229 * minibuffer.el (completion-table-with-cache): New function.
1230
1231 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1232
1233 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1234
1235 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1236
1237 * net/eww.el (eww-current-source): New variable to store page
1238 source.
1239 (eww-display-html, eww-mode, eww-save-history)
1240 (eww-restore-history): Use it.
1241 (eww-view-source): New command to view page source.
1242 Opportunistically uses `html-mode' to highlight the buffer.
1243 (eww-mode-map): Install it.
1244
1245 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * net/dbus.el (dbus-unregister-service)
1248 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1249 Fix docstring.
1250 (dbus-unregister-service): Skip :serial entries in
1251 `dbus-registered-objects-table'.
1252 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1253
1254 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1255
1256 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1257 around keywords with extra `split-string' argument.
1258
1259 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1260
1261 * windmove.el (windmove-other-window-loc): Handle navigation
1262 between windows (excluding the minibuffer window - Bug#16017).
1263
1264 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1267 in D-Bus type syntax.
1268 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1269 preserve unibyte strings. (Bug#16048)
1270
1271 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1274 Call force-mode-line-update is the proper buffer (bug#16042).
1275
1276 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1279 `log-edit-remember-comment', make argument optional. Adjust all
1280 callers.
1281 (log-edit-mode): Add `log-edit-remember-comment' to
1282 `kill-buffer-hook' locally.
1283 (log-edit-kill-buffer): Don't remember comment explicitly since
1284 the buffer is killed anyway.
1285
1286 2013-12-04 Juri Linkov <juri@jurta.org>
1287
1288 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1289 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1290
1291 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1292
1293 * notifications.el (notifications-close-notification): Call the
1294 D-Bus method with ID being a `:uint32'. (Bug#16030)
1295
1296 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1297
1298 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1299
1300 2013-12-03 Juri Linkov <juri@jurta.org>
1301
1302 * progmodes/compile.el (compilation-start): Rename window alist
1303 entry `no-display-ok' to `allow-no-window'.
1304
1305 * simple.el (shell-command): Add window alist entry
1306 `allow-no-window' to `display-buffer'.
1307 (async-shell-command): Doc fix.
1308
1309 * window.el (display-buffer-no-window): New action function.
1310 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1311
1312 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 * vc/log-edit.el (log-edit-set-header): Extract from
1315 `log-edit-toggle-header'.
1316 (log-edit-extract-headers): Separate the summary, when extracted
1317 from header, from the rest of the message with an empty line.
1318
1319 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1320 line, if present, to the Summary header.
1321
1322 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1325 in current-buffer (bug#16029).
1326
1327 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1328
1329 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1330 (debugger-mode-map): Bind it.
1331 (debugger--backtrace-base): New function.
1332 (debugger-eval-expression): Use it.
1333 (debugger-frame-number): Skip local vars when present.
1334 (debugger--locals-visible-p, debugger--insert-locals)
1335 (debugger--show-locals, debugger--hide-locals): New functions.
1336
1337 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1340 "LC_ALL".
1341 (tramp-get-remote-locale): New defun.
1342 (tramp-open-connection-setup-interactive-shell): Use it.
1343
1344 2013-12-02 Leo Liu <sdl.web@gmail.com>
1345
1346 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1347
1348 * progmodes/sh-script.el (sh-shell-process):
1349 * progmodes/octave.el (inferior-octave-process-live-p):
1350 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1351 (gdb-inferior-io-sentinel):
1352 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1353
1354 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1357 `save-selected-window' to `log-edit-hide-buf'. This makes
1358 `log-edit-show-files' idempotent.
1359 (log-edit-show-files): Mark the new window as dedicated.
1360
1361 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * vc/log-edit.el (log-edit-mode-map): Add binding for
1364 `log-edit-kill-biffer'.
1365 (log-edit-hide-buf): Add a FIXME comment.
1366 (log-edit-add-new-comment): New function, extracted from
1367 `log-edit-done'.
1368 (log-edit-done, log-edit-add-to-changelog): Use it.
1369 (log-edit-kill-buffer): New command.
1370
1371 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1372
1373 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1374 instead of killing the buffer.
1375
1376 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1377
1378 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1379
1380 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1381
1382 * net/eww.el (eww-form-checkbox-selected-symbol)
1383 (eww-form-checkbox-symbol): New customizable variable.
1384 (eww-form-checkbox, eww-toggle-checkbox):
1385 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1386
1387 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1388 (shr--get-media-pref, shr--extract-best-source): New function.
1389 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1390 no :src tag was specified.
1391
1392 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1393 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1394 Use \\` to match beginning of string instead of ^.
1395 (eww-browse-with-external-browser): Provide optional URL parameter.
1396 (eww-render): Set `eww-current-title' back to "".
1397
1398 * net/shr.el (shr-tag-video): Display content for video if no
1399 poster is available.
1400 (shr-tag-audio): Add support for <audio> tag.
1401
1402 * net/eww.el (eww-text-input-types): New const.
1403 (eww-process-text-input): Treat input types in
1404 `eww-text-input-types' as text.
1405
1406 * net/shr.el (shr-tag-table): Fix comment typo.
1407
1408 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1409
1410 * net/eww.el (eww-follow-link): New command to avoid reloading
1411 pages when we follow #target links (bug#15243).
1412 (eww-quit): Special mode buffers shouldn't query before exiting.
1413
1414 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1415
1416 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1417 forms.
1418
1419 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1420
1421 * net/eww.el (eww-restore-history): Update the window title after
1422 moving in the history.
1423 (eww-current-dom): New variable used to save the current DOM.
1424
1425 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1426
1427 * vc/log-edit.el (log-edit-mode-map): Add binding for
1428 `log-edit-beginning-of-line'.
1429 (log-edit-setup-add-author): New user option.
1430 (log-edit-beginning-of-line): New command.
1431 (log-edit): Move major mode call above the contents setup so that
1432 the local variable values are already applied.
1433 (log-edit): Only insert "Author: " when
1434 `log-edit-setup-add-author' is non-nil.
1435 (log-edit): When SETUP is non-nil, position point after ": "
1436 instead of point-min.
1437
1438 2013-12-01 Glenn Morris <rgm@gnu.org>
1439
1440 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1441
1442 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1443
1444 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1445 redisplay to make sure the initial frame gets a chance to become
1446 visible. (Bug#16014)
1447
1448 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1449
1450 Support resizing frames and windows pixelwise.
1451 * cus-start.el (frame-resize-pixelwise)
1452 (window-resize-pixelwise): New entries.
1453 * emacs-lisp/debug.el (debug): Use window-total-height instead
1454 of window-total-size.
1455 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1456 * help.el (describe-bindings-internal): Call help-buffer
1457 (temp-buffer-max-width): New option.
1458 (resize-temp-buffer-window, help-window-setup)
1459 (with-help-window): Rewrite.
1460 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1461 dragging dividers.
1462 * window.el (frame-char-size, window-min-pixel-height)
1463 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1464 (window-min-pixel-width, window-safe-min-pixel-size)
1465 (window-combination-p, window-safe-min-size)
1466 (window-resizable-p, window--size-to-pixel)
1467 (window--pixel-to-size, window--resize-apply-p): New functions.
1468 (window-safe-min-height): Fix doc-string.
1469 (window-size, window-min-size, window--min-size-1)
1470 (window-sizable, window-sizable-p, window--min-delta-1)
1471 (window-min-delta, window--max-delta-1, window-max-delta)
1472 (window--resizable, window--resizable-p, window-resizable)
1473 (window-full-height-p, window-full-width-p, window-at-side-p)
1474 (window--in-direction-2, window-in-direction)
1475 (window--resize-reset-1, window--resize-mini-window)
1476 (window-resize, window-resize-no-error)
1477 (window--resize-child-windows-normal)
1478 (window--resize-child-windows, window--resize-siblings)
1479 (window--resize-this-window, window--resize-root-window)
1480 (window--resize-root-window-vertically)
1481 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1482 (maximize-window, minimize-window, delete-window)
1483 (quit-restore-window, window-split-min-size, split-window)
1484 (balance-windows-2, balance-windows)
1485 (balance-windows-area-adjust, balance-windows-area)
1486 (window--state-get-1, window-state-get, window--state-put-1)
1487 (window--state-put-2, window-state-put)
1488 (display-buffer-record-window, window--display-buffer):
1489 Make functions handle pixelwise sizing of windows.
1490 (display-buffer--action-function-custom-type)
1491 (display-buffer-fallback-action):
1492 Add display-buffer-in-previous-window.
1493 (display-buffer-use-some-window): Resize window to height it had
1494 before.
1495 (fit-window-to-buffer-horizontally): New option.
1496 (fit-frame-to-buffer): Describe new values.
1497 (fit-frame-to-buffer-bottom-margin): Replace with
1498 fit-frame-to-buffer-margins.
1499 (window--sanitize-margin): New function.
1500 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1501 using window-text-pixel-size.
1502
1503 2013-11-30 Glenn Morris <rgm@gnu.org>
1504
1505 * emacs-lisp/bytecomp.el (byte-compile-form):
1506 Make the `interactive-only' warning like the `obsolete' one.
1507 * comint.el (comint-run):
1508 * files.el (insert-file-literally, insert-file):
1509 * replace.el (replace-string, replace-regexp):
1510 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1511 (goto-line, insert-buffer, next-line, previous-line):
1512 Tweak `interactive-only' spec.
1513
1514 Stop keeping (most) generated cedet grammar files in the repository.
1515 * Makefile.in (semantic): New.
1516 (compile-main): Depend on semantic.
1517
1518 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1521 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1522
1523 * uniquify.el (uniquify-buffer-name-style): Change default.
1524
1525 * loadup.el: Preload "uniquify".
1526
1527 * time.el (display-time-update): Update all mode lines (bug#15999).
1528
1529 * electric.el (electric-indent-mode): Enable by default.
1530 * loadup.el: Preload "electric".
1531
1532 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1533
1534 * emacs-lisp/helpers.el (string-empty-p): New function.
1535 (string-blank-p): New function.
1536
1537 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1538
1539 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1540 (Bug#14029).
1541
1542 2013-11-29 Andreas Politz <politza@fh-trier.de>
1543 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1544 allow non-lambda lists as functions.
1545 (imenu--in-alist): Don't recurse into non-subalists.
1546 (imenu): Don't pass function itself as an argument (Bug#14029).
1547
1548 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * progmodes/python.el (python-mode-map): Remove binding for ":".
1551 (python-indent-electric-colon): Remove command.
1552 (python-indent-post-self-insert-function): Integrate the previous code
1553 of python-indent-electric-colon. Make it conditional on
1554 electric-indent-mode.
1555 (python-mode): Add ?: to electric-indent-chars.
1556 Move python-indent-post-self-insert-function to the end of
1557 post-self-insert-hook.
1558
1559 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * doc-view.el (doc-view-goto-page): Update mode-line.
1562
1563 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1564
1565 2013-11-27 Glenn Morris <rgm@gnu.org>
1566
1567 * international/charprop.el, international/uni-bidi.el:
1568 * international/uni-category.el, international/uni-combining.el:
1569 * international/uni-comment.el, international/uni-decimal.el:
1570 * international/uni-decomposition.el, international/uni-digit.el:
1571 * international/uni-lowercase.el, international/uni-mirrored.el:
1572 * international/uni-name.el, international/uni-numeric.el:
1573 * international/uni-old-name.el, international/uni-titlecase.el:
1574 * international/uni-uppercase.el:
1575 Remove generated files from VCS repository.
1576
1577 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1578
1579 * filenotify.el (file-notify-add-watch): Don't special-case
1580 w32notify when computing the directory to watch.
1581
1582 2013-11-27 Glenn Morris <rgm@gnu.org>
1583
1584 Make bootstrap without generated uni-*.el files possible again.
1585 * loadup.el: Update command-line-args checking for unidata-gen.
1586 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1587 * composite.el, international/characters.el:
1588 Handle unicode tables being undefined.
1589
1590 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1591 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1592 (compile-main): Depend on leim rule.
1593 (leim): New rule.
1594 * loadup.el: Move leim-list.el to leim/ subdirectory.
1595 * startup.el (normal-top-level): No more leim directory.
1596 * international/ja-dic-cnv.el (skkdic-convert):
1597 Disable version-control and autoloads in output files.
1598 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1599 Disable version-control and autoloads in output files.
1600 * leim/quail: Move here from ../leim.
1601 * leim/quail/hangul.el (hangul-input-method-activate):
1602 Add autoload cookie.
1603 (generated-autoload-load-name): Set file-local value.
1604 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1605 (generated-autoload-load-name): Set file-local value.
1606
1607 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1608
1609 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1610 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1611 (eww-quit): Ask confirmation before quitting eww.
1612
1613 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1614
1615 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1616 reading output from Diff on MS-Windows and MS-DOS.
1617
1618 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1619
1620 * emacs-lisp/helpers.el (string-reverse): New function.
1621
1622 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1623
1624 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1625 names on MS Windows, like "/[::1]:".
1626
1627 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1628 SWITCHES.
1629
1630 2013-11-26 Glenn Morris <rgm@gnu.org>
1631
1632 * progmodes/python.el (python-indent-guess-indent-offset):
1633 Avoid corner-case error. (Bug#15975)
1634
1635 Preload leim-list.el. (Bug#4789)
1636 * loadup.el: Load leim-list.el when found.
1637 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1638
1639 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1640
1641 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1642
1643 * emacs-lisp/helpers.el (string-join): New function.
1644
1645 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1646
1647 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1648 Mark as obsolete and replace it with a symbol property.
1649 (byte-compile-form): Use new 'interactive-only property.
1650 * comint.el, files.el, replace.el, simple.el:
1651 Apply new 'interactive-only properly.
1652
1653 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1654
1655 * window.el (display-buffer-at-bottom): Make sure that
1656 split-window-sensibly creates the new window on bottom
1657 (Bug#15961).
1658
1659 2013-11-23 David Kastrup <dak@gnu.org>
1660
1661 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1662 on the conflict markers when available.
1663 (smerge--get-marker): New function.
1664 (smerge-end-re, smerge-base-re): Add subgroup.
1665
1666 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * frame.el (handle-focus-in, handle-focus-out): Add missing
1669 interactive spec.
1670
1671 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1672
1673 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1674 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1675
1676 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1679 (gomoku--last-pos): New var.
1680 (gomoku--intangible-chars): New const.
1681 (gomoku--intangible): New function.
1682 (gomoku-mode): Use it. Derive from special-mode.
1683 (gomoku-move-up): Adjust line count.
1684 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1685 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1686 Simplify accordingly.
1687
1688 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1689 Remove blink-cursor code.
1690 (blink-cursor-timer-function, blink-cursor-suspend):
1691 Don't special-case GUIs.
1692 (blink-cursor-mode): Use focus-in/out-hook.
1693
1694 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1697 work when annotation is invisible (Bug#13886).
1698
1699 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1700
1701 * json.el (json-alist-p): Only return non-nil if the alist has
1702 simple keys (Bug#13518).
1703
1704 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1705
1706 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1707 when control-statement is the first statement in a buffer (Bug#15956).
1708
1709 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1710
1711 * imenu.el (imenu-generic-skip-comments-and-strings):
1712 New option (Bug#15560).
1713 (imenu--generic-function): Use it.
1714
1715 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1716
1717 * minibuffer.el (completion--in-region-1): Scroll the correct
1718 window. (Bug#13898)
1719
1720 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1721
1722 * emacs-lisp/helpers.el: Add some string helpers.
1723 (string-trim-left): Removes leading whitespace.
1724 (string-trim-right): Removes trailing whitespace.
1725 (string-trim): Removes leading and trailing whitespace.
1726
1727 * subr.el (string-suffix-p): New function.
1728
1729 2013-11-23 Glenn Morris <rgm@gnu.org>
1730
1731 * progmodes/python.el (python-shell-send-file):
1732 Add option to delete file when done. (Bug#15647)
1733 (python-shell-send-string, python-shell-send-region): Use it.
1734
1735 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1736
1737 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1738 to set buffer-read-only to t, never to nil. (Bug#15938)
1739
1740 * textmodes/tex-mode.el (latex-noindent-environments):
1741 Add safe-local-variable property. (Bug#15936)
1742
1743 2013-11-23 Glenn Morris <rgm@gnu.org>
1744
1745 * textmodes/enriched.el (enriched-mode): Doc fix.
1746 * emacs-lisp/authors.el (authors-renamed-files-alist):
1747 Add enriched.doc -> enriched.txt.
1748
1749 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1750
1751 2013-11-22 Leo Liu <sdl.web@gmail.com>
1752
1753 * progmodes/octave.el (inferior-octave-startup): Spit out error
1754 message.
1755
1756 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1757
1758 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1759 Improve docstring.
1760 Add :version.
1761 (ruby-encoding-magic-comment-style): Add :version.
1762
1763 2013-11-22 Leo Liu <sdl.web@gmail.com>
1764
1765 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1766 (Bug#15076)
1767 (octave-help-mode): Adapt to change to help-mode-finish to use
1768 derived-mode-p on 2013-09-17.
1769 (inferior-octave-prompt): Also match octave-gui.
1770 (octave-kill-process): Don't ask twice. (Bug#10564)
1771
1772 2013-11-22 Leo Liu <sdl.web@gmail.com>
1773
1774 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1775 (inferior-octave-startup, inferior-octave-check-process)
1776 (inferior-octave-track-window-width-change)
1777 (octave-completion-at-point, octave-eldoc-function): Use it.
1778 (octave-kill-process): Provide confirmation. (Bug#10564)
1779
1780 2013-11-21 Leo Liu <sdl.web@gmail.com>
1781
1782 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1783 Fix obsolete variable comment-use-global-state.
1784
1785 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1786
1787 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1788 Add `octave-source-file'.
1789 (octave-source-file): New function. (Bug#15935)
1790
1791 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1792
1793 * net/eww.el (eww-local-regex): New variable.
1794 (eww): Use it to detect localhost and similar.
1795
1796 2013-11-21 Leo Liu <sdl.web@gmail.com>
1797
1798 Add completion for command `ag'.
1799 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1800 (pcomplete/ag): New function.
1801 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1802
1803 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1806 (bug#14646).
1807 (make-obsolete): Remove interactive spec.
1808
1809 2013-11-21 Glenn Morris <rgm@gnu.org>
1810
1811 * startup.el (command-line-1): Use path-separator with -L.
1812
1813 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1814
1815 * emacs-lisp/package.el (describe-package-1): Add package archive
1816 to shown fields.
1817
1818 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1819
1820 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1821 Change default to "# encoding: %s" to differentiate it from the
1822 default Ruby encoding comment template.
1823
1824 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1825
1826 * ses.el (ses-mode): Doc fix. (Bug#14748)
1827
1828 2013-11-20 Leo Liu <sdl.web@gmail.com>
1829
1830 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1831
1832 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1833
1834 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1835 when rebase or bisect are in progress.
1836
1837 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1838
1839 * filenotify.el (file-notify-add-watch): Doc fix.
1840
1841 2013-11-19 Leo Liu <sdl.web@gmail.com>
1842
1843 * obsolete/rcompile.el: Mark obsolete.
1844
1845 * progmodes/compile.el (compilation-start)
1846 (compilation-goto-locus, compilation-find-file):
1847 Pass no-display-ok and handle nil value from display-buffer.
1848 (Bug#13594)
1849
1850 * window.el (display-buffer-alist, display-buffer): Document the
1851 new parameter no-display-ok. Return either a window or nil
1852 but never a non-window value.
1853
1854 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * electric.el (electric-indent-mode-map): Remove.
1857 (electric-indent-mode): Change the global-map instead (bug#15915).
1858
1859 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1860 Use add-function.
1861
1862 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * emacs-lisp/nadvice.el (remove-function): Align with
1865 add-function's behavior.
1866
1867 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1868 (gdb--string-regexp): New constant.
1869 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1870 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1871 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1872 submatch 1.
1873 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1874 Adjust use accordingly.
1875 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1876
1877 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1878
1879 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1880 interpolation curlies (Bug#15914).
1881
1882 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1883
1884 * calc/calc.el (calc-context-sensitive-enter): New variable.
1885 (calc-enter): Use `calc-context-sensitive-enter'.
1886
1887 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1888
1889 * progmodes/cfengine.el: Version bump.
1890 (cfengine-cf-promises): New defcustom to locate cf-promises.
1891 (cfengine3-vartypes): Add new "data" type.
1892 (cfengine3--current-word): New function to get current name-like
1893 word or its bounds.
1894 (cfengine3--current-function): New function to look up a CFEngine
1895 function's definition.
1896 (cfengine3-format-function-docstring): New function.
1897 (cfengine3-make-syntax-cache): New function.
1898 (cfengine3-documentation-function): New function: ElDoc glue.
1899 (cfengine3-completion-function): New function: completion glue.
1900 (cfengine3-mode): Set `compile-command',
1901 `eldoc-documentation-function', and add to
1902 `completion-at-point-functions'.
1903
1904 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1907 `tramp-current-connection'.
1908
1909 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1910
1911 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1912 nil/self/true/false with "end of symbol".
1913
1914 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1915
1916 * subr.el (version-regexp-alist): Fix a typo.
1917
1918 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1919
1920 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1921 "en_US.utf8" and "LC_CTYPE" to "".
1922 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1923 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1924
1925 2013-11-15 Leo Liu <sdl.web@gmail.com>
1926
1927 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1928
1929 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * progmodes/gud.el (ctl-x-map):
1932 Remove C-x SPC binding. (Bug#12342)
1933 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1934
1935 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1936
1937 * subr.el (version-regexp-alist):
1938 Recognize hg, svn and darcs versions as snapshot versions.
1939
1940 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1941 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1942 (ruby--encoding-comment-required-p): Extract from
1943 `ruby-mode-set-encoding'.
1944 (ruby-mode-set-encoding): Add the ability to always insert an
1945 utf-8 encoding comment. Fix and simplify coding comment update
1946 logic.
1947
1948 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/tramp-gvfs.el (top): Run init code only when
1951 `tramp-gvfs-enabled' is not nil.
1952 (tramp-gvfs-enabled): Check also :system bus.
1953
1954 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 Sync with upstream verilog-mode revision 78e66ba.
1957 * progmodes/verilog-mode.el (verilog-end-of-defun)
1958 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1959 (verilog-get-end-of-defun): Remove unused argument.
1960 (verilog-comment-depth): Remove unused local `e'.
1961 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1962 Don't pass arg to verilog-get-end-of-defun.
1963
1964 2013-11-14 Glenn Morris <rgm@gnu.org>
1965
1966 * obsolete/assoc.el (aget): Prefix dynamic variable.
1967
1968 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1969
1970 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * widget.el, hfy-cmap.el: Remove bogus package version number.
1973
1974 2013-11-13 Glenn Morris <rgm@gnu.org>
1975
1976 * replace.el (replace-eval-replacement):
1977 Try to give more helpful error message. (Bug#15836)
1978
1979 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1980 (archive-7z-update): Avoid custom type mismatches.
1981
1982 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1983
1984 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1987 address can be empty.
1988
1989 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1990 Accept nil SWITCHES.
1991 (tramp-gvfs-handle-write-region): Implement APPEND.
1992
1993 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1994
1995 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1996 binary "|" operator and closing block args delimiter.
1997 Remove FIXME comment referring to Ruby 1.8-only syntax.
1998 (ruby-smie--implicit-semi-p): Not after "|" operator.
1999 (ruby-smie--closing-pipe-p): New function.
2000 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2001 (ruby-smie-rules): Indent after "|".
2002
2003 2013-11-12 Glenn Morris <rgm@gnu.org>
2004
2005 * ps-print.el (ps-face-attribute-list):
2006 Handle anonymous faces. (Bug#15827)
2007
2008 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2009
2010 * window.el (display-buffer-other-frame): Fix doc-string.
2011 (Bug#15868)
2012
2013 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2016
2017 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2018
2019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2020 (tramp-sh-handle-file-local-copy): Don't write a message when
2021 saving temporary files.
2022
2023 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2024 both directories are remote.
2025 (tramp-smb-handle-directory-files): Do not return double entries.
2026 Do not expand full file names.
2027 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2028 (tramp-smb-handle-write-region): Implement APPEND.
2029 (tramp-smb-get-stat-capability): Fix a stupid bug.
2030
2031 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2034
2035 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2036
2037 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2038 throwing error over malformed let/let* (bug#15814).
2039
2040 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * iswitchb.el (iswitchb-mode): Mark obsolete.
2043
2044 2013-11-11 Glenn Morris <rgm@gnu.org>
2045
2046 * international/uni-bidi.el, international/uni-category.el:
2047 * international/uni-name.el, international/uni-numeric.el:
2048 Regenerate for Unicode 6.3.0.
2049
2050 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2051
2052 * net/tramp.el (tramp-methods):
2053 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2054 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2055
2056 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2057
2058 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2059 Force highlighting text after Summary keyword in doc face for rpm.
2060
2061 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2062
2063 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2064 available and the word has no wildcards, append one to the grep pattern.
2065 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2066 (ispell-complete-word): Call `ispell-lookup-words' with the value
2067 independent of `ispell-look-p'.
2068
2069 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2070
2071 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2072 Not after "||".
2073 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2074 their parent.
2075
2076 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2079 (ruby-font-lock-keywords): Use backquote.
2080
2081 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2082
2083 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2084 (ruby-smie--backward-token): Only consider full-string matches.
2085
2086 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2087
2088 * faces.el (describe-face): Add distant-foreground.
2089
2090 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2091
2092 * progmodes/ruby-mode.el: Improve encoding comment handling.
2093 (ruby-encoding-magic-comment-style): New option.
2094 (ruby-custom-encoding-magic-comment-template): New option.
2095 (ruby--insert-coding-comment, ruby--detect-encoding):
2096 New functions extracted from `ruby-mode-set-encoding'.
2097 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2098 to control the style of the auto-inserted encoding comment.
2099
2100 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2101
2102 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2103 Use `smie-backward-sexp' with token argument.
2104
2105 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2106
2107 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2108 Remove instrumentation code.
2109
2110 2013-11-08 Glenn Morris <rgm@gnu.org>
2111
2112 * progmodes/autoconf.el (autoconf-mode):
2113 Tweak comment-start-skip. (Bug#15822)
2114
2115 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2118 at bobp (bug#15826).
2119 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2120
2121 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2122
2123 * man.el (Man-start-calling): New macro, extracted from
2124 Man-getpage-in-background.
2125 (Man-getpage-in-background): Use it.
2126 (Man-update-manpage): New command.
2127 (Man-mode-map): Bind it.
2128
2129 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2130
2131 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2132 of "and", "or", "&&" and "||".
2133 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2134 argument. Prohibit opening curly brace because it could only be a
2135 block opener in that position.
2136 (ruby-smie--forward-token, ruby-smie--backward-token):
2137 Separate "|" from "&" or "*" going after it. That can happen in block
2138 arguments.
2139 (ruby-smie--indent-to-stmt): New function, seeks the end of
2140 previous statement or beginning of buffer.
2141 (ruby-smie-rules): Use it.
2142 (ruby-smie-rules): Check if there's a ":" before a curly block
2143 opener candidate; if there is, it's a hash.
2144
2145 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2148 (cl--block-wrapper): Fix last accidental change.
2149
2150 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2151
2152 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2153 Instrument, in order to hunt failure on hydra.
2154
2155 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2156
2157 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2158 malformed bindings form (bug#15814).
2159
2160 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2161
2162 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2163 "." compared to " @ ". This incidentally fixes some indentation
2164 examples with "do".
2165 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2166 (ruby-smie-grammar): New tokens: "and" and "or".
2167 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2168 Exclude "and" and "or". Remove "do" in order to work around token
2169 priorities.
2170 (ruby-smie-rules): Add all infix tokens. Handle the case of
2171 beginning-of-buffer.
2172
2173 2013-11-06 Glenn Morris <rgm@gnu.org>
2174
2175 * Makefile.in (setwins_almost, setwins_for_subdirs):
2176 Avoid accidental matches.
2177
2178 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * menu-bar.el (popup-menu): Use key-binding.
2181
2182 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2183
2184 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2185 menus, support also the menus produced by minor modes.
2186 (Bug#15817)
2187
2188 2013-11-06 Leo Liu <sdl.web@gmail.com>
2189
2190 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2191 DISTANCE to bound the search. All uses changed. (Bug#15808)
2192
2193 2013-11-06 Glenn Morris <rgm@gnu.org>
2194
2195 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2196 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2197 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2198
2199 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * electric.el (electric-indent-just-newline): New command.
2202 (electric-indent-mode-map): New keymap.
2203 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2204 Re-add :group which weren't redundant.
2205
2206 * electric.el (electric-indent-local-mode): New minor mode.
2207 (electric-indent-functions-without-reindent): New var.
2208 (electric-indent-post-self-insert-function): Use it.
2209 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2210
2211 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2212
2213 * international/quail.el (quail-help): Be more explicit about the
2214 meaning of the labels shown on the keys. (Bug#15800)
2215
2216 * startup.el (normal-top-level): Load the subdirs.el files before
2217 setting the locale environment. (Bug#15805)
2218
2219 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2220
2221 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2222 via arguments so as to get the right ones (bug#15418).
2223
2224 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2225
2226 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2227
2228 Fix problems found while writing a test suite.
2229
2230 * net/tramp-compat.el (tramp-compat-load): New defun.
2231 * net/tramp.el (tramp-handle-load): Use it.
2232
2233 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2234 "(numberp ok-if-already-exists)" correctly.
2235
2236 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2237
2238 * international/characters.el (glyphless-char-display-control):
2239 Add usage note.
2240
2241 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2242
2243 * progmodes/python.el (python-mode):
2244 * progmodes/scheme.el (scheme-mode):
2245 * progmodes/prolog.el (prolog-mode):
2246 * progmodes/ruby-mode.el (ruby-mode):
2247 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2248 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2249
2250 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * rect.el (rectangle--highlight-for-redisplay):
2253 * emacs-lisp/smie.el (smie--next-indent-change):
2254 Use buffer-chars-modified-tick.
2255
2256 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2257
2258 * electric.el (electric-indent-post-self-insert-function):
2259 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2260
2261 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2262
2263 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2264
2265 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2266
2267 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2268 (bug#15786).
2269
2270 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2273
2274 * progmodes/python.el: Fix up last change.
2275 (python-shell--save-temp-file): New function.
2276 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2277 `string' comes from the current buffer.
2278 (python-shell-send-string-no-output): Remove `msg' arg.
2279 (python--use-fake-loc): New var.
2280 (python-shell-buffer-substring): Obey it. Try to compensate for the
2281 extra coding line added by python-shell--save-temp-file.
2282 (python-shell-send-region): Use python-shell--save-temp-file and
2283 python-shell-send-file directly. Add `nomain' argument.
2284 (python-shell-send-buffer): Use python-shell-send-region.
2285 (python-electric-pair-string-delimiter): New function.
2286 (python-mode): Use it.
2287
2288 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2289
2290 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2291 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2292 environment and decoding all of the default-directory's to here
2293 from command-line.
2294 (command-line): Decode also argv[0].
2295
2296 * loadup.el: Error out if default-directory is a multibyte string
2297 when we are dumping.
2298
2299 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2300
2301 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2302
2303 * emacs-lisp/package.el (package-menu-mode)
2304 (package-menu--print-info, package-menu--archive-predicate):
2305 Add Archive column to package list.
2306
2307 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2308
2309 Fix problems found while writing a test suite.
2310
2311 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2312 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2313 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2314 to nil when running original file name handler. Otherwise,
2315 there are problems with constructs like "$$FOO".
2316
2317 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2318 for `localname'.
2319
2320 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2321
2322 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2323
2324 * subr.el (version<, version<=, version=):
2325 Update docstrings with information for snapshot versions.
2326
2327 * helpers.el: New library for misc helper functions.
2328 (hash-table-keys): New function returning a list of hash keys.
2329 (hash-table-values): New function returning a list of hash values.
2330
2331 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2332
2333 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2334 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2335
2336 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2337
2338 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2339 checking whether point is after a 1-letter word.
2340
2341 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2342
2343 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2344 Don't infloop when expanding region over `multiline' syntax-type that
2345 begins a line (bug#15778).
2346
2347 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2350 Make it into a proper minor mode.
2351 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2352 (rectangle-mark-mode-map): New keymap.
2353 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2354
2355 2013-11-04 Glenn Morris <rgm@gnu.org>
2356
2357 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2358
2359 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2362 (ruby-smie-rules): Use smie-rule-parent instead.
2363
2364 * emacs-lisp/smie.el (smie-rule-parent): Always call
2365 smie-indent-virtual rather than only for hanging tokens.
2366 (smie--next-indent-change): New helper command.
2367
2368 2013-11-03 Glenn Morris <rgm@gnu.org>
2369
2370 * Makefile.in (abs_srcdir): Remove.
2371 (emacs): Unset EMACSLOADPATH.
2372
2373 2013-11-02 Glenn Morris <rgm@gnu.org>
2374
2375 * Makefile.in (EMACS): Use a relative filename.
2376 (abs_top_builddir): Remove.
2377 (custom-deps, finder-data, autoloads): Use --chdir.
2378
2379 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2380
2381 Use relative filenames in TAGS files.
2382 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2383 (lisptagsfiles4, TAGS): Use relative file names.
2384 (TAGS-LISP): Remove.
2385 (maintainer-clean): No more TAGS-LISP file.
2386
2387 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2388 (lisptagsfiles4): Use absolute filenames again.
2389 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2390 Remove all *loaddefs files, not just the first. Remove esh-groups.
2391 (maintainer-clean): Delete TAGS, TAGS-LISP.
2392
2393 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2394
2395 * emacs-lisp/package.el (package-version-join):
2396 Recognize snapshot versions.
2397
2398 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2399
2400 * subr.el (version-regexp-alist): Add support for snapshot versions.
2401
2402 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2403
2404 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2405 New function, replacement for `smie-rule-parent' for when we want to
2406 skip over our direct parent if it's an assignment token..
2407 (ruby-smie-rules): Use it.
2408
2409 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2410
2411 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2412 unconditionally. Remove now unnecessary forward declarations.
2413 Remove XEmacs-specific setup.
2414 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2415 (ruby-font-lock-syntactic-keywords)
2416 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2417 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2418 (ruby-here-doc-end-syntax): Remove.
2419 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2420 defined as function.
2421
2422 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2423
2424 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2425
2426 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2427
2428 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2429 table and abbrev table, `define-derived-mode' does that for us
2430 anyway.
2431
2432 2013-11-01 Glenn Morris <rgm@gnu.org>
2433
2434 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2435 files is atomic for some time, so no parallel compilation issues).
2436
2437 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2438
2439 * faces.el (face-x-resources): Add :distant-foreground.
2440 (region): Use :distant-foreground for gtk and ns.
2441
2442 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2443
2444 Allow multiple bibliographies when BibLaTeX is used rather than
2445 BibTeX.
2446 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2447 (reftex-locate-bibliography-files): Us it.
2448
2449 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2450
2451 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2452 allow comments in pbm files.
2453
2454 * term/w32-win.el (dynamic-library-alist): Support newer versions
2455 of libjpeg starting with v7: look only for the DLL from the
2456 version against which Emacs was built.
2457 Support versions of libpng beyond 1.4.x.
2458 Support libtiff v4.x.
2459
2460 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2461
2462 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2463 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2464 Add property :safe.
2465 (ruby-deep-arglist): Add property :type.
2466
2467 2013-10-31 Glenn Morris <rgm@gnu.org>
2468
2469 * Makefile.in (custom-deps, finder-data): No need to setq the target
2470 variables, we are in the right directory and the defaults work fine.
2471
2472 2013-10-30 Glenn Morris <rgm@gnu.org>
2473
2474 * Makefile.in (autoloads): Do not use abs_lisp.
2475
2476 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2477 `newline' does not respect `standard-output', so use `princ'.
2478
2479 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2480
2481 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2482 * buff-menu.el (Buffer-menu--unmark): New function.
2483 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2484
2485 2013-10-30 Glenn Morris <rgm@gnu.org>
2486
2487 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2488
2489 * emacs-lisp/package.el (lm-homepage): Declare.
2490
2491 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2492 Fix doc typos.
2493
2494 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2495
2496 * Makefile.in (finder-data, autoloads, update-subdirs)
2497 (compile-main, compile-clean, compile-always, bootstrap-clean):
2498 Check return value of cd.
2499 (compile-calc): Remove.
2500
2501 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2504
2505 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2506 (byte-compile-and-folded): New function.
2507 (=, <, >, <=, >=): Use it.
2508
2509 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2510 (path-separator, null-device, buffer-file-coding-system)
2511 (lpr-headers-switches): Check system-type before modifying them.
2512 (find-buffer-file-type-coding-system): Mark obsolete.
2513 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2514 find-file-not-found-set-buffer-file-coding-system.
2515 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2516 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2517 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2518 (w32-direct-print-region-helper, w32-direct-print-region-function)
2519 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2520 * startup.el (normal-top-level-add-subdirs-to-load-path):
2521 * ps-print.el (ps-print-region-function):
2522 * lpr.el (print-region-function): Use new name.
2523
2524 * subr.el (custom-declare-variable-early): Remove function.
2525 (custom-declare-variable-list): Remove var.
2526 (error, user-error): Remove `while' loop.
2527 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2528 (user-emacs-directory-warning, locate-user-emacs-file):
2529 Move to files.el.
2530 * simple.el (read-quoted-char-radix, read-quoted-char):
2531 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2532 Move from subr.el.
2533 * custom.el (custom-declare-variable-list): Don't process
2534 custom-declare-variable-list.
2535
2536 * progmodes/python.el (python-shell-get-buffer): New function.
2537 (python-shell-get-process): Use it.
2538 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2539 Python which encoding was used. Don't split-string since we only care
2540 about the first line. Return the temp-file, if applicable.
2541 (python-shell-send-region): Tell compile.el how to turn locations in
2542 the temp-file into locations in the source buffer.
2543
2544 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * subr.el (undefined): Add missing behavior from the C code for
2547 unbound keys.
2548
2549 * rect.el: Use lexical-binding. Add new rectangular region support.
2550 (rectangle-mark): New command.
2551 (rectangle--region): New var.
2552 (deactivate-mark-hook): Reset rectangle--region.
2553 (rectangle--extract-region, rectangle--insert-for-yank)
2554 (rectangle--highlight-for-redisplay)
2555 (rectangle--unhighlight-for-redisplay): New functions.
2556 (region-extract-function, redisplay-unhighlight-region-function)
2557 (redisplay-highlight-region-function): Use them to handle
2558 rectangular region.
2559 * simple.el (region-extract-function): New var.
2560 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2561 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2562 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2563 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2564 (redisplay-unhighlight-region-function)
2565 (redisplay-highlight-region-function): New vars.
2566 (redisplay--update-region-highlight): New function.
2567 (pre-redisplay-function): Use it.
2568 (exchange-point-and-mark): Don't deactivate the mark before
2569 reactivate-it anyway.
2570 * comint.el (comint-kill-region): Remove yank-handler argument.
2571 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2572 (delete-char): Remove property, since it's now part of their
2573 default behavior.
2574 (self-insert-iso): Remove property since this command doesn't exist.
2575
2576 * emacs-lisp/package.el (package--download-one-archive)
2577 (describe-package-1): Don't query the user about final newline.
2578
2579 2013-10-29 Daniel Colascione <dancol@dancol.org>
2580
2581 * net/tramp.el (tramp-methods): Document new functionality.
2582 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2583 tramp-hostname-checker if method provides one instead of scanning
2584 argument list for "%h" to decide hostname acceptability.
2585
2586 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2587
2588 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2589 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2590 Handle COPY-CONTENTS. (Bug#15737)
2591
2592 2013-10-28 Daiki Ueno <ueno@gnu.org>
2593
2594 * epa-file.el
2595 (epa-file-cache-passphrase-for-symmetric-encryption):
2596 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2597
2598 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2599
2600 * image.el (defimage):
2601 (image-load-path): Doc fixes.
2602
2603 2013-10-27 Alan Mackenzie <acm@muc.de>
2604
2605 Indent statements in macros following "##" correctly.
2606 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2607 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2608
2609 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2610
2611 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2612
2613 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2614
2615 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2616 after `=' is probably a new expression.
2617
2618 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2619
2620 * man.el (man-imenu-title): New option.
2621 (Man-mode-map): Add menu. (Bug#15722)
2622 (Man-mode): Add imenu to menu.
2623
2624 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2625
2626 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2627 specific in what the first arg can be: a non-keyword word,
2628 string/regexp/percent literal opener, opening paren, or unary
2629 operator followed directly by word.
2630
2631 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2634 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2635 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2636 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2637 Remove vars, they do not apply any more.
2638 (prolog-mode-abbrev-table): Remove redundant declaration.
2639 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2640 (prolog-use-smie): Remove.
2641 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2642 supported by prolog-electric-if-then-else-flag.
2643 (prolog-mode-variables, prolog-menu): Use setq-local.
2644 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2645 Remove binding to `Backspace' since this key doesn't exist anyway.
2646 Remove bindings for electric self-inserting keys.
2647 (prog-mode): Assume it's defined.
2648 (prolog-post-self-insert): New function.
2649 (prolog-mode): Use it.
2650 (prolog-indent-line, prolog-indent-level)
2651 (prolog-find-indent-of-matching-paren)
2652 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2653 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2654 (prolog-goto-next-paren, prolog-in-string-or-comment)
2655 (prolog-tokenize, prolog-inside-mline-comment)
2656 (prolog-find-start-of-mline-comment): Remove functions.
2657 (prolog-find-unmatched-paren, prolog-clause-end)
2658 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2659 (prolog-electric--if-then-else): Rename from
2660 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2661 (prolog-tokenize-searchkey): Remove const.
2662 (prolog-clause-info): Use forward-sexp.
2663 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2664 (prolog-electric-if-then-else): Remove commands.
2665 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2666 for use in post-self-insert-hook.
2667 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2668 for use in post-self-insert-hook.
2669 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2670 for use in post-self-insert-hook.
2671 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2672 adapt it for use in post-self-insert-hook.
2673
2674 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * emacs-lisp/ert.el (ert-run-tests-interactively):
2677 Use `completing-read'. (Bug#9756)
2678
2679 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2680
2681 * simple.el (line-move): Call line-move-1 instead of
2682 line-move-visual when the current window hscroll is zero, but
2683 temporary-goal-column indicates we will need to hscroll as result
2684 of the movement. (Bug#15712)
2685
2686 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2687
2688 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2689 capitalization. Use :visible instead of :active.
2690 Fix `ruby-indent-exp' reference. Add menu items for the generic
2691 commands that are used with SMIE.
2692 (ruby-do-end-to-brace): Insert space after `{'.
2693
2694 2013-10-25 John Anthony <john@jo.hnanthony.com>
2695
2696 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2697
2698 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2699
2700 2013-10-25 Glenn Morris <rgm@gnu.org>
2701
2702 * vc/vc.el (vc-print-log): Don't use a working revision unless
2703 one was explicitly specified. (Bug#15322)
2704
2705 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * subr.el (add-to-list): Preserve return value in compiler-macro
2708 (bug#15692).
2709
2710 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2711
2712 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2713 result. Ask user to retry using '-all' flag. (Bug#15701)
2714
2715 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * emacs-lisp/smie.el: New smie-config system.
2718 (smie-config): New defcustom.
2719 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2720 (smie-config-guess, smie-config-save): New commands.
2721 (smie-config--mode-local, smie-config--buffer-local)
2722 (smie-config--trace, smie-config--modefuns): New vars.
2723 (smie-config--advice, smie-config--mode-hook)
2724 (smie-config--setter, smie-config-local, smie-config--get-trace)
2725 (smie-config--guess-value, smie-config--guess): New functions.
2726 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2727 text properties. Treat "string fence" syntax like string syntax.
2728
2729 * progmodes/sh-script.el (sh-use-smie): Change default.
2730 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2731 (sh-var-value): Simplify by CSE.
2732 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2733 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2734 is used.
2735 (sh-guess-basic-offset): Use cl-incf.
2736 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2737
2738 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2739
2740 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2741 (bug#15699).
2742
2743 2013-10-24 Glenn Morris <rgm@gnu.org>
2744
2745 * Makefile.in (abs_top_srcdir): Remove.
2746 (update-subdirs): Use relative path to update-subdirs.
2747
2748 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2749
2750 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2751 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2752 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2753 Call unmsys--file-name before expand-file-name, not after it.
2754
2755 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2756
2757 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2758 (ert-test-skipped): New error.
2759 (ert-skip, ert-stats-skipped): New defuns.
2760 (ert--skip-unless): New macro.
2761 (ert-test-skipped): New struct.
2762 (ert--run-test-debugger, ert-test-result-type-p)
2763 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2764 (ert--stats-set-test-and-result, ert-char-for-test-result)
2765 (ert-string-for-test-result, ert-run-tests-batch)
2766 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2767 Handle skipped tests. (Bug#9803)
2768
2769 2013-10-24 Glenn Morris <rgm@gnu.org>
2770
2771 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2772
2773 * Makefile.in (abs_top_srcdir): New, set by configure.
2774 (update-subdirs): Correct build-aux location.
2775
2776 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2777
2778 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2779 value, whether we could auto-deduce `backend', or not.
2780
2781 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2782 with parameters" example. Simplify the "is it block or is it
2783 hash" check, but also make it more thorough.
2784
2785 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2786
2787 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2788
2789 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2792 { if it is hanging.
2793
2794 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2795 :before ";".
2796
2797 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2798
2799 * progmodes/compile.el (compilation-directory-matcher)
2800 (compilation-page-delimiter):
2801 Support GNU Make-4.0 directory quoting. (Bug#15678)
2802
2803 2013-10-23 Leo Liu <sdl.web@gmail.com>
2804
2805 * ido.el (ido-tidy): Handle read-only text.
2806
2807 2013-10-23 Glenn Morris <rgm@gnu.org>
2808
2809 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2810 (emacs, compile, compile-always):
2811 Quote entities that might contain whitespace.
2812 (custom-deps, finder-data, autoloads): Use abs_lisp.
2813 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2814 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2815 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2816
2817 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2820 Use `following-char'.
2821
2822 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2825 * progmodes/ruby-mode.el (ruby-smie-rules):
2826 Remove corresponding workaround. Fix indentation rule of ";" so it
2827 also applies when ";" is the parent.
2828
2829 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2830
2831 * frame.el (display-screens, display-pixel-height)
2832 (display-pixel-width, display-mm-width, display-backing-store)
2833 (display-save-under, display-planes, display-color-cells)
2834 (display-visual-class, display-monitor-attributes-list):
2835 Mention the optional ‘display’ argument in doc strings.
2836
2837 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2838
2839 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2840 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2841
2842 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2843
2844 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2845 TODO. Add "." after " @ ".
2846 (ruby-smie--at-dot-call): New function. Checks if point at method
2847 call with explicit target.
2848 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2849 to the method name tokens when it precedes them.
2850 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2851 (ruby-smie-rules): Add rule for indentation before and after "."
2852 token.
2853
2854 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * textmodes/remember.el (remember-diary-extract-entries):
2857 Avoid add-to-list.
2858
2859 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2860 an instruction.
2861
2862 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2863
2864 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2865 (ruby-smie--implicit-semi-p): Add new operator chars.
2866
2867 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2868 `smie-down-list'.
2869 (ruby-smie--args-separator-p): Check that there's no newline
2870 between method call and its arguments.
2871
2872 2013-10-20 Alan Mackenzie <acm@muc.de>
2873
2874 Allow comma separated lists after Java "implements".
2875
2876 * progmodes/cc-engine.el (c-backward-over-enum-header):
2877 Parse commas.
2878 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2879 from a "disallowed" list in enum fontification.
2880
2881 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2882
2883 * startup.el (default-frame-background-mode): Remove unused defvar.
2884
2885 * progmodes/verilog-mode.el (verilog-mode): Don't set
2886 comment-indent-function globally.
2887
2888 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2889
2890 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2891 Move Info menu item creation to ns-win.el.
2892
2893 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2894 in menu bar.
2895
2896 * menu-bar.el: Move GNUStep specific menus...
2897
2898 * term/ns-win.el (ns-initialize-window-system): ... to here.
2899
2900 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * simple.el (newline): Only run post-self-insert-hook when
2903 called interactively.
2904
2905 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2906
2907 * icomplete.el (icomplete-with-completion-tables): Add :version.
2908
2909 2013-10-19 Alan Mackenzie <acm@muc.de>
2910
2911 Fix fontification bugs with constructors and const.
2912
2913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2914 CASE 2) Remove the check for the absence of a suffix construct
2915 after a function declaration with only types (no identifiers) in
2916 the parentheses. Also, accept a function declaration with just a
2917 type inside the parentheses, if this type can be positively
2918 recognised as such, or if a prefix keyword like "explicit" nails
2919 down the construct as a declaration.
2920
2921 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2922
2923 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2924 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2925 the problem whereby selecting a menu item that leads to a
2926 minibuffer prompt moves the cursor out of the minibuffer window,
2927 making it hard to type at the prompt. Suggested by Stefan Monnier
2928 <monnier@iro.umontreal.ca>.
2929
2930 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2931
2932 * menu-bar.el: Don't make Services menu.
2933
2934 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2935
2936 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2937 (ffap-alist): Use ffap-c++-mode for c++-mode.
2938 (ffap-c++-path): New variable.
2939 (ffap-c++-mode): New function.
2940
2941 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2942
2943 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2944
2945 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2946
2947 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2948 introduced on 2013-09-08, which results in an infinite loop
2949 requesting a password.
2950
2951 2013-10-18 Glenn Morris <rgm@gnu.org>
2952
2953 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2954
2955 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2956
2957 Sync with upstream verilog-mode revision 1a6ecec7.
2958 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2959 (verilog-mode-release-date): Remove.
2960 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2961 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2962 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2963 (verilog-auto-tieoff-ignore-regexp)
2964 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2965 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2966 (verilog-signals-with, verilog-dir-cache-preserving)
2967 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2968 Doc fixes.
2969 (verilog-case-fold): New option, to control case folding in
2970 regexp searches, bug597.
2971 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2972 (verilog-string-match-fold, verilog-in-paren-count)
2973 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2974 (verilog-at-close-struct-p): New functions.
2975 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2976 (verilog-forward-sexp, verilog-set-auto-endcomments):
2977 (verilog-leap-to-case-head): Handle "unique0" case.
2978 (verilog-in-constraint-re): New constant.
2979 (verilog-keywords, verilog-type-font-keywords):
2980 Add some SystemVerilog 1800-2012 keywords.
2981 (verilog-label-be): Remove unimplemented argument, bug669.
2982 (verilog-batch-execute-func): When batch expanding clear
2983 create-lockfiles to prevent spurious user locks when a file ends
2984 up not changing.
2985 (verilog-calculate-indent, verilog-calc-1)
2986 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2987 (verilog-do-indent): Fix indentation of nested constraints
2988 and structures.
2989 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2990 (verilog-auto-inst-param): Use verilog-string-match-fold.
2991 (verilog-read-inst-module-matcher):
2992 Fix AUTOINST on gate primitives with #1.
2993 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2994 Reads all user-defined typed variables.
2995 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2996 (verilog-signals-matching-regexp)
2997 (verilog-signals-not-matching-regexp, verilog-auto):
2998 Respect verilog-case-fold.
2999 (verilog-diff-report): Fix line count.
3000 (verilog-auto-assign-modport): Remove unused local `modi'.
3001 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3002 better handle multidimensional arrays.
3003 Fix packed array ports misadding bit index in AUTOINST, bug637.
3004 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3005 to not double-declare existing outputs and inputs, respectively.
3006 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3007 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3008 (verilog-sk-uvm-component): New skeleton.
3009 (verilog-submit-bug-report): Add verilog-case-fold,
3010 remove verilog-mode-release-date.
3011
3012 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3013
3014 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3015 as before.
3016
3017 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3018
3019 * textmodes/remember.el (remember): Set buffer-offer-save in
3020 remember buffers (bug#13566).
3021
3022 2013-10-18 Daniel Colascione <dancol@dancol.org>
3023
3024 When evaluating forms in ielm, direct standard output to ielm
3025 buffer. Add new ielm-return-for-effect command. Remove trailing
3026 whitespace throughout.
3027
3028 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3029 (ielm-return-for-effect): New command.
3030 (ielm-send-input): Accept optional `for-effect' parameter.
3031 (ielm-eval-input): Accept optional `for-effect' parameter.
3032 Bind `standard-output' to stream we create using
3033 `ielm-standard-output-impl'. Suppress printing result when
3034 `for-effect'.
3035 (ielm-standard-output-impl): New function.
3036 (inferior-emacs-lisp-mode): Explain new features in documentation.
3037
3038 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3039
3040 Code cleanup.
3041
3042 * net/tramp.el (tramp-debug-message): Do not check for connection
3043 buffer.
3044 (tramp-message): Use "vector" connection property.
3045
3046 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3047 (tramp-equal-remote, tramp-eshell-directory-change)
3048 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3049 (tramp-adb-handle-rename-file)
3050 * net/tramp-cmds.el (tramp-list-remote-buffers)
3051 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3052 * net/tramp-compat.el (tramp-compat-process-running-p)
3053 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3054 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3055 (tramp-gvfs-handle-rename-file)
3056 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3057 (tramp-set-file-uid-gid)
3058 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3059 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3060 of `file-remote-p'.
3061
3062 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3063 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3064 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3065 (tramp-gw-open-network-stream): Suppress unrelated traces.
3066
3067 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3068 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3069 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3070 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3071 connection property.
3072
3073 * net/tramp-cache.el (top): Suppress traces when reading
3074 persistency file.
3075
3076 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3077 Refactor common code. Improve debug message.
3078 (tramp-maybe-open-connection)
3079 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3080 connection buffer too early.
3081
3082 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3083 from `tramp-smb-actions-with-acl'.
3084 (tramp-smb-actions-set-acl): New defconst.
3085 (tramp-smb-handle-copy-directory)
3086 (tramp-smb-action-get-acl): New defun, renamed from
3087 `tramp-smb-action-with-acl'.
3088 (tramp-smb-action-set-acl): New defun.
3089 (tramp-smb-handle-set-file-acl): Rewrite.
3090
3091 2013-10-17 Glenn Morris <rgm@gnu.org>
3092
3093 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3094
3095 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * skeleton.el (skeleton-newline): Remove.
3098 (skeleton-internal-1): Use (insert "\n") instead.
3099
3100 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3101 let-bindings.
3102
3103 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3104 forward-sexp-function while we redo its job (bug#15613).
3105
3106 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3107
3108 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3109 represented by lists.
3110
3111 2013-10-16 Glenn Morris <rgm@gnu.org>
3112
3113 * tmm.el (tmm--history): New dynamic variable.
3114 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3115
3116 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3117
3118 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3119 (tramp-smb-errors): Add error messages.
3120 (tramp-smb-actions-with-acl): New defconst.
3121 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3122 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3123 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3124 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3125 (tramp-smb-get-stat-capability): Fix tests.
3126
3127 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3128
3129 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3130 (bug#15580).
3131
3132 2013-10-16 Glenn Morris <rgm@gnu.org>
3133
3134 * ansi-color.el (ansi-color-drop-regexp):
3135 Add 1J, 1K, 2K. (Bug#15617)
3136
3137 * files.el (hack-local-variables--warned-lexical): New.
3138 (hack-local-variables):
3139 Warn about misplaced lexical-binding. (Bug#15616)
3140
3141 * net/eww.el (eww-render): Always set eww-current-url,
3142 and update header line. (Bug#15622)
3143 (eww-display-html): ... Rather than just doing it here.
3144
3145 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3146
3147 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3148 menu navigations commands.
3149
3150 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3151
3152 * progmodes/subword.el (subword-capitalize): Be careful when
3153 the search for [[:alpha:]] fails (bug#15580).
3154
3155 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3156
3157 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3158 to commands that scroll the menu.
3159
3160 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3161
3162 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3163 Handle methods ending with `?' and `!'.
3164
3165 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3166
3167 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3168 `japanese-cp932' to `cp932' to fix the problem where saving a
3169 source file written in Shift_JIS twice would end up having
3170 `coding: japanese-cp932' which Ruby could not recognize.
3171 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3172 in `ruby-encoding-map'.
3173 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3174 doesn't need to be explicitly declared in magic comment.
3175 (ruby-encoding-map): Add type declaration for better customize UI.
3176
3177 2013-10-13 Glenn Morris <rgm@gnu.org>
3178
3179 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3180 Occur buffers are read-only. http://bugs.debian.org/720775
3181
3182 * emacs-lisp/authors.el (authors-fixed-entries):
3183 Comment out old alpha stuff.
3184
3185 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3186
3187 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3188 to `after-save-hook' instead of `before-save-hook'.
3189 (ruby-mode-set-encoding): Use the value of coding system used to
3190 write the file. Call `basic-save-buffer-1' after modifying the
3191 buffer.
3192
3193 2013-10-13 Alan Mackenzie <acm@muc.de>
3194
3195 Fix indentation/fontification of Java enum with
3196 "implements"/generic.
3197
3198 * progmodes/cc-engine.el (c-backward-over-enum-header):
3199 Extracted from the three other places and enhanced to handle generics.
3200 (c-inside-bracelist-p): Uses new function above.
3201 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3202 function above.
3203 (c-font-lock-enum-tail): Uses new function above.
3204
3205 2013-10-13 Kenichi Handa <handa@gnu.org>
3206
3207 * international/mule-cmds.el (select-safe-coding-system): Remove a
3208 superfluous condition in chekcing whether a coding system is safe
3209 or not.
3210
3211 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3212
3213 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3214
3215 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3216
3217 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3218
3219 2013-10-13 Glenn Morris <rgm@gnu.org>
3220
3221 * menu-bar.el (menu-bar-update-buffers):
3222 Unify Buffers menu prompt string. (Bug#15576)
3223
3224 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3225
3226 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3227 Add some entries.
3228 (authors-fixed-entries): Use accented form of name.
3229
3230 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3233 method calls (bug#15594).
3234 (ruby-smie--args-separator-p): New function.
3235 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3236 recognize paren-free method calls.
3237
3238 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3239 internals of universal-argument.
3240
3241 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3242
3243 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3244 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3245 dropped menu on second mouse click on the menu bar.
3246
3247 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3250 (explicit-shell-file-name): Declare.
3251 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3252 (sh-completion-at-point-function): New function.
3253 (sh-mode): Use it.
3254 (sh-smie--keyword-p): Remove unused argument.
3255 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3256 vars.
3257 (sh-set-shell): Always setup SMIE, even if we use the
3258 old indentation code.
3259
3260 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3261
3262 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3263 cases of ? and =.
3264 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3265 predicate would return nil are almost non-existent.
3266 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3267
3268 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3269 cache also after commands that modify the buffer but don't move
3270 point.
3271
3272 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * env.el (substitute-env-in-file-name): New function.
3275 (substitute-env-vars): Extend the meaning of the optional arg.
3276
3277 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3278
3279 * term/w32-win.el (dynamic-library-alist): Define separate lists
3280 of GIF DLLs for versions before and after 5.0.0 of giflib.
3281 (Bug#15531)
3282
3283 2013-10-10 João Távora <joaotavora@gmail.com>
3284
3285 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3286 not locked, use last revision and current source as
3287 defaults. (Bug#15569)
3288
3289 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3290
3291 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3292 menu-bar is hidden.
3293
3294 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3295
3296 * window.el (pop-to-buffer-same-window): Fix doc-string.
3297 (Bug#15492)
3298
3299 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3302
3303 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3304
3305 * calendar/icalendar.el (icalendar-import-file):
3306 Fix interactive spec. (Bug#15482)
3307
3308 2013-10-10 Glenn Morris <rgm@gnu.org>
3309
3310 * desktop.el (desktop-save): Default to saving in .emacs.d,
3311 since PWD is no longer in desktop-path by default. (Bug#15319)
3312
3313 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3314 now that text mode has a menu with the same entry.
3315 (menu-bar-text-mode-auto-fill): Remove now unused func.
3316 * textmodes/text-mode.el (text-mode-map):
3317 Use auto-fill help text from menu-bar.el.
3318
3319 2013-10-10 John Anthony <john@jo.hnanthony.com>
3320
3321 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3322
3323 2013-10-09 Juri Linkov <juri@jurta.org>
3324
3325 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3326 instead of this-command-keys. Add universal-argument-more and
3327 universal-argument-minus to the list of prefix commands. (Bug#15568)
3328
3329 2013-10-09 Glenn Morris <rgm@gnu.org>
3330
3331 * vc/vc-svn.el (vc-svn-create-repo):
3332 Expand paths in file://... url. (Bug#15446)
3333
3334 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3335 Add some entries.
3336 (authors): Remove unused local variables.
3337
3338 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * profiler.el: Create a more coherent calltree from partial backtraces.
3341 (profiler-format): Hide the tail with `invisible' so that C-s can still
3342 find the hidden elements.
3343 (profiler-calltree-depth): Don't recurse so enthusiastically.
3344 (profiler-function-equal): New hash-table-test.
3345 (profiler-calltree-build-unified): New function.
3346 (profiler-calltree-build): Use it.
3347 (profiler-report-make-name-part): Indent the calltree less.
3348 (profiler-report-mode): Add visibility specs for profiler-format.
3349 (profiler-report-expand-entry, profiler-report-toggle-entry):
3350 Expand the whole subtree when provided with a prefix arg.
3351
3352 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3353
3354 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3355 iuwu-mod token.
3356 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3357 hanging iuwu-mod token.
3358 (ruby-smie--forward-token): Do not include a dot after a token in
3359 that token.
3360 (ruby-smie--backward-token): Likewise.
3361
3362 2013-10-08 Juri Linkov <juri@jurta.org>
3363
3364 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3365 to isearch-other-control-char.
3366 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3367 and isearch-post-command-hook to post-command-hook.
3368 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3369 and isearch-post-command-hook from post-command-hook.
3370 (isearch-unread-key-sequence)
3371 (isearch-reread-key-sequence-naturally)
3372 (isearch-lookup-scroll-key, isearch-other-control-char)
3373 (isearch-other-meta-char): Remove functions.
3374 (isearch-pre-command-hook, isearch-post-command-hook):
3375 New functions based on isearch-other-meta-char rewritten
3376 relying on the new behavior of overriding-terminal-local-map
3377 that does not replace the local keymaps any more. (Bug#15200)
3378
3379 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3380
3381 Support menus on text-mode terminals.
3382 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3383 functionality.
3384
3385 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3386
3387 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3388 Move here from mouse.el.
3389 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3390 and arrow keys.
3391 (tty-menu-navigation-map): New map for TTY menu navigation.
3392
3393 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3394
3395 * frame.el (display-mouse-p): Report text-mode mouse as available
3396 on w32.
3397 (display-popup-menus-p): Report availability if mouse is
3398 available; don't condition on window-system.
3399
3400 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3401 (tty-menu-selected-face): New faces.
3402
3403 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3406 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3407 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3408 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3409 New constants.
3410 (lisp-mode-variables): New `elisp' argument.
3411 (emacs-lisp-mode): Use it.
3412 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3413 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3414
3415 * indent.el: Use lexical-binding.
3416 (indent-region): Add progress reporter.
3417 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3418 last step.
3419 (indent--next-tab-stop): New function to implement this behavior.
3420 (tab-to-tab-stop, move-to-tab-stop): Use it.
3421
3422 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3423
3424 * indent.el (indent-rigidly--current-indentation): New function.
3425 (indent-rigidly-map): New var.
3426 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3427
3428 2013-10-08 Bastien Guerry <bzg@gnu.org>
3429
3430 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3431
3432 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * progmodes/perl-mode.el: Use lexical-binding.
3435 Remove redundant :group args.
3436 (perl-nochange): Change default to be closer to other major modes's
3437 standard behavior.
3438 (perl-indent-line): Don't consider text on current line as a
3439 valid beginning of function from which to indent.
3440
3441 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3442 with more than one argument (bug#15538).
3443
3444 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3445
3446 * vc/pcvs.el: Use lexical-binding.
3447 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3448 environment of `eval'.
3449 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3450 than a list of expressions. Adjust callers.
3451 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3452
3453 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3454
3455 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3456 case of the dot in a chained method call being on the following line.
3457
3458 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * electric.el (electric-indent-inhibit): New var.
3461 (electric-indent-post-self-insert-function): Use it.
3462 * progmodes/python.el (python-mode): Set it.
3463
3464 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3465 open braces.
3466
3467 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3468
3469 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3470 (css-mode): Use electric-indent-chars.
3471
3472 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3473 (font-lock-beg, font-lock-end): Move before first use.
3474 (nxml-mode): Use syntax-propertize-function.
3475 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3476 (nxml-extend-after-change-region): Remove.
3477 * nxml/xmltok.el: Use lexical-binding.
3478 (xmltok-save): Use `declare'.
3479 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3480 * nxml/nxml-util.el: Use lexical-binding.
3481 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3482 Use `declare'.
3483 * nxml/nxml-ns.el: Use lexical-binding.
3484 (nxml-ns-save): Use `declare'.
3485 (nxml-ns-prefixes-for): Avoid add-to-list.
3486 * nxml/rng-match.el: Use lexical-binding.
3487 (rng--ipattern): Use cl-defstruct.
3488 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3489 (rng-cons-group-after, rng-subst-group-after)
3490 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3491 Use closures instead of `(lambda...).
3492
3493 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3494
3495 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3496 of BEG and END.
3497
3498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3499 Use `tramp-handle-insert-file-contents'.
3500 (tramp-gvfs-handle-insert-file-contents): Remove function.
3501
3502 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3503 Use `save-restriction' in order to keep markers.
3504
3505 * net/trampver.el: Update release number.
3506
3507 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * progmodes/compile.el (compilation-parse-errors):
3510 Use compilation--put-prop.
3511 (compilation--ensure-parse): Check compilation-multiline.
3512
3513 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3514
3515 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3516 lexical-binding.
3517
3518 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3519
3520 * progmodes/ruby-mode.el: Fix recently added tests.
3521 (ruby-smie-grammar): Add - and +.
3522 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3523 (ruby-smie--backward-id): New functions.
3524 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3525 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3526 any more.
3527
3528 2013-10-07 Leo Liu <sdl.web@gmail.com>
3529
3530 * register.el (register-preview-delay)
3531 (register-preview-functions): New variables.
3532 (register-read-with-preview, register-preview)
3533 (register-describe-oneline): New functions.
3534 (point-to-register, window-configuration-to-register)
3535 (frame-configuration-to-register, jump-to-register)
3536 (number-to-register, view-register, insert-register)
3537 (copy-to-register, append-to-register, prepend-to-register)
3538 (copy-rectangle-to-register): Use register-read-with-preview to
3539 read register. (Bug#15525)
3540
3541 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3542
3543 * net/network-stream.el (network-stream-open-starttls): Don't add
3544 --insecure if it's already present, because that gnutls-cli
3545 rejects getting that parameter twice.
3546
3547 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3548
3549 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3550 keyword, too.
3551
3552 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3553
3554 * newcomment.el (comment-use-global-state): Change default value
3555 to t, mark obsolete (Bug#15251).
3556 (comment-beginning): In addition to `comment-to-syntax', check the
3557 value of `comment-use-global-state'.
3558
3559 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3560
3561 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3562 (ruby-comment-column): Follow the global default, by default.
3563 (ruby-smie-grammar): Add assignment syntax.
3564 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3565 open-paren, a comma, or a \.
3566 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3567 and line continuations.
3568 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3569 followed by implicit semi-colons. Add rule for string concatenation
3570 and for indentation at BOB.
3571 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3572
3573 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3574 calling next-sexp, since next-token may have skipped chars which
3575 next-sexp doesn't know should be skipped!
3576
3577 2013-10-05 Leo Liu <sdl.web@gmail.com>
3578
3579 * progmodes/octave.el (octave-send-region):
3580 Call compilation-forget-errors.
3581
3582 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3583
3584 * vc/vc-svn.el (vc-svn-find-admin-dir):
3585 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3586 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3587 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3588 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3589
3590 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3593
3594 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * subr.el (read-passwd): Hide chars even when called within a context
3597 where after-change-functions is disabled (bug#15501).
3598 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3599 until we removed ourself from overriding-terminal-local-map.
3600
3601 2013-10-04 Leo Liu <sdl.web@gmail.com>
3602
3603 * progmodes/octave.el (inferior-octave-mode):
3604 Call compilation-forget-errors.
3605
3606 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3607
3608 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3609
3610 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3611
3612 * net/secrets.el (secrets-create-collection): Add optional
3613 argument ALIAS. Use proper Label keyword. Append ALIAS as
3614 dbus-call-method argument. (Bug#15516)
3615
3616 2013-10-04 Leo Liu <sdl.web@gmail.com>
3617
3618 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3619 (inferior-octave-compilation-font-lock-keywords): New variables.
3620 (compilation-error-regexp-alist)
3621 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3622 (inferior-octave-mode): Use compilation-shell-minor-mode.
3623
3624 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3625
3626 * minibuffer.el (completion--replace): Be careful that `end' might be
3627 a marker.
3628
3629 2013-10-03 Daiki Ueno <ueno@gnu.org>
3630
3631 Add support for package signature checking.
3632 * emacs-lisp/package.el (url-http-file-exists-p)
3633 (epg-make-context, epg-context-set-home-directory)
3634 (epg-verify-string, epg-context-result-for)
3635 (epg-signature-status, epg-signature-to-string)
3636 (epg-check-configuration, epg-configuration)
3637 (epg-import-keys-from-file): Declare.
3638 (package-check-signature): New user option.
3639 (package-unsigned-archives): New user option.
3640 (package-desc): Add `signed' field.
3641 (package-load-descriptor): Set `signed' field if .signed file exists.
3642 (package--archive-file-exists-p): New function.
3643 (package--check-signature): New function.
3644 (package-install-from-archive): Check package signature.
3645 (package--download-one-archive): Check archive signature.
3646 (package-delete): Remove .signed file.
3647 (package-import-keyring): New command.
3648 (package-refresh-contents): Import default keyring.
3649 (package-desc-status): Add "unsigned" status.
3650 (describe-package-1, package-menu--print-info)
3651 (package-menu-mark-delete, package-menu--find-upgrades)
3652 (package-menu--status-predicate): Support "unsigned" status.
3653
3654 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3657 the new compilation scheme using the new byte-codes.
3658
3659 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3660 (byte-pophandler): New byte codes.
3661 (byte-goto-ops): Adjust accordingly.
3662 (byte-compile--use-old-handlers): New var.
3663 (byte-compile-catch): Use new byte codes depending on
3664 byte-compile--use-old-handlers.
3665 (byte-compile-condition-case--old): Rename from
3666 byte-compile-condition-case.
3667 (byte-compile-condition-case--new): New function.
3668 (byte-compile-condition-case): New function that dispatches depending
3669 on byte-compile--use-old-handlers.
3670 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3671 when we can.
3672
3673 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3674 Optimize under `condition-case' and `catch' if
3675 byte-compile--use-old-handlers is nil.
3676 (disassemble-offset): Handle new bytecodes.
3677
3678 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * subr.el (error): Use `declare'.
3681 (decode-char, encode-char): Use advertised-calling-convention instead
3682 of the docstring to discourage use of the `restriction' arg.
3683
3684 2013-10-03 Daiki Ueno <ueno@gnu.org>
3685
3686 * epg.el (epg-verify-file): Add a comment saying that it does not
3687 notify verification error as a return value nor a signal.
3688 (epg-verify-string): Ditto.
3689
3690 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3691
3692 * progmodes/compile.el (compilation-start): Try globbing the arg to
3693 `cd' (bug#15417).
3694
3695 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3696
3697 Sync with Tramp 2.2.8.
3698
3699 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3700 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3701 * net/trampver.el: Update release number.
3702
3703 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3704
3705 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3706 and default-process-coding-system for darwin only.
3707
3708 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3711
3712 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3713
3714 * vc/vc-git.el (vc-git-grep): Disable pager.
3715
3716 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3717
3718 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3719 Use :url instead of :homepage, as per
3720 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3721
3722 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3723 non-nil, use `syntax-ppss' (Bug#15251).
3724
3725 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3726
3727 * progmodes/octave.el (inferior-octave-startup-file):
3728 Prefer ~/.emacs.d/init_octave.m.
3729
3730 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3731
3732 * emacs-lisp/package.el (package-desc-from-define):
3733 Accept additional arguments as plist, convert them to an alist and store
3734 them in the `extras' slot.
3735 (package-generate-description-file): Convert extras alist back to
3736 plist and append to the `define-package' form arguments.
3737 (package--alist-to-plist): New function.
3738 (package--ac-desc): Add `extras' slot.
3739 (package--add-to-archive-contents): Check if the archive-contents
3740 vector is long enough, and if it is, pass its `extras' slot value
3741 to `package-desc-create'.
3742 (package-buffer-info): Call `lm-homepage', pass the returned value
3743 to `package-desc-from-define'.
3744 (describe-package-1): Render the homepage button (Bug#13291).
3745
3746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3747 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3748
3749 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3750
3751 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3752 and default-process-coding-system to utf-8-unix (Bug#15402).
3753
3754 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3755
3756 * subr.el (looking-back): Do not recommend using looking-back.
3757
3758 2013-09-28 Alan Mackenzie <acm@muc.de>
3759
3760 Fix indentation/fontification of Java enum with "implements".
3761
3762 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3763 regexp which matches "implements", etc., in Java.
3764 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3765 specifier clauses coming after "enum".
3766 * progmodes/cc-fonts.el (c-font-lock-declarations)
3767 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3768 after "enum".
3769
3770 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3771
3772 * faces.el (region): Change ns_selection_color to
3773 ns_selection_fg_color, add ns_selection_bg_color.
3774
3775 2013-09-28 Leo Liu <sdl.web@gmail.com>
3776
3777 * progmodes/octave.el (inferior-octave-completion-table)
3778 (inferior-octave-completion-at-point): Minor tweaks.
3779
3780 * textmodes/ispell.el (ispell-lookup-words): Rename from
3781 lookup-words. (Bug#15460)
3782 (lookup-words): Obsolete.
3783 (ispell-complete-word, ispell-command-loop): All uses changed.
3784
3785 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3786
3787 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3788 (octave-mode-menu): Add octave-send-buffer.
3789 (octave-send-buffer): New function.
3790
3791 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3792
3793 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3794 octave-lookfor.
3795 (octave-mode-menu): Add octave-lookfor.
3796 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3797 octave-lookfor.
3798 (octave-lookfor): New function.
3799
3800 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * emacs-lisp/cl-macs.el:
3803 (cl--loop-destr-temps): Remove.
3804 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3805 its convention.
3806 (cl--loop-set-iterator-function): New function.
3807 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3808 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3809 Bind `it' with `let' instead of substituting it with `cl-subst'.
3810 (cl--unused-var-p): New function.
3811 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3812 Eliminate some unused variable warnings (bug#15326).
3813
3814 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3815
3816 * doc-view.el (doc-view-scale-reset): Rename from
3817 `doc-view-reset-zoom-level'.
3818 (doc-view-scale-adjust): New command.
3819 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3820 `doc-view-scale-adjust'.
3821
3822 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3823
3824 * doc-view.el (doc-view-reset-zoom-level): New command.
3825 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3826 zoom commands (bug#15466).
3827
3828 2013-09-26 Kenichi Handa <handa@gnu.org>
3829
3830 * international/quail.el (quail-help): Make it not a command.
3831
3832 2013-09-26 Leo Liu <sdl.web@gmail.com>
3833
3834 * minibuffer.el (completion-all-sorted-completions): Make args
3835 optional as they are.
3836
3837 2013-09-25 Daniel Colascione <dancol@dancol.org>
3838
3839 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3840 specs are and that they're not evaluated.
3841
3842 2013-09-24 Sam Steingold <sds@gnu.org>
3843
3844 * midnight.el (clean-buffer-list-kill-regexps)
3845 (clean-buffer-list-kill-buffer-names): Update for the new Man
3846 buffer naming which includes the object name.
3847
3848 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3851 (eshell-parse-command, eshell-parse-pipeline): Use it since
3852 eshell-separate-commands requires a dynamic scoped var.
3853 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3854
3855 2013-09-23 Leo Liu <sdl.web@gmail.com>
3856
3857 * autoinsert.el (auto-insert-alist): Make the value of
3858 lexical-binding match its file setting.
3859
3860 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3861
3862 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3863
3864 * autoarg.el (autoarg-kp-digit-argument):
3865 * electric.el (Electric-command-loop):
3866 * kmacro.el (kmacro-step-edit-insert):
3867 Do not set universal-argument-num-events.
3868
3869 2013-09-22 Leo Liu <sdl.web@gmail.com>
3870
3871 * files.el (interpreter-mode-alist): Add octave.
3872
3873 2013-09-21 Alan Mackenzie <acm@muc.de>
3874
3875 C++: fontify identifier in declaration following "public:" correctly.
3876 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3877 to match "public", etc.
3878 (c-decl-prefix-re): Add ":" into the C++ value.
3879 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3880 bit. Add a check for a ":" preceded by "public", etc.
3881
3882 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3883
3884 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3885 recognized by GDB 7.5 and later.
3886
3887 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3888
3889 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3890
3891 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * subr.el (internal--call-interactively): New const.
3894 (called-interactively-p): Use it (bug#3984).
3895
3896 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3897
3898 * vc/pcvs.el (cvs-mode-ignore):
3899 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3900 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3901
3902 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3905 (eshell-ls-orig-insert-directory): Remove.
3906 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3907 (eshell-ls-use-in-dired): Use advice-add/remove.
3908 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3909 Add `orig-fun' arg for use in :around advice.
3910 Make it check (redundantly) eshell-ls-use-in-dired.
3911
3912 2013-09-19 Glenn Morris <rgm@gnu.org>
3913
3914 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3915
3916 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3917
3918 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3919
3920 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3921
3922 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3923 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3924 (tramp-get-remote-python): New defuns.
3925 (tramp-get-remote-uid-with-perl)
3926 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3927 contributed by yary <not.com@gmail.com> (tiny change).
3928 (tramp-get-remote-uid-with-python)
3929 (tramp-get-remote-gid-with-python): New defuns. Python code
3930 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3931 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3932
3933 2013-09-19 Glenn Morris <rgm@gnu.org>
3934
3935 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3936
3937 * eshell/em-unix.el (eshell-remove-entries):
3938 Rename argument to avoid name-clash with global `top-level'.
3939
3940 * eshell/esh-proc.el (eshell-kill-process-function):
3941 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3942 (eshell-reset-after-proc): Remove unused arg `proc'.
3943
3944 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3945 (directory-files-and-attributes): Mark unused arg.
3946
3947 * eshell/em-unix.el (eshell-remove-entries):
3948 Remove unused arg `path'. Update callers.
3949
3950 * eshell/em-hist.el (eshell-hist-parse-arguments):
3951 Remove unused arg `silent'. Update callers.
3952
3953 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3954 Fix (f)boundp mix-up.
3955
3956 * eshell/em-smart.el (eshell-smart-scroll-window)
3957 (eshell-disable-after-change):
3958 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3959
3960 2013-09-18 Alan Mackenzie <acm@muc.de>
3961
3962 Fix fontification of type when followed by "const".
3963 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3964 "known" types from fontification.
3965
3966 2013-09-18 Glenn Morris <rgm@gnu.org>
3967
3968 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3969 (chart-face-list): Drop Emacsen without display-color-p.
3970
3971 * net/eww.el (libxml-parse-html-region): Declare.
3972 (eww-display-html): Explicit error if no libxml2 support.
3973
3974 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3975
3976 * image.el (image-type-from-buffer, image-multi-frame-p):
3977 Remove --without-x warning/error.
3978
3979 * mouse.el (mouse-yank-primary):
3980 * term.el (term-mouse-paste):
3981 Reorder to silence --without-x compilation.
3982
3983 * mpc.el (doc-view-mode): Silence --without-x compilation.
3984
3985 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3986 Silence --without-x compilation.
3987
3988 * progmodes/gud.el (gud-find-file, gud-mode):
3989 Silence --without-x compilation.
3990 (tooltip-mode): Declare.
3991
3992 * wdired.el (dired-backup-overwrite): Remove declaration.
3993 (wdired-mode-map): Add doc string.
3994
3995 * custom.el (x-get-resource): Declare.
3996
3997 * eshell/em-glob.el (ange-cache):
3998 * eshell/em-unix.el (ange-cache): Declare.
3999
4000 * faces.el (x-display-list, x-open-connection, x-get-resource):
4001 Declare.
4002
4003 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4004 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4005 Declare.
4006
4007 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4008
4009 * net/gnutls.el (gnutls-log-level): Declare.
4010
4011 * net/shr.el (image-size, image-animate): Declare.
4012
4013 * simple.el (font-info): Declare.
4014
4015 * subr.el (x-popup-dialog): Declare.
4016
4017 * term/common-win.el (x-select-enable-primary)
4018 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4019 Declare.
4020
4021 * term/ns-win.el (x-handle-args): Declare.
4022
4023 * term/x-win.el (x-select-enable-clipboard): Declare.
4024
4025 * term/w32-win.el (create-default-fontset): Declare.
4026
4027 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4028 Declare.
4029
4030 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4031 (fit-frame-to-buffer): Explicit error if --without-x.
4032 (mouse-autoselect-window-select): Silence compiler.
4033
4034 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4035
4036 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4037 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4038 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4039 * eshell/esh-util.el (eshell-sublist):
4040 Remove unused local variables.
4041
4042 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4043
4044 * textmodes/two-column.el: Make 2C-split work for --without-x.
4045 (scroll-bar-columns): Autoload.
4046 (top-level): Require fringe when compiling.
4047
4048 2013-09-18 Leo Liu <sdl.web@gmail.com>
4049
4050 * subr.el (add-hook): Robustify to handle closure as well.
4051
4052 2013-09-17 Glenn Morris <rgm@gnu.org>
4053
4054 * simple.el (messages-buffer-mode-map): Unbind "g".
4055
4056 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * help-mode.el (help-mode-finish): Use derived-mode-p.
4059 Remove obsolete highlighting.
4060
4061 * play/life.el (life-mode): Use define-derived-mode. Derive from
4062 special-mode.
4063 (life): Let-bind inhibit-read-only.
4064 (life-setup): Avoid `setq'. Use `life-mode'.
4065
4066 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4067 which should not be needed any more.
4068 (package-menu-refresh, package-menu-describe-package): Use user-error.
4069
4070 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4071 (eshell-post-rewrite-command-hook): Make obsolete.
4072 (eshell-parse-command): Simplify.
4073 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4074 (eshell--cmd): Declare.
4075 (eshell-parse-pipeline): Remove unused var `final-p'.
4076 Pass a dynvar to eshell-post-rewrite-command-hook.
4077 Implement the new eshell-post-rewrite-command-function.
4078 (eshell-invoke-directly): Remove unused arg `input'.
4079 * eshell/esh-io.el (eshell-io-initialize):
4080 Use eshell-post-rewrite-command-function (bug#15399).
4081 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4082 adjust to new calling convention.
4083 (eshell-create-handles): Rename args to avoid clashing with dynvar
4084 `standard-output'.
4085
4086 2013-09-17 Glenn Morris <rgm@gnu.org>
4087
4088 * simple.el (messages-buffer-mode): New major mode.
4089 (messages-buffer): New function.
4090 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4091 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4092 (ert-run-test): Use `messages-buffer' function.
4093 (ert--force-message-log-buffer-truncation): Ignore read-only.
4094 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4095 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4096
4097 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4100
4101 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4102
4103 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * icomplete.el (icomplete-in-buffer): New var.
4106 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4107 vars and replace them with functions.
4108 (icomplete-minibuffer-setup): Adjust accordingly.
4109 (icomplete--completion-table, icomplete--completion-predicate)
4110 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4111 New functions.
4112 (icomplete-forward-completions, icomplete-backward-completions)
4113 (icomplete-simple-completing-p, icomplete-exhibit)
4114 (icomplete-completions): Use them.
4115 (icomplete--in-region-buffer): New var.
4116 (icomplete--in-region-setup): New function.
4117 (icomplete-mode): Use it.
4118
4119 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4120 (bug#15379).
4121 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4122 return args and options.
4123 (eshell-eval-using-options): Use the new return value of
4124 eshell--do-opts to set the options's vars in their scope.
4125 (eshell--set-option): Rename from eshell-set-option.
4126 Add arg `opt-vals'.
4127 (eshell--process-option): Rename from eshell-process-option.
4128 Add arg `opt-vals'.
4129 (eshell--process-args): Use an `opt-vals' alist to store the options's
4130 values during their processing and return them additionally to the
4131 remaining args.
4132
4133 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4134
4135 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4136 continuation character an operator, as far as indentation is
4137 concerned (Bug#15369).
4138
4139 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4140
4141 * window.el (window--state-put-2): Don't process buffer state
4142 when buffer doesn't exist any more (Bug#15382).
4143
4144 2013-09-15 Glenn Morris <rgm@gnu.org>
4145
4146 * eshell/em-unix.el (eshell/rm):
4147 Make -f ignore missing files. (Bug#15373)
4148
4149 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4150 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4151 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4152
4153 2013-09-14 Glenn Morris <rgm@gnu.org>
4154
4155 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4156
4157 2013-09-13 Glenn Morris <rgm@gnu.org>
4158
4159 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4160 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4161
4162 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4163
4164 * frame.el (x-focus-frame): Mark as declared in frame.c.
4165
4166 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * ls-lisp.el: Use advice-add.
4169 (original-insert-directory): Remove.
4170 (ls-lisp--insert-directory): Rename from insert-directory; add
4171 `orig-fun' argument.
4172 (insert-directory): Advise.
4173
4174 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4175
4176 * term.el (term-emulate-terminal): Decode the command string
4177 before passing it to term-command-hook. (Bug#15337)
4178
4179 2013-09-13 Glenn Morris <rgm@gnu.org>
4180
4181 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4182
4183 * eshell/esh-ext.el (eshell-search-path): Declare.
4184
4185 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4186 Otherwise an error occurs if eshell-dirs module not loaded.
4187
4188 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4189
4190 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4191
4192 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4193 `tramp-check-proper-host'. Check for a valid method name.
4194
4195 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4196 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4197 * net/tramp-sh.el (tramp-maybe-open-connection):
4198 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4199
4200 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4201 also for hash values.
4202
4203 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * term/ns-win.el (parameters): Don't declare as dynamic.
4206 (before-make-frame-hook): Don't add ineffective function.
4207
4208 * eshell/*.el: Use lexical-binding (bug#15231).
4209
4210 2013-09-12 Kenichi Handa <handa@gnu.org>
4211
4212 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4213
4214 2013-09-12 Glenn Morris <rgm@gnu.org>
4215
4216 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4217 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4218
4219 * subr.el (do-after-load-evaluation): Also give compiler warnings
4220 when obsolete files are used (except by obsolete files).
4221
4222 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4223 in the status output, assume `filename' is the first. (Bug#15322)
4224
4225 * vc/vc.el (vc-deduce-fileset): Doc fix.
4226
4227 * calc/calc-help.el (Info-goto-node):
4228 * progmodes/cperl-mode.el (Info-find-node):
4229 * vc/ediff.el (Info-goto-node): Update declarations.
4230
4231 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4232
4233 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4234 (vc-bzr-pull): Require vc-dispatcher.
4235 * vc/vc-git.el (vc-compilation-mode): Declare.
4236 (vc-git-pull): Require vc-dispatcher.
4237
4238 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4239
4240 * progmodes/octave.el (help-button-action): Declare.
4241
4242 * shell.el (shell-directory-tracker): Output error as a message
4243 rather than just returning it as a string.
4244 (shell-process-pushd): Remove useless use of message.
4245
4246 * dframe.el (dframe-timer-fn):
4247 * files.el (dir-locals-read-from-file):
4248 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4249 (mpc-format):
4250 * reveal.el (reveal-post-command):
4251 * saveplace.el (load-save-place-alist-from-file):
4252 * shell.el (shell-resync-dirs):
4253 * w32-common-fns.el (x-get-selection-value):
4254 * emacs-lisp/copyright.el (copyright-find-copyright):
4255 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4256 * emulation/tpu-edt.el (tpu-copy-keyfile):
4257 * play/bubbles.el (bubbles--mark-neighbourhood):
4258 * progmodes/executable.el
4259 (executable-make-buffer-file-executable-if-script-p):
4260 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4261
4262 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4263
4264 Cleanup Eshell to rely less on dynamic scoping.
4265 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4266 last-value, and ext-command here. Bind `args' closer to `body'.
4267 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4268 (eshell--args): Declare new dynamic var.
4269 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4270 last-value, and ext-command. Pass `args' to `body'.
4271 (eshell-process-args): Bind eshell--args.
4272 (eshell-set-option): Use eshell--args.
4273 * eshell/eshell.el (eshell): Use derived-mode-p.
4274 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4275 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4276 (eshell-glob-function): Declare.
4277 * eshell/esh-util.el: Require cl-lib.
4278 (eshell-read-hosts-file): Avoid add-to-list.
4279 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4280 `err'.
4281 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4282 Declare.
4283 (eshell/diff): Remove unused var `err'.
4284 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4285 `killflag'.
4286 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4287 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4288 first use.
4289 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4290 Move declaration before first use.
4291 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4292 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4293 rely on cl-return.
4294
4295 2013-09-12 Glenn Morris <rgm@gnu.org>
4296
4297 * term/ns-win.el (global-map): Remove binding for ispell-next,
4298 deleted 1999-05-29. (Bug#15357)
4299
4300 2013-09-11 Glenn Morris <rgm@gnu.org>
4301
4302 * echistory.el (electric-command-history): Remove call to deleted func.
4303
4304 * play/landmark.el (landmark-mode): Fix typos.
4305
4306 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4307 Check cvs-sort-ignore-file is bound.
4308
4309 * savehist.el: No need for cl when compiling on Emacs.
4310
4311 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4314 (bug#15338).
4315 (eshell-self-insert-command, eshell-send-invisible):
4316 Remove unused argument.
4317 (eshell-handle-control-codes): Remove unused var `orig'.
4318 Avoid delete-backward-char.
4319
4320 * files.el (set-auto-mode): Simplify a bit further.
4321
4322 2013-09-11 Glenn Morris <rgm@gnu.org>
4323
4324 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4325 (set-auto-mode): Don't regexp-quote elements.
4326 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4327 * progmodes/cc-mode.el (interpreter-mode-alist):
4328 * progmodes/ruby-mode.el (interpreter-mode-alist):
4329 Revert previous change.
4330
4331 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4332
4333 * play/snake.el (snake-mode):
4334 * play/mpuz.el (mpuz-mode):
4335 * play/landmark.el (lm-mode):
4336 * play/blackbox.el (blackbox-mode):
4337 * play/5x5.el (5x5-mode):
4338 * obsolete/options.el (Edit-options-mode):
4339 * net/quickurl.el (quickurl-list-mode):
4340 * net/newst-treeview.el (newsticker-treeview-mode):
4341 * mail/rmailsum.el (rmail-summary-mode):
4342 * mail/mspools.el (mspools-mode):
4343 * locate.el (locate-mode):
4344 * ibuffer.el (ibuffer-mode):
4345 * emulation/ws-mode.el (wordstar-mode):
4346 * emacs-lisp/debug.el (debugger-mode):
4347 * array.el (array-mode):
4348 * net/eudc.el (eudc-mode): Use define-derived-mode.
4349 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4350 Move initialization into declaration.
4351 (mairix-searches-mode): Use define-derived-mode.
4352 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4353 (eudc-edit-hotlist): Use dolist.
4354 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4355 (Man-mode): Use define-derived-mode.
4356 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4357 (Info-edit-mode): Use define-derived-mode.
4358 (Info-cease-edit): Use Info-mode.
4359 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4360 into declaration.
4361 (eshell-mode): Use define-derived-mode.
4362 * chistory.el (command-history-mode-map): Rename from
4363 command-history-map.
4364 (command-history-mode): Use define-derived-mode.
4365 (Command-history-setup): Remove function.
4366 * calc/calc.el (calc-trail-mode-map): New var.
4367 (calc-trail-mode): Use define-derived-mode.
4368 (calc-trail-buffer): Set calc-main-buffer manually.
4369 * bookmark.el (bookmark-insert-annotation): New function.
4370 (bookmark-edit-annotation): Use it.
4371 (bookmark-edit-annotation-mode): Make it a proper major mode.
4372 (bookmark-send-edited-annotation): Use derived-mode-p.
4373 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4374 closer to its ideal place. Use \' to match EOS.
4375
4376 * profiler.el (profiler-calltree-find): Use function-equal.
4377
4378 2013-09-10 Glenn Morris <rgm@gnu.org>
4379
4380 * files.el (interpreter-mode-alist): Convert to regexps.
4381 (set-auto-mode): Adapt for this. (Bug#15306)
4382 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4383 Comment out unused variable.
4384 * progmodes/cc-mode.el (interpreter-mode-alist):
4385 * progmodes/python.el (interpreter-mode-alist):
4386 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4387 * progmodes/sh-script.el (sh-set-shell):
4388 No longer use interpreter-mode-alist to get list of shells.
4389
4390 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4391
4392 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * simple.el: Use set-temporary-overlay-map for universal-argument.
4395 (universal-argument-map): Don't use default-bindings (bug#15317).
4396 Bind switch-frame explicitly. Replace universal-argument-minus with
4397 a conditional binding.
4398 (universal-argument-num-events, saved-overriding-map): Remove.
4399 (restore-overriding-map): Remove.
4400 (universal-argument--mode): Rename from save&set-overriding-map,
4401 and rewrite.
4402 (universal-argument, universal-argument-more, negative-argument)
4403 (digit-argument): Adjust accordingly.
4404 (universal-argument-minus): Remove.
4405 (universal-argument-other-key): Remove.
4406
4407 * subr.el (with-demoted-errors): Add `format' argument.
4408
4409 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4412 `tramp-cleanup-connection'.
4413
4414 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4415 parameters KEEP-DEBUG and KEEP-PASSWORD.
4416
4417 * net/tramp.el (tramp-file-name-handler):
4418 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4419 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4420 (tramp-maybe-open-connection):
4421 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4422 Use `tramp-cleanup-connection'.
4423
4424 * net/tramp-sh.el (tramp-maybe-open-connection):
4425 Catch 'uname-changed inside the progress reporter.
4426
4427 2013-09-10 Glenn Morris <rgm@gnu.org>
4428
4429 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4430
4431 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4432 returns "alternate access method" in mode (eg "-rw-r--r--.").
4433
4434 2013-09-08 Glenn Morris <rgm@gnu.org>
4435
4436 * saveplace.el (load-save-place-alist-from-file):
4437 Demote errors. (Bug#15305)
4438
4439 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4440
4441 Improve compatibility with older Emacsen, and XEmacs.
4442
4443 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4444 only if it is bound. It isn't for XEmacs.
4445 (with-tramp-progress-reporter): Do not let-bind `result'.
4446 This yields to scoping errors in XEmacs.
4447 (tramp-handle-make-auto-save-file-name): New function, moved from
4448 tramp-sh.el.
4449
4450 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4451 for `make-auto-save-file-name'.
4452 (tramp-adb--gnu-switches-to-ash):
4453 Use `tramp-compat-replace-regexp-in-string'.
4454
4455 * net/tramp-cache.el (tramp-cache-print): Call
4456 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4457
4458 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4459 bound. It isn't for XEmacs.
4460
4461 * net/tramp-compat.el (tramp-compat-copy-file):
4462 Catch `wrong-number-of-arguments' error.
4463 (tramp-compat-replace-regexp-in-string): New defun.
4464
4465 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4466 for `make-auto-save-file-name'.
4467 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4468 `copy-file'.
4469 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4470 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4471 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4472
4473 * net/tramp-gw.el (tramp-gw-open-network-stream):
4474 Use `tramp-compat-replace-regexp-in-string'.
4475
4476 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4477 Call `tramp-handle-make-auto-save-file-name'.
4478 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4479 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4480 (tramp-sh-file-inotifywait-process-filter):
4481 Use `tramp-compat-replace-regexp-in-string'.
4482 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4483
4484 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4485 for `make-auto-save-file-name'.
4486 (tramp-smb-handle-copy-directory):
4487 Call `tramp-compat-replace-regexp-in-string'.
4488 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4489 (tramp-smb-handle-copy-file): Improve error message.
4490 (tramp-smb-handle-rename-file): Rename directly only in case
4491 `newname' does not exist yet. This is a restriction of smbclient.
4492 (tramp-smb-maybe-open-connection): Rerun the function only when
4493 `auth-sources' is non-nil.
4494
4495 2013-09-08 Kenichi Handa <handa@gnu.org>
4496
4497 * international/characters.el: Set category "^" (Combining) for
4498 more characters.
4499
4500 2013-09-07 Alan Mackenzie <acm@muc.de>
4501
4502 Correctly fontify Java class constructors.
4503 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4504 in Java Mode.
4505 (c-recognize-typeless-decls): Set the Java value to t.
4506 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4507 While handling a "(", add a check for, effectively, Java, and handle a
4508 "typeless" declaration there.
4509
4510 2013-09-07 Roland Winkler <winkler@gnu.org>
4511
4512 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4513 field subtitle for entry type book.
4514
4515 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * minibuffer.el: Make minibuffer-complete call completion-in-region
4518 rather than other way around.
4519 (completion--some, completion-pcm--find-all-completions):
4520 Don't delay signals when debugging.
4521 (minibuffer-completion-contents): Beware fields within the
4522 minibuffer contents.
4523 (completion-all-sorted-completions): Use defvar-local.
4524 (completion--do-completion, completion--cache-all-sorted-completions)
4525 (completion-all-sorted-completions, minibuffer-force-complete):
4526 Add args `beg' and `end'.
4527 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4528 (minibuffer-complete): Use completion-in-region.
4529 (completion-complete-and-exit): New fun, extracted from
4530 minibuffer-complete-and-exit.
4531 (minibuffer-complete-and-exit): Use it.
4532 (completion--complete-and-exit): Rename from
4533 minibuffer--complete-and-exit.
4534 (completion-in-region--single-word): New function, extracted from
4535 minibuffer-complete-word.
4536 (minibuffer-complete-word): Use it.
4537 (display-completion-list): Make `common-substring' argument obsolete.
4538 (completion--in-region): Call completion--in-region-1 instead of
4539 minibuffer-complete.
4540 (completion-help-at-point): Pass boundaries to
4541 minibuffer-completion-help as args rather than via an overlay.
4542 (completion-pcm--string->pattern): Use `any-delim'.
4543 (completion-pcm--optimize-pattern): New function.
4544 (completion-pcm--pattern->regex): Handle `any-delim'.
4545 * icomplete.el (icomplete-forward-completions)
4546 (icomplete-backward-completions, icomplete-completions):
4547 Adjust calls to completion-all-sorted-completions and
4548 completion--cache-all-sorted-completions.
4549 (icomplete-with-completion-tables): Default to t.
4550 * emacs-lisp/crm.el (crm--current-element): Rename from
4551 crm--select-current-element. Don't put an overlay but return the
4552 boundaries instead.
4553 (crm--completion-command): Take two new args to bind to the boundaries.
4554 (crm-completion-help): Adjust accordingly.
4555 (crm-complete): Use completion-in-region.
4556 (crm-complete-word): Use completion-in-region--single-word.
4557 (crm-complete-and-exit): Use completion-complete-and-exit.
4558
4559 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4562 than dynamically.
4563
4564 2013-09-06 Juri Linkov <juri@jurta.org>
4565
4566 * info.el (Info-display-images-node): When image file doesn't exist
4567 display text version of the image if it's provided in the Info file.
4568 Otherwise, display the location of missing image from SRC attribute.
4569 Add help-echo text property from ALT attribute. (Bug#15279)
4570
4571 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4574 (edit-abbrevs-mode): Use define-derived-mode.
4575
4576 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4577 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4578 that it's defined.
4579 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4580 Use define-derived-mode.
4581
4582 * epg.el (epg-start-encrypt): Minor CSE simplification.
4583
4584 2013-09-06 William Xu <william.xwl@gmail.com>
4585
4586 * arc-mode.el: Add support for 7za (bug#15264).
4587 (archive-7z-program): New var.
4588 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4589 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4590 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4591
4592 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4593
4594 Remove URL syntax.
4595
4596 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4597 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4598 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4599 (tramp-postfix-host-format, tramp-file-name-regexp)
4600 (tramp-completion-file-name-regexp)
4601 (tramp-completion-dissect-file-name)
4602 (tramp-handle-substitute-in-file-name): Remove 'url case.
4603 (tramp-file-name-regexp-url)
4604 (tramp-completion-file-name-regexp-url): Remove constants.
4605
4606 2013-09-06 Glenn Morris <rgm@gnu.org>
4607
4608 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4609
4610 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4611
4612 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4613 keywords" below "here-doc beginnings" (Bug#15270).
4614
4615 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * subr.el (pop): Use `car-safe'.
4618 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4619 to detect unused `pop' return value.
4620
4621 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4622 var `block-regexp'.
4623 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4624 (python-fill-string): Remove unused var `marker'.
4625 (python-skeleton-add-menu-items): Remove unused var `items'.
4626
4627 * international/mule-cmds.el: Require CL.
4628 (find-coding-systems-for-charsets): Avoid add-to-list.
4629 (sanitize-coding-system-list): New function, extracted from
4630 select-safe-coding-system-interactively.
4631 (select-safe-coding-system-interactively): Use it.
4632 (read-input-method-name): Accept symbols for `default'.
4633
4634 * emacs-lisp/advice.el (defadvice): Add indent rule.
4635
4636 2013-09-05 Daniel Hackney <dan@haxney.org>
4637
4638 * dired-x.el:
4639 * net/ange-ftp.el:
4640 * net/browse-url.el:
4641 * net/dbus.el:
4642 * net/eudc.el:
4643 * net/eudcb-ldap.el:
4644 * net/eww.el:
4645 * net/imap.el:
4646 * printing.el:
4647 * vc/ediff-diff.el:
4648 * vc/ediff-init.el:
4649 * vc/ediff-merg.el:
4650 * vc/ediff-mult.el:
4651 * vc/ediff-util.el:
4652 * vc/ediff-wind.el:
4653 * vc/ediff.el:
4654 * vc/emerge.el:
4655 * vc/pcvs.el:
4656 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4657 byte compiler. Remove some unused let-bound variables.
4658
4659 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4662 a "ref-cell", since it gets better optimized (bug#14883).
4663
4664 2013-09-05 Glenn Morris <rgm@gnu.org>
4665
4666 * progmodes/cc-awk.el (c-forward-sws): Declare.
4667
4668 2013-09-04 Glenn Morris <rgm@gnu.org>
4669
4670 * generic-x.el [rul-generic-mode]: Require cc-mode.
4671 (c++-mode-syntax-table): Declare.
4672 (rul-generic-mode-syntax-table): Init in the defvar.
4673
4674 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4677 (vc-do-command, vc-set-async-update):
4678 * vc/vc-mtn.el (vc-mtn-dir-status):
4679 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4680 (vc-hg-pull, vc-hg-merge-branch):
4681 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4682 (vc-git-merge-branch):
4683 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4684 (vc-cvs-dir-status-files):
4685 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4686 (vc-bzr-dir-status-files):
4687 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4688 * vc/vc-annotate.el: Use lexical-binding.
4689 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4690 (vc-sentinel-movepoint): Declare.
4691 (vc-annotate): Don't use `goto-line'.
4692 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4693 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4694 (vc-sentinel-movepoint): Declare.
4695 * vc/vc-svn.el: Use lexical-binding.
4696 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4697 * vc/vc-sccs.el:
4698 * vc/vc-rcs.el: Use lexical-binding.
4699
4700 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4701 `deleted'. Don't drop errors silently.
4702
4703 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4704
4705 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4706
4707 * vc/vc.el (vc-ignore): Rewrite.
4708 (vc-default-ignore): New function.
4709 (vc-default-ignore-completion-table): Use find-ignore-file.
4710
4711 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4712 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4713 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4714 Remove. Most code moved to vc.el.
4715
4716 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4719 * net/tramp-smb.el (tramp-smb-get-file-entries):
4720 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4721 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4722
4723 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4724 Update call to it.
4725 (eww-change-select): Remove unused var `properties'.
4726 (eww-make-unique-file-name): Remove unused var `base'.
4727
4728 * finder.el (finder-compile-keywords): Don't mess with windows.
4729
4730 * calculator.el (calculator-funcall): Fix typo in last change.
4731
4732 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4733
4734 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4735 <pkg>-autoloads.el file stop us.
4736
4737 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4738 warnings, and factor out common code.
4739
4740 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4741
4742 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4743 two-character operators and whether the character preceding them
4744 changes their meaning (Bug#15208).
4745
4746 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4747
4748 Format code sent to Python shell for robustness.
4749 * progmodes/python.el (python-shell-buffer-substring):
4750 New function.
4751 (python-shell-send-region, python-shell-send-buffer): Use it.
4752
4753 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4754
4755 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4756 * net/tramp.el (tramp-user-error): ... here.
4757 (tramp-find-method, tramp-check-proper-host)
4758 (tramp-dissect-file-name, tramp-debug-message)
4759 (tramp-handle-shell-command):
4760 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4761 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4762
4763 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4764
4765 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4766
4767 * avoid.el (mouse-avoidance-point-position)
4768 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4769 returns nil.
4770
4771 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4772
4773 * progmodes/python.el (python-shell-completion-get-completions):
4774 Drop use of deleted `comint-last-prompt-overlay'.
4775 (python-nav-if-name-main): New command.
4776
4777 2013-09-01 Glenn Morris <rgm@gnu.org>
4778
4779 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4780 Avoid leading space in $wins. Otherwise the sed command used by
4781 eg compile-main ends up containing "/*.el". (Bug#15170)
4782
4783 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4784
4785 2013-08-30 Glenn Morris <rgm@gnu.org>
4786
4787 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4788 Fix is-this-a-directory logic. (Bug#15220)
4789
4790 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * textmodes/css-mode.el: Use SMIE.
4793 (css-smie-grammar): New var.
4794 (css-smie--forward-token, css-smie--backward-token)
4795 (css-smie-rules): New functions.
4796 (css-mode): Use them.
4797 (css-navigation-syntax-table): Remove var.
4798 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4799 (css-indent-calculate, css-indent-line): Remove functions.
4800
4801 Misc changes to reduce use of `(lambda...); and other cleanups.
4802 * cus-edit.el: Use lexical-binding.
4803 (customize-push-and-save, customize-apropos)
4804 (custom-buffer-create-internal): Use closures.
4805 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4806 * progmodes/ada-xref.el: Use setq.
4807 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4808 * dframe.el: Use lexical-binding.
4809 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4810 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4811 * descr-text.el: Use lexical-binding.
4812 (describe-text-widget, describe-text-sexp, describe-property-list):
4813 Use closures.
4814 * comint.el (comint-history-isearch-push-state): Use a closure.
4815 * calculator.el: Use lexical-binding.
4816 (calculator-number-to-string): Make it work with lexical-binding.
4817 (calculator-funcall): Same and use cl-letf.
4818
4819 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4820 (lisp--company-doc-string, lisp--company-location): New functions.
4821 (lisp-completion-at-point): Use them to improve Company support.
4822
4823 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4824 params of lambda expressions.
4825 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4826 (ruby-smie--opening-pipe-p): New function.
4827 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4828 symbols and matched |...| for formal params.
4829 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4830 from being treated as hanging. Handle "rescue".
4831
4832 2013-08-29 Glenn Morris <rgm@gnu.org>
4833
4834 * progmodes/cc-engine.el (c-pull-open-brace):
4835 Move definition before use.
4836
4837 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4840 are immutable. Don't use `unsafe' any more.
4841 (cl--defsubst-expand): Don't substitute at the same time as keeping
4842 a residual unused let-binding. Don't use `unsafe' any more.
4843
4844 2013-08-29 Glenn Morris <rgm@gnu.org>
4845
4846 * calendar/cal-china.el (calendar-chinese-year-cache):
4847 Recenter on 2015.
4848
4849 * nxml/nxml-util.el (nxml-debug-clear-inside):
4850 Use cl-loop rather than loop.
4851
4852 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4853
4854 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4855
4856 2013-08-28 Glenn Morris <rgm@gnu.org>
4857
4858 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4859
4860 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4861
4862 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4863
4864 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * simple.el (repeat-complex-command--called-interactively-skip):
4867 New function.
4868 (repeat-complex-command): Use it (bug#14136).
4869
4870 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4871 (c-define-abbrev-table): Add `doc' argument.
4872 (c-mode-abbrev-table, c++-mode-abbrev-table)
4873 (objc-mode-abbrev-table, java-mode-abbrev-table)
4874 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4875 (awk-mode-abbrev-table): Use it.
4876 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4877 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4878 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4879 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4880 Move initialization into the declaration; and remove any
4881 autoload cookie.
4882
4883 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4884 and dynamic let binding.
4885
4886 * vc/smerge-mode.el: Remove redundant :group args.
4887
4888 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4889 to load-path.
4890
4891 2013-08-28 Juri Linkov <juri@jurta.org>
4892
4893 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4894 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4895 (isearch-other-meta-char): Handle an undefined shifted printing
4896 character by downshifting it. (Bug#15200)
4897
4898 2013-08-28 Juri Linkov <juri@jurta.org>
4899
4900 * isearch.el (isearch-search): Change regexp error message for
4901 non-regexp searches. (Bug#15166)
4902
4903 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4904
4905 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4906 for portability to hosts where /bin/sh has problems.
4907
4908 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4911
4912 2013-08-27 Juri Linkov <juri@jurta.org>
4913
4914 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4915 in the keyboard macro. (Bug#15126)
4916
4917 2013-08-27 Juri Linkov <juri@jurta.org>
4918
4919 * isearch.el (isearch-quote-char): Comment out converting unibyte
4920 to multibyte, thus syncing with its `quoted-insert' counterpart.
4921 (Bug#15166)
4922
4923 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4924
4925 * window.el (display-buffer-use-some-window): Add missing
4926 argument in call of get-largest-window (Bug#15185).
4927 Reported by Stephen Leake.
4928
4929 2013-08-27 Glenn Morris <rgm@gnu.org>
4930
4931 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4932
4933 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4936 from a matcher-function unless there's no more matches (bug#15161).
4937
4938 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4939
4940 * minibuffer.el: Revert change from 2013-08-20.
4941
4942 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4943 with text property `tramp-default', if appropriate.
4944 (tramp-check-proper-host): New defun.
4945 (tramp-dissect-file-name): Do not check hostname. Revert change
4946 of 2013-03-18.
4947 (tramp-backtrace): Make VEC-OR-PROC optional.
4948
4949 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4950 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4951 * net/tramp-sh.el (tramp-maybe-open-connection):
4952 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4953 Apply `tramp-check-proper-host'.
4954
4955 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4956
4957 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4958 lambda expression in order to have `describe-variable' display it.
4959
4960 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4963 BUF can be optional. (Bug#15186)
4964
4965 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4966
4967 * progmodes/flymake.el (flymake-get-real-file-name-function):
4968 Fix broken customization. (Bug#15184)
4969
4970 2013-08-25 Alan Mackenzie <acm@muc.de>
4971
4972 Improve indentation of bracelists defined by macros (without "=").
4973
4974 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4975 expansion begins with "{", regard it as bracelist when it doesn't
4976 contain a ";".
4977
4978 Parse C++ inher-intro when there's a template split over 2 lines.
4979
4980 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4981 rigorously the search for "class" etc. followed by ":".
4982
4983 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4984 random languages a regexp which never matches rather than nil.
4985
4986 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4987
4988 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4989 (c-awk-regexp-one-line-possibly-open-char-list-re)
4990 (c-awk-one-line-possibly-open-regexp-re)
4991 (c-awk-one-line-non-syn-ws*-re): Remove.
4992 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4993 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4994 (c-awk-space*-unclosed-regexp-/-re): New constants.
4995 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4996 aren't regexp delimiters.
4997
4998 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4999 handling for a rare situation in AWK Mode involving unterminated
5000 strings/regexps.
5001
5002 2013-08-23 Glenn Morris <rgm@gnu.org>
5003
5004 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5005
5006 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5007
5008 * files.el (create-file-buffer): If the result would begin with
5009 spaces, prepend a "|" instead of removing them. (Bug#15162)
5010
5011 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5014 text-properties (bug#15155).
5015
5016 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5017 exist any more.
5018 (calc-keypad-redraw): Remove unused var `pad'.
5019 (calc-keypad-press): Remove unused var `menu'.
5020
5021 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5022
5023 * window.el (display-buffer-pop-up-frame):
5024 Call pop-up-frame-function with BUFFER current so `make-frame' will
5025 use it as the new frame's buffer (Bug#15133).
5026
5027 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * calendar/timeclock.el: Minor cleanups.
5030 (timeclock-ask-before-exiting, timeclock-use-display-time):
5031 Use `symbol'.
5032 (timeclock-modeline-display): Define as alias before the
5033 actual definition.
5034 (timeclock-mode-line-display): Use define-minor-mode.
5035 (timeclock-day-list-template): Make it a function, add an argument.
5036 (timeclock-day-list-required, timeclock-day-list-length)
5037 (timeclock-day-list-debt, timeclock-day-list-span)
5038 (timeclock-day-list-break): Adjust calls accordingly.
5039
5040 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5043 Use read--expression so that completion works again.
5044
5045 2013-08-21 Sam Steingold <sds@gnu.org>
5046
5047 Add rudimentary inferior shell interaction
5048 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5049 (sh-set-shell): Reset it.
5050 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5051 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5052
5053 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * align.el: Use lexical-binding.
5056 (align-region): Simplify accordingly.
5057
5058 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5059
5060 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5061
5062 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5063 `non-essential' up.
5064
5065 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5066
5067 * net/tramp.el:
5068 * net/tramp-adb.el:
5069 * net/tramp-cmds.el:
5070 * net/tramp-ftp.el:
5071 * net/tramp-gvfs.el:
5072 * net/tramp-gw.el:
5073 * net/tramp-sh.el: Don't wrap external variable declarations by
5074 `eval-when-compile'.
5075
5076 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077
5078 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5079 now that Emacs supports ImageMagick animations.
5080
5081 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5082
5083 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5084 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5085
5086 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5087
5088 * window.el (mouse-autoselect-window-select): Do autoselect when
5089 mouse pointer is on margin.
5090
5091 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5092
5093 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5094
5095 2013-08-16 Glenn Morris <rgm@gnu.org>
5096
5097 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5098 Handle "Remote Directory" response of some clients. (Bug#15058)
5099
5100 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5101 Tweak warning. (Bug#14926)
5102
5103 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5104 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5105
5106 * image-mode.el (image-mode-map): Add menu items to reverse,
5107 increase, decrease, reset animation speed.
5108 (image--set-speed, image-increase-speed, image-decrease-speed)
5109 (image-reverse-speed, image-reset-speed): New functions.
5110 (image-mode-map): Add bindings for speed commands.
5111
5112 * image.el (image-animate-get-speed, image-animate-set-speed):
5113 New functions.
5114 (image-animate-timeout): Respect image :speed property.
5115
5116 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5119 previous line (bug#15101).
5120 (debugger-eval-expression, debugger-record-expression):
5121 Use read--expression (bug#15102).
5122
5123 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5124
5125 Remove byte compiler warnings, visible when compiling with
5126 `byte-compile-force-lexical-warnings' set to t.
5127
5128 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5129 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5130 (tramp-handle-unhandled-file-name-directory)
5131 (tramp-handle-file-notify-add-watch, tramp-action-login)
5132 (tramp-action-succeed, tramp-action-permission-denied)
5133 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5134 arguments with "_".
5135
5136 * net/tramp-adb.el (tramp-adb-parse-device-names)
5137 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5138 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5139 (tramp-adb-handle-file-truename): Remove unused arguments.
5140
5141 * net/tramp-cache.el (tramp-flush-directory-property)
5142 (tramp-flush-connection-property, tramp-list-connections)
5143 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5144
5145 * net/tramp-compat.el (tramp-compat-make-temp-file):
5146 Rename FILENAME to F.
5147
5148 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5149 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5150 (tramp-zeroconf-parse-workstation-device-names)
5151 (tramp-zeroconf-parse-webdav-device-names)
5152 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5153
5154 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5155 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5156
5157 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5158 arguments.
5159 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5160 (tramp-sh-handle-insert-file-contents-literally)
5161 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5162 with "_".
5163 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5164 Remove unused variables.
5165
5166 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5167 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5168 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5169
5170 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5171 Make them a defconst.
5172 (tramp-uuencode-region): Remove unused variable.
5173
5174 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5175
5176 * frameset.el (frameset--prop-setter): New function.
5177 (frameset-prop): Add gv-setter declaration.
5178 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5179 parameter was already set in FILTERED. Doc fix.
5180 (frameset--record-minibuffer-relationships): Allow saving a
5181 minibufferless frame without its corresponding minibuffer frame.
5182 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5183 frame, if the frame id matches.
5184 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5185 frames before orphaned ones.
5186 (frameset-restore): Warn about orphaned windows, instead of error out.
5187
5188 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5189
5190 * window.el (window-make-atom): Don't overwrite parameter
5191 already present.
5192 (display-buffer-in-atom-window): Handle special case where we
5193 split an already atomic window.
5194 (window--major-non-side-window, display-buffer-in-side-window)
5195 (window--side-check): Ignore minibuffer window when walking
5196 window tree.
5197 (window-deletable-p): Return 'frame only if no other frame uses
5198 our minibuffer window.
5199 (record-window-buffer): Run buffer-list-update-hook.
5200 (split-window): Make sure window--check-frame won't destroy an
5201 existing atomic window in case the new window gets nested
5202 inside.
5203 (display-buffer-at-bottom): Ignore minibuffer window when
5204 walking window tree. Don't split a side window.
5205 (pop-to-buffer): Don't set-buffer here, the select-window call
5206 should do that.
5207 (mouse-autoselect-window-select): Autoselect only if we are in the
5208 text portion of the window.
5209
5210 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5211
5212 * net/shr.el (shr-parse-image-data): New function to grab both the
5213 data itself and the Content-Type.
5214 (shr-put-image): Use it.
5215
5216 * net/eww.el (eww-display-image): Ditto.
5217
5218 * image.el (image-content-type-suffixes): New variable.
5219
5220 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5221
5222 * progmodes/python.el (python-imenu--build-tree)
5223 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5224
5225 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5226
5227 * simple.el (backward-word): Mention the optional argument.
5228
5229 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * frameset.el (frameset--make): Rename constructor from make-frameset.
5232 (frameset-p, frameset-valid-p): Don't autoload.
5233 (frameset-valid-p): Use normal accessors.
5234
5235 2013-08-13 Glenn Morris <rgm@gnu.org>
5236
5237 * progmodes/compile.el (compile-command): Tweak example in doc.
5238 * obsolete/scribe.el (scribe-mode):
5239 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5240
5241 * mail/feedmail.el (feedmail-confirm-outgoing)
5242 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5243
5244 * cus-start.el (truncate-partial-width-windows): Fix type.
5245
5246 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5247
5248 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5249
5250 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * emacs-lisp/timer.el (timer--time-setter): New function.
5253 (timer--time): Use it as gv-setter.
5254
5255 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5256 setter is not a symbol.
5257
5258 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5259
5260 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5261 if sending fails. This makes debugging easier.
5262
5263 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5266 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5267 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5268
5269 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5270
5271 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5272
5273 2013-08-12 Glenn Morris <rgm@gnu.org>
5274
5275 * format.el (format-annotate-function):
5276 Handle read-only text properties in the source. (Bug#14887)
5277
5278 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5279
5280 * net/eww.el (eww-display-html): Ignore coding system errors.
5281 One web site uses "utf-8lias" as the coding system.
5282
5283 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5284
5285 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5286
5287 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5288
5289 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5290 (tutorial--detailed-help): Remove unused local variables.
5291 (tutorial--save-tutorial-to): Use ignore-errors.
5292 (help-with-tutorial): Use looking-at-p.
5293
5294 * view.el (view-buffer-other-window, view-buffer-other-frame):
5295 Mark unused arguments.
5296
5297 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5298 (woman-select-symbol-fonts, woman, woman-find-file)
5299 (woman-insert-file-contents, woman-non-underline-faces):
5300 Use string-match-p.
5301 (woman1-unquote): Move declaration.
5302
5303 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5304 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5305 argument. Remove unused local variable.
5306 (xml-parse-elem-type): Use string-match-p.
5307 (xml-substitute-numeric-entities): Use ignore-errors.
5308
5309 * calculator.el (calculator): Mark unused argument.
5310 (calculator-paste, calculator-quit, calculator-integer-p):
5311 Use ignore-errors.
5312 (calculator-string-to-number, calculator-decimal, calculator-exp)
5313 (calculator-op-or-exp): Use string-match-p.
5314
5315 * dired.el (dired-buffer-more-recently-used-p): Declare.
5316 (dired-insert-set-properties, dired-insert-old-subdirs):
5317 Use ignore-errors.
5318
5319 * dired-aux.el (dired-compress): Use ignore-errors.
5320 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5321 (dired-do-async-shell-command, dired-do-shell-command)
5322 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5323 (dired-insert-subdir-validate): Use string-match-p.
5324 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5325 (dired-add-entry): Use string-match-p, looking-at-p.
5326 (dired-insert-subdir-newpos): Remove unused local variable.
5327
5328 * filenotify.el (file-notify-callback): Remove unused local variable.
5329
5330 * filesets.el (filesets-error): Mark unused argument.
5331 (filesets-which-command-p, filesets-filter-dir-names)
5332 (filesets-directory-files, filesets-get-external-viewer)
5333 (filesets-ingroup-get-data): Use string-match-p.
5334
5335 * find-file.el (ff-other-file-name, ff-other-file-name)
5336 (ff-find-the-other-file, ff-cc-hh-converter):
5337 Remove unused local variables.
5338 (ff-get-file-name): Use string-match-p.
5339 (ff-all-dirs-under): Use ignore-errors.
5340
5341 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5342 (follow-select-if-visible): Remove unused local variable.
5343
5344 * forms.el (read-file-filter): Move declaration.
5345 (forms--make-format, forms--make-parser, forms-insert-record):
5346 Quote function with #'.
5347 (forms--update): Use string-match-p. Quote function with #'.
5348
5349 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5350 (help-make-xrefs): Use looking-at-p.
5351 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5352
5353 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5354 (ibuffer-confirm-operation-on): Use string-match-p.
5355
5356 * msb.el (msb-item-handler, msb-dired-item-handler):
5357 Mark unused arguments.
5358
5359 * ses.el (ses-decode-cell-symbol)
5360 (ses-kill-override): Remove unused local variable.
5361 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5362 (ses-load): Use ignore-errors, looking-at-p.
5363 (ses-jump-safe): Use ignore-errors.
5364 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5365
5366 * tabify.el (untabify, tabify): Mark unused arguments.
5367
5368 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5369 Mark unused argument.
5370 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5371 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5372
5373 * emacs-lisp/timer.el (timer--time): Define setter with
5374 gv-define-setter to avoid deprecation warning.
5375
5376 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5377 (*record-cmpl-statistics-p*): Remove (was commented out).
5378 (cmpl-statistics-block): Remove (body was commented out).
5379 All callers changed.
5380 (add-completions-from-buffer, load-completions-from-file):
5381 Remove unused variables.
5382
5383 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5384
5385 * filecache.el (file-cache-delete-file-list):
5386 Print message only when told so.
5387 (file-cache-files-matching): Use #' in mapconcat argument.
5388
5389 * ffap.el (ffap-url-at-point): Fix reference to variable
5390 thing-at-point-default-mail-uri-scheme.
5391
5392 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * subr.el (define-error): New function.
5395 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5396 error-file-not-found and define with define-error.
5397 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5398 and define with define-error.
5399 * userlock.el (file-locked, file-supersession):
5400 * simple.el (mark-inactive):
5401 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5402 * progmodes/ada-mode.el (ada-mode-errors):
5403 * play/life.el (life-extinct):
5404 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5405 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5406 * nxml/rng-util.el (rng-error):
5407 * nxml/rng-uri.el (rng-uri-error):
5408 * nxml/rng-match.el (rng-compile-error):
5409 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5410 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5411 * nxml/nxml-rap.el (nxml-scan-error):
5412 * nxml/nxml-outln.el (nxml-outline-error):
5413 * net/soap-client.el (soap-error):
5414 * net/gnutls.el (gnutls-error):
5415 * net/ange-ftp.el (ftp-error):
5416 * mpc.el (mpc-proc-error):
5417 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5418 (json-number-format, json-string-escape, json-string-format)
5419 (json-key-format, json-object-format):
5420 * jka-compr.el (compression-error):
5421 * international/quail.el (quail-error):
5422 * international/kkc.el (kkc-error):
5423 * emacs-lisp/ert.el (ert-test-failed):
5424 * calc/calc.el (calc-error, inexact-result, math-overflow)
5425 (math-underflow):
5426 * bookmark.el (bookmark-error-no-filename):
5427 * epg.el (epg-error): Define with define-error.
5428
5429 * time.el (display-time-event-handler)
5430 (display-time-next-load-average): Don't call sit-for since it seems
5431 unnecessary (bug#15045).
5432
5433 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5434 Use #' instead of ' to quote functions.
5435 (checkdoc-output-mode): Use setq-local.
5436 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5437 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5438 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5439 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5440 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5441 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5442 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5443 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5444
5445 * ido.el (ido-completion-help): Fix up compiler warning.
5446
5447 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5448
5449 * frameset.el (frameset-p): Add autoload cookie.
5450 (frameset--jump-to-register): New function, based on code moved from
5451 register.el.
5452 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5453
5454 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5455 (frameset-restore, frameset-save, frameset-session-filter-alist):
5456 Remove declarations.
5457 (register-alist): Doc fix.
5458 (frameset-to-register): Move to frameset.el.
5459 (jump-to-register, describe-register-1): Remove frameset-specific code.
5460
5461 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * allout-widgets.el (allout-widgets-pre-command-business)
5464 (allout-widgets-post-command-business)
5465 (allout-widgets-after-change-handler)
5466 (allout-decorate-item-and-context, allout-set-boundary-marker)
5467 (allout-body-modification-handler)
5468 (allout-graphics-modification-handler): Mark ignored arguments.
5469 (allout-widgets-post-command-business)
5470 (allout-widgets-exposure-change-processor)
5471 (allout-widgets-exposure-undo-processor)
5472 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5473 (allout-parse-item-at-point, allout-decorate-item-guides)
5474 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5475 * allout.el (epa-passphrase-callback-function): Declare.
5476 (allout-overlay-insert-in-front-handler)
5477 (allout-overlay-interior-modification-handler)
5478 (allout-isearch-end-handler, allout-chart-siblings)
5479 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5480 (allout-yank-processing, allout-process-exposed)
5481 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5482 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5483 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5484 (lisp-indent-defform): Mark ignored arguments.
5485 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5486 (calculate-lisp-indent): Remove unused variables.
5487 * international/characters.el (indian-2-column, arabic-2-column)
5488 (tibetan): Mark ignored arguments.
5489 (use-cjk-char-width-table): Mark ignored arguments.
5490 Remove unused variables.
5491 * international/fontset.el (build-default-fontset-data)
5492 (x-compose-font-name, create-fontset-from-fontset-spec):
5493 Mark ignored arguments.
5494 (fontset-plain-name): Remove unused variables.
5495 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5496 (keyboard-coding-system): Mark ignored arguments.
5497 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5498 * help.el (resize-temp-buffer-window):
5499 * window.el (display-buffer-in-major-side-window)
5500 (display-buffer-in-side-window, display-buffer-in-previous-window):
5501 Remove unused variables.
5502 * isearch.el (isearch-forward-symbol):
5503 * version.el (emacs-bzr-version-bzr):
5504 * international/mule-cmds.el (current-language-environment):
5505 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5506 (x-handle-display):
5507 * term/pc-win.el (x-list-fonts, x-display-planes)
5508 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5509 (x-server-version, x-display-screens, x-display-mm-height)
5510 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5511 (x-selection-owner-p, x-own-selection-internal)
5512 (x-disown-selection-internal, x-get-selection-internal)
5513 (msdos-initialize-window-system):
5514 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5515 * term/x-win.el (x-handle-no-bitmap-icon):
5516 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5517 (vc-default-find-file-hook, vc-default-extra-menu):
5518 Mark ignored arguments.
5519
5520 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5523 break-condition in the context of the debugged code (bug#12685).
5524
5525 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5526
5527 * comint.el:
5528 Do not use an overlay to highlight the last prompt. (Bug#14744)
5529 (comint-mode): Make comint-last-prompt buffer local.
5530 (comint-last-prompt): New variable.
5531 (comint-last-prompt-overlay): Remove. Superseded by
5532 comint-last-prompt.
5533 (comint-snapshot-last-prompt, comint-output-filter):
5534 Use comint-last-prompt.
5535
5536 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5537
5538 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5539 (frameset-save): Check validity of the resulting frameset.
5540
5541 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5542
5543 * ido.el (ido-record-command): Add doc string.
5544
5545 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5546
5547 * frameset.el (frameset): Do not disable creation of the default
5548 frameset-p predicate. Doc fix.
5549 (frameset-valid-p): New function, copied from the old predicate-p.
5550 Add additional checks.
5551 (frameset-restore): Check with frameset-valid-p.
5552 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5553 (frameset-name, frameset-description, frameset-properties)
5554 (frameset-states): Add docstring.
5555 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5556 (frameset-filter-alist): Doc fixes.
5557
5558 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5559
5560 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5561
5562 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5565 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5566 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5567 (byte-compile-normal-call): Remove obsolescence check.
5568
5569 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5570
5571 * frameset.el (frameset-restore): Doc fix.
5572
5573 * register.el (frameset-frame-id, frameset-frame-with-id)
5574 (frameset-p, frameset-restore, frameset-save): Declare.
5575 (register-alist): Document framesets.
5576 (frameset-session-filter-alist): Declare.
5577 (frameset-to-register): New function.
5578 (jump-to-register): Implement jumping to framesets. Doc fix.
5579 (describe-register-1): Describe framesets.
5580
5581 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5582
5583 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5584
5585 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5586 Use lexical-binding.
5587
5588 * frameset.el (frameset): Use type vector, not list (incompatible
5589 change). Do not declare a new constructor, use the default one.
5590 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5591 `name' and `description', respectively, and add read-only slot
5592 `timestamp'. Doc fixes.
5593 (frameset-copy, frameset-persistent-filter-alist)
5594 (frameset-filter-alist, frameset-switch-to-gui-p)
5595 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5596 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5597 (frameset-filter-iconified, frameset-keep-original-display-p):
5598 Doc fixes.
5599 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5600 Rename from frameset-filter-(save|restore)-param. All callers changed.
5601 Doc fix.
5602 (frameset-p): Adapt to change to vector and be more thorough.
5603 Change arg name to OBJECT. Doc fix.
5604 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5605 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5606 All callers changed.
5607 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5608 All callers changed.
5609 (frameset--record-minibuffer-relationships): Rename from
5610 frameset--process-minibuffer-frames. All callers changed.
5611 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5612 Use new default constructor (again). Doc fix.
5613 (frameset--find-frame-if): Rename from `frameset--find-frame.
5614 All callers changed.
5615 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5616 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5617 Doc fix.
5618 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5619 PARAMETERS and WINDOW-STATE, respectively.
5620 (frameset-restore): Add new keyword argument PREDICATE.
5621 Reset frameset--target-display to nil. Doc fix.
5622
5623 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5626 (bat-mode): Use it.
5627 (bat-mode-syntax-table): Mark \n as end-of-comment.
5628 (bat-font-lock-keywords): Remove comment rule.
5629
5630 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5631 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5632
5633 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5634 (byte-compile-callargs-warn): Use `push'.
5635 (byte-compile-arglist-warn): Ignore higher-order "calls".
5636 (byte-compile-file-form-autoload): Use `pcase'.
5637 (byte-compile-function-form): If quoting a symbol, check that it exists.
5638
5639 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5640
5641 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5642 and add a few popular commands found in batch files.
5643 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5644 (dos-mode): Doc fixes.
5645
5646 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5649 (dos-mode): Use setq-local. Add space after "rem".
5650 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5651 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5652
5653 2013-08-07 Arni Magnusson <arnima@hafro.is>
5654
5655 * progmodes/dos.el: New file.
5656 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5657 dos-mode.
5658
5659 2013-08-06 Glenn Morris <rgm@gnu.org>
5660
5661 * calendar/calendar.el: Add new faces, and day-header-array.
5662 (calendar-weekday-header, calendar-weekend-header)
5663 (calendar-month-header): New faces.
5664 (calendar-day-header-construct): New function.
5665 (calendar-day-header-width): Also :set calendar-day-header-array.
5666 (calendar-american-month-header, calendar-european-month-header)
5667 (calendar-iso-month-header): Use calendar- faces.
5668 (calendar-generate-month):
5669 Use calendar-day-header-array for day headers; apply faces to them.
5670 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5671 (calendar-abbrev-construct): Add optional maxlen argument.
5672 (calendar-day-name-array): Doc fix.
5673 (calendar-day-name-array, calendar-abbrev-length)
5674 (calendar-day-abbrev-array):
5675 Also :set calendar-day-header-array, and maybe redraw.
5676 (calendar-day-header-array): New option. (Bug#15007)
5677 (calendar-font-lock-keywords): Set to nil and make obsolete.
5678 (calendar-day-name): Add option to use header array.
5679
5680 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5681
5682 * net/shr.el (shr-render-td): Remove debugging.
5683 (shr-render-td): Make width computation consistent by defaulting
5684 all zero-width columns to 10 characters. This may not be optimal,
5685 but it's at least consistent.
5686 (shr-make-table-1): Redo last change to fix the real problem in
5687 colspan handling.
5688
5689 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5690
5691 * files.el (cache-long-line-scans):
5692 Make obsolete alias to `cache-long-scans'.
5693
5694 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5695
5696 * frameset.el (frameset, frameset-filter-alist)
5697 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5698 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5699 (frameset-compute-pos): Rename from frameset--compute-pos,
5700 and add docstring.
5701 (frameset-move-onscreen): Use frameset-compute-pos.
5702 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5703
5704 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5705 Fix typos in docstrings.
5706
5707 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5708
5709 * frame.el (get-other-frame): Tiny cleanup.
5710
5711 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5712
5713 * vc/vc.el (vc-default-ignore-completion-table):
5714 Silence byte-compiler warning.
5715
5716 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5717 slot , which can indeed be nil.
5718 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5719 Move entry for `left' from persistent to live filter alist.
5720 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5721 Doc fixes.
5722 (frameset-filter-params): When restoring a frame, copy items added to
5723 `filtered', to avoid unwittingly modifying the original parameters.
5724 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5725 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5726
5727 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5728 to use looking-at-p instead of looking-at. (Bug#15028)
5729
5730 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 Revert introduction of isearch-filter-predicates (bug#14714).
5733 Rely on add-function instead.
5734 * isearch.el (isearch-filter-predicates): Rename it back to
5735 isearch-filter-predicate.
5736 (isearch-message-prefix): Use advice-function-mapc and advice
5737 properties to get the isearch-message-prefix.
5738 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5739 instead of run-hook-with-args-until-failure.
5740 (isearch-filter-visible): Not obsolete any more.
5741 * loadup.el: Preload nadvice.
5742 * replace.el (perform-replace): Revert to funcall
5743 instead of run-hook-with-args-until-failure.
5744 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5745 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5746 dired-isearch-filenames-toggle; make it into a proper minor mode.
5747 Use add/remove-function.
5748 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5749 Call the minor-mode rather than add/remove-hook.
5750 (dired-isearch-filter-filenames):
5751 Remove isearch-message-prefix property.
5752 * info.el (Info--search-loop): New function, extracted from Info-search.
5753 Funcall isearch-filter-predicate instead of
5754 run-hook-with-args-until-failure isearch-filter-predicates.
5755 (Info-search): Use it.
5756 (Info-mode): Use isearch-filter-predicate instead of
5757 isearch-filter-predicates.
5758
5759 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5760
5761 Do not call to `selected-window' where it is assumed by default.
5762 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5763 `window-hscroll', `window-width', `window-height', `window-buffer',
5764 `window-frame', `window-start', `window-point', `next-window'
5765 and `window-display-table'.
5766 * abbrev.el (abbrev--default-expand):
5767 * bs.el (bs--show-with-configuration):
5768 * buff-menu.el (Buffer-menu-mouse-select):
5769 * calc/calc.el (calc):
5770 * calendar/calendar.el (calendar-generate-window):
5771 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5772 (diary-make-entry):
5773 * comint.el (send-invisible, comint-dynamic-complete-filename)
5774 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5775 * completion.el (complete):
5776 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5777 * disp-table.el (describe-current-display-table):
5778 * doc-view.el (doc-view-insert-image):
5779 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5780 * ehelp.el (with-electric-help):
5781 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5782 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5783 * emacs-lisp/helper.el (Helper-help-scroller):
5784 * emulation/cua-base.el (cua--post-command-handler-1):
5785 * eshell/esh-mode.el (eshell-output-filter):
5786 * ffap.el (ffap-gnus-wrapper):
5787 * help-macro.el (make-help-screen):
5788 * hilit-chg.el (highlight-compare-buffers):
5789 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5790 * hl-line.el (global-hl-line-highlight):
5791 * icomplete.el (icomplete-simple-completing-p):
5792 * isearch.el (isearch-done):
5793 * jit-lock.el (jit-lock-stealth-fontify):
5794 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5795 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5796 * mpc.el (mpc-tagbrowser, mpc):
5797 * net/rcirc.el (rcirc-any-buffer):
5798 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5799 * play/landmark.el (landmark-max-width, landmark-max-height):
5800 * play/zone.el (zone):
5801 * progmodes/compile.el (compilation-goto-locus):
5802 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5803 * progmodes/etags.el (find-tag-other-window):
5804 * progmodes/fortran.el (fortran-column-ruler):
5805 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5806 * progmodes/verilog-mode.el (verilog-point-text):
5807 * reposition.el (reposition-window):
5808 * rot13.el (toggle-rot13-mode):
5809 * server.el (server-switch-buffer):
5810 * shell.el (shell-dynamic-complete-command)
5811 (shell-dynamic-complete-environment-variable):
5812 * simple.el (insert-buffer, set-selective-display)
5813 (delete-completion-window):
5814 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5815 (speedbar-recenter):
5816 * startup.el (fancy-splash-head):
5817 * textmodes/ispell.el (ispell-command-loop):
5818 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5819 * tutorial.el (help-with-tutorial):
5820 * vc/add-log.el (add-change-log-entry):
5821 * vc/compare-w.el (compare-windows):
5822 * vc/ediff-help.el (ediff-indent-help-message):
5823 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5824 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5825 (ediff-setup-control-frame):
5826 * vc/emerge.el (emerge-position-region):
5827 * vc/pcvs-util.el (cvs-bury-buffer):
5828 * window.el (walk-windows, mouse-autoselect-window-select):
5829 * winner.el (winner-set-conf, winner-undo): Related users changed.
5830
5831 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * frameset.el (frameset--set-id): Doc fix.
5834 (frameset-frame-id, frameset-frame-id-equal-p)
5835 (frameset-locate-frame-id): New functions.
5836 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5837 (frameset-restore): Use them.
5838
5839 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5840
5841 Do not call to `selected-frame' where it is assumed by default.
5842 Affected functions are `raise-frame', `redraw-frame',
5843 `frame-first-window', `frame-terminal' and `delete-frame'.
5844 * calendar/appt.el (appt-disp-window):
5845 * epg.el (epg-wait-for-completion):
5846 * follow.el (follow-delete-other-windows-and-split)
5847 (follow-avoid-tail-recenter):
5848 * international/mule.el (set-terminal-coding-system):
5849 * mail/rmail.el (rmail-mail-return):
5850 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5851 * progmodes/f90.el (f90-add-imenu-menu):
5852 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5853 * server.el (server-switch-buffer):
5854 * simple.el (delete-completion-window):
5855 * talk.el (talk):
5856 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5857 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5858 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5859 * vc/ediff.el (ediff-documentation): Related users changed.
5860 * frame.el (selected-terminal): Remove the leftover.
5861
5862 2013-08-05 Glenn Morris <rgm@gnu.org>
5863
5864 * calendar/calendar.el (calendar-generate-month):
5865 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5866 (calendar-generate-month, calendar-font-lock-keywords):
5867 Fix for calendar-day-header-width > length of any day name.
5868
5869 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5870
5871 * desktop.el (desktop-clear): Use new name of sort predicate.
5872
5873 * frameset.el (frameset): Add docstring. Move :version property to its
5874 own `version' slot.
5875 (frameset-copy): Rename from copy-frameset.
5876 (frameset-p): Check more thoroughly.
5877 (frameset-prop): Do not check for :version, which is no longer a prop.
5878 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5879 Use new :never value instead of t.
5880 (frameset-filter-alist): Expand and clarify docstring.
5881 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5882 (frameset-filter-minibuffer, frameset-filter-save-param)
5883 (frameset-filter-restore-param, frameset-filter-iconified):
5884 Add pointer to docstring of frameset-filter-alist.
5885 (frameset-filter-params): Rename filter values to be more meaningful:
5886 :never instead of t, and reverse the meanings of :save and :restore.
5887 (frameset--process-minibuffer-frames): Clarify error message.
5888 (frameset-save): Avoid unnecessary and confusing call to framep.
5889 Use new BOA constructor for framesets.
5890 (frameset--reuse-list): Doc fix.
5891 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5892 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5893 (frameset-minibufferless-first-p): Doc fix.
5894 Rename from frameset-sort-frames-for-deletion.
5895 (frameset-restore): Doc fixes. Use new function names.
5896 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5897
5898 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5899
5900 * desktop.el (desktop-restore-forces-onscreen)
5901 (desktop-restore-reuses-frames): Document :keyword constant values.
5902 (desktop-filter-parameters-alist): Remove, now identical to
5903 frameset-filter-alist.
5904 (desktop--filter-tty*): Remove, moved to frameset.el.
5905 (desktop-save-frameset, desktop-restore-frameset):
5906 Do not pass :filters argument.
5907
5908 * frameset.el (frameset-live-filter-alist)
5909 (frameset-persistent-filter-alist): New variables.
5910 (frameset-filter-alist): Use them. Add autoload cookie.
5911 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5912 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5913 `frameset--id' (it's supposed to be internal to frameset.el).
5914 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5915 (frameset--initial-params): New function.
5916 (frameset--get-frame): Use it. Doc fix.
5917 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5918 Accept :all, not 'all.
5919 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5920 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5921 with fbound symbols. Fix frame id matching, and remove matching ids if
5922 the frame being restored is deleted. Obey :delete.
5923
5924 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * subr.el (macrop): New function.
5927 (text-clone--maintaining): New var.
5928 (text-clone--maintain): Rename from text-clone-maintain. Use it
5929 instead of inhibit-modification-hooks.
5930
5931 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5932 a proxy, so as handle autoloads and redefinitions of the target.
5933 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5934
5935 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5936 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5937 (pcase--mutually-exclusive-p): New function.
5938 (pcase--split-consp): Use it.
5939 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5940 mutually exclusive with the current predicate.
5941
5942 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5943 (edebug-macrop): Remove. Use `macrop' instead.
5944 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5945 (ad-macro-p):
5946 * eshell/esh-cmd.el (eshell-macrop):
5947 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5948
5949 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5952 (advice-mapc): New function, using it.
5953 (advice-function-member-p): New function.
5954 (advice--normalize): Store the cdr in advice--saved-rewrite since
5955 that's the part that will be changed.
5956 (advice--symbol-function): New function.
5957 (advice-remove): Handle removal before the function is defined.
5958 Adjust to new advice--saved-rewrite.
5959 (advice-member-p): Use advice-function-member-p and
5960 advice--symbol-function.
5961
5962 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5963
5964 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5965 (frameset-filter-minibuffer): Doc fix.
5966 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5967 (frameset--set-id, frameset--process-minibuffer-frames)
5968 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5969 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5970
5971 * desktop.el (desktop-clear): Only delete frames when called
5972 interactively and desktop-restore-frames is non-nil. Doc fix.
5973 (desktop-read): Set desktop-saved-frameset to nil.
5974
5975 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5976
5977 * vc/vc.el (vc-ignore): Rewrite.
5978 (vc-default-ignore-completion-table):
5979 (vc--read-lines):
5980 (vc--add-line, vc--remove-regexp): New functions.
5981
5982 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5983 (vc-svn-ignore-completion-table): New function.
5984
5985 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5986 (vc-hg-ignore-completion-table):
5987 (vc-hg-find-ignore-file): New functions.
5988
5989 * vc/vc-git.el (vc-git-ignore): Rewrite.
5990 (vc-git-ignore-completion-table):
5991 (vc-git-find-ignore-file): New functions.
5992
5993 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5994
5995 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5996 (vc-bzr-ignore-completion-table):
5997 (vc-bzr-find-ignore-file): New functions.
5998
5999 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6000
6001 * frameset.el (frameset-prop): New function and setter.
6002 (frameset-save): Do not modify frame list passed by the caller.
6003
6004 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6007
6008 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6011 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6012
6013 * custom.el (custom-initialize-default, custom-initialize-set)
6014 (custom-initialize-reset, custom-initialize-changed): Affect the
6015 toplevel-default-value (bug#6275, bug#14586).
6016 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6017 for bug#6275.
6018
6019 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6020
6021 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6022 Add cl-def* expressions.
6023
6024 * frameset.el (frameset-filter-params): Fix order of arguments.
6025
6026 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6027
6028 Move code related to saving frames to frameset.el.
6029 * desktop.el: Require frameset.
6030 (desktop-restore-frames): Doc fix.
6031 (desktop-restore-reuses-frames): Rename from
6032 desktop-restoring-reuses-frames.
6033 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6034 (desktop-clear): Clear frames too.
6035 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6036 (desktop--filter-tty*, desktop-save, desktop-read):
6037 Use frameset functions.
6038 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6039 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6040 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6041 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6042 (desktop--process-minibuffer-frames, desktop-save-frames)
6043 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6044 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6045 (desktop--sort-states, desktop-restoring-frames-p)
6046 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6047 (desktop-restoring-frameset-p, desktop-restore-frameset)
6048 (desktop--check-dont-save, desktop-save-frameset): New functions.
6049 (desktop--app-id): New constant.
6050 (desktop-first-buffer, desktop-buffer-ok-count)
6051 (desktop-buffer-fail-count): Move before first use.
6052 * frameset.el: New file.
6053
6054 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * files.el: Use lexical-binding.
6057 (dir-locals-read-from-file): Remove unused `err' variable.
6058 (hack-dir-local-variables--warned-coding): New var.
6059 (hack-dir-local-variables): Use it to avoid repeated warnings.
6060 (make-backup-file-name--default-function): New function.
6061 (make-backup-file-name-function): Use it as default.
6062 (buffer-stale--default-function): New function.
6063 (buffer-stale-function): Use it as default.
6064 (revert-buffer-insert-file-contents--default-function): New function.
6065 (revert-buffer-insert-file-contents-function): Use it as default.
6066 (insert-directory): Avoid add-to-list.
6067
6068 * autorevert.el (auto-revert-handler): Simplify.
6069 Use buffer-stale--default-function.
6070
6071 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6072
6073 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6074
6075 * whitespace.el (whitespace-ensure-local-variables): New function.
6076 (whitespace-cleanup-region): Call it.
6077 (whitespace-turn-on): Call it.
6078
6079 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6080
6081 Complete file name handlers.
6082
6083 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6084 (tramp-handle-verify-visited-file-modtime)
6085 (tramp-handle-file-notify-rm-watch): New functions.
6086 (tramp-call-process): Do not bind `default-directory'.
6087
6088 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6089 Order alphabetically.
6090 [access-file, add-name-to-file, dired-call-process]:
6091 [dired-compress-file, file-acl, file-notify-rm-watch]:
6092 [file-ownership-preserved-p, file-selinux-context]:
6093 [make-directory-internal, make-symbolic-link, set-file-acl]:
6094 [set-file-selinux-context, set-visited-file-modtime]:
6095 [verify-visited-file-modtime]: Add handler.
6096 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6097
6098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6099 [file-notify-add-watch, file-notify-rm-watch]:
6100 [set-file-times, set-visited-file-modtime]:
6101 [verify-visited-file-modtime]: Add handler.
6102 (with-tramp-gvfs-error-message)
6103 (tramp-gvfs-handle-set-visited-file-modtime)
6104 (tramp-gvfs-fuse-file-name): Remove.
6105 (tramp-gvfs-handle-file-notify-add-watch)
6106 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6107 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6108
6109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6110 Order alphabetically.
6111 [file-notify-rm-watch ]: Use default Tramp handler.
6112 [executable-find]: Remove private handler.
6113 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6114 `default-directory'.
6115 (tramp-sh-handle-executable-find)
6116 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6117 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6118 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6119 Do not use `format' in `tramp-message'.
6120
6121 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6122 [file-notify-rm-watch, set-visited-file-modtime]:
6123 [verify-visited-file-modtime]: Add handler.
6124 (tramp-smb-call-winexe): Do not bind `default-directory'.
6125
6126 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6127
6128 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6129
6130 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6131
6132 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6133 use it.
6134 (log-view-diff-changeset): Same.
6135 (log-view-diff-common): Call backend command `previous-revision'
6136 to find out the previous revision, in both cases. Swap the
6137 variables `to' and `fr', so that `fr' usually refers to the
6138 earlier revision (Bug#14989).
6139
6140 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6141
6142 * ibuf-ext.el (ibuffer-filter-by-filename):
6143 Make it work with dired buffers too.
6144
6145 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6146
6147 * emacs-lisp/re-builder.el (reb-color-display-p):
6148 * files.el (save-buffers-kill-terminal):
6149 * net/browse-url.el (browse-url):
6150 * server.el (server-save-buffers-kill-terminal):
6151 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6152 Prefer nil to selected-frame for the first arg of frame-parameter.
6153
6154 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6155
6156 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6157
6158 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6159
6160 * minibuffer.el (completion--twq-all): Try and preserve each
6161 completion's case choice (bug#14907).
6162
6163 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6164
6165 * net/network-stream.el (open-network-stream): Mention the new
6166 :nogreeting parameter.
6167 (network-stream-open-starttls): Use the :nogreeting parameter
6168 (bug#14938).
6169
6170 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6171
6172 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6173 more natural than popping.
6174
6175 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6176 (shr-urlify): Highlight under mouse.
6177
6178 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6179
6180 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6181
6182 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6183
6184 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6185 buffer for output.
6186
6187 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6188 point-min==1. Fix search string. Fix parentheses missing.
6189
6190 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6191 assume point-min==1. Fix search string. Fix parentheses missing.
6192
6193 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6194
6195 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6196 buffer for output.
6197
6198 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6199
6200 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6201 initial frame is minibuffer-less. (Bug#14841)
6202
6203 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6206 option.
6207
6208 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6209 (tramp-maybe-open-connection): Use it.
6210
6211 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6214 minimal set of parameters passed when creating a frame, because
6215 the minibuffer status of a frame cannot be changed later.
6216
6217 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6218
6219 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6220 replace-regexp-in-string and inadvertent omissions in previous change.
6221 (todo-filter-items): Ensure only file names are comma-separated in
6222 name of filtered items buffer.
6223
6224 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6225
6226 * desktop.el: Optionally force offscreen frames back onscreen.
6227 (desktop-restoring-reuses-frames): New option.
6228 (desktop--compute-pos, desktop--move-onscreen): New functions.
6229 (desktop--make-frame): Use desktop--move-onscreen.
6230
6231 2013-07-27 Alan Mackenzie <acm@muc.de>
6232
6233 Fontify a Java generic method as a function.
6234 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6235 value to t.
6236
6237 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6238
6239 * calendar/todo-mode.el: Add command to rename todo files.
6240 (todo-rename-file): New command.
6241 (todo-key-bindings-t): Add key binding for it. Change the
6242 bindings of todo-filter-regexp-items(-multifile) to use `x'
6243 instead of `r', since the latter is better suited to the new
6244 renaming command.
6245
6246 2013-07-27 Alan Mackenzie <acm@muc.de>
6247
6248 Make Java try-with-resources statement parse properly.
6249 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6250 (c-block-stmt-1-2-key): New language constants/variables.
6251 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6252 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6253 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6254 with c-block-stmt-1-2-key.
6255
6256 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6257
6258 * desktop.el (desktop--make-frame): Apply most frame parameters after
6259 creating the frame to force (partially or totally) offscreen frames to
6260 be restored as such.
6261
6262 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6263
6264 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6265 (Bug#14948)
6266
6267 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6270 `base' arg of backtrace-frame.
6271
6272 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6273
6274 * simple.el (list-processes): Doc fix.
6275
6276 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6277
6278 * desktop.el (desktop--select-frame):
6279 Try harder to reuse existing frames.
6280
6281 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6284 (edebug-eval): Use backtrace-eval.
6285 (edebug--display, edebug--recursive-edit): Don't let-bind the
6286 edebug-outer-* vars that keep track of variables we locally let-bind.
6287 (edebug-outside-excursion): Don't restore outside values of locally
6288 let-bound vars.
6289 (edebug--display): Use user-error.
6290 (cl-lexical-debug, cl-debug-env): Remove.
6291
6292 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6295 are restored to be sure that they are visible before deleting any
6296 remaining ones.
6297
6298 2013-07-26 Matthias Meulien <orontee@gmail.com>
6299
6300 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6301 vc-print-root-log. (Bug#14948)
6302
6303 2013-07-26 Richard Stallman <rms@gnu.org>
6304
6305 Add aliases for encrypting mail.
6306 * epa.el (epa-mail-aliases): New option.
6307 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6308 Bind inhibit-read-only so read-only text doesn't ruin everything.
6309 (epa-mail-default-recipients): New subroutine broken out.
6310 Handle epa-mail-aliases.
6311
6312 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 Add support for lexical variables to the debugger's `e' command.
6315 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6316 vars, except for debugger-outer-match-data.
6317 (debugger-frame-number): Move check for "on a function call" from
6318 callers into it. Add `skip-base' argument.
6319 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6320 (debugger-env-macro): Only reset the state stored in non-variables,
6321 i.e. current-buffer and match-data.
6322 (debugger-eval-expression): Rewrite using backtrace-eval.
6323 * subr.el (internal--called-interactively-p--get-frame): Remove.
6324 (called-interactively-p):
6325 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6326 `base' arg of backtrace-frame instead.
6327
6328 2013-07-26 Glenn Morris <rgm@gnu.org>
6329
6330 * align.el (align-regexp): Doc fix. (Bug#14857)
6331 (align-region): Explicit error if subexpression missing/does not match.
6332
6333 * simple.el (global-visual-line-mode):
6334 Do not duplicate the mode lighter. (Bug#14858)
6335
6336 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6337
6338 * window.el (display-buffer): In display-buffer bind
6339 split-window-keep-point to t, bug#14829.
6340
6341 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6342
6343 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6344 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6345 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6346 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6347 Change accordingly.
6348 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6349 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6350
6351 2013-07-25 Glenn Morris <rgm@gnu.org>
6352
6353 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6354
6355 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6358 parameter to modify-frame-parameters if the value has not changed;
6359 this is a workaround for bug#14949.
6360 (desktop--make-frame): On cl-delete-if call, check parameter name,
6361 not full parameter.
6362
6363 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6364
6365 * vc/vc.el (vc-ignore): New function.
6366
6367 * vc/vc-svn.el (vc-svn-ignore): New function.
6368
6369 * vc/vc-hg.el (vc-hg-ignore): New function.
6370
6371 * vc/vc-git.el (vc-git-ignore): New function.
6372
6373 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6374 (vc-dir-ignore): New function.
6375
6376 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6377 (cvs-append-to-ignore): Move here from pcvs.el.
6378
6379 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6380
6381 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6382
6383 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6386 (desktop-restore-frames): Warn when deleting an existing frame failed.
6387
6388 2013-07-24 Glenn Morris <rgm@gnu.org>
6389
6390 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6391
6392 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6393
6394 * filenotify.el (file-notify-supported-p):
6395 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6396 Remove functions.
6397
6398 * autorevert.el (auto-revert-use-notify):
6399 (auto-revert-notify-add-watch):
6400 * net/tramp.el (tramp-file-name-for-operation):
6401 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6403 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6404 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6405 Remove `file-notify-supported-p' entry.
6406
6407 2013-07-24 Glenn Morris <rgm@gnu.org>
6408
6409 * printing.el: Replace all uses of deleted ps-windows-system,
6410 ps-lp-system, ps-flatten-list with lpr- versions.
6411
6412 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6415 checked with memq (bug#14935).
6416
6417 * files.el (revert-buffer-function): Use a non-nil default.
6418 (revert-buffer-preserve-modes): Declare var to
6419 provide access to the `preserve-modes' argument.
6420 (revert-buffer): Let-bind it.
6421 (revert-buffer--default): New function, extracted from revert-buffer.
6422
6423 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * lpr.el: Signal print errors more prominently.
6426 (print-region-function): Don't default to nil.
6427 (lpr-print-region): New function, extracted from print-region-1.
6428 Check lpr's return value and signal an error in case of problem.
6429 (print-region-1): Use it.
6430 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6431 versions instead.
6432 (ps-printer-name): Default to nil.
6433 (ps-printer-name-option): Default to lpr-printer-switch.
6434 (ps-print-region-function): Don't default to nil.
6435 (ps-postscript-code-directory): Simplify default.
6436 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6437 (ps-string-list, ps-eval-switch, ps-flatten-list)
6438 (ps-flatten-list-1): Remove.
6439 (ps-multibyte-buffer): Avoid setq.
6440 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6441 (print-region-function, ps-print-region-function): Don't set them here.
6442
6443 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6444
6445 * ido.el (ido-fractionp):
6446 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6447 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6448 (ido-max-directory-size, ido-max-dir-file-cache)
6449 (ido-decorations): Doc fix.
6450
6451 * ansi-color.el: Fix old URL.
6452
6453 2013-07-23 Michael R. Mauger <michael@mauger.com>
6454
6455 * progmodes/sql.el: Version 3.3
6456 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6457 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6458 (sql-interactive-remove-continuation-prompt): Rewrite, use
6459 functions above. Fix continuation prompt and complete output line
6460 handling.
6461 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6462 redirected output buffer.
6463 (sql-mode): Restore deleted code (Bug#13591).
6464
6465 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6468
6469 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6470
6471 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6472
6473 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6474 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6475 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6476
6477 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6478
6479 * desktop.el (desktop-clear): Simplify; remove useless checks
6480 against invalid buffer names.
6481 (desktop-list*): Use cl-list*.
6482 (desktop-buffer-info, desktop-create-buffer): Simplify.
6483
6484 2013-07-23 Leo Liu <sdl.web@gmail.com>
6485
6486 * bookmark.el (bookmark-make-record): Restore NAME as a default
6487 value. (Bug#14933)
6488
6489 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6492 extracted from autoload--insert-text.
6493 (autoload--insert-text): Remove.
6494 (autoload--print-cookie-text): New function, extracted from
6495 autoload--insert-cookie-text.
6496 (autoload--insert-cookie-text): Remove.
6497 (autoload-generate-file-autoloads): Adjust calls accordingly.
6498
6499 * winner.el (winner-hook-installed-p): Remove.
6500 (winner-mode): Simplify accordingly.
6501
6502 * subr.el (add-to-list): Fix compiler-macro when `append' is
6503 not constant. Don't use `cl-member' for the base case.
6504
6505 * progmodes/subword.el: Fix boundary case (bug#13758).
6506 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6507 own group.
6508 (subword-backward-regexp): Make it a constant.
6509 (subword-forward-internal): Don't treat a trailing capital as the
6510 beginning of a word.
6511
6512 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6513
6514 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6515 global value of tabulated-list-revert-hook (bug#14930).
6516
6517 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6518
6519 * desktop.el: Require 'cl-lib.
6520 (desktop-before-saving-frames-functions): New hook.
6521 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6522 for frames being saved. Rename from desktop--save-minibuffer-frames.
6523 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6524 Do not save frames with non-nil `desktop-dont-save' parameter.
6525 Filter out deleted frames.
6526 (desktop--find-frame): Use cl-find-if.
6527 (desktop--select-frame): Use cl-(first|second|third) to access values
6528 of desktop-mini.
6529 (desktop--make-frame): Use cl-delete-if.
6530 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6531 (desktop-restore-frames): Use cl-(first|second|third) to access values
6532 of desktop-mini. Look for visible frame at the end, not while
6533 restoring frames.
6534
6535 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6536 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6537 Use string-match-p, looking-at-p (bug#14927).
6538
6539 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * desktop.el (desktop-saved-frame-states):
6542 Rename from desktop--saved-states; all users changed.
6543 (desktop-save-frames): Rename from desktop--save-frames.
6544 Do not save state to desktop file.
6545 (desktop-save): Save desktop-saved-frame-states to desktop file
6546 and reset to nil.
6547 (desktop-restoring-frames-p): New function.
6548 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6549 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6550 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6551
6552 * desktop.el: Correctly restore iconified frames.
6553 (desktop--filter-iconified-position): New function.
6554 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6555
6556 2013-07-20 Glenn Morris <rgm@gnu.org>
6557
6558 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6559 Let `message' do the formatting.
6560 (def-gdb-preempt-display-buffer): Add explicit format.
6561
6562 * image-dired.el (image-dired-track-original-file):
6563 Use with-current-buffer.
6564 (image-dired-track-thumbnail): Use with-current-buffer.
6565 Avoid changing point of wrong window.
6566
6567 * image-dired.el (image-dired-track-original-file):
6568 Avoid changing point of wrong window. (Bug#14909)
6569
6570 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6571
6572 * progmodes/gdb-mi.el (gdb-done-or-error):
6573 Guard against "%" in gdb output. (Bug#14127)
6574
6575 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6576
6577 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6578 (Bug#14826)
6579
6580 * international/mule.el (coding-system-iso-2022-flags): Fix last
6581 change.
6582
6583 2013-07-20 Kenichi Handa <handa@gnu.org>
6584
6585 * international/mule.el (coding-system-iso-2022-flags):
6586 Add `8-bit-level-4'. (Bug#8522)
6587
6588 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6589
6590 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6591 (bug#14815).
6592
6593 * net/eww.el (eww-process-text-input): Allow inputting when the
6594 point is at the start of the line, as the properties aren't
6595 front-sticky.
6596
6597 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6598 degenerate widths.
6599
6600 2013-07-19 Richard Stallman <rms@gnu.org>
6601
6602 * epa.el (epa-popup-info-window): Doc fix.
6603
6604 * subr.el (split-string): New arg TRIM.
6605
6606 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6607
6608 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6609 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6610
6611 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6612
6613 * filenotify.el (file-notify--library): Rename from
6614 `file-notify-support'. Do not autoload. Adapt all uses.
6615 (file-notify-supported-p): New defun.
6616
6617 * autorevert.el (auto-revert-use-notify):
6618 Use `file-notify-supported-p' instead of `file-notify-support'.
6619 Adapt docstring.
6620 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6621
6622 * net/tramp.el (tramp-file-name-for-operation):
6623 Add `file-notify-supported-p'.
6624
6625 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6626 New defun.
6627 (tramp-sh-file-name-handler-alist): Add it as handler for
6628 `file-notify-supported-p '.
6629
6630 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6631 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6632 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6633 Add `ignore' as handler for `file-notify-*' functions.
6634
6635 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6636
6637 * simple.el (line-move-partial, line-move): Don't start vscroll or
6638 scroll-up if the current line is not taller than the window.
6639 (Bug#14881)
6640
6641 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6644 highlight question marks in the method names as strings.
6645 (ruby-block-beg-keywords): Inline.
6646 (ruby-font-lock-keyword-beg-re): Extract from
6647 `ruby-font-lock-keywords'.
6648
6649 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6650
6651 * frame.el (blink-cursor-blinks): New defcustom.
6652 (blink-cursor-blinks-done): New defvar.
6653 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6654 (blink-cursor-timer-function): Check if number of blinks has been
6655 done on X and NS.
6656 (blink-cursor-suspend, blink-cursor-check): New defuns.
6657
6658 2013-07-15 Glenn Morris <rgm@gnu.org>
6659
6660 * edmacro.el (edmacro-format-keys): Fix previous change.
6661
6662 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6663
6664 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6665 The hack didn't work outside English locales anyway.
6666
6667 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6668
6669 * simple.el (define-alternatives): Rename from alternatives-define,
6670 per RMS' suggestion.
6671
6672 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6673
6674 * desktop.el (desktop-restore-frames): Change default to t.
6675 (desktop-restore-in-current-display): Now offer more options.
6676 (desktop-restoring-reuses-frames): New customization option.
6677 (desktop--saved-states): Doc fix.
6678 (desktop-filter-parameters-alist): New variable, renamed and expanded
6679 from desktop--excluded-frame-parameters.
6680 (desktop--target-display): New variable.
6681 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6682 (desktop--filter-tty*, desktop--filter-*-color)
6683 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6684 (desktop--filter-save-desktop-parm)
6685 (desktop-restore-in-original-display-p): New functions.
6686 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6687 (desktop--save-minibuffer-frames): New function, inspired by a similar
6688 function from Martin Rudalics.
6689 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6690 (desktop--restore-in-this-display-p): Remove.
6691 (desktop--find-frame): Rename from desktop--find-frame-in-display
6692 and add predicate argument.
6693 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6694 (desktop--reuse-list): New variable.
6695 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6696 New functions.
6697 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6698
6699 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6700
6701 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6702
6703 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6704
6705 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6706 Highlight conversion methods on Kernel.
6707
6708 2013-07-13 Alan Mackenzie <acm@muc.de>
6709
6710 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6711 and comment it out. This out-commenting enables certain C++
6712 declarations to be parsed correctly.
6713
6714 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6715
6716 * international/mule.el (define-coding-system): Doc fix.
6717
6718 * simple.el (default-font-height): Don't call font-info if the
6719 frame's default font didn't change since the frame was created.
6720 (Bug#14838)
6721
6722 2013-07-13 Leo Liu <sdl.web@gmail.com>
6723
6724 * ido.el (ido-read-file-name): Guard against non-symbol value.
6725
6726 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6727
6728 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6729 in nested defuns.
6730
6731 2013-07-13 Leo Liu <sdl.web@gmail.com>
6732
6733 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6734 ido-set-matches call. (Bug#6852)
6735
6736 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6737
6738 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6739 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6740 Ruby 2.0.
6741 (ruby-font-lock-keywords): Distinguish calls to functions with
6742 module-like names from module references. Highlight character
6743 literals.
6744
6745 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6746
6747 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6748 (gdb-send): Handle continued commands. (Bug#14847)
6749
6750 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6751
6752 * desktop.el (desktop--v2s): Remove unused local variable.
6753 (desktop-save-buffer): Make defvar-local; adjust docstring.
6754 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6755 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6756
6757 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6758
6759 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6760
6761 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6762
6763 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6764 (Bug#14842)
6765
6766 2013-07-12 Glenn Morris <rgm@gnu.org>
6767
6768 * doc-view.el: Require cl-lib at runtime too.
6769 (doc-view-remove-if): Remove.
6770 (doc-view-search-next-match, doc-view-search-previous-match):
6771 Use cl-remove-if.
6772
6773 * edmacro.el: Require cl-lib at runtime too.
6774 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6775 (edmacro-mismatch, edmacro-subseq): Remove.
6776
6777 * shadowfile.el: Require cl-lib.
6778 (shadow-remove-if): Remove.
6779 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6780 Use cl-remove-if.
6781
6782 * wid-edit.el: Require cl-lib.
6783 (widget-choose): Use cl-remove-if.
6784 (widget-remove-if): Remove.
6785
6786 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6787 (ebrowse-delete-if-not): Remove.
6788 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6789 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6790 Use cl-delete-if-not.
6791
6792 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6793
6794 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6795 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6796
6797 2013-07-12 Leo Liu <sdl.web@gmail.com>
6798
6799 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6800
6801 2013-07-11 Glenn Morris <rgm@gnu.org>
6802
6803 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6804 (edebug-gensym-index, edebug-gensym):
6805 Remove reimplementation of cl-gensym.
6806 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6807
6808 * thumbs.el: Require cl-lib at run-time too.
6809 (thumbs-gensym-counter, thumbs-gensym):
6810 Remove reimplementation of cl-gensym.
6811 (thumbs-temp-file): Use cl-gensym.
6812
6813 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6814 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6815 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6816 (ert--union, ert--gensym-counter, ert--gensym-counter)
6817 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6818 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6819 (ert-make-test-unbound, ert--expand-should-1)
6820 (ert--expand-should, ert--should-error-handle-error)
6821 (should-error, ert--explain-equal-rec)
6822 (ert--plist-difference-explanation, ert-select-tests)
6823 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6824 Use cl-lib functions rather than reimplementations.
6825
6826 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6827
6828 * net/tramp.el (tramp-methods): Extend docstring.
6829 (tramp-connection-timeout): New defcustom.
6830 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6831 (with-tramp-progress-reporter): Simplify.
6832 (tramp-process-actions): Improve messages.
6833
6834 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6835 * net/tramp-sh.el (tramp-maybe-open-connection):
6836 Use `tramp-connection-timeout'.
6837 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6838 (Bug#14808)
6839
6840 2013-07-11 Leo Liu <sdl.web@gmail.com>
6841
6842 * ido.el (ido-read-file-name): Conform to the requirements of
6843 read-file-name. (Bug#11861)
6844 (ido-read-directory-name): Conform to the requirements of
6845 read-directory-name.
6846
6847 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6848
6849 * subr.el (delay-warning): New function.
6850
6851 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6852
6853 * simple.el (default-line-height): New function.
6854 (line-move-partial, line-move): Use it instead of computing the
6855 line height inline.
6856 (line-move-partial): Always compute ROWH. If the last line is
6857 partially-visible, but its text is completely visible, allow
6858 cursor to enter such a partially-visible line.
6859
6860 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6861
6862 Improve error messages. (Bug#14808)
6863
6864 * net/tramp.el (tramp-current-connection): New defvar, moved from
6865 tramp-sh.el.
6866 (tramp-message-show-progress-reporter-message): Remove, not
6867 needed anymore.
6868 (tramp-error-with-buffer): Show message in minibuffer.
6869 Discard input before waiting. Reset connection timestamp.
6870 (with-tramp-progress-reporter): Improve messages.
6871 (tramp-process-actions): Use progress reporter. Delete process in
6872 case of error. Improve messages.
6873
6874 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6875 Call `tramp-error-with-buffer' with vector and buffer.
6876 (tramp-current-connection): Remove.
6877 (tramp-maybe-open-connection): The car of
6878 `tramp-current-connection' are the first 3 slots of the vector.
6879
6880 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6881
6882 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6883 inside continued strings.
6884
6885 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6886
6887 Timestamp fixes for undo (Bug#14824).
6888 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6889
6890 2013-07-10 Leo Liu <sdl.web@gmail.com>
6891
6892 * files.el (require-final-newline): Allow safe local value.
6893 (Bug#14834)
6894
6895 2013-07-09 Leo Liu <sdl.web@gmail.com>
6896
6897 * ido.el (ido-read-directory-name): Handle fallback.
6898 (ido-read-file-name): Update DIR to ido-current-directory.
6899 (Bug#1516)
6900 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6901
6902 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6903
6904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6905 "autoload". Remove "warn lower camel case" section, previously
6906 commented out. Highlight negation char. Do not highlight the
6907 target in singleton method definitions.
6908
6909 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * faces.el (tty-setup-hook): Declare the hook.
6912
6913 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6914 and detect when a guard/pred depends on local vars (bug#14773).
6915 (pcase--u1): Adjust caller.
6916
6917 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6918
6919 * simple.el (line-move-partial, line-move): Account for
6920 line-spacing.
6921 (line-move-partial): Avoid setting vscroll when the last
6922 partially-visible line in window is of default height.
6923
6924 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6925
6926 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6927 been used a while.
6928
6929 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * subr.el (read-quoted-char): Remove unused local variable `char'.
6932
6933 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6934
6935 * ediff.el (ediff-version): Version update.
6936 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6937 (ediff-merge-with-ancestor-command, ediff-directories-command)
6938 (ediff-directories3-command, ediff-merge-directories-command)
6939 (ediff-merge-directories-with-ancestor-command): New functions.
6940 All are command-line interfaces to ediff: to facilitate calling
6941 Emacs with the appropriate ediff functions invoked.
6942
6943 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6944 (viper-save-kill-buffer): Check if buffer is modified.
6945
6946 * viper.el (viper-version): Version update.
6947 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6948
6949 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6952 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6953 (viper-intercept-ESC-key): Simplify.
6954 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6955 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6956 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6957 (viper-setup-ESC-to-escape): New functions.
6958 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6959 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6960
6961 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6962
6963 * simple.el (default-font-height, window-screen-lines):
6964 New functions.
6965 (line-move, line-move-partial): Use them instead of
6966 frame-char-height and window-text-height. This makes scrolling
6967 text smoother when the buffer's default face uses a font that is
6968 different from the frame's default font.
6969
6970 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6971
6972 * files.el (write-file): Do not display confirm dialog for NS,
6973 it does its own dialog, which can't be cancelled (Bug#14578).
6974
6975 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6976
6977 * simple.el (line-move-partial): Adjust the row returned by
6978 posn-at-point for the current window-vscroll. (Bug#14567)
6979
6980 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6981
6982 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6983 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6984 spaces.
6985
6986 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6987
6988 * window.el (window-state-put-stale-windows): New variable.
6989 (window--state-put-2): Save list of windows without matching buffer.
6990 (window-state-put): Remove "bufferless" windows if possible.
6991
6992 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6993
6994 * simple.el (alternatives-define): Remove leftover :group keyword.
6995 Tweak docstring.
6996
6997 2013-07-06 Leo Liu <sdl.web@gmail.com>
6998
6999 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7000 (ido-enable-virtual-buffers): New variable.
7001 (ido-buffer-internal, ido-toggle-virtual-buffers)
7002 (ido-make-buffer-list): Use it.
7003 (ido-exhibit): Support turning on and off virtual buffers
7004 automatically.
7005
7006 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * simple.el (alternatives-define): New macro.
7009
7010 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * subr.el (read-quoted-char): Use read-key.
7013 (sit-for): Let read-event decode tty input (bug#14782).
7014
7015 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7016
7017 * calendar/todo-mode.el: Add handling of file deletion, both by
7018 mode command and externally. Fix various related bugs.
7019 Clarify Commentary and improve some documentation strings and code.
7020 (todo-delete-file): New command.
7021 (todo-check-file): New function.
7022 (todo-show): Handle external deletion of the file we're trying to
7023 show (bug#14688). Replace called-interactively-p by an optional
7024 prefix argument to avoid problematic interaction with catch form
7025 when byte compiled (bug#14702).
7026 (todo-quit): Handle external deletion of the archive's todo file.
7027 Make sure the buffer that was visiting the archive file is still
7028 live before trying to bury it.
7029 (todo-category-completions): Handle external deletion of any
7030 category completion files.
7031 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7032 of todo files, in case of external deletion.
7033 (todo-add-file): Replace unnecessary setq by let-binding.
7034 (todo-find-archive): Check whether there are any archives.
7035 Replace unnecessary setq by let-binding.
7036 (todo-archive-done-item): Use find-file-noselect to get the
7037 archive buffer whether or not the archive already exists.
7038 Remove superfluous code. Use file size instead of buffer-file-name to
7039 check if the archive is new; if it is, update list of archives.
7040 (todo-default-todo-file): Allow nil to be a valid value for when
7041 there are no todo files.
7042 (todo-reevaluate-default-file-defcustom): Use corrected definition
7043 of todo-default-todo-file.
7044 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7045 (todo-delete-category, todo-show-categories-table)
7046 (todo-category-number): Clarify comment.
7047 (todo-filter-items): Clarify documentation string.
7048 (todo-show-current-file, todo-display-as-todo-file)
7049 (todo-reset-and-enable-done-separator): Tweak documentation string.
7050 (todo-done-separator): Make separator length window-width, since
7051 bug#2749 is now fixed.
7052
7053 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7054
7055 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7056 Support both "gvfs-monitor-dir" and "inotifywait".
7057 (tramp-sh-file-inotifywait-process-filter): Rename from
7058 `tramp-sh-file-notify-process-filter'.
7059 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7060 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7061
7062 2013-07-05 Leo Liu <sdl.web@gmail.com>
7063
7064 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7065
7066 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7067
7068 * frame.el (display-pixel-height, display-pixel-width)
7069 (display-mm-height, display-mm-width): Mention behavior on
7070 multi-monitor setups in docstrings.
7071 (w32-display-monitor-attributes-list): Declare function.
7072 (display-monitor-attributes-list): Use it.
7073
7074 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7075
7076 * filenotify.el: New package.
7077
7078 * autorevert.el (top): Require filenotify.el.
7079 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7080 instead.
7081 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7082 (auto-revert-notify-handler): Use `file-notify-*' functions.
7083
7084 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7085
7086 * net/tramp.el (tramp-file-name-for-operation):
7087 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7088
7089 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7090 for `file-notify-add-watch' and `file-notify-rm-watch'.
7091 (tramp-process-sentinel): Improve trace.
7092 (tramp-sh-handle-file-notify-add-watch)
7093 (tramp-sh-file-notify-process-filter)
7094 (tramp-sh-handle-file-notify-rm-watch)
7095 (tramp-get-remote-inotifywait): New defuns.
7096
7097 2013-07-03 Juri Linkov <juri@jurta.org>
7098
7099 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7100 call of `occur-read-primary-args' to interactive spec.
7101
7102 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7103 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7104
7105 2013-07-03 Matthias Meulien <orontee@gmail.com>
7106
7107 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7108 `Buffer-menu-multi-occur'. Add it to the menu.
7109 (Buffer-menu-mode): Document it in docstring.
7110 (Buffer-menu-multi-occur): New command. (Bug#14673)
7111
7112 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7113
7114 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7115 keywords and built-ins.
7116
7117 2013-07-03 Glenn Morris <rgm@gnu.org>
7118
7119 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7120
7121 Make info-xref checks case-sensitive by default
7122 * info.el (Info-find-node, Info-find-in-tag-table)
7123 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7124 Add option for exact case matching of nodes.
7125 * info-xref.el (info-xref): New custom group.
7126 (info-xref-case-fold): New option.
7127 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7128
7129 2013-07-03 Leo Liu <sdl.web@gmail.com>
7130
7131 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7132
7133 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7134
7135 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7136 middle of block statement initially, lower the depth. Remove
7137 FIXME comment, not longer valid. Remove middle of block statement
7138 detection, no need to do that anymore since we've been using
7139 `ruby-parse-region' here.
7140
7141 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7142
7143 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7144
7145 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7146
7147 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7148
7149 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7150
7151 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7152 (desktop-restore-in-current-display): New customization option.
7153 (desktop--excluded-frame-parameters): Add `font'.
7154 (desktop--save-frames): Rename from desktop--save-windows.
7155 (desktop--restore-in-this-display-p): New function.
7156 (desktop--make-full-frame): Remove unwanted width/height from
7157 full(width|height) frames.
7158 (desktop--restore-frames): Rename from desktop--restore-windows.
7159 Obey desktop-restore-current-display. Do not delete old frames or
7160 select a new frame unless we were able to restore at least one frame.
7161
7162 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7163
7164 * files.el (find-file-noselect): Simplify conditional expression.
7165
7166 * remember.el (remember-append-to-file):
7167 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7168
7169 Add `remember-notes' function to store random notes across Emacs
7170 restarts.
7171 * remember.el (remember-data-file): Add :set callback to affect
7172 notes buffer (if any).
7173 (remember-notes): New command.
7174 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7175 New defcustoms for the `remember-notes' function.
7176 (remember-notes-save-and-bury-buffer): New command.
7177 (remember-notes-mode-map): New variable.
7178 (remember-mode): New minor mode.
7179 (remember-notes--kill-buffer-query): New function.
7180 * startup.el (initial-buffer-choice): Add notes to custom type.
7181
7182 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7183
7184 * bindings.el (right-char, left-char): Don't call sit-for, this is
7185 no longer needed. Use arithmetic comparison only for numerical
7186 arguments.
7187
7188 * international/mule-cmds.el (select-safe-coding-system):
7189 Handle the case of FROM being a string correctly. (Bug#14755)
7190
7191 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7192
7193 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7194 progression on degenerate tables.
7195 (shr-rescale-image): ImageMagick animated images currently don't work.
7196
7197 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7198
7199 Some fixes and improvements for desktop frame restoration.
7200 It is still experimental and disabled by default.
7201 * desktop.el (desktop--save-windows): Put the selected frame at
7202 the head of the list.
7203 (desktop--make-full-frame): New function.
7204 (desktop--restore-windows): Try to re-select the frame that was
7205 selected upon saving. Do not abort if some frames fail to restore,
7206 just show an error message and continue. Set up maximized frames
7207 so they have default non-maximized dimensions.
7208
7209 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7210
7211 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7212 Don't start heredoc inside a string or comment.
7213
7214 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7215
7216 * bindings.el (visual-order-cursor-movement): New defcustom.
7217 (right-char, left-char): Provide visual-order cursor motion by
7218 calling move-point-visually. Update the doc strings.
7219
7220 2013-06-28 Kenichi Handa <handa@gnu.org>
7221
7222 * international/mule.el (define-coding-system): New coding system
7223 properties :inhibit-null-byte-detection,
7224 :inhibit-iso-escape-detection, and :prefer-utf-8.
7225 (set-buffer-file-coding-system): If :charset-list property of
7226 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7227 appropriate for setting.
7228
7229 * international/mule-cmds.el (select-safe-coding-system):
7230 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7231 multibyte characters, return utf-8 (or one of its siblings).
7232
7233 * international/mule-conf.el (prefer-utf-8): New coding system.
7234 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7235 files.
7236
7237 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7238
7239 * net/shr.el (shr-render-region): New function.
7240
7241 * net/eww.el: Autoload `eww-browse-url'.
7242
7243 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7244
7245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7246 Adapt to `package-desc-version' being a list.
7247 Use `package--ac-desc-version' to retrieve version from a package
7248 archive element.
7249
7250 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7251
7252 New experimental feature to save&restore window and frame setup.
7253 * desktop.el (desktop-save-windows): New defcustom.
7254 (desktop--saved-states): New var.
7255 (desktop--excluded-frame-parameters): New defconst.
7256 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7257 (desktop--restore-windows, desktop--save-windows): New functions.
7258 (desktop-save): Call `desktop--save-windows'.
7259 (desktop-read): Call `desktop--restore-windows'.
7260
7261 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7262
7263 * net/shr.el (add-face-text-property): Remove compat definition.
7264
7265 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7266
7267 * info.el (Info-try-follow-nearest-node): Move search for footnote
7268 above search for node name to prevent missing a footnote (bug#14717).
7269
7270 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7271
7272 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7273
7274 2013-06-27 Leo Liu <sdl.web@gmail.com>
7275
7276 * net/eww.el (eww-read-bookmarks): Check file size.
7277
7278 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7281 advice--pending if newdef is nil or an autoload (bug#13820).
7282 (advice-mapc): New function.
7283
7284 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7287 probably.
7288 (eww-mode-map): Add a menu bar.
7289 (eww-add-bookmark): New command.
7290 (eww-bookmark-mode): New mode and commands.
7291 (eww-add-bookmark): Remove newlines from the title.
7292 (eww-bookmark-browse): Don't bug out if it's the only window.
7293
7294 2013-06-26 Glenn Morris <rgm@gnu.org>
7295
7296 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7297 (hfy-size): Handle ttys. (Bug#14668)
7298
7299 * info-xref.el: Update for Texinfo 5 change in *note format.
7300 (info-xref-node-re, info-xref-note-re): New constants.
7301 (info-xref-check-buffer): Use info-xref-note-re.
7302
7303 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7304
7305 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7306
7307 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7308 nil terminate the loop (bug#14718).
7309
7310 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7311
7312 * net/eww.el: Rework history traversal. When going forward/back,
7313 put these actions into the history, too, so that they can be
7314 replayed.
7315 (eww-render): Move the history reset to the correct buffer.
7316
7317 2013-06-25 Juri Linkov <juri@jurta.org>
7318
7319 * files-x.el (modify-dir-local-variable): Change the header comment
7320 in the file with directory local variables. (Bug#14692)
7321
7322 * files-x.el (read-file-local-variable-value): Add `default'.
7323 (Bug#14710)
7324
7325 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326
7327 * net/eww.el (eww-make-unique-file-name): Create a unique file
7328 name before saving to entering `y' accidentally asynchronously.
7329
7330 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7331
7332 * net/eww.el (eww-download): New command and keystroke.
7333
7334 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7335
7336 * net/eww.el (eww-copy-page-url): Change name of command.
7337
7338 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7339 be more consistent with Info and dired.
7340
7341 * net/eww.el (eww-mode-map): Ditto.
7342
7343 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7346 packages from archives.
7347 (package-archive-contents): Change format; include obsolete packages.
7348 (package-desc): Use `dir' to mark builtin packages.
7349 (package--from-builtin): Set the `dir' field to `builtin'.
7350 (generated-autoload-file, version-control): Declare.
7351 (package-compute-transaction): Change first arg and return value to be
7352 lists of package-descs. Adjust to new package-archive-contents format.
7353 (package--add-to-archive-contents): Adjust to new
7354 package-archive-contents format.
7355 (package-download-transaction): Arg is now a list of package-descs.
7356 (package-install): If `pkg' is a package name, pass it as
7357 a requirement, so it is subject to the usual (e.g. disabled) checks.
7358 (describe-package): Accept package-desc as well.
7359 (describe-package-1): Describe a specific package-desc. Add links to
7360 other package-descs for the same package name.
7361 (package-menu-describe-package): Pass the actual package-desc.
7362 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7363 works correctly.
7364 (package-desc-status): New function.
7365 (package-menu--refresh): New function, extracted
7366 from package-menu--generate.
7367 (package-menu--generate): Use it.
7368 (package-delete): Update package-alist.
7369 (package-menu-execute): Don't call package-initialize.
7370
7371 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7372 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7373 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7374 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7375 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7376 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7377
7378 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7379
7380 * window.el (window--state-get-1): Workaround for bug#14527.
7381 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7382
7383 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7384
7385 * net/eww.el (eww-back-url): Implement the history by stashing all
7386 the data into a list.
7387 (eww-forward-url): Allow going forward in the history, too.
7388
7389 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7392 for values and use read--expression for expressions (bug#14710).
7393 (read-file-local-variable): Avoid setq.
7394 (read-file-local-variable-mode): Use minor-mode-list.
7395
7396 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7397
7398 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7399 for DOI URLs.
7400
7401 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7402
7403 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7404 Update imenu-support when dialect changes.
7405
7406 2013-06-25 Leo Liu <sdl.web@gmail.com>
7407
7408 * ido.el (ido-read-internal): Allow forward slash on windows.
7409
7410 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7411
7412 * net/eww.el (eww): Start of strings is \\`, not ^.
7413
7414 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7415
7416 * net/shr.el (shr-browse-url): Fix interactive spec.
7417
7418 * net/eww.el (eww): Add a trailing slash to domain names.
7419
7420 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7421
7422 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7423
7424 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * net/shr.el (shr-browse-url): Use an external browser if given a
7427 prefix.
7428
7429 * net/eww.el (eww-external-browser): Move to shr.
7430
7431 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7432
7433 * net/eww.el (eww): Work more correctly for file: URLs.
7434 (eww-detect-charset): Allow quoted charsets.
7435 (eww-yank-page-url): New command and keystroke.
7436
7437 2013-06-24 Daiki Ueno <ueno@gnu.org>
7438
7439 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7440 file name of gpg executable.
7441 (epg-context-program): New function.
7442 (epg-context-home-directory): New function.
7443 (epg-context-set-program): New function.
7444 (epg-context-set-home-directory): New function.
7445 (epg--start): Use `epg-context-program' instead of
7446 'epg-gpg-program'.
7447 (epg--list-keys-1): Likewise.
7448
7449 2013-06-24 Leo Liu <sdl.web@gmail.com>
7450
7451 * ido.el (ido-read-internal): Fix bug#14620.
7452
7453 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7454
7455 * faces.el (face-documentation): Simplify.
7456 (read-face-attribute, tty-find-type, x-resolve-font-name):
7457 Use `string-match-p'.
7458 (list-faces-display): Use `string-match-p'. Simplify.
7459 (face-spec-recalc): Check face to avoid face alias loops.
7460 (read-color): Use `string-match-p' and non-capturing parenthesis.
7461
7462 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7463
7464 * net/shr.el (shr-rescale-image): Use the new
7465 :max-width/:max-height functionality.
7466
7467 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7468
7469 * net/eww.el (eww-search-prefix): New variable.
7470 (eww): Use it.
7471 (eww-external-browser): New variable.
7472 (eww-mode-map): New keystroke.
7473 (eww-browse-with-external-browser): New command.
7474
7475 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7476
7477 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7480 Don't skip aligning the next header field when padding is 0;
7481 otherwise, field width is not respected unless the title is as
7482 wide as the field.
7483
7484 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * emacs-lisp/package.el (package-el-version): Remove.
7487 (package-process-define-package): Fix inf-loop.
7488 (package-install): Allow symbols as arguments again.
7489
7490 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7491
7492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7493 add some more keyword-like methods.
7494 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7495
7496 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7497
7498 * bs.el (bs-buffer-show-mark): Make defvar-local.
7499 (bs-mode): Use setq-local.
7500
7501 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7502 (emacs-lock--try-unlocking): Make defvar-local.
7503
7504 2013-06-22 Glenn Morris <rgm@gnu.org>
7505
7506 * play/cookie1.el (cookie-apropos): Minor simplification.
7507
7508 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7509
7510 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7511
7512 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7513 `regexp-opt', it breaks the build during dumping.
7514
7515 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7516
7517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7518 Highlight keyword-like methods on Kernel and Module with
7519 font-lock-builtin-face.
7520 (auto-mode-alist): Consolidate different entries into one regexp
7521 and add more *file-s.
7522
7523 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7524
7525 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7526
7527 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7528 (diary-entry): Use it in the action of this button type instead of
7529 diary-goto-entry.
7530
7531 * calendar/todo-mode.el: New version.
7532 (todo-add-category): Append new category to end of file and give
7533 it the highest number, instead of putting it at the beginning and
7534 giving it 0. Incorporate noninteractive functionality.
7535 (todo-forward-category): Adapt to 1-based category numbering.
7536 Allow skipping over archived categories.
7537 (todo-backward-category): Derive from todo-forward-category.
7538 (todo-backward-item, todo-forward-item): Make noninteractive and
7539 delegate interactive part to new commands. Make sensitive to done items.
7540 (todo-categories): Make value an alist of category names and
7541 vectors of item counts.
7542 (todo-category-beg): Make a defconst.
7543 (todo-category-number): Use 1 instead of 0 as initial value.
7544 (todo-category-select): Make sensitive to overlays, optional item
7545 highlighting and done items.
7546 (todo-delete-item): Make sensitive to overlays and marked and done items.
7547 (todo-edit-item): Make sensitive to overlays and editing of
7548 date/time header optional. Add format checks.
7549 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7550 no-op if point is not on an item. Advertise using todo-edit-quit.
7551 (todo-edit-mode): Make sensitive to new format, font-locking, and
7552 multiple todo files.
7553 (todo-insert-item, todo-insert-item-here): Derive from
7554 todo-basic-insert-item and extend functionality.
7555 (todo-item-end, todo-item-start): Make sensitive to done items.
7556 (todo-item-string): Don't return text properties. Restore point.
7557 (todo-jump-to-category): Make sensitive to multiple todo files and
7558 todo archives. Use extended category completion.
7559 (todo-lower-item, todo-raise-item): Rename to *-priority and
7560 derive from todo-set-item-priority.
7561 (todo-mode): Derive from special-mode. Make sensitive to new
7562 format, font-locking and multiple todo files. Make read-only.
7563 (todo-mode-map): Don't suppress digit keys, so they can supply
7564 prefix arguments. Add many new key bindings.
7565 (todo-prefix): Insert as an overlay instead of file text.
7566 Change semantics from diary date expression to purely visual mark.
7567 (todo-print): Rename to todo-print-buffer. Make buffer display
7568 features printable. Remove option to restrict number of items
7569 printed. Add option to print to file.
7570 (todo-print-function): Rename to todo-print-buffer-function.
7571 (todo-quit): Extend to handle exiting new todo modes.
7572 (todo-remove-item): Make sensitive to overlays.
7573 (todo-save): Extend to buffers of filtered items.
7574 (todo-show): Make sensitive to done items, multiple todo files and
7575 new todo modes. Offer to convert legacy todo file before creating
7576 first new todo file.
7577 (todo-show-priorities): Rename to todo-top-priorities.
7578 Change semantics of value 0.
7579 (todo-top-priorities): Rename to todo-filter-top-priorities,
7580 derive from todo-filter-items and extend functionality.
7581 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7582 and extend functionality to other types of filtered items.
7583 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7584 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7585 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7586 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7587 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7588 (todo-edit-mode-hook, todo-entry-prefix-function)
7589 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7590 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7591 (todo-initials, todo-insert-threshold, todo-item-string-start)
7592 (todo-line-string, todo-menu, todo-mode-hook)
7593 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7594 (todo-print-priorities, todo-remove-separator)
7595 (todo-save-top-priorities-too, todo-string-count-lines)
7596 (todo-string-multiline-p, todo-time-string-format)
7597 (todo-tmp-buffer-name): Remove.
7598 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7599 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7600 (todo-edit-category-diary-inclusion)
7601 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7602 (todo-edit-file, todo-edit-item-date-day)
7603 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7604 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7605 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7606 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7607 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7608 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7609 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7610 (todo-filter-top-priorities-multifile, todo-find-archive)
7611 (todo-find-filtered-items-file, todo-go-to-source-item)
7612 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7613 (todo-jump-to-archive-category, todo-lower-category)
7614 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7615 (todo-move-category, todo-move-item, todo-next-button)
7616 (todo-next-item, todo-padded-string, todo-powerset)
7617 (todo-previous-button, todo-previous-item)
7618 (todo-print-buffer-to-file, todo-raise-category)
7619 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7620 (todo-set-category-number, todo-set-item-priority)
7621 (todo-set-top-priorities-in-category)
7622 (todo-set-top-priorities-in-file, todo-show-categories-table)
7623 (todo-sort-categories-alphabetically-or-numerically)
7624 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7625 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7626 (todo-toggle-item-header, todo-toggle-item-highlighting)
7627 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7628 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7629 (todo-unarchive-items, todo-unmark-category): New commands.
7630 (todo-absolute-file-name, todo-add-to-buffer-list)
7631 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7632 (todo-basic-insert-item, todo-category-completions)
7633 (todo-category-number, todo-category-string-matcher-1)
7634 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7635 (todo-check-format, todo-clear-matches)
7636 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7637 (todo-current-category, todo-date-string-matcher)
7638 (todo-define-insertion-command, todo-diary-expired-matcher)
7639 (todo-diary-goto-entry, todo-diary-item-p)
7640 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7641 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7642 (todo-done-item-section-p, todo-done-separator)
7643 (todo-done-string-matcher, todo-files, todo-filter-items)
7644 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7645 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7646 (todo-insert-category-line, todo-insert-item-from-calendar)
7647 (todo-insert-sort-button, todo-insert-with-overlays)
7648 (todo-insertion-command-name, todo-insertion-key-bindings)
7649 (todo-label-to-key, todo-longest-category-name-length)
7650 (todo-make-categories-list, todo-mode-external-set)
7651 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7652 (todo-modes-set-3, todo-multiple-filter-files)
7653 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7654 (todo-read-category, todo-read-date, todo-read-dayname)
7655 (todo-read-file-name, todo-read-time)
7656 (todo-reevaluate-category-completions-files-defcustom)
7657 (todo-reevaluate-default-file-defcustom)
7658 (todo-reevaluate-filelist-defcustoms)
7659 (todo-reevaluate-filter-files-defcustom)
7660 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7661 (todo-reset-done-separator, todo-reset-done-separator-string)
7662 (todo-reset-done-string, todo-reset-global-current-todo-file)
7663 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7664 (todo-reset-prefix, todo-set-categories)
7665 (todo-set-date-from-calendar, todo-set-show-current-file)
7666 (todo-set-top-priorities, todo-short-file-name)
7667 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7668 (todo-total-item-counts, todo-update-buffer-list)
7669 (todo-update-categories-display, todo-update-categories-sexp)
7670 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7671 New functions.
7672 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7673 New major modes.
7674 (todo-categories, todo-display, todo-edit, todo-faces)
7675 (todo-filtered): New defgroups.
7676 (todo-archived-only, todo-button, todo-category-string, todo-date)
7677 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7678 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7679 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7680 (todo-add-item-if-new-category, todo-always-add-time-string)
7681 (todo-categories-align, todo-categories-archived-label)
7682 (todo-categories-category-label, todo-categories-diary-label)
7683 (todo-categories-done-label, todo-categories-number-separator)
7684 (todo-categories-todo-label, todo-categories-totals-label)
7685 (todo-category-completions-files, todo-completion-ignore-case)
7686 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7687 (todo-done-separator-string, todo-done-string)
7688 (todo-files-function, todo-filter-done-items, todo-filter-files)
7689 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7690 (todo-initial-category, todo-initial-file, todo-item-mark)
7691 (todo-legacy-date-time-regexp, todo-mode-line-function)
7692 (todo-nondiary-marker, todo-number-prefix)
7693 (todo-print-buffer-function, todo-show-current-file)
7694 (todo-show-done-only, todo-show-first, todo-show-with-done)
7695 (todo-skip-archived-categories, todo-top-priorities-overrides)
7696 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7697 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7698 New defcustoms.
7699 (todo-category-done, todo-date-pattern, todo-date-string-start)
7700 (todo-diary-items-buffer, todo-done-string-start)
7701 (todo-filtered-items-buffer, todo-item-start)
7702 (todo-month-abbrev-array, todo-month-name-array)
7703 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7704 (todo-top-priorities-buffer): New defconsts.
7705 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7706 (todo-categories-with-marks, todo-category-string-face)
7707 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7708 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7709 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7710 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7711 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7712 (todo-font-lock-keywords, todo-global-current-todo-file)
7713 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7714 (todo-insertion-commands-args)
7715 (todo-insertion-commands-args-genlist)
7716 (todo-insertion-commands-names, todo-insertion-map)
7717 (todo-key-bindings-t, todo-key-bindings-t+a)
7718 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7719 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7720 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7721 (todo-visited): New variables.
7722
7723 2013-06-21 Glenn Morris <rgm@gnu.org>
7724
7725 * play/cookie1.el (cookie-apropos): Add optional display argument.
7726 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7727 (psychoanalyze-pinhead): Use cookie-doctor.
7728
7729 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7730
7731 * emacs-lisp/package.el (tar-get-file-descriptor)
7732 (tar--extract): Declare.
7733
7734 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7735
7736 Extend flymake's warning predicate to be a function (bug#14217).
7737 * progmodes/flymake.el (flymake-warning-predicate): New.
7738 (flymake-parse-line): Use it.
7739 (flymake-warning-re): Make obsolete alias to
7740 `flymake-warning-predicate'.
7741
7742 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7745 (package-obsolete-list): Remove.
7746 (package-activate): Remove min-version argument. Add `force' argument.
7747 Adjust to new package-alist format.
7748 (package-mark-obsolete): Remove.
7749 (package-unpack): Force reload of the package's autoloads.
7750 (package-installed-p): Check builtins if the installed package is not
7751 recent enough.
7752 (package-initialize): Don't reset package-obsolete-list.
7753 Don't specify which package version to activate.
7754 (package-process-define-package, describe-package-1)
7755 (package-menu--generate): Adjust to new package-alist format.
7756
7757 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7758
7759 * allout-widgets.el (allout-widgets-mode-off)
7760 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7761 (allout-widgets-post-command-business)
7762 (allout-widgets-after-copy-or-kill-function)
7763 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7764 (allout-decorate-item-and-context)
7765 (allout-graphics-modification-handler): Fix typos in docstrings.
7766 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7767
7768 * cmuscheme.el (scheme-start-file): Doc fix.
7769 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7770 (scheme-input-filter): Use `string-match-p'.
7771
7772 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7773
7774 * dired-x.el: Use Dired consistently in docstrings.
7775
7776 * dired.el: Use Dired consistently in docstrings.
7777 (dired-readin, dired-mode): Use `setq-local'.
7778 (dired-switches-alist): Make defvar-local.
7779 (dired-buffers-for-dir): Use `zerop'.
7780 (dired-safe-switches-p, dired-switches-escape-p)
7781 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7782 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7783 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7784 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7785 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7786 (dired-toggle-marks, dired-mark-files-containing-regexp)
7787 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7788 (dired-flag-auto-save-files, dired-flag-backup-files):
7789 Use `looking-at-p'.
7790 (dired-mark-files-regexp, dired-build-subdir-alist):
7791 Use `string-match-p', `looking-at-p'.
7792
7793 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7794 (direct-print-region-helper): Use `string-match-p'.
7795
7796 2013-06-21 Leo Liu <sdl.web@gmail.com>
7797
7798 * comint.el (comint-redirect-results-list-from-process):
7799 Fix infinite loop.
7800
7801 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
7803 * net/eww.el (eww-update-header-line-format): Quote % characters.
7804
7805 2013-06-21 Glenn Morris <rgm@gnu.org>
7806
7807 * play/cookie1.el (cookie): New custom group.
7808 (cookie-file): New option.
7809 (cookie-check-file): New function.
7810 (cookie): Make it interactive. Make start and end messages optional.
7811 Interactively, display the result. Default to cookie-file.
7812 (cookie-insert): Default to cookie-file.
7813 (cookie-snarf): Make start and end messages optional.
7814 Default to cookie-file. Use with-temp-buffer.
7815 (cookie-read): Rename from read-cookie.
7816 Make start and end messages optional. Default to cookie-file.
7817 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7818 Do not autoload it.
7819 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7820 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7821
7822 2013-06-21 Leo Liu <sdl.web@gmail.com>
7823
7824 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7825
7826 2013-06-21 Glenn Morris <rgm@gnu.org>
7827
7828 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7829
7830 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7831 Daniel Hackney <dan@haxney.org>
7832
7833 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7834 Consolidate the single-file vs tarball code.
7835 (package-desc-suffix): New function.
7836 (package-desc-full-name): Don't bother inlining it.
7837 (package-load-descriptor): Return the new package-desc.
7838 (package-mark-obsolete): Remove unused arg `package'.
7839 (package-unpack): Make it work for single files as well.
7840 Make it update package-alist.
7841 (package--make-autoloads-and-stuff): Rename from
7842 package--make-autoloads-and-compile. Don't compile any more.
7843 (package--compile): New function.
7844 (package-generate-description-file): New function, extracted from
7845 package-unpack-single.
7846 (package-unpack-single): Remove.
7847 (package--with-work-buffer): Add indentation and debugging info.
7848 (package-download-single): Remove.
7849 (package-install-from-archive): Rename from package-download-tar, make
7850 it take a pkg-desc, and make it work for single files as well.
7851 (package-download-transaction): Simplify.
7852 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7853 external tar program.
7854 (package-install-from-buffer): Remove `pkg-desc' argument.
7855 Use package-tar-file-info for tar-mode buffers.
7856 (package-install-file): Simplify accordingly.
7857 (package-archive-base): Change to take a pkg-desc.
7858 * tar-mode.el (tar--check-descriptor): New function, extracted from
7859 tar-get-descriptor.
7860 (tar-get-descriptor): Use it.
7861 (tar-get-file-descriptor): New function.
7862 (tar--extract): New function, extracted from tar-extract.
7863 (tar--extract): Use it.
7864 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7865 case the summary uses non-ascii. Adjust to new calling convention of
7866 package-tar-file-info.
7867
7868 2013-06-21 Leo Liu <sdl.web@gmail.com>
7869
7870 * comint.el (comint-redirect-results-list-from-process):
7871 Fix random delay. (Bug#14681)
7872
7873 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7874
7875 * profiler.el (profiler-format-number): Use log, not log10.
7876
7877 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7878
7879 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7880
7881 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7884 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7885 yet available.
7886 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7887 (AUTOGENEL): ... here.
7888 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7889 (cl--defsubst-expand): Use it.
7890
7891 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7892
7893 * subr.el (log10): Move here from C code, and declare as obsolete.
7894 All uses of (log10 X) replaced with (log X 10).
7895
7896 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7899 Declare with `defvar-local'.
7900 (tabulated-list-use-header-line, tabulated-list-entries)
7901 (tabulated-list-padding, tabulated-list-printer)
7902 (tabulated-list-sort-key): Declare with `defvar-local'.
7903 (tabulated-list-init-header, tabulated-list-print-fake-header):
7904 Use `setq-local'.
7905
7906 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7907
7908 * arc-mode.el (archive-mode): Add `archive-write-file' to
7909 `write-contents-functions' also for remote files. (Bug#14652)
7910
7911 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * cus-edit.el (custom-commands): Fix typos.
7914 (custom-display): Fix tooltip text.
7915 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7916 Fix typos in docstrings.
7917 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7918 (custom-unlispify-menu-entry, custom-magic-value-create)
7919 (custom-add-see-also, custom-group-value-create): Use ?\s.
7920 (custom-guess-type, customize-apropos, editable-field)
7921 (custom-face-value-create): Use `string-match-p'.
7922 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7923
7924 * custom.el (custom-load-symbol): Use `string-match-p'.
7925
7926 * ansi-color.el: Convert to lexical binding.
7927 (ansi-colors): Fix URL.
7928 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7929 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7930 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7931
7932 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933
7934 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7935
7936 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7937
7938 2013-06-19 Tom Tromey <tromey@redhat.com>
7939
7940 * net/eww.el (eww-top-url): Remove.
7941 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7942 (eww-render): Set new variables. Don't set eww-top-url.
7943 (eww-handle-link): Handle "prev", "home", and "contents".
7944 Downcase the rel text.
7945 (eww-top-url): Choose best top URL.
7946
7947 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7948
7949 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7950 relying in widget.el. Using widget.el leads to too many
7951 user interface inconsistencies.
7952 (eww-self-insert): Implement entering commands in text fields.
7953 (eww-process-text-input): New function to make text input field editing
7954 work.
7955 (eww-submit): Rewrite to use the new-style form methods.
7956 (eww-select-display): Display the correct selected item.
7957 (eww-change-select): Implement changing the select value.
7958 (eww-toggle-checkbox): Implement radio/checkboxes.
7959 (eww-update-field): Fix compilation error.
7960 (eww-tag-textarea): Implement <textarea>.
7961
7962 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7963 we don't shadow mode-specific bindings.
7964
7965 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7966 nothing to push.
7967
7968 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7969
7970 2013-06-19 Glenn Morris <rgm@gnu.org>
7971
7972 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7973
7974 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7975
7976 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7977 not needed.
7978
7979 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7980
7981 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * net/browse-url.el (browse-url-browser-function):
7984 `eww-browse-url' has the right calling signature, `eww' does not.
7985
7986 2013-06-19 Glenn Morris <rgm@gnu.org>
7987
7988 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7989 Only eval autoloaded macros.
7990 (byte-compile-autoload): Only give the macro warning for macros.
7991
7992 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7993 (ps-underlined-faces): Declare.
7994
7995 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7996 (speedbar-add-supported-extension): Declare.
7997
7998 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7999 Don't include a date stamp in the header of the generated file;
8000 it leads to needless differences between output files.
8001
8002 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8003
8004 * net/secrets.el (secrets-struct-secret-content-type):
8005 Replace check of introspection data by a test call of "CreateItem".
8006 Some servers do not offer introspection.
8007
8008 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8009
8010 * electric.el (electric-pair-mode): Improve interaction with
8011 electric-layout-mode.
8012 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8013 (electric-pair-syntax): Use text-mode-syntax-table in comments
8014 and strings.
8015 (electric-pair--insert): New function.
8016 (electric-pair-post-self-insert-function): Use it and
8017 electric--after-char-pos.
8018
8019 2013-06-19 Leo Liu <sdl.web@gmail.com>
8020
8021 * progmodes/octave.el (octave-help): Fix regexp.
8022
8023 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8024
8025 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8026 (shr-table-horizontal-line): Allow nil as a value, and change the
8027 default.
8028 (shr-insert-table-ruler): Respect the nil value.
8029
8030 2013-06-18 Tom Tromey <tromey@barimba>
8031
8032 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8033 New defvars.
8034 (eww-open-file): New defun.
8035 (eww-render): Initialize new variables.
8036 (eww-display-html): Handle "link" and "a".
8037 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8038 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8039 (eww-back-url): Rename from eww-previous-url.
8040 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8041 New defuns.
8042
8043 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8044
8045 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8046 Distinguish ternary operator tokens from slash symbol and slash
8047 char literal.
8048
8049 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8050
8051 Convert symbol prettification into minor mode and global minor mode.
8052
8053 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8054 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8055 (prettify-symbols--keywords): Rename from
8056 `prog-prettify-symbols-alist' and make a local defvar.
8057 (prettify-symbols--compose-symbol): Rename from
8058 `prog--prettify-font-lock-compose-symbol'.
8059 (prettify-symbols--make-keywords): Rename from
8060 `prog-prettify-font-lock-symbols-keywords' and simplify.
8061 (prog-prettify-install): Remove.
8062 (prettify-symbols-mode): New minor mode, based on
8063 `prog-prettify-install'.
8064 (turn-on-prettify-symbols-mode): New function.
8065 (global-prettify-symbols-mode): New globalized minor mode.
8066
8067 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8068 * progmodes/cfengine.el (cfengine3-mode):
8069 * progmodes/perl-mode.el (perl-mode): Don't call
8070 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8071
8072 2013-06-18 Juri Linkov <juri@jurta.org>
8073
8074 * files-x.el (modify-file-local-variable-message): New function.
8075 (modify-file-local-variable)
8076 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8077 and call `modify-file-local-variable-message' when it's non-nil.
8078 (add-file-local-variable, delete-file-local-variable)
8079 (add-file-local-variable-prop-line)
8080 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8081 and use it. (Bug#9820)
8082
8083 2013-06-18 Juri Linkov <juri@jurta.org>
8084
8085 * emulation/vi.el (vi-shell-op):
8086 * emulation/vip.el (vip-execute-com, ex-command):
8087 * emulation/viper-cmd.el (viper-exec-bang):
8088 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8089 the call of `shell-command-on-region'. (Bug#14637)
8090
8091 * simple.el (shell-command-on-region): Doc fix.
8092
8093 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8096 (bug#14633).
8097
8098 2013-06-18 Glenn Morris <rgm@gnu.org>
8099
8100 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8101
8102 * newcomment.el (comment-search-forward, comment-search-backward):
8103 Doc fix. (Bug#14376)
8104
8105 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8108 (buffer-face-mode-invoke): Doc fix.
8109
8110 2013-06-18 Matthias Meulien <orontee@gmail.com>
8111
8112 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8113 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8114
8115 2013-06-18 Glenn Morris <rgm@gnu.org>
8116
8117 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8118 Replace obsolete function generic-make-keywords with its expansion.
8119
8120 * progmodes/python.el (ffap-alist): Declare.
8121
8122 * textmodes/reftex.el (bibtex-mode-map): Declare.
8123
8124 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8127 (package-unpack, package-unpack-single): Return the pkg-dir.
8128 (package-download-transaction): Use it to update package-alist.
8129
8130 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8131
8132 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8133 possible choice.
8134
8135 2013-06-17 Juri Linkov <juri@jurta.org>
8136
8137 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8138
8139 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8140
8141 * emacs-lisp/package.el (package-load-descriptor):
8142 Remove `with-syntax-table' call, `read' doesn't need it.
8143 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8144
8145 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * startup.el (command-line): Expand package name returned by
8148 `package--description-file' (bug#14639).
8149
8150 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8151
8152 * emacs-lisp/package.el (package-load-descriptor): Do not call
8153 `emacs-lisp-mode', just use its syntax table.
8154
8155 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8158 `font-lock-extra-managed-props' if any prettifying keyword is added.
8159 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8160 (prog-mode): Use `setq-local'.
8161
8162 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * international/characters.el (standard-case-table): Set syntax of ?»
8165 and ?« to punctuation.
8166
8167 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8168
8169 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8170 Save relevant match data before calling `syntax-ppss' (bug#14595).
8171
8172 2013-06-15 Juri Linkov <juri@jurta.org>
8173
8174 * files-x.el (modify-file-local-variable-prop-line): Add local
8175 variables to the end of the existing comment on the first line.
8176 Use `file-auto-mode-skip' to skip interpreter magic line,
8177 and also skip XML declaration.
8178
8179 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * startup.el (package--builtin-versions): New var.
8182 (package-subdirectory-regexp): Remove.
8183 (package--description-file): Hard code its value instead.
8184
8185 * emacs-lisp/package.el: Don't activate packages older than builtin.
8186 (package-obsolete-list): Rename from package-obsolete-alist, and make
8187 it into a simple list of package-desc.
8188 (package-strip-version): Remove.
8189 (package-built-in-p): Use package--builtin-versions.
8190 (package-mark-obsolete): Simplify.
8191 (package-process-define-package): Mark it obsolete if older than the
8192 builtin version.
8193 (package-handle-response): Use line-end-position.
8194 (package-read-archive-contents, package--download-one-archive):
8195 Simplify.
8196 (package--add-to-archive-contents): Skip if older than the builtin or
8197 installed version.
8198 (package-menu-describe-package): Fix last change.
8199 (package-list-unversioned): New var.
8200 (package-menu--generate): Use it.
8201
8202 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8203 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8204 (autoload-builtin-package-versions): New variable.
8205 (autoload-generate-file-autoloads): Use them.
8206 Remove the list of autoloaded functions/macros from the
8207 (autoload...) comments.
8208
8209 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8210
8211 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8212
8213 * simple.el (line-move-partial): Don't jump to the next screen
8214 line as soon as it becomes visible. Instead, continue enlarging
8215 the vscroll until the portion of a tall screen line that's left on
8216 display is about the height of the frame's default font.
8217 (Bug#14567)
8218
8219 2013-06-15 Glenn Morris <rgm@gnu.org>
8220
8221 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8222 compilation-error-regexp-alist void, or local while let-bound.
8223
8224 * progmodes/make-mode.el (makefile-mode-syntax-table):
8225 Treat "=" as punctuation. (Bug#14614)
8226
8227 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * help-fns.el (describe-variable):
8230 Add extra line for permanent-local variables.
8231
8232 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8233
8234 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8235 Add export, import, library. (Bug#9164)
8236 (library): Set indent function.
8237
8238 2013-06-14 Glenn Morris <rgm@gnu.org>
8239
8240 * term/xterm.el (xterm--query):
8241 Stop after first matching handler. (Bug#14615)
8242
8243 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8244
8245 Add support for dired in saveplace.
8246 * dired.el (dired-initial-position-hook): New variable.
8247 (dired-initial-position): Call hook to place cursor position.
8248 * saveplace.el (save-place-to-alist): Add dired position.
8249 (save-place-dired-hook): New function.
8250
8251 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8254 through a symbol rather than letrec.
8255
8256 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8257 (package-desc): Add `dir' field.
8258 (package-desc-full-name): New function.
8259 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8260 (package-maybe-load-descriptor): Remove.
8261 (package-load-all-descriptors): Just call package-load-descriptor.
8262 (package--disabled-p): New function.
8263 (package-desc-vers, package-desc-doc): Remove aliases.
8264 (package--dir): Remove function.
8265 (package-activate): Check if a package is disabled.
8266 (package-process-define-package): New function, extracted from
8267 define-package.
8268 (define-package): Turn into a place holder.
8269 (package-unpack-single, package-tar-file-info):
8270 Use package--description-file.
8271 (package-compute-transaction): Use package--disabled-p.
8272 (package-download-transaction): Don't call
8273 package-maybe-load-descriptor since they're all loaded anyway.
8274 (package-install): Change argument to be a pkg-desc.
8275 (package-delete): Use a single pkg-desc argument.
8276 (describe-package-1): Use package-desc-dir instead of package--dir.
8277 Use package-desc property instead of package-symbol.
8278 (package-install-button-action): Adjust accordingly.
8279 (package--push): Rewrite.
8280 (package-menu--print-info): Adjust accordingly. Change the ID format
8281 to be a pkg-desc.
8282 (package-menu-describe-package, package-menu-get-status)
8283 (package-menu--find-upgrades, package-menu-mark-upgrades)
8284 (package-menu-execute, package-menu--name-predicate):
8285 Adjust accordingly.
8286 * startup.el (package--description-file): New function.
8287 (command-line): Use it.
8288 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8289 Use package-desc-version.
8290
8291 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8292 (byte-compile-preprocess): Use it.
8293 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8294 can't quite recognize.
8295 (byte-compile-add-to-list): Remove.
8296 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8297 (cconv-closure-convert): Add assertion.
8298
8299 * emacs-lisp/map-ynp.el: Use lexical-binding.
8300 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8301 Factor out some repeated code.
8302
8303 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * subr.el (with-eval-after-load): New macro.
8306 (eval-after-load): Allow form to be a function.
8307 take advantage of lexical-binding.
8308 (do-after-load-evaluation): Use dolist and adjust to new format.
8309 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8310
8311 2013-06-13 Juri Linkov <juri@jurta.org>
8312
8313 * replace.el (perform-replace): Display "symbol " and other search
8314 modes from `isearch-message-prefix' in the *Help* buffer.
8315
8316 * isearch.el (isearch-query-replace): Add " symbol" and other
8317 possible search modes from `isearch-message-prefix' to the prompt.
8318 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8319 when reading a regexp to collect.
8320
8321 2013-06-13 Juri Linkov <juri@jurta.org>
8322
8323 * isearch.el (word-search-regexp): Match whitespace if the search
8324 string begins or ends in whitespace. The LAX arg is applied to
8325 both ends of the search string. Use `regexp-quote' and explicit
8326 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8327 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8328 boundaries are replaced with symbol boundaries, and characters
8329 between symbols match non-word non-symbol syntax. (Bug#14602)
8330
8331 2013-06-13 Juri Linkov <juri@jurta.org>
8332
8333 * isearch.el (isearch-del-char): Don't exceed the length of
8334 `isearch-string' by the prefix arg. (Bug#14563)
8335
8336 2013-06-13 Juri Linkov <juri@jurta.org>
8337
8338 * isearch.el (isearch-yank-word, isearch-yank-line)
8339 (isearch-char-by-name, isearch-quote-char)
8340 (isearch-printing-char, isearch-process-search-char):
8341 Add optional count prefix arg. (Bug#14563)
8342
8343 * international/isearch-x.el
8344 (isearch-process-search-multibyte-characters):
8345 Add optional count prefix arg.
8346
8347 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8350 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8351 lexical-binding.
8352
8353 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8354
8355 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8356
8357 2013-06-13 Glenn Morris <rgm@gnu.org>
8358
8359 * startup.el (tty-handle-args):
8360 Don't just discard "--" and anything after. (Bug#14608)
8361
8362 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8363
8364 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8365
8366 Implement changes in Secret Service API. Make it backward compatible.
8367 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8368 (secrets-create-item): Use it. Prefix properties with interface.
8369
8370 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8371
8372 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8373 (term-emulate-terminal): Respect term-suppress-hard-newline.
8374
8375 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8376
8377 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8378 Only remove a `thumb-file' overlay. (Bug#14548)
8379
8380 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8381
8382 * mail/reporter.el (reporter-submit-bug-report):
8383 Handle missing package-name. (Bug#14600)
8384
8385 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8386
8387 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8388 (reftex-citation-prompt, reftex-default-bibliography)
8389 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8390 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8391 (reftex-bib-sort-author, reftex-bib-sort-year)
8392 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8393 (reftex-extract-bib-entries-from-thebibliography)
8394 (reftex-get-bibkey-default, reftex-get-bib-names)
8395 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8396 (reftex-format-bib-entry, reftex-parse-bibitem)
8397 (reftex-format-bibitem, reftex-do-citation)
8398 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8399 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8400 (reftex-insert-bib-matches, reftex-format-citation)
8401 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8402 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8403 existing comments into docstrings.
8404
8405 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8406
8407 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8408
8409 2013-06-12 Andreas Schwab <schwab@suse.de>
8410
8411 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8412 for auto-save files.
8413
8414 2013-06-12 Glenn Morris <rgm@gnu.org>
8415
8416 * ido.el (ido-delete-ignored-files): Remove.
8417 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8418 Go back to calling ido-ignore-item-p directly.
8419
8420 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8421
8422 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8423
8424 * ido.el (ido-delete-ignored-files): New function,
8425 split from ido-make-file-list-1.
8426 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8427 (ido-make-file-list-1): Use ido-delete-ignored-files.
8428
8429 2013-06-12 Leo Liu <sdl.web@gmail.com>
8430
8431 * progmodes/octave.el (inferior-octave-startup)
8432 (inferior-octave-completion-table)
8433 (inferior-octave-track-window-width-change)
8434 (octave-eldoc-function-signatures, octave-help)
8435 (octave-find-definition): Use single quoted strings.
8436 (inferior-octave-startup-args): Change default value.
8437 (inferior-octave-startup): Do not hard code "-i" and
8438 "--no-line-editing".
8439 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8440 (inferior-octave-directory-tracker): Use it.
8441 (octave-goto-function-definition): Robustify.
8442 (octave-help): Support highlighting operators in 'See also'.
8443 (octave-find-definition): Find subfunctions only in Octave mode.
8444
8445 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * help-fns.el (help-fns--compiler-macro): If the handler function is
8448 named, then put a link to it.
8449 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8450 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8451 (cl-typep): Use it.
8452 (cl-eval-when): Simplify debug spec.
8453 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8454 compiler-macro function instead of setting `compiler-macro-file'.
8455
8456 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8457
8458 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8459 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8460
8461 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8462 Daniel Hackney <dan@haxney.org>
8463
8464 First part of Daniel Hackney's patch to package.el.
8465 * emacs-lisp/package.el: Use defstruct.
8466 (package-desc): New, main struct.
8467 (package--bi-desc, package--ac-desc): New structs, used to describe the
8468 format in external files.
8469 (package-desc-vers): Replace with package-desc-version accessor.
8470 (package-desc-doc): Replace with package-desc-summary accessor.
8471 (package-activate-1): Remove `package' arg since the pkg-vec now
8472 includes the name.
8473 (define-package): Use package-desc-from-define.
8474 (package-unpack-single): Change file-name arg to be a symbol.
8475 (package--add-to-archive-contents): Use package-desc-create and new
8476 accessor functions to package--ac-desc.
8477 (package-buffer-info, package-tar-file-info): Return a package-desc.
8478 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8479 arg to be a package-desc.
8480 (package-install-file): Adjust accordingly. Use \' to match EOS.
8481 (package--from-builtin): New function.
8482 (describe-package-1, package-menu--generate): Use it.
8483 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8484 (package-generate-autoloads): Idem and return the name of the file.
8485 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8486 Change pkg-info arg to be a package-desc.
8487 Use package-make-ac-desc.
8488 (package-upload-file): Use \' to match EOS.
8489 * finder.el (finder-compile-keywords): Use package-make-builtin.
8490
8491 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * vc/vc.el (vc-deduce-fileset): Change error message.
8494 (vc-read-backend): New function.
8495 (vc-next-action): Use it.
8496
8497 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8498
8499 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8500 (prolog-font-lock-keywords): Use regexp-opt instead.
8501 Don't manually highlight strings.
8502 (prolog-mode-variables): Simplify comment-start-skip.
8503 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8504
8505 * emacs-lisp/generic.el (generic--normalise-comments)
8506 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8507 (generic-mode-set-comments): Use them.
8508 (generic-bracket-support): Use setq-local.
8509 (generic-make-keywords-list): Declare obsolete.
8510
8511 2013-06-11 Glenn Morris <rgm@gnu.org>
8512
8513 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8514 Prettify after setting font-lock-defaults. (Bug#14574)
8515
8516 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8517
8518 * replace.el (query-replace, occur-read-regexp-defaults-function)
8519 (replace-search):
8520 * subr.el (declare-function, number-sequence, local-set-key)
8521 (substitute-key-definition, locate-user-emacs-file)
8522 (with-silent-modifications, split-string, eval-after-load):
8523 Fix typos, remove unneeded backslashes and reflow some docstrings.
8524
8525 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8528 default for Elisp files.
8529
8530 2013-06-11 Glenn Morris <rgm@gnu.org>
8531
8532 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8533 although define-derived-mode was doing this anyway. (Bug#14583)
8534
8535 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8536
8537 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8538 Fix make-variable-buffer-local call to refer to the correct variable.
8539
8540 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8541
8542 * eshell/em-term.el (eshell-visual-commands)
8543 (eshell-visual-subcommands, eshell-visual-options):
8544 Add summary line to docstrings. Add cross-references.
8545
8546 2013-06-10 Glenn Morris <rgm@gnu.org>
8547
8548 * epa.el (epa-read-file-name): New function. (Bug#14510)
8549 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8550
8551 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8552
8553 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8554 output redirection to be ignored with visual commands.
8555
8556 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8557
8558 * eshell/em-term.el (eshell-visual-command-p): New function.
8559 (eshell-term-initialize): Move long lambda to separate function
8560 eshell-visual-command-p.
8561 * eshell/em-dirs.el (eshell-dirs-initialise):
8562 * eshell/em-script.el (eshell-script-initialize):
8563 Add missing #' to lambda.
8564
8565 2013-06-08 Leo Liu <sdl.web@gmail.com>
8566
8567 * progmodes/octave.el (octave-add-log-current-defun): New function.
8568 (octave-mode): Set add-log-current-defun-function.
8569 (octave-goto-function-definition): Do not move point if not found.
8570 (octave-find-definition): Enhance to try subfunctions first.
8571
8572 2013-06-08 Glenn Morris <rgm@gnu.org>
8573
8574 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8575 (byte-compile-backward-char, byte-compile-backward-word):
8576 Improve previous change, to handle non-explicit nil.
8577
8578 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8581 (smie--opener/closer-at-point): New function.
8582 (smie--matching-block-data): Use it. Don't match from right after an
8583 opener or right before a closer. Obey smie-blink-matching-inners.
8584 Don't signal a mismatch for repeated inners like "switch..case..case".
8585
8586 2013-06-07 Leo Liu <sdl.web@gmail.com>
8587
8588 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8589 to t. (Bug#14303)
8590 (octave-function-header-regexp): Fix. (Bug#14570)
8591 (octave-help-mode-finish-hook, octave-help-mode-finish):
8592 Remove. Just use temp-buffer-show-hook.
8593
8594 * newcomment.el (comment-search-backward): Revert last change.
8595 (Bug#14434)
8596
8597 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8598
8599 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8600
8601 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8602 through xargs, to avoid failure due to MS-Windows limitations on
8603 command-line length.
8604
8605 2013-06-06 Glenn Morris <rgm@gnu.org>
8606
8607 * font-lock.el (lisp-font-lock-keywords-2):
8608 Treat user-error like error.
8609
8610 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8611 (byte-compile-backward-char, byte-compile-backward-word):
8612 Handle explicit nil arguments. (Bug#14565)
8613
8614 2013-06-05 Alan Mackenzie <acm@muc.de>
8615
8616 * isearch.el (isearch-allow-prefix): New user option.
8617 (isearch-other-meta-char): Don't exit isearch when a prefix
8618 argument is typed whilst `isearch-allow-prefix' is non-nil.
8619 (Bug#9706)
8620
8621 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * autorevert.el (auto-revert-notify-handler): Use memq.
8624 Hide assertion failure.
8625
8626 * skeleton.el: Use cl-lib.
8627 (skeleton-further-elements): Use defvar-local.
8628 (skeleton-insert): Use cl-progv.
8629
8630 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8631
8632 * progmodes/prog-mode.el (prog-prettify-symbols)
8633 (prog-prettify-install): Update docstrings.
8634
8635 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * simple.el: Move all the prog-mode code to prog-mode.el.
8638 * progmodes/prog-mode.el: New file.
8639 * loadup.el: Add prog-mode.el.
8640
8641 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8642
8643 * simple.el (prog-prettify-symbols): Add version.
8644 (prog-prettify-install): Add convenience function to prettify symbols.
8645
8646 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8647 (perl--augmented-font-lock-keywords-1)
8648 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8649 variables and use it.
8650
8651 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8652 (cfengine3-mode): Remove unneeded variable and use it.
8653
8654 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8655 (lisp--augmented-font-lock-keywords-1)
8656 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8657 Remove unneeded variables and use it.
8658
8659 2013-06-05 João Távora <joaotavora@gmail.com>
8660
8661 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8662 to point when opening the connection. (Bug#14380)
8663
8664 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * subr.el (load-history-regexp, load-history-filename-element)
8667 (eval-after-load, after-load-functions, do-after-load-evaluation)
8668 (eval-next-after-load, display-delayed-warnings)
8669 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8670 definition of save-match-data.
8671 (overriding-local-map): Remove accidental obsolescence declaration.
8672
8673 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8674
8675 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8676
8677 Generalize symbol prettify support to prog-mode and implement it
8678 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8679 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8680 (prog--prettify-font-lock-compose-symbol)
8681 (prog-prettify-font-lock-symbols-keywords): New variables and
8682 functions to support symbol prettification.
8683 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8684 (lisp--augmented-font-lock-keywords-1)
8685 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8686 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8687 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8688 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8689 Implement prettify of -> => :: strings.
8690 * progmodes/perl-mode.el (perl-prettify-symbols)
8691 (perl--font-lock-compose-symbol)
8692 (perl--font-lock-symbols-keywords): Move to prog-mode.
8693 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8694 (perl-font-lock-keywords-1)
8695 (perl-font-lock-keywords-2): Remove explicit prettify support.
8696 (perl--augmented-font-lock-keywords)
8697 (perl--augmented-font-lock-keywords-1)
8698 (perl--augmented-font-lock-keywords-2, perl-mode):
8699 Implement prettify support.
8700
8701 2013-06-05 Leo Liu <sdl.web@gmail.com>
8702
8703 Re-implement smie matching block highlight using
8704 show-paren-data-function. (Bug#14395)
8705 * emacs-lisp/smie.el (smie-matching-block-highlight)
8706 (smie--highlight-matching-block-overlay)
8707 (smie--highlight-matching-block-lastpos)
8708 (smie-highlight-matching-block)
8709 (smie-highlight-matching-block-mode): Remove.
8710 (smie--matching-block-data-cache): New variable.
8711 (smie--matching-block-data): New function.
8712 (smie-setup): Use smie--matching-block-data for
8713 show-paren-data-function.
8714
8715 * progmodes/octave.el (octave-mode-menu): Fix.
8716 (octave-find-definition): Skip garbage lines.
8717
8718 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 Fix compilation error with simultaneous dynamic+lexical scoping.
8721 Add warning when a defvar appears after the first let-binding.
8722 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8723 (byte-compile-close-variables): Initialize it.
8724 (byte-compile--declare-var): New function.
8725 (byte-compile-file-form-defvar)
8726 (byte-compile-file-form-define-abbrev-table)
8727 (byte-compile-file-form-custom-declare-variable): Use it.
8728 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8729 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8730 (byte-compile-bind): Handle dynamic bindings that shadow
8731 lexical bindings.
8732 (byte-compile-unbind): Make arg non-optional.
8733 (byte-compile-let): Simplify.
8734 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8735 (cconv--analyse-function, cconv-analyse-form): Populate it.
8736 Protect byte-compile-bound-variables to limit the scope of defvars.
8737 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8738 Remove unneeded rule for `declare'.
8739
8740 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8741 so as to avoid depending on cl-adjoin at run-time.
8742 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8743
8744 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8745 (macroexp--warn-and-return): Use it.
8746
8747 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * lisp/subr.el: Convert to lexical binding.
8750 (overriding-local-map): Make obsolete.
8751 (add-to-list): Doc fix. Add compiler macro.
8752 (read-key): Swap values of local maps.
8753
8754 2013-06-05 Leo Liu <sdl.web@gmail.com>
8755
8756 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8757
8758 2013-06-04 Leo Liu <sdl.web@gmail.com>
8759
8760 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8761 (compilation-auto-jump): Suppress the "Mark set" message to give
8762 way to exit message.
8763
8764 2013-06-04 Alan Mackenzie <acm@muc.de>
8765
8766 Remove faulty optimisation from indentation calculation.
8767 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8768 search limit based on 2000 characters back from indent-point.
8769
8770 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8771
8772 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8773
8774 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8775
8776 * emacs-lisp/lisp.el: Use lexical-binding.
8777 (lisp--local-variables-1, lisp--local-variables): New functions.
8778 (lisp--local-variables-completion-table): New var.
8779 (lisp-completion-at-point): Use it complete let-bound vars.
8780
8781 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8782 eagerly (bug#14422).
8783
8784 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8785
8786 * autorevert.el (auto-revert-notify-enabled)
8787 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8788 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8789 (auto-revert-notify-handler): Handle also gfilenotify.
8790
8791 * subr.el (file-notify-handle-event): New defun. Replacing ...
8792 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8793 Remove.
8794
8795 2013-06-03 Juri Linkov <juri@jurta.org>
8796
8797 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8798 `M-s h .'. (Bug#14427)
8799
8800 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8801 command `hi-lock-face-symbol-at-point'.
8802 (hi-lock-face-symbol-at-point): New command.
8803 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8804 (hi-lock-menu): Add `highlight-symbol-at-point'.
8805 (hi-lock-mode): Doc fix.
8806
8807 * isearch.el (isearch-forward-symbol-at-point): New command.
8808 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8809 (isearch-highlight-regexp): Add a regexp which matches
8810 words/symbols for word/symbol mode.
8811
8812 * subr.el (find-tag-default-bounds): New function with the body
8813 mostly moved from `find-tag-default'.
8814 (find-tag-default): Move most code to `find-tag-default-bounds',
8815 call it and apply `buffer-substring-no-properties' afterwards.
8816
8817 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8818
8819 * eshell/em-term.el (eshell-term-initialize):
8820 Use `cl-intersection' rather than `intersection'.
8821
8822 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8823
8824 * vc/log-view.el: Doc fix.
8825 (log-view-mode-map): Copy keymap from `special-mode-map'.
8826
8827 2013-06-02 Eric Ludlam <zappo@gnu.org>
8828
8829 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8830 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8831 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8832 (eieio-unbound, eieio-default-superclass)
8833 (eieio--define-field-accessors, method-static, method-before)
8834 (method-primary, method-after, method-num-lists)
8835 (method-generic-before, method-generic-primary)
8836 (method-generic-after, method-num-slots)
8837 (eieio-specialized-key-to-generic-key)
8838 (eieio--check-type, class-v, class-p)
8839 (eieio-class-name, define-obsolete-function-alias)
8840 (eieio-class-parents-fast, eieio-class-children-fast)
8841 (same-class-fast-p, class-constructor, generic-p)
8842 (generic-primary-only-p, generic-primary-only-one-p)
8843 (class-option-assoc, class-option, eieio-object-p)
8844 (class-abstract-p, class-method-invocation-order)
8845 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8846 (eieio-class-un-autoload, eieio-defclass)
8847 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8848 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8849 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8850 (eieio-defgeneric-reset-generic-form)
8851 (eieio-defgeneric-form-primary-only)
8852 (eieio-defgeneric-reset-generic-form-primary-only)
8853 (eieio-defgeneric-form-primary-only-one)
8854 (eieio-defgeneric-reset-generic-form-primary-only-one)
8855 (eieio-unbind-method-implementations)
8856 (eieio--defmethod, eieio--typep)
8857 (eieio-perform-slot-validation, eieio-validate-slot-value)
8858 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8859 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8860 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8861 (eieio-slot-name-index, eieio-class-slot-name-index)
8862 (eieio-set-defaults, eieio-initarg-to-attribute)
8863 (eieio-attribute-to-initarg, eieio-c3-candidate)
8864 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8865 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8866 (eieio-class-precedence-list, eieio-generic-call-methodname)
8867 (eieio-generic-call-arglst, eieio-generic-call-key)
8868 (eieio-generic-call-next-method-list)
8869 (eieio-pre-method-execution-functions, eieio-generic-call)
8870 (eieio-generic-call-primary-only, eieiomt-method-list)
8871 (eieiomt-optimizing-obarray, eieiomt-install)
8872 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8873 (eieio-generic-form, eieio-defmethod, make-obsolete)
8874 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8875 (defclass): Remove `eval-and-compile' from macro.
8876 (call-next-method, shared-initialize): Instead of using
8877 `scoped-class' variable, use new eieio--scoped-class, and
8878 eieio--with-scoped-class.
8879 (initialize-instance): Rename local variable 'scoped-class' to
8880 'this-class' to remove ambiguitity from old global.
8881
8882 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8883 eieio.el.
8884 (eieio--scoped-class-stack): New variable.
8885 (eieio--scoped-class): New fcn.
8886 (eieio--with-scoped-class): New scoping macro.
8887 (eieio-defclass): Use pushnew instead of add-to-list.
8888 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8889 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8890 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8891 `scoped-class' variable, use new eieio--scoped-class, and
8892 eieio--with-scoped-class.
8893
8894 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8895
8896 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8897
8898 * eshell/esh-ext.el (eshell-external-command): Pass args to
8899 `eshell-find-interpreter'.
8900 (eshell-find-interpreter): Add new second parameter ARGS.
8901
8902 * eshell/em-script.el (eshell-script-initialize): Add second arg
8903 to the function added as MATCH to `eshell-interpreter-alist'.
8904
8905 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8906 the function added as MATCH to `eshell-interpreter-alist'.
8907
8908 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8909 (eshell-visual-options): New defcustom.
8910 (eshell-escape-control-x): Adapt docstring.
8911 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8912 `eshell-visual-options' in addition to `eshell-visual-commands'.
8913 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8914
8915 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8916
8917 * progmodes/python.el (python-indent-block-enders): Add break,
8918 continue and raise keywords.
8919
8920 2013-06-01 Glenn Morris <rgm@gnu.org>
8921
8922 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8923
8924 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8925 * progmodes/cc-cmds.el (delete-forward-p):
8926 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8927 * progmodes/cc-engine.el (buffer-syntactic-context):
8928 * progmodes/cc-fonts.el (face-property-instance):
8929 * progmodes/cc-mode.el (set-keymap-parents):
8930 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8931 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8932 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8933 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8934 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8935
8936 * progmodes/cc-vars.el (other): Emacs has this widget since
8937 at least 21.1, so don't (re)define it.
8938
8939 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8940 Replace the obsolete alias pcomplete-arg-quote-list.
8941
8942 2013-06-01 Leo Liu <sdl.web@gmail.com>
8943
8944 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8945 punctuation syntax.
8946 (inferior-octave-minimal-columns)
8947 (inferior-octave-last-column-width): New variables.
8948 (inferior-octave-track-window-width-change): New function.
8949 (inferior-octave-mode): Adjust column width so that Octave output,
8950 for example from 'ls', can fit into the window nicely.
8951
8952 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8953
8954 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8955 Highlight expansions inside regexp literals.
8956
8957 2013-05-31 Glenn Morris <rgm@gnu.org>
8958
8959 * obsolete/sym-comp.el (symbol-complete):
8960 Replace obsolete completion-annotate-function.
8961
8962 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8963
8964 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8965
8966 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8967 New function, checks if point is inside a literal that allows
8968 expression expansion.
8969 (ruby-syntax-propertize-expansion): Use it.
8970 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8971 around the body.
8972
8973 2013-05-30 Juri Linkov <juri@jurta.org>
8974
8975 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8976 to "\M-si".
8977 (isearch-invisible): New variable.
8978 (isearch-forward): Doc fix.
8979 (isearch-mode): Set `isearch-invisible'
8980 to the value of `search-invisible'.
8981 (isearch-toggle-case-fold): Doc fix.
8982 (isearch-toggle-invisible): New command.
8983 (isearch-query-replace): Let-bind `search-invisible'
8984 to the value of `isearch-invisible'.
8985 (isearch-search): Use `isearch-invisible' instead of
8986 `search-invisible'. Let-bind `search-invisible'
8987 to the value of `isearch-invisible'. (Bug#11378)
8988
8989 2013-05-30 Juri Linkov <juri@jurta.org>
8990
8991 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8992 call when `query-flag' is nil and `search-invisible' is non-nil.
8993 (Bug#11746)
8994
8995 2013-05-30 Glenn Morris <rgm@gnu.org>
8996
8997 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8998
8999 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9000 (cc-require): Suppress spurious "noruntime" warnings.
9001 (cc-require-when-compile): Use fboundp, for sake of compiler.
9002
9003 * progmodes/cc-mode.el: Move load of cc-vars before that of
9004 cc-langs (which in turn loads cc-vars), to quieten compiler.
9005
9006 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * paren.el: Simplify the code.
9009 (show-paren-mode): Always start the timer.
9010 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9011 (show-paren--overlay, show-paren--overlay-1): Rename from
9012 show-paren-overlay and show-paren-overlay-1, and initialize to an
9013 overlay rather than to nil.
9014 (show-paren-function): Misc cleanup and simplifications.
9015
9016 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * paren.el (show-paren-data-function): New hook.
9019 (show-paren--default): New function, extracted from show-paren-function.
9020 (show-paren-function): Use show-paren-data-function.
9021
9022 2013-05-30 Glenn Morris <rgm@gnu.org>
9023
9024 * ielm.el (ielm-map, ielm-complete-symbol):
9025 Use completion-at-point rather than obsolete functions.
9026 (inferior-emacs-lisp-mode): Doc fix.
9027 Set completion-at-point-functions, rather than
9028 comint-dynamic-complete-functions.
9029
9030 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9031 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9032 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9033
9034 * image.el (image-animated-p): Tweak definition.
9035
9036 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9037 (rlogin-process-connection-type): Tweak default. Add set-after.
9038 (rlogin-host): Doc fix.
9039 (rlogin): Tweak prompt.
9040 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9041
9042 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9043 * progmodes/tcl.el (inferior-tcl-mode-map):
9044 Use completion-at-point rather than obsolete alias.
9045
9046 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9047
9048 * minibuffer.el (read-file-name-completion-ignore-case):
9049 Move before completion--in-region, for eager macro expansion.
9050
9051 2013-05-29 Juri Linkov <juri@jurta.org>
9052
9053 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9054 for total count of matching lines. Add `global-matches' for total
9055 count of matches. Rename `matches' to `lines' for count of
9056 matching lines. Add `matches' for count of matches.
9057 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9058 to `prev-line' for line number of prev match endpt.
9059 Increment `matches' for every match. Print the number of
9060 matching lines in the header.
9061 (occur-context-lines): Rename `lines' to `curr-line'.
9062 Rename `prev-lines' to `prev-line'. (Bug#14017)
9063
9064 2013-05-29 Juri Linkov <juri@jurta.org>
9065
9066 * replace.el (perform-replace): Add `skip-read-only-count',
9067 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9068 Increment them for corresponding conditions and report the number
9069 of skipped occurrences in the final message. (Bug#11746)
9070 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9071 (replace-string, replace-regexp): Doc fix.
9072
9073 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9074
9075 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9076
9077 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9078 prog-mode-map (bug#14504).
9079
9080 2013-05-29 Leo Liu <sdl.web@gmail.com>
9081
9082 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9083 (octave-help): Small simplification.
9084
9085 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9086 off the highlight first.
9087
9088 2013-05-29 Glenn Morris <rgm@gnu.org>
9089
9090 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9091 Handle idlwave-last-system-routine-info-cons-cell being nil.
9092
9093 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9094 (idlwave-write-paths): Simplify via with-temp-buffer.
9095
9096 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9097 * emulation/cua-rect.el: Also load cua-base at run time.
9098
9099 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9100 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9101 (cperl-imenu-on-info): Require imenu.
9102
9103 2013-05-28 Alan Mackenzie <acm@muc.de>
9104
9105 Handle "capitalised keywords" correctly.
9106 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9107
9108 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9109
9110 * eshell/em-unix.el: Add -r option to cp.
9111
9112 2013-05-28 Glenn Morris <rgm@gnu.org>
9113
9114 * vc/vc-arch.el (vc-exec-after): Declare.
9115 (vc-switches): Autoload.
9116 * vc/vc-bzr.el: No need to require vc when compiling.
9117 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9118 (vc-resynch-buffer, vc-dir-refresh): Declare.
9119 (vc-setup-buffer, vc-switches): Autoload.
9120 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9121 (vc-resynch-buffer): Declare.
9122 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9123 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9124 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9125 (grep-read-regexp, grep-read-files, grep-expand-template)
9126 (vc-dir-refresh): Declare.
9127 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9128 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9129 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9130 * vc/vc-mtn.el (vc-exec-after): Declare.
9131 (vc-switches): Autoload.
9132 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9133 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9134 (vc-file-tree-walk): Declare.
9135 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9136 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9137 (vc-tag-precondition, vc-rename-master): Autoload.
9138 * vc/vc-svn.el (vc-exec-after): Declare.
9139 (vc-switches, vc-setup-buffer): Autoload.
9140 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9141 Autoload.
9142 (vc-resynch-buffer): Declare.
9143
9144 * obsolete/fast-lock.el (byte-compile-warnings):
9145 Don't warn about obsolete features in this obsolete file.
9146
9147 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9148 Move definition before use.
9149
9150 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9151 (dun-unix-verbs): Remove dun-zippy.
9152 (dun-zippy): Remove function.
9153
9154 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9155
9156 2013-05-27 Juri Linkov <juri@jurta.org>
9157
9158 * replace.el (replace-search): New function with code moved out
9159 from `perform-replace'.
9160 (replace-highlight, replace-dehighlight): Move function definitions
9161 up closer to `replace-search'. (Bug#11746)
9162
9163 2013-05-27 Juri Linkov <juri@jurta.org>
9164
9165 * replace.el (perform-replace): Ignore invisible matches.
9166 In addition to checking `query-replace-skip-read-only', also
9167 filter out matches by calling `run-hook-with-args-until-failure'
9168 on `isearch-filter-predicates', and also check `search-invisible'
9169 for t or call `isearch-range-invisible'.
9170 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9171
9172 2013-05-27 Juri Linkov <juri@jurta.org>
9173
9174 * isearch.el (isearch-filter-predicates): Rename from
9175 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9176 (isearch-message-prefix): Display text from the property
9177 `isearch-message-prefix' of the currently active filters.
9178 (isearch-search): Don't compare `isearch-filter-predicate' with
9179 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9180 on `isearch-filter-predicates'. Also check `search-invisible' for t
9181 or call `isearch-range-invisible'.
9182 (isearch-filter-visible): Make obsolete.
9183 (isearch-lazy-highlight-search):
9184 Call `run-hook-with-args-until-failure' on
9185 `isearch-filter-predicates' and use `isearch-range-invisible'.
9186
9187 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9188 `isearch-filter-predicates' instead of `funcall'ing
9189 `isearch-filter-predicate'.
9190 (Info-mode): Set `Info-isearch-filter' to
9191 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9192
9193 * dired-aux.el (dired-isearch-filter-predicate-orig):
9194 Remove variable.
9195 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9196 (dired-isearch-filenames-end): Add and remove
9197 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9198 instead of changing the value of `isearch-filter-predicate'.
9199 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9200 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9201 Put property `isearch-message-prefix' to "filename " on
9202 `dired-isearch-filter-filenames'.
9203
9204 * wdired.el (wdired-change-to-wdired-mode):
9205 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9206 locally instead of changing `isearch-filter-predicate'.
9207 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9208
9209 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9210
9211 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9212 return the commit hash (Bug#14459). Also set the
9213 `vc-git-detached' property.
9214 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9215 (vc-git-mode-line-string): Use the same help-echo format whether
9216 in detached mode or not, because we know the actual revision now.
9217 When in detached mode, shorten the revision to 7 chars.
9218
9219 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * emacs-lisp/easy-mmode.el (define-minor-mode):
9222 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9223 mode hook and provide a docstring.
9224
9225 2013-05-27 Alan Mackenzie <acm@muc.de>
9226
9227 Remove spurious syntax-table text properties inserted by C-y.
9228 * progmodes/cc-mode.el (c-after-change): Also clear hard
9229 syntax-table property with value nil.
9230
9231 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9232
9233 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9234 when reading the events; the buffer layout shall not be changed.
9235
9236 2013-05-27 Leo Liu <sdl.web@gmail.com>
9237
9238 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9239 New variable.
9240 (inferior-octave-directory-tracker): Automatically re-sync
9241 default-directory.
9242 (octave-help): Improve handling of 'See also'.
9243
9244 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * doc-view.el: Minor naming convention tweaks.
9247 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9248
9249 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9250 even if there's no `display' property yet (bug#14435).
9251
9252 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9253
9254 * subr.el (unmsys--file-name): Rename from reveal-filename.
9255
9256 * Makefile.in (custom-deps, finder-data, autoloads)
9257 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9258 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9259 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9260
9261 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9264 error-completion on the first 2 args of condition-case (bug#14446).
9265 Don't burp at EOB.
9266
9267 2013-05-25 Leo Liu <sdl.web@gmail.com>
9268
9269 * comint.el (comint-previous-matching-input): Do not flood the
9270 *Messages* buffer with trivial messages.
9271
9272 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * progmodes/flymake.el (flymake-nop): Don't return a string.
9275 (flymake-set-at): Fix typo.
9276
9277 * simple.el (read--expression): New function, extracted from
9278 eval-expression. Set completion-at-point-functions (bug#14465).
9279 (eval-expression, eval-minibuffer): Use it.
9280
9281 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9282
9283 * progmodes/flymake.el (flymake-save-buffer-in-file)
9284 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9285 (flymake-selected-frame, flymake-log, flymake-ins-after)
9286 (flymake-set-at, flymake-get-buildfile-from-cache)
9287 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9288 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9289 Refine the doc string.
9290 (flymake-get-file-name-mode-and-masks): Reformat.
9291 (flymake-get-real-file-name-function): Fix a minor bug.
9292
9293 2013-05-24 Juri Linkov <juri@jurta.org>
9294
9295 * progmodes/grep.el (grep-mode-font-lock-keywords):
9296 Support =linenumber= format used by git-grep for lines with
9297 function names. (Bug#13549)
9298
9299 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9302 0 after a semi-colon; it works better for smie-auto-fill.
9303 (octave--indent-new-comment-line): New function.
9304 (octave-indent-new-comment-line): Use it (indirectly).
9305 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9306 modify comment-line-break-function.
9307
9308 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9309 (smie-setup): Use add-function to set it.
9310
9311 2013-05-24 Sam Steingold <sds@gnu.org>
9312
9313 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9314 argument (before the `interactive' argument).
9315
9316 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * image-mode.el (image-mode-winprops): Add winprops to
9319 image-mode-winprops-alist before running
9320 image-mode-new-window-functions.
9321 * doc-view.el (doc-view-new-window-function): Don't delay
9322 doc-view-goto-page via timers (bug#14435).
9323
9324 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9325
9326 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9327 (doc-view-desktop-save-buffer): New function.
9328 (doc-view-restore-desktop-buffer): New function.
9329 (desktop-buffer-mode-handlers):
9330 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9331 handler.
9332 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9333 `desktop-save-buffer' function.
9334
9335 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9336
9337 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9338 (tramp-gvfs-file-name-handler): Raise a user error when
9339 `tramp-gvfs-enabled' is nil.
9340 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9341 Do not raise a user error when loading package. (Bug#14447)
9342
9343 * net/xesam.el: Move to obsolete/.
9344
9345 2013-05-24 Glenn Morris <rgm@gnu.org>
9346
9347 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9348
9349 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9350
9351 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9352 (Info-find-node, Man-getpage-in-background): Declare.
9353
9354 * mail/unrmail.el (unrmail):
9355 Replace obsolete detect-coding-with-priority.
9356
9357 * net/socks.el (socks-split-string): Use this rather than split-string.
9358 (socks-nslookup-host): Update for above change.
9359 (dynamic-choice, s5-dynamic-choice-match)
9360 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9361 Comment out unused code.
9362
9363 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9364 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9365 (gud-tooltip-echo-area): Make obsolete.
9366 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9367
9368 * progmodes/js.el (js--optimize-arglist): Declare.
9369
9370 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9371
9372 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9373 (ediff-window-C): Declare.
9374
9375 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9376 Tweak requires to silence compiler.
9377
9378 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9379 (he-search-string, he-tried-table, he-expand-list)
9380 (he-init-string, he-string-member, he-substitute-string)
9381 (he-reset-string): Declare.
9382
9383 * obsolete/options.el (list-options): Use custom-variable-p,
9384 rather than obsolete alias.
9385
9386 2013-05-23 Sam Steingold <sds@gnu.org>
9387
9388 * simple.el (shell-command-on-region): Pass the `replace' argument
9389 down to `call-process-region' to comply with the doc as reported on
9390 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9391
9392 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * emacs-lisp/smie.el (smie-indent-forward-token)
9395 (smie-indent-backward-token): Handle string tokens (bug#14381).
9396
9397 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9398
9399 * ielm.el (ielm-menu): New menu.
9400 (inferior-emacs-lisp-mode): Set comment-start.
9401
9402 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9403
9404 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9405 Fix deactivate action.
9406
9407 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9408 Add cleveref macros.
9409
9410 * lisp/textmodes/reftex-parse.el
9411 (reftex-locate-bibliography-files): Accept options for
9412 bibliography commands.
9413 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9414 Add addbibresource. Basic Biblatex support.
9415
9416 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9417
9418 * net/tramp-gvfs.el (top):
9419 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9420 when loading package. (Bug#14447)
9421
9422 2013-05-23 Glenn Morris <rgm@gnu.org>
9423
9424 * progmodes/js.el: No need to load comint when compiling.
9425 (ring-insert, comint-send-string, comint-send-input)
9426 (comint-last-input-end, ido-chop): Declare.
9427
9428 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9429 * vc/ediff-mult.el: Adjust requires.
9430 (ediff-directories-internal, ediff-directory-revisions-internal)
9431 (ediff-patch-file-internal): Declare.
9432 * vc/ediff-ptch.el: Adjust requires.
9433 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9434 (ediff-find-file): Autoload.
9435 * vc/ediff-util.el: No need to load ediff when compiling.
9436 (ediff-regions-internal): Declare.
9437 * vc/ediff-wind.el: Adjust requires.
9438 (ediff-compute-toolbar-width): Define when compiling.
9439 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9440 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9441 (dired-get-filename, dired-get-marked-files)
9442 (ediff-last-dir-patch, ediff-patch-default-directory)
9443 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9444 (ediff-patch-buffer-internal): Declare.
9445
9446 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9447 (ispell-process, ispell-buffer-local-words, lm-summary)
9448 (lm-section-start, lm-section-end): Declare.
9449 (checkdoc-ispell-init): Simplify.
9450
9451 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9452 (he-string-member, he-reset-string, he-substitute-string): Declare.
9453
9454 * eshell/em-ls.el: Adjust requires.
9455 (eshell-glob-regexp): Declare.
9456 * eshell/em-tramp.el: Adjust requires.
9457 (eshell-parse-command): Autoload.
9458 * eshell/em-xtra.el: Adjust requires.
9459 (eshell-parse-command): Autoload.
9460 * eshell/esh-ext.el: Adjust requires.
9461 (eshell-parse-command, eshell-close-handles): Autoload.
9462 * eshell/esh-io.el: Adjust requires.
9463 (eshell-output-filter): Autoload.
9464 * eshell/esh-util.el: No need to load tramp when compiling.
9465 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9466 Declare.
9467 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9468 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9469 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9470 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9471 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9472 * eshell/esh-opt.el, eshell/esh-proc.el:
9473 * eshell/esh-var.el: Adjust requires.
9474 * eshell/eshell.el: Do not require esh-util twice.
9475 (eshell-add-input-to-history): Declare.
9476 (eshell-command): Check history module is active before using it.
9477
9478 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9479
9480 2013-05-22 Leo Liu <sdl.web@gmail.com>
9481
9482 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9483
9484 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9485
9486 * autorevert.el (auto-revert-notify-add-watch)
9487 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9488 it indicates changes in file modification time.
9489
9490 2013-05-22 Glenn Morris <rgm@gnu.org>
9491
9492 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9493 Always delete the autoloaded function from the noruntime and
9494 unresolved functions lists.
9495
9496 * allout.el: No need to load epa, epg, overlay when compiling.
9497 (epg-context-set-passphrase-callback, epg-list-keys)
9498 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9499 (epg-key-user-id-list): Declare.
9500
9501 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9502 (viper-set-parsing-style-toggling-macro)
9503 (viper-set-emacs-state-searchstyle-macros):
9504 Use called-interactively-p on Emacs.
9505 (viper-looking-back): Make it an obsolete alias. Update callers.
9506 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9507 Use looking-back rather than viper-looking-back.
9508 (viper-tmp-insert-at-eob, viper-enlarge-region)
9509 (viper-read-string-with-history, viper-register-to-point)
9510 (viper-append-to-register, viper-change-state-to-vi)
9511 (viper-backward-char-carefully, viper-forward-char-carefully)
9512 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9513 (viper-change-state-to-emacs): Declare.
9514 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9515 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9516 * emulation/viper-mous.el: Do not load viper-cmd.
9517 (viper-backward-char-carefully, viper-forward-char-carefully)
9518 (viper-forward-word, viper-adjust-window): Declare.
9519
9520 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9521
9522 * progmodes/idlw-help.el (idlwave-help-fontify):
9523 Use called-interactively-p.
9524
9525 * term/w32console.el (w32-get-console-codepage)
9526 (w32-get-console-output-codepage): Declare.
9527
9528 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9529 Remove unnecessary declarations.
9530 (dframe-message): Doc fix.
9531
9532 * info.el (dframe-select-attached-frame, dframe-current-frame):
9533 Declare.
9534
9535 * speedbar.el (speedbar-message): Make it an obsolete alias.
9536 Update all callers.
9537 (speedbar-with-attached-buffer)
9538 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9539 (speedbar-with-writable): Use backquote.
9540 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9541 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9542 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9543 rather than speedbar- aliases.
9544 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9545 (speedbar-make-specialized-keymap, speedbar-insert-button)
9546 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9547 (speedbar-do-function-pointer): Declare.
9548 (rmail-speedbar-button, rmail-speedbar-find-file)
9549 (rmail-speedbar-move-message):
9550 Use dframe-with-attached-buffer rather than speedbar- alias.
9551 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9552 (dframe-message, speedbar-make-specialized-keymap)
9553 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9554 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9555 (speedbar-insert-button, dframe-select-attached-frame)
9556 (dframe-maybee-jump-to-attached-frame)
9557 (speedbar-change-initial-expansion-list)
9558 (speedbar-previously-used-expansion-list-name): Declare.
9559 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9560 Use dframe-message, dframe-with-attached-buffer rather than
9561 speedbar- aliases.
9562 (gud-sentinel): Silence compiler.
9563 * progmodes/vhdl-mode.el (speedbar-refresh)
9564 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9565 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9566 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9567 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9568 (speedbar-file-lists, speedbar-make-tag-line)
9569 (speedbar-line-directory, speedbar-goto-this-file)
9570 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9571 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9572 (speedbar-make-button, speedbar-reset-scanners)
9573 (speedbar-files-item-info, speedbar-line-text)
9574 (speedbar-find-file-in-frame, speedbar-set-timer)
9575 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9576 (speedbar-with-writable): Do not (re)define it.
9577 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9578 rather than speedbar- alias.
9579
9580 2013-05-21 Leo Liu <sdl.web@gmail.com>
9581
9582 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9583 menu items.
9584 (octave-mode): Tweak fill-nobreak-predicate.
9585 (inferior-octave-startup): Check process to avoid infinite loop.
9586 (inferior-octave): Pop to buffer first to show abornmal process
9587 exit information.
9588
9589 2013-05-21 Glenn Morris <rgm@gnu.org>
9590
9591 * printing.el (pr-menu-bar): Define when compiling.
9592
9593 2013-05-21 Leo Liu <sdl.web@gmail.com>
9594
9595 * progmodes/octave.el (octave-auto-fill): Remove.
9596 (octave-indent-new-comment-line): Improve.
9597 (octave-mode): Use auto fill mode through
9598 comment-line-break-function and fill-nobreak-predicate.
9599 (octave-goto-function-definition): Support DEFUN_DLD.
9600 (octave-beginning-of-defun): Small tweak.
9601 (octave-help): Show parent directory.
9602
9603 2013-05-21 Glenn Morris <rgm@gnu.org>
9604
9605 * files.el (dired-unmark):
9606 * progmodes/gud.el (gdb-input): Update declarations.
9607
9608 * calculator.el (electric, ehelp): No need to load when compiling.
9609 (Electric-command-loop, electric-describe-mode): Declare.
9610
9611 * doc-view.el (doc-view-current-converter-processes): Move before use.
9612
9613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9614 Move MODE-set-explicitly definition before use.
9615
9616 * international/mule-diag.el (mule-diag):
9617 Don't use obsolete window-system-version.
9618
9619 * mail/feedmail.el (smtpmail): No need to load when compiling.
9620 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9621
9622 * mail/mail-utils.el (rfc822): No need to load when compiling.
9623 (rfc822-addresses): Autoload it.
9624 (mail-strip-quoted-names): Trivial simplification.
9625
9626 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9627 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9628
9629 * net/snmp-mode.el (tempo): Don't duplicate requires.
9630
9631 * progmodes/prolog.el (info): No need to load when compiling.
9632 (comint): Require before shell requires it.
9633 (Info-goto-node): Autoload it.
9634 (Info-follow-nearest-node): Declare.
9635 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9636
9637 * textmodes/artist.el (picture-mode-exit): Declare.
9638
9639 * textmodes/reftex-parse.el (reftex-parse-from-file):
9640 Trivial rewrite so the compiler can parse it better.
9641
9642 2013-05-20 Leo Liu <sdl.web@gmail.com>
9643
9644 * progmodes/octave.el (octave-help-mode-map)
9645 (octave-help-mode-finish-hook): New variables.
9646 (octave-help-mode, octave-help-mode-finish): New functions.
9647 (octave-help): Use octave-help-mode.
9648
9649 2013-05-20 Glenn Morris <rgm@gnu.org>
9650
9651 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9652
9653 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9654
9655 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9656 start at point, so that expansion starting right after opening
9657 slash in a regexp is recognized.
9658 (ruby-syntax-before-regexp-re): New defvar, extracted from
9659 ruby-syntax-propertize-function. Since the value of this regexp
9660 is looked up at runtime now, we should be able to turn
9661 `ruby-syntax-methods-before-regexp' into a defcustom later.
9662 (ruby-syntax-propertize-function): Split regexp matching into two
9663 parts, for opening and closing slashes. That allows us to skip
9664 over string interpolations and support multiline regexps.
9665 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9666 for them, which calls `ruby-syntax-propertize-expansion'.
9667 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9668 call to `ruby-syntax-propertize-function'.
9669 (ruby-syntax-propertize-expansion): Extracted from
9670 `ruby-syntax-propertize-expansions'. Handles one expansion.
9671 (ruby-syntax-propertize-percent-literal): Leave point right after
9672 the percent symbol, so that the expression expansion rule can
9673 propertize the contents.
9674 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9675 heredoc openers.
9676 (ruby-syntax-propertize-expansions): Remove.
9677
9678 2013-05-18 Juri Linkov <juri@jurta.org>
9679
9680 * man.el (Man-default-man-entry): Remove `-' from the end
9681 of the default value. (Bug#14400)
9682
9683 2013-05-18 Glenn Morris <rgm@gnu.org>
9684
9685 * comint.el (comint-password-prompt-regexp):
9686 Allow "password for XXX" where XXX contains colons (eg https://...).
9687
9688 2013-05-18 Leo Liu <sdl.web@gmail.com>
9689
9690 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9691 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9692 (octave-source-directories): Don't check process.
9693 (octave-source-directories, octave-find-definition): Doc fix.
9694
9695 2013-05-18 Glenn Morris <rgm@gnu.org>
9696
9697 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9698 Remove backspace/delete bindings. (Bug#14392)
9699
9700 * cus-dep.el (custom-make-dependencies): Sort the output.
9701 (custom-versions-load-alist): Convert comment to doc.
9702
9703 2013-05-17 Leo Liu <sdl.web@gmail.com>
9704
9705 * newcomment.el (comment-search-backward): Stricter in finding
9706 comment start. (Bug#14303)
9707
9708 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9709 (octave-comment-start-skip): Properly anchored.
9710
9711 2013-05-17 Leo Liu <sdl.web@gmail.com>
9712
9713 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9714 Clean up when turned off. (Bug#14395)
9715 (smie--highlight-matching-block-overlay): No longer buffer-local.
9716 (smie-highlight-matching-block): Adjust.
9717
9718 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9719
9720 Doc string fix for "nanoseconds" (Bug#14406).
9721 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9722 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9723
9724 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9725
9726 * calc/calc-units.el (math-extract-units): Preserve powers
9727 of units.
9728
9729 2013-05-17 Leo Liu <sdl.web@gmail.com>
9730
9731 * subr.el (delete-consecutive-dups): New function.
9732 * ido.el (ido-set-matches-1): Use it.
9733 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9734 * ido.el (ido-remove-consecutive-dups): Remove.
9735
9736 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9737
9738 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9739 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9740 regexp-opt's `words'.
9741
9742 2013-05-16 Leo Liu <sdl.web@gmail.com>
9743
9744 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9745 (smie--highlight-matching-block-overlay)
9746 (smie--highlight-matching-block-lastpos)
9747 (smie--highlight-matching-block-timer): New variables.
9748 (smie-highlight-matching-block): New function.
9749 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9750 (smie-setup): Conditionally enable smie-blink-matching-open.
9751
9752 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9753
9754 Sync with upstream verilog-mode r840.
9755 * progmodes/verilog-mode.el (verilog-mode-version)
9756 (verilog-mode-release-date): Update.
9757 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9758 (verilog-sig-tieoff): Fix string error on
9759 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9760 (verilog-read-decls): Fix parameters confusing
9761 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9762
9763 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9764
9765 * subr.el (reveal-filename): New function.
9766
9767 * loadup.el: Compute Emacs executable versions on MS-Windows,
9768 where executables have the .exe extension. Add a hard link
9769 emacs-XX.YY.ZZ.exe on MS-Windows.
9770
9771 * Makefile.in (XARGS_LIMIT): New variable.
9772 (custom-deps, finder-data, autoloads)
9773 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9774 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9775 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9776 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9777
9778 2013-05-16 Leo Liu <sdl.web@gmail.com>
9779
9780 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9781 (octave-mode-menu, octave-mode-map): Remove its uses.
9782
9783 2013-05-16 Reto Zimmermann <reto@gnu.org>
9784
9785 Sync with upstream vhdl mode v3.34.2.
9786 * progmodes/vhdl-mode.el: Use `push' throughout.
9787 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9788 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9789 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9790 (vhdl-actual-generic-name): New option to derive actual generic name.
9791 (vhdl-port-paste-signals): Replace formal by actual generics.
9792 (vhdl-beautify): New name for old group vhdl-align. Update users.
9793 (vhdl-beautify-options): New option.
9794 (vhdl-last-input-event): New compat alias. Use throughout.
9795 (vhdl-goto-line): Replace user level function `goto-line'.
9796 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9797 vhdl-fix-statement-buffer.
9798 (vhdl-create-mode-menu): Add some entries.
9799 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9800 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9801 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9802 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9803 to force statements on one line.
9804 (vhdl-remove-trailing-spaces-region):
9805 New, split from vhdl-remove-trailing-spaces.
9806 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9807 Respect vhdl-beautify-options.
9808 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9809 (vhdl-update-sensitivity-list): Not add with index if exists without.
9810 Not include array index with signal. Ignore keywords in comments.
9811 (vhdl-get-visible-signals): Regexp tweaks.
9812 (vhdl-template-component-inst): Handle empty library.
9813 (vhdl-template-type): Add template for 'enum' type.
9814 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9815 Use vhdl-replace-string.
9816 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9817 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9818 (vhdl-speedbar-initialize): Update for above name change.
9819 (vhdl-compose-wire-components): Fix in handling of constants.
9820 (vhdl-error-regexp-emacs-alist): New variable.
9821 (vhdl-error-regexp-add-emacs): New function;
9822 adds support for new compile.el (Emacs 22+)
9823 (vhdl-generate-makefile-1): Change target order for single lib. units.
9824 Allow use of absolute file names.
9825
9826 2013-05-16 Leo Liu <sdl.web@gmail.com>
9827
9828 * simple.el (prog-indent-sexp): Indent enclosing defun.
9829
9830 2013-05-15 Glenn Morris <rgm@gnu.org>
9831
9832 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9833 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9834 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9835 (whitespace-highlight): Move to whitespace group.
9836
9837 * comint.el (comint-source):
9838 * pcmpl-linux.el (pcmpl-linux):
9839 * shell.el (shell-faces):
9840 * eshell/esh-opt.el (eshell-opt):
9841 * international/ccl.el (ccl): Remove empty custom groups.
9842
9843 * completion.el (dynamic-completion-mode):
9844 * jit-lock.el (jit-lock-debug-mode):
9845 * minibuffer.el (completion-in-region-mode):
9846 * type-break.el (type-break-mode-line-message-mode)
9847 (type-break-query-mode):
9848 * emulation/tpu-edt.el (tpu-edt-mode):
9849 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9850 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9851 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9852
9853 * term/xterm.el (xterm): Change parent group to terminals.
9854
9855 * master.el (master): Remove empty custom group.
9856 (master-mode): Remove unused :group argument.
9857 * textmodes/refill.el (refill): Remove empty custom group.
9858 (refill-mode): Remove unused :group argument.
9859
9860 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9861
9862 * cus-dep.el: Provide a feature.
9863 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9864 Don't mistakenly ignore files whose basenames match a basename
9865 from preloaded-file-list (eg cedet/ede/simple.el).
9866 Add a fallback method for getting :group.
9867
9868 2013-05-15 Juri Linkov <juri@jurta.org>
9869
9870 * isearch.el (isearch-char-by-name): Rename from
9871 `isearch-insert-char-by-name'. Doc fix.
9872 (isearch-forward): Mention `isearch-char-by-name' in
9873 the docstring. (Bug#13348)
9874
9875 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9876 `exit-minibuffer' instead of
9877 `isearch-nonincremental-exit-minibuffer'.
9878 (isearch-edit-string): Remove mention of
9879 `isearch-nonincremental-exit-minibuffer' from docstring.
9880 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9881 (isearch-forward-exit-minibuffer)
9882 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9883
9884 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * loadup.el: Just use unversioned DOC.
9887
9888 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9889 literals as extending to EOB.
9890 (nxml-last-fontify-end): Remove unused variable.
9891 (nxml-after-change1): Use with-silent-modifications.
9892 (nxml-extend-after-change-region): Simplify.
9893 (nxml-extend-after-change-region1): Remove function.
9894 (nxml-after-change1): Don't adjust for dependent regions.
9895 (nxml-fontify-matcher): Simplify.
9896 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9897 (xmltok-add-dependent): Remove function.
9898 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9899 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9900 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9901 unclosed <[[, <?, comment, and other literals as extending to EOB.
9902 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9903 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9904 Remove functions.
9905 (rng-do-some-validation-1): Don't mark dependent regions.
9906 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9907 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9908 (nxml-clear-dependent-regions): Remove functions.
9909 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9910 (nxml-ensure-scan-up-to-date):
9911 Don't clear&mark dependent regions.
9912
9913 2013-05-15 Leo Liu <sdl.web@gmail.com>
9914
9915 * progmodes/octave.el (octave-goto-function-definition):
9916 Improve and fix callers.
9917
9918 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9921 the setter (bug#14387).
9922
9923 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9924 surrounding group (bug#14402).
9925
9926 2013-05-14 Juri Linkov <juri@jurta.org>
9927
9928 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9929 (Bug#14390)
9930
9931 2013-05-14 Glenn Morris <rgm@gnu.org>
9932
9933 * progmodes/f90.el (f90-imenu-generic-expression):
9934 Fix typo in 2013-05-08 change. (Bug#14402)
9935
9936 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9937
9938 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9939 Remove signals for which replies are never received.
9940
9941 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9942
9943 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9944 (gdb-handler-alist, gdb-handler-number): Remove variables.
9945 (gdb-handler-list): New variable.
9946 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9947 (gdb-pending-handler-p, gdb-handle-reply)
9948 (gdb-remove-all-pending-triggers): New functions.
9949 (gdb-discard-unordered-replies): New defcustom.
9950 (gdb-handler): New defstruct.
9951 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9952 instead of gdb-pending-triggers. Update docstring.
9953 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9954 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9955 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9956 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9957 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9958 (gdb-frame-handler): Pending triggers are now automatically managed.
9959 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9960 Remove argument.
9961 (gdb-input): Automatically handles pending triggers. Update docstring.
9962 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9963 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9964 Update comments.
9965 (gdb-done-or-error): Now use gdb-handle-reply.
9966
9967 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9968
9969 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9970 gdb-debug-log.
9971
9972 2013-05-14 Glenn Morris <rgm@gnu.org>
9973
9974 * subr.el (user-emacs-directory-warning): New option.
9975 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9976
9977 2013-05-14 Leo Liu <sdl.web@gmail.com>
9978
9979 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9980 during redisplay.
9981 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9982 (octave-font-lock-texinfo-comment): Fix invalid search bound
9983 error: wrong side of point.
9984
9985 2013-05-14 Glenn Morris <rgm@gnu.org>
9986
9987 * progmodes/flymake.el (flymake-xml-program): New option.
9988 (flymake-xml-init): Use it.
9989
9990 * term/xterm.el: Provide a feature.
9991
9992 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9993
9994 2013-05-13 Glenn Morris <rgm@gnu.org>
9995
9996 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9997 Add compat aliases as a hack workaround. (Bug#14384)
9998
9999 2013-05-13 Leo Liu <sdl.web@gmail.com>
10000
10001 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10002 ###, and %!.
10003 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10004 C-M-q.
10005 (octave-comment-start-skip): Include %!.
10006 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10007
10008 2013-05-12 Leo Liu <sdl.web@gmail.com>
10009
10010 * progmodes/octave.el (inferior-octave-startup): Store the value
10011 of __octave_srcdir__ for octave-source-directories.
10012 (inferior-octave-check-process): New function refactored out of
10013 inferior-octave-send-list-and-digest.
10014 (octave-source-directories)
10015 (octave-find-definition-filename-function): New variables.
10016 (octave-source-directories)
10017 (octave-find-definition-default-filename): New functions.
10018 (octave-find-definition): Improve to find functions implemented in C++.
10019
10020 2013-05-12 Glenn Morris <rgm@gnu.org>
10021
10022 * calendar/diary-lib.el (diary-outlook-format-1):
10023 Don't include dayname in the output. (Bug#14349)
10024
10025 2013-05-11 Glenn Morris <rgm@gnu.org>
10026
10027 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10028
10029 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10030 Treat cc-provide like provide.
10031
10032 2013-05-11 Kevin Ryde <user42@zip.com.au>
10033
10034 * cus-dep.el (custom-make-dependencies):
10035 Use generated-autoload-load-name for the sake of files such
10036 such cedet/semantic/bovine/c.el, where the base file name
10037 is not in load-path. (Bug#5277)
10038
10039 2013-05-11 Glenn Morris <rgm@gnu.org>
10040
10041 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10042 Provide features.
10043
10044 2013-05-11 Leo Liu <sdl.web@gmail.com>
10045
10046 * progmodes/octave.el (octave-indent-comment): Improve.
10047 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10048 (octave-eldoc-function-signatures, octave-eldoc-function):
10049 New functions.
10050 (octave-mode, inferior-octave-mode): Add eldoc support.
10051
10052 2013-05-11 Richard Stallman <rms@gnu.org>
10053
10054 * epa.el (epa-decrypt-file): Take output file name as argument
10055 and read it using `interactive'.
10056
10057 2013-05-11 Leo Liu <sdl.web@gmail.com>
10058
10059 * progmodes/octave.el (octave-beginning-of-line)
10060 (octave-end-of-line): Check before using up-list because it jumps
10061 out of more syntactic contructs since moving to smie.
10062 (octave-indent-comment): New function.
10063 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10064 (octave-begin-keywords, octave-end-keywords)
10065 (octave-reserved-words, octave-smie-bnf-table)
10066 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10067
10068 2013-05-11 Glenn Morris <rgm@gnu.org>
10069
10070 * faces.el (internal-face-x-get-resource):
10071 * frame.el (ns-display-monitor-attributes-list):
10072 * calc/calc-aent.el (math-to-radians-2):
10073 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10074 Fix declarations.
10075
10076 * calc/calc-menu.el: Make it loadable in isolation.
10077
10078 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10079 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10080 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10081 (eudc-bbdb-query-internal): Require 'bbdb.
10082
10083 * lpr.el (lpr-headers-switches):
10084 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10085
10086 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10087
10088 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10089
10090 * term.el (term-set-escape-char): Make it idempotent.
10091
10092 2013-05-10 Leo Liu <sdl.web@gmail.com>
10093
10094 * progmodes/octave.el (inferior-octave-completion-table):
10095 No longer a function and all uses changed. Use cache to speed up
10096 completion due to bug#11906.
10097 (octave-beginning-of-defun): Re-write to be more general.
10098
10099 2013-05-10 Glenn Morris <rgm@gnu.org>
10100
10101 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10102
10103 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * comint.el (comint-redirect-send-command-to-process): Use :around
10106 rather than :override for comint-redirect-filter.
10107 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10108 Call it instead of comint-redirect-original-filter-function (which
10109 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10110
10111 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10112
10113 * frame.el (display-monitor-attributes-list): Add NS case.
10114 (ns-display-monitor-attributes-list): Declare.
10115
10116 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10117
10118 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10119
10120 2013-05-09 Glenn Morris <rgm@gnu.org>
10121
10122 * international/fontset.el (vertical-centering-font-regexp):
10123 Set standard-value.
10124
10125 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10126
10127 * bookmark.el (bookmark-search-delay):
10128 * cus-start.el (vertical-centering-font-regexp):
10129 * ps-mule.el (ps-mule-font-info-database-default):
10130 * ps-print.el (ps-default-fg, ps-default-bg):
10131 * type-break.el (type-break-good-break-interval):
10132 * whitespace.el (whitespace-indentation-regexp)
10133 (whitespace-space-after-tab-regexp):
10134 * emacs-lisp/testcover.el (testcover-1value-functions)
10135 (testcover-noreturn-functions, testcover-progn-functions)
10136 (testcover-prog1-functions):
10137 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10138 * eshell/em-glob.el (eshell-glob-translate-alist):
10139 * play/tetris.el (tetris-tty-colors):
10140 * progmodes/cpp.el (cpp-face-default-list):
10141 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10142 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10143 (idlwave-help-browser-generic-args):
10144 * progmodes/make-mode.el (makefile-special-targets-list):
10145 * progmodes/python.el (python-shell-virtualenv-path):
10146 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10147 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10148 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10149 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10150 * textmodes/reftex-vars.el (reftex-format-label-function):
10151 * textmodes/remember.el (remember-diary-file): Fix custom types.
10152
10153 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10154 Add :version.
10155
10156 2013-05-09 Leo Liu <sdl.web@gmail.com>
10157
10158 * progmodes/octave.el (inferior-octave-completion-at-point):
10159 Restore file completion. (Bug#14300)
10160 (inferior-octave-startup): Fix incorrect highlighting for the
10161 first prompt.
10162
10163 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * progmodes/ruby-mode.el: First cut at SMIE support.
10166 (ruby-use-smie): New var.
10167 (ruby-smie-grammar): New constant.
10168 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10169 (ruby-smie--forward-token, ruby-smie--backward-token)
10170 (ruby-smie-rules): New functions.
10171 (ruby-mode-variables): Setup SMIE if applicable.
10172
10173 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10174
10175 * simple.el (line-move-visual): Signal beginning/end of buffer
10176 only if vertical-motion moved less than it was requested. Avoids
10177 silly incorrect error messages when there are display strings with
10178 multiple newlines at EOL.
10179
10180 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10183 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10184 (prolog-char-quote-workaround):
10185 * progmodes/cperl-mode.el (cperl-under-as-char):
10186 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10187 Mark as obsolete.
10188 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10189 their declaration.
10190 (vhdl-mode-syntax-table-init): Remove.
10191
10192 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10193 last change.
10194
10195 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10196 syntax for "_".
10197 (ld-script-font-lock-keywords):
10198 Change regexps to use things like \_< and \_>.
10199
10200 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10201 Change all regexps to use things like \_< and \_>.
10202
10203 * progmodes/autoconf.el (autoconf-definition-regexp)
10204 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10205 Handle a _ with symbol syntax.
10206 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10207
10208 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10209 Consolidate declaration.
10210 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10211 the declaration.
10212 (ada-create-syntax-table): Remove.
10213 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10214 already has the right syntax nowadays.
10215 (ada-goto-next-word): Don't change the syntax of "_".
10216
10217 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10218 with-wrapper-hook.
10219
10220 2013-05-08 Sam Steingold <sds@gnu.org>
10221
10222 * thingatpt.el (thing-at-point): Accept optional second argument
10223 NO-PROPERTIES to strip the text properties from the return value.
10224 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10225 to `thing-at-point' instead of stripping the properties ourselves.
10226 Also, when `thing-at-point' fails to find a url, prepend "http://"
10227 to the filename at point on the assumption that the user is
10228 pointing at something like gnu.org/gnu.
10229
10230 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10233 * faces.el (crm-separator):
10234 Silence byte-compiler.
10235
10236 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10237 (tool-bar-map): Remove unneeded defvars.
10238
10239 2013-05-08 Leo Liu <sdl.web@gmail.com>
10240
10241 Re-work a fix for bug#10994 based on Le Wang's patch.
10242 * ido.el (ido-remove-consecutive-dups): New helper.
10243 (ido-completing-read): Use it.
10244 (ido-chop): Revert fix for bug#10994.
10245
10246 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10247
10248 * cus-edit.el (custom-save-variables):
10249 Pretty-print long values. (Bug#14187)
10250
10251 2013-05-08 Glenn Morris <rgm@gnu.org>
10252
10253 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10254 (m4-mode-syntax-table): Init in the defvar.
10255 (m4-mode-abbrev-table): Let define-derived-mode define it.
10256
10257 2013-05-08 Tom Tromey <tromey@redhat.com>
10258
10259 * progmodes/m4-mode.el (m4-mode-syntax-table):
10260 Do not treat "_" as word constituent. (Bug#14167)
10261
10262 2013-05-07 Glenn Morris <rgm@gnu.org>
10263
10264 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10265 Remove explicit eshell-isearch-cancel-map.
10266
10267 * progmodes/f90.el (f90-smart-end-names): New option.
10268 (f90-smart-end): Doc fix.
10269 (f90-end-block-optional-name): New constant.
10270 (f90-block-match): Respect f90-smart-end-names.
10271
10272 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10275 about implicit semi-colons (bug#14218).
10276
10277 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10278
10279 * frame.el (display-monitor-attributes-list)
10280 (frame-monitor-attributes): New functions.
10281
10282 2013-05-06 Leo Liu <sdl.web@gmail.com>
10283
10284 * progmodes/octave.el (octave-syntax-propertize-function): Change
10285 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10286 (octave-font-lock-keywords): Use octave-operator-regexp.
10287 (octave-completion-at-point): Rename from
10288 octave-completion-at-point-function.
10289 (inferior-octave-directory-tracker): Robustify.
10290 (octave-text-functions): Remove and fix its uses. No such things
10291 any more.
10292
10293 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10294
10295 * emacs-lisp/trace.el (trace--display-buffer): New function.
10296 (trace-make-advice): Use it.
10297
10298 2013-05-06 Juri Linkov <juri@jurta.org>
10299
10300 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10301 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10302 Doc fix.
10303 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10304 in the help string. (Bug#12985)
10305
10306 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10307
10308 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10309
10310 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * progmodes/perl-mode.el: Add support for here documents.
10313 (perl-syntax-propertize-function): Match here-doc markers.
10314 (perl-syntax-propertize-special-constructs): Find their end.
10315 (perl-imenu-generic-expression): Use [:alnum:].
10316
10317 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10318 (advice--add-function): Refresh the advice if already present
10319 (bug#14317).
10320
10321 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10322
10323 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10324
10325 2013-05-06 Glenn Morris <rgm@gnu.org>
10326
10327 * w32-fns.el (w32-charset-info-alist): Declare.
10328
10329 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10330 of its defcustom properties.
10331 (eshell-cmpl-initialize): No need to load pcomplete.
10332
10333 * generic-x.el: No need to require comint when compiling.
10334
10335 * net/eudc-export.el: Make it loadable without bbdb.
10336 (top-level): Use require rather than load-library.
10337 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10338 (eudc-batch-export-records-to-bbdb)
10339 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10340 Require bbdb.
10341
10342 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10345 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10346 some tweaks, instead.
10347
10348 2013-05-05 Leo Liu <sdl.web@gmail.com>
10349
10350 * progmodes/octave.el (octave-font-lock-keywords)
10351 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10352 (inferior-octave-send-list-and-digest): Improve error message.
10353 (octave-mode, inferior-octave-mode): Use setq-local.
10354 (octave-help): Set info-lookup-mode.
10355
10356 2013-05-05 Richard Stallman <rms@gnu.org>
10357
10358 * vc/compare-w.el (compare-windows-whitespace):
10359 Treat no-break space as whitespace.
10360
10361 * mail/rmailsum.el (rmail-summary-rmail-update):
10362 Detect empty summary and don't change selected message.
10363 (rmail-summary-goto-msg): Likewise.
10364
10365 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10366 Doc fixes, rename args.
10367
10368 2013-05-05 Alan Mackenzie <acm@muc.de>
10369
10370 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10371
10372 2013-05-05 Juri Linkov <juri@jurta.org>
10373
10374 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10375 to not add the length of the summary segment to the return value.
10376 (Bug#14125)
10377
10378 2013-05-05 Leo Liu <sdl.web@gmail.com>
10379
10380 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10381 (inferior-octave-output-filter): Remove.
10382 (octave-send-region, inferior-octave-startup): Fix callers.
10383 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10384 (octave-binary-file-extensions): New user variable.
10385 (octave-find-definition): Confirm if opening binary files.
10386 (octave-help-file): Use octave-find-definition to get the binary
10387 confirmation.
10388 (octave-help): Adjust for octave-help-file change.
10389
10390 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10391
10392 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10393 Merge the two entries that handle function definitions.
10394 (pascal--syntax-propertize): New const.
10395 (pascal-mode): Use it. Use setq-local.
10396
10397 2013-05-04 Glenn Morris <rgm@gnu.org>
10398
10399 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10400 (diary-from-outlook): Respect diary-from-outlook-function.
10401
10402 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10405 Move the declaration from C.
10406 (read-minibuffer, eval-minibuffer): Move from C.
10407 (completion-setup-function): Avoid minibuffer-completion-contents.
10408
10409 2013-05-03 Leo Liu <sdl.web@gmail.com>
10410
10411 * progmodes/octave.el (octave-font-lock-keywords): Do not
10412 dehighlight 'end' in comments or strings.
10413 (octave-completing-read, octave-goto-function-definition):
10414 New helpers.
10415 (octave-help-buffer): New user variable.
10416 (octave-help-file, octave-help-function): New button types.
10417 (octave-help): New command and bind it to C-h ;.
10418 (octave-find-definition): New command and bind it to M-.
10419 (user-error): Alias to error if not defined.
10420
10421 2013-05-02 Leo Liu <sdl.web@gmail.com>
10422
10423 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10424 for \. (bug#14332)
10425 (octave-font-lock-keywords): Include [ and {.
10426
10427 2013-05-02 Leo Liu <sdl.web@gmail.com>
10428
10429 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10430 (inferior-octave): Remove calling comint-mode and return the buffer.
10431 (inferior-octave-startup): Cosmetic changes.
10432
10433 2013-05-02 Leo Liu <sdl.web@gmail.com>
10434
10435 * progmodes/octave.el (octave-syntax-propertize-function):
10436 Include the case when ' is at line beginning. (Bug#14336)
10437
10438 2013-05-02 Glenn Morris <rgm@gnu.org>
10439
10440 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10441 * desktop.el (vc-dir-mode): Just autoload it here.
10442
10443 2013-05-02 Alan Mackenzie <acm@muc.de>
10444
10445 Eliminate variable c-standard-font-lock-fontify-region-function.
10446 * progmodes/cc-mode.el
10447 (c-standard-font-lock-fontify-region-function): Remove.
10448 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10449
10450 2013-05-01 Leo Liu <sdl.web@gmail.com>
10451
10452 * progmodes/octave.el: Compatible with older emacs-24 releases.
10453 (inferior-octave-has-built-in-variables): Remove. Built-in
10454 variables were removed from Octave in 2007.
10455 (inferior-octave-startup): Fix uses.
10456 (comint-line-beginning-position): Remove compatibility code for
10457 emacs 21.
10458
10459 2013-05-01 Juri Linkov <juri@jurta.org>
10460
10461 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10462
10463 2013-05-01 Juri Linkov <juri@jurta.org>
10464
10465 * comint.el (comint-previous-matching-input): Don't print message
10466 "History item: %d" when `isearch-mode' is active.
10467 (comint-history-isearch-message): Print message "History item: %d"
10468 when `comint-input-ring-index' is not empty and this function is
10469 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10470
10471 2013-05-01 Leo Liu <sdl.web@gmail.com>
10472
10473 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10474 definitions. Use completion-at-point to insert keywords.
10475 (octave-abbrev-start): Remove.
10476 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10477
10478 2013-04-30 Leo Liu <sdl.web@gmail.com>
10479
10480 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10481 change.
10482
10483 2013-04-30 Alan Mackenzie <acm@muc.de>
10484
10485 Handle arbitrarily long C++ member initialisation lists.
10486 * progmodes/cc-engine.el (c-back-over-member-initializers):
10487 new function.
10488 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10489 (most) member init lists.
10490
10491 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10492
10493 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10494 variable.
10495
10496 2013-04-30 Leo Liu <sdl.web@gmail.com>
10497
10498 * progmodes/octave.el (octave-variables): Remove. No builtin
10499 variables any more. All converted to functions.
10500 (octave-font-lock-keywords, octave-completion-at-point-function):
10501 Fix uses.
10502 (octave-font-lock-texinfo-comment): New user variable.
10503 (octave-texinfo-font-lock-keywords): New variable for texinfo
10504 comment block.
10505 (octave-function-comment-block): New face.
10506 (octave-font-lock-texinfo-comment): New function.
10507 (octave-mode): Font lock texinfo comment block.
10508
10509 2013-04-29 Leo Liu <sdl.web@gmail.com>
10510
10511 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10512 indexing expression.
10513 (octave-continuation-string): Do not use \.
10514 (inferior-octave-complete-impossible): Remove.
10515 (inferior-octave-completion-table)
10516 (inferior-octave-completion-at-point): Remove its uses.
10517 (inferior-octave-startup): completion_matches was introduced to
10518 Octave in 1996 so safe to assume it.
10519 (octave-function-file-comment): Improve to follow how Octave does it.
10520 (octave-update-function-file-comment): Tweak.
10521
10522 2013-04-29 Leo Liu <sdl.web@gmail.com>
10523
10524 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10525 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10526 (octave-function-file-comment): Fix typo.
10527 (octave-sync-function-file-names): Use read-char-choice.
10528
10529 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10530
10531 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10532 to t for the less important warnings.
10533
10534 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10535
10536 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10537
10538 2013-04-27 Glenn Morris <rgm@gnu.org>
10539
10540 * vc/log-view.el (log-view-current-entry):
10541 Treat "---" separator lines as part of the following rev. (Bug#14169)
10542
10543 2013-04-27 Juri Linkov <juri@jurta.org>
10544
10545 * subr.el (read-number): Doc fix about using it by interactive
10546 code letter `n'. (Bug#14254)
10547
10548 2013-04-27 Juri Linkov <juri@jurta.org>
10549
10550 * desktop.el (desktop-auto-save-timeout): New option.
10551 (desktop-file-checksum): New variable.
10552 (desktop-save): Add optional arg `auto-save' and don't auto-save
10553 if nothing changed.
10554 (desktop-auto-save-timer): New variable.
10555 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10556 (after-init-hook): Call `desktop-auto-save-set-timer'.
10557 Suggested by Reuben Thomas <rrt@sc3d.org> in
10558 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10559
10560 2013-04-27 Leo Liu <sdl.web@gmail.com>
10561
10562 * progmodes/octave.el (octave-function-file-p)
10563 (octave-skip-comment-forward, octave-function-file-comment)
10564 (octave-update-function-file-comment): New functions.
10565 (octave-mode-map): Bind C-c ; to
10566 octave-update-function-file-comment.
10567 (octave-mode-menu): Add octave-update-function-file-comment.
10568 (octave-mode, inferior-octave-mode): Fix doc-string.
10569 (octave-insert-defun): Conform to Octave's coding convention.
10570 (Bug#14285)
10571
10572 * files.el (basic-save-buffer): Don't let errors in
10573 before-save-hook prevent saving buffer.
10574
10575 2013-04-20 Roland Winkler <winkler@gnu.org>
10576
10577 * faces.el (read-face-name): Use completing-read if arg multiple
10578 is nil.
10579
10580 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10581
10582 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10583 displayed, move point to after the totals line.
10584 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10585 for the details.
10586
10587 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10588
10589 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10590 Add current dir to the load-path.
10591 (package-generate-autoloads): Don't rely on
10592 autoload-ensure-default-file.
10593
10594 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10595
10596 * textmodes/remember.el (remember-store-in-files): Document that
10597 the file name format is passed to `format-time-string'.
10598
10599 2013-04-26 Leo Liu <sdl.web@gmail.com>
10600
10601 * progmodes/octave.el (octave-sync-function-file-names): New function.
10602 (octave-mode): Use it in before-save-hook.
10603
10604 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10607 (bug#14274).
10608
10609 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10610 \n and comment, even if it's not an implicit ; (bug#14218).
10611
10612 2013-04-26 Glenn Morris <rgm@gnu.org>
10613
10614 * subr.el (read-number): Once more use `read' rather than
10615 `string-to-number', to trap non-numeric input. (Bug#14254)
10616
10617 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10618
10619 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10620 Use `syntax-multiline' text property consistently instead of
10621 `font-lock-multiline'. (Bug#14237)
10622
10623 2013-04-26 Glenn Morris <rgm@gnu.org>
10624
10625 * emacs-lisp/shadow.el (list-load-path-shadows):
10626 No longer necessary to check for duplicate simple.el, since
10627 2012-07-07 change to init_lread to not include installation lisp
10628 directories in load-path when running uninstalled. (Bug#14270)
10629
10630 2013-04-26 Leo Liu <sdl.web@gmail.com>
10631
10632 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10633 (octave-mode, inferior-octave-mode): Use setq-local.
10634 (octave-not-in-string-or-comment-p): Rename to
10635 octave-in-string-or-comment-p.
10636 (octave-in-comment-p, octave-in-string-p)
10637 (octave-in-string-or-comment-p): Replace defsubst with defun.
10638
10639 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10640
10641 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10642
10643 2013-04-25 Bastien Guerry <bzg@gnu.org>
10644
10645 * textmodes/remember.el (remember-data-directory)
10646 (remember-directory-file-name-format): Fix custom types.
10647
10648 2013-04-25 Leo Liu <sdl.web@gmail.com>
10649
10650 * progmodes/octave.el (octave-completion-at-point-function):
10651 Make use of inferior octave process.
10652 (octave-initialize-completions): Remove.
10653 (inferior-octave-completion-table): New function.
10654 (inferior-octave-completion-at-point): Use it.
10655 (octave-completion-alist): Remove.
10656
10657 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10660 (opascal-mode-syntax-table): New var.
10661 (opascal-literal-kind, opascal-is-literal-end)
10662 (opascal-literal-token-at): Rewrite.
10663 (opascal--literal-start-re, opascal-font-lock-keywords)
10664 (opascal--syntax-propertize): New constants.
10665 (opascal-font-lock-defaults): Adjust.
10666 (opascal-mode): Use them. Set comment-<foo> variables as well.
10667 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10668 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10669 (delphi-other-face, opascal-other-face): Remove face variables.
10670 (opascal-save-state): Remove macro.
10671 (opascal-fontifying-progress-step): Remove constant.
10672 (opascal--ignore-changes): Remove var.
10673 (opascal-set-token-property, opascal-parse-next-literal)
10674 (opascal-is-stable-literal, opascal-complete-literal)
10675 (opascal-is-literal-start, opascal-face-of)
10676 (opascal-parse-region, opascal-parse-region-until-stable)
10677 (opascal-fontify-region, opascal-after-change)
10678 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10679 (opascal-debug-parse-region, opascal-debug-parse-window)
10680 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10681 (opascal-debug-fontify-buffer): Remove.
10682 (opascal-debug-mode-map): Adjust accordingly.
10683
10684 2013-04-25 Leo Liu <sdl.web@gmail.com>
10685
10686 Merge octave-mod.el and octave-inf.el into octave.el with some
10687 cleanups.
10688 * progmodes/octave.el: New file renamed from octave-mod.el.
10689 * progmodes/octave-inf.el: Merged into octave.el.
10690 * progmodes/octave-mod.el: Renamed to octave.el.
10691
10692 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10693
10694 * textmodes/reftex-vars.el
10695 (reftex-label-ignored-macros-and-environments): New defcustom.
10696
10697 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10698
10699 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10702 (smie-indent-keyword): Improve the check to ensure that the next
10703 comment is really on the same line.
10704 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10705
10706 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10707 semi-colons if the line is not otherwise empty (bug#14218).
10708
10709 2013-04-25 Glenn Morris <rgm@gnu.org>
10710
10711 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10712
10713 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * progmodes/opascal.el (opascal-set-token-property): Rename from
10716 opascal-set-text-properties and only set `token' (bug#14134).
10717 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10718 (opascal-literal-text-properties): Remove.
10719 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10720 Adjust callers.
10721
10722 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10723
10724 * textmodes/remember.el (remember-handler-functions): Add an
10725 option for a new handler `remember-store-in-files'.
10726 (remember-data-directory, remember-directory-file-name-format):
10727 New options.
10728 (remember-store-in-files): New function to store remember notes
10729 as separate files within a directory.
10730
10731 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10732
10733 * progmodes/compile.el (compilation-next-error-function):
10734 Pass "formats" to compilation-find-file (bug#11777).
10735
10736 2013-04-24 Glenn Morris <rgm@gnu.org>
10737
10738 * vc/vc-bzr.el (vc-bzr-print-log):
10739 * vc/vc-hg.el (vc-hg-print-log):
10740 * vc/vc-svn.el (vc-svn-print-log):
10741 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10742
10743 * vc/vc-bzr.el (vc-bzr-print-log):
10744 * vc/vc-cvs.el (vc-cvs-print-log):
10745 * vc/vc-git.el (vc-git-print-log):
10746 * vc/vc-hg.el (vc-hg-print-log):
10747 * vc/vc-mtn.el (vc-mtn-print-log):
10748 * vc/vc-rcs.el (vc-rcs-print-log):
10749 * vc/vc-sccs.el (vc-sccs-print-log):
10750 * vc/vc-svn.el (vc-svn-print-log):
10751 * vc/vc.el (vc-print-log-internal): Doc fixes.
10752
10753 2013-04-23 Glenn Morris <rgm@gnu.org>
10754
10755 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10756 Remove venerable code attempting to avoid substitute-command-keys.
10757
10758 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10759
10760 * textmodes/reftex-vars.el (reftex-label-regexps):
10761 Call `reftex-compile-variables' after changes to this variable.
10762
10763 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10766 Use lexical-binding.
10767 (jit-lock-force-redisplay): Use markers, check buffer's continued
10768 existence and beware narrowed buffers.
10769 (jit-lock-fontify-now): Adjust call accordingly.
10770
10771 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10772
10773 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10774 to avoid misleading the user.
10775
10776 2013-04-22 Leo Liu <sdl.web@gmail.com>
10777
10778 * info-look.el: Prefer latex2e.info. (Bug#14240)
10779
10780 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10781
10782 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10783
10784 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10785 * net/tramp.el (tramp-call-process): ... here.
10786 (tramp-set-completion-function, tramp-parse-putty):
10787 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10788 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10789 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10790 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10791 (tramp-call-local-coding-command): Use `tramp-call-process'
10792 instead of `tramp-compat-call-process'.
10793
10794 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10795 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10796 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10797 (tramp-find-inline-compress): Improve traces.
10798 (tramp-maybe-send-script): Check for Perl binary.
10799 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10800
10801 2013-04-22 Daiki Ueno <ueno@gnu.org>
10802
10803 * epg.el (epg-context-pinentry-mode): New function.
10804 (epg-context-set-pinentry-mode): New function.
10805 (epg--start): Pass --pinentry-mode option to gpg command.
10806
10807 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10808
10809 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10810 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10811 `completion-at-point'. (Bug#13774)
10812
10813 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10814 default key binding for `describe-distribution' has been moved to
10815 `C-h C-o'. (Bug#13970)
10816
10817 2013-04-21 Glenn Morris <rgm@gnu.org>
10818
10819 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10820 Add doc strings.
10821 (vc-print-log): Clarify interactive prompt.
10822
10823 2013-04-20 Glenn Morris <rgm@gnu.org>
10824
10825 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10826 No longer include timestamp etc information.
10827
10828 2013-04-20 Roland Winkler <winkler@gnu.org>
10829
10830 * faces.el (read-face-name): Bug fix, return just one face if arg
10831 multiple is nil. (Bug#14209)
10832
10833 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10836 (remove-function): Autoload.
10837
10838 * comint.el (comint-redirect-original-filter-function): Remove.
10839 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10840 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10841 (vc-cvs-annotate-command):
10842 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10843 * progmodes/prolog.el (prolog-consult-compile):
10844 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10845 Use add/remove-function instead.
10846 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10847 (gud-tooltip-process-output, gud-tooltip-tips):
10848 Use add/remove-function instead.
10849 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10850 (scheme-interaction-mode, exit-scheme-interaction-mode):
10851 Use add/remove-function instead.
10852
10853 * vc/vc-dispatcher.el: Use lexical-binding.
10854 (vc--process-sentinel): Rename from vc-process-sentinel.
10855 Change last arg to be the code to run. Don't use vc-previous-sentinel
10856 and vc-sentinel-commands any more.
10857 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10858 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10859
10860 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10861
10862 * progmodes/sh-script.el (sh-imenu-generic-expression):
10863 Handle function names with a single character. (Bug#14111)
10864
10865 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10866
10867 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10868 for subroutines defined in an eval (bug#14182).
10869
10870 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10871
10872 * bookmark.el (bookmark-completing-read): Improve handling of empty
10873 string (bug#14176).
10874
10875 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10878
10879 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10880
10881 New faster Imenu implementation (bug#14058).
10882 * progmodes/python.el:
10883 (python-imenu-prev-index-position):
10884 (python-imenu-format-item-label-function)
10885 (python-imenu-format-parent-item-label-function)
10886 (python-imenu-format-parent-item-jump-label-function):
10887 New vars.
10888 (python-imenu-format-item-label)
10889 (python-imenu-format-parent-item-label)
10890 (python-imenu-format-parent-item-jump-label)
10891 (python-imenu--put-parent, python-imenu--build-tree)
10892 (python-imenu-create-index, python-imenu-create-flat-index)
10893 (python-util-popn): New functions.
10894 (python-mode): Set imenu-create-index-function to
10895 python-imenu-create-index.
10896
10897 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * winner.el (winner-active-region): Use region-active-p, activate-mark
10900 and deactivate-mark (bug#14225).
10901
10902 * simple.el (deactivate-mark): Don't inline it.
10903
10904 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10905
10906 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10907
10908 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10909
10910 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10911 file extensions from the archive-mode entry in order to prefer
10912 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10913
10914 2013-04-18 Leo Liu <sdl.web@gmail.com>
10915
10916 * bindings.el (help-event-list): Add ?\?.
10917
10918 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * subr.el (with-wrapper-hook): Declare obsolete.
10921 * simple.el (filter-buffer-substring-function): New hook.
10922 (filter-buffer-substring): Use it.
10923 (filter-buffer-substring-functions): Mark obsolete.
10924 * minibuffer.el (completion-in-region-function): New hook.
10925 (completion-in-region): Use it.
10926 (completion-in-region-functions): Mark obsolete.
10927 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10928 * abbrev.el (abbrev-expand-function): New hook.
10929 (expand-abbrev): Use it.
10930 (abbrev-expand-functions): Mark obsolete.
10931 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10932 and :filter-return.
10933
10934 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10935
10936 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10937 and do not care about match data.
10938
10939 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10942 completion tables when completing error conditions and
10943 `declare' arguments.
10944 (lisp-complete-symbol, field-complete): Mark as obsolete.
10945 (check-parens): Unmatched parens are user errors.
10946 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10947
10948 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10949
10950 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10951 command changed buffer (ie. `flyspell-pre-buffer' is not current
10952 buffer), which prevents making decisions based on invalid value of
10953 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10954 cause an error when `flyspell-pre-point' was nil after switching
10955 buffers.
10956 (flyspell-post-command-hook): No longer needs to change buffers when
10957 checking pre-word. While at it remove unnecessary progn.
10958
10959 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10960
10961 * textmodes/ispell.el (ispell-add-per-file-word-list):
10962 Fix `flyspell-correct-word-before-point' error when accepting
10963 words and `coment-padding' is an integer by using
10964 `comment-normalize-vars' (Bug #14214).
10965
10966 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10967
10968 New defun movement commands.
10969 * progmodes/python.el (python-nav--syntactically)
10970 (python-nav--forward-defun, python-nav-backward-defun)
10971 (python-nav-forward-defun): New functions.
10972
10973 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10974
10975 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10976 (python-syntax-context): Use named compiler-macro for backwards
10977 compatibility with Emacs 24.x.
10978
10979 2013-04-17 Leo Liu <sdl.web@gmail.com>
10980
10981 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10982 octave-hide-process-buffer.
10983
10984 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10987 (bug#14216).
10988
10989 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10990
10991 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10992 Fix adjustment of offset when receiving incomplete responses from GDB
10993 (bug#14129).
10994
10995 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10998 python-mode-abbrev-table.
10999 (python-skeleton-define): Adjust accordingly.
11000 (python-mode-abbrev-table): New table that inherits from it so that
11001 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11002
11003 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11004 (abbrev-symbol): Use it.
11005 (abbrev--before-point): Use it since we already handle inheritance.
11006
11007 2013-04-16 Leo Liu <sdl.web@gmail.com>
11008
11009 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11010 binding to info-lookup-symbol.
11011
11012 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11013
11014 * minibuffer.el (completion--twq-all):
11015 * term/ns-win.el (ns-initialize-window-system):
11016 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11017
11018 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11021 global bindings.
11022
11023 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11024
11025 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11026
11027 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11028 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11029 to nil.
11030 (ruby-end-of-defun): Remove the unused arg, change the docstring
11031 to reflect that this function is only used as the value of
11032 `end-of-defun-function'.
11033 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11034 to reflect an earlier change that beginning/end-of-defun functions
11035 jump between methods in a class definition, as well as top-level
11036 functions.
11037
11038 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * minibuffer.el (minibuffer-complete): Don't just scroll
11041 a *Completions* that's been iconified.
11042 (minibuffer-force-complete): Make sure repetitions do cycle when going
11043 through completion-in-region -> minibuffer-complete.
11044
11045 2013-04-15 Alan Mackenzie <acm@muc.de>
11046
11047 Correct the placement of c-cpp-delimiters when there're #s not at
11048 col 0.
11049
11050 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11051 place a submatch around the #.
11052 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11053 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11054 on the #, not BOL.
11055
11056 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11059 (advice--member-p): New arg `name'.
11060 (advice--add-function, advice-member-p): Use it (bug#14202).
11061
11062 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11063
11064 Reformulate java imenu-generic-expression.
11065 The old expression contained ill formed regexps.
11066
11067 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11068 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11069 (cc-imenu-java-method-arg-regexp): New defconsts.
11070 (cc-imenu-java-build-type-args-regex): New defun.
11071 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11072 handling of spaces in the regexp.
11073
11074 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11075
11076 * textmodes/ispell.el (ispell-command-loop): Remove
11077 flyspell highlight of a word when ispell accepts it (bug #14178).
11078
11079 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11082 uses code from the previous `ange-ftp-run-real-handler'.
11083 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11084 only in case that function exist. This is needed for proper
11085 unloading of Tramp.
11086
11087 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11088
11089 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11090
11091 * textmodes/reftex.el (reftex-compile-variables): Use it.
11092
11093 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * files.el (normal-mode): Only use default major-mode if no other mode
11096 was specified.
11097
11098 * emacs-lisp/trace.el (trace-values): New function.
11099
11100 * files.el: Allow : in local variables (bug#14089).
11101 (hack-local-variable-regexp): New var.
11102 (hack-local-variables-prop-line, hack-local-variables): Use it.
11103
11104 2013-04-13 Roland Winkler <winkler@gnu.org>
11105
11106 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11107 data before it gets modified by bibtex-beginning-of-entry.
11108
11109 2013-04-13 Roland Winkler <winkler@gnu.org>
11110
11111 * textmodes/bibtex.el (bibtex-url): Doc fix.
11112
11113 2013-04-13 Roland Winkler <winkler@gnu.org>
11114
11115 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11116 does not visit a BibTeX file, exclude it from the list of buffers
11117 returned by bibtex-initialize.
11118
11119 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11120
11121 * window.el (split-window): Remove interactive form, since as a
11122 command this function is a special case of split-window-below.
11123 Correct doc string.
11124
11125 2013-04-12 Roland Winkler <winkler@gnu.org>
11126
11127 * faces.el (read-face-name): Do not override value of arg default.
11128 Allow single faces and strings as default values. Remove those
11129 elements from return value that are not faces.
11130 (describe-face): Simplify.
11131 (face-at-point): New optional args thing and multiple so that this
11132 function can provide the same functionality previously provided by
11133 read-face-name.
11134 (make-face-bold, make-face-unbold, make-face-italic)
11135 (make-face-unitalic, make-face-bold-italic, invert-face)
11136 (modify-face, read-face-and-attribute): Use face-at-point.
11137
11138 * cus-edit.el (customize-face, customize-face-other-window)
11139 * cus-theme.el (custom-theme-add-face)
11140 * face-remap.el (buffer-face-set)
11141 * facemenu.el (facemenu-set-face): Use face-at-point.
11142
11143 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11144
11145 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11146
11147 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11148
11149 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11150 off leading { and trailing } from field values.
11151
11152 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * emacs-lisp/timer.el (timer--check): New function.
11155 (timer--time, timer-set-function, timer-event-handler): Use it.
11156 (timer-set-idle-time): Simplify.
11157 (timer--activate): CSE.
11158 (timer-event-handler): Give more info in error message.
11159 (internal-timer-start-idle): New function, moved from C.
11160
11161 * mpc.el (mpc-proc): Add `restart' argument.
11162 (mpc-proc-cmd): Use it.
11163 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11164 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11165 less often.
11166
11167 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11168
11169 * progmodes/sh-script.el: Implement `sh-mode' own
11170 `add-log-current-defun-function' (bug#14112).
11171 (sh-current-defun-name): New function.
11172 (sh-mode): Use the function.
11173
11174 2013-04-09 Bastien Guerry <bzg@gnu.org>
11175
11176 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11177
11178 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11181
11182 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11183 timer (bug#14156).
11184
11185 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11186
11187 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11188 declaration.
11189
11190 2013-04-07 Leo Liu <sdl.web@gmail.com>
11191
11192 * pcmpl-x.el: New file.
11193
11194 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11195
11196 Do not set x-display-name until X connection is established.
11197 This is needed to prevent from weird situation described at
11198 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11199 * frame.el (make-frame): Set x-display-name after call to
11200 window system initialization function, not before.
11201 * term/x-win.el (x-initialize-window-system): Add optional
11202 display argument and use it.
11203 * term/w32-win.el (w32-initialize-window-system):
11204 * term/ns-win.el (ns-initialize-window-system):
11205 * term/pc-win.el (msdos-initialize-window-system):
11206 Add compatible optional display argument.
11207
11208 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11209
11210 * files.el (normal-backup-enable-predicate): On MS-Windows and
11211 MS-DOS compare truenames of temporary-file-directory and of the
11212 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11213 don't fail comparison by compare-strings. Also, compare file
11214 names case-insensitively on MS-Windows and MS-DOS.
11215
11216 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11219 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11220
11221 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11222
11223 * whitespace.el (whitespace-color-on, whitespace-color-off):
11224 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11225
11226 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11227
11228 * ispell.el (ispell-set-spellchecker-params):
11229 Really set `ispell-args' for all equivs.
11230
11231 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11232
11233 * ido.el (ido-completions): Use extra elements of ido-decorations
11234 (bug#14143).
11235 (ido-decorations): Update docstring.
11236
11237 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11238
11239 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11240 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11241 nil during initialization, in order not to miss changes since the
11242 file was opened. (Bug#14140)
11243
11244 2013-04-05 Leo Liu <sdl.web@gmail.com>
11245
11246 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11247
11248 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11249
11250 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11251
11252 2013-04-04 Glenn Morris <rgm@gnu.org>
11253
11254 * electric.el (electric-pair-inhibit-predicate): Add :version.
11255
11256 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11259 when a package is required several times (bug#14082).
11260
11261 2013-04-04 Roland Winkler <winkler@gnu.org>
11262
11263 * faces.el (read-face-name): Behave as promised by the docstring.
11264 Assume that arg default is a list of faces.
11265 (describe-face): Call read-face-name with list of default faces.
11266
11267 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11268
11269 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11270 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11271 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11272 the header.
11273 (bookmark-exit-hook-internal): Save even if list is empty.
11274
11275 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11276
11277 * emacs-lisp/package.el (package-pinned-packages): New var.
11278 (package--add-to-archive-contents): Obey it (bug#14118).
11279
11280 2013-04-03 Alan Mackenzie <acm@muc.de>
11281
11282 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11283 Also adapt to the new values of element 7 of a parse state.
11284
11285 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11286 parameter `not-in-delimiter'. Handle being inside comment opener.
11287 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11288 character in case we're typing a '*' after a '/'.
11289 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11290 instead by passing the parameter to c-state-pp-to-literal.
11291
11292 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11293 for elt. 7 of a parse state.
11294
11295 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11296
11297 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11298 * international/latin1-disp.el, international/mule-util.el:
11299 * language/cyril-util.el, language/european.el, language/ind-util.el:
11300 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11301 * language/tibetan.el, language/viet-util.el:
11302 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11303
11304 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11307 (electric-pair-post-self-insert-function): Use it.
11308 (electric-pair-default-inhibit): New function, extracted from
11309 electric-pair-post-self-insert-function.
11310
11311 2013-03-31 Roland Winkler <winkler@gnu.org>
11312
11313 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11314
11315 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11318
11319 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11320
11321 Un-indent after "pass" and "return" statements (Bug#13888)
11322 * progmodes/python.el (python-indent-block-enders): New var.
11323 (python-indent-calculate-indentation): Use it.
11324
11325 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11328 defun. Defining it as defalias could introduce too eager
11329 byte-compiler optimization. (Bug#14030)
11330
11331 2013-03-30 Chong Yidong <cyd@gnu.org>
11332
11333 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11334
11335 2013-03-30 Leo Liu <sdl.web@gmail.com>
11336
11337 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11338 (kmacro-execute-from-register): Pass the keyboard macro to
11339 kmacro-call-macro or repeating won't work correctly.
11340
11341 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11342
11343 * progmodes/subword.el: Back to using `forward-symbol'.
11344
11345 * subr.el (forward-whitespace, forward-symbol)
11346 (forward-same-syntax): Move from thingatpt.el.
11347
11348 2013-03-29 Leo Liu <sdl.web@gmail.com>
11349
11350 * kmacro.el (kmacro-to-register): New command.
11351 (kmacro-execute-from-register): New function.
11352 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11353
11354 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * mpc.el: Use defvar-local and setq-local.
11357 (mpc--proc-connect): Connection failures are not bugs.
11358 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11359 (mpc-volume-map): Bind to the up-events.
11360
11361 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11362
11363 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11364 instead of `forward-symbol'.
11365
11366 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11369 (edebug--recursive-edit): Use it.
11370 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11371 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11372
11373 2013-03-28 Leo Liu <sdl.web@gmail.com>
11374
11375 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11376
11377 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11378
11379 * facemenu.el (list-colors-callback): New defvar.
11380 (list-colors-redisplay): New function.
11381 (list-colors-display): Install list-colors-redisplay as the
11382 revert-buffer-function. (Bug#14063)
11383
11384 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11387 and suffixes don't overlap (bug#14061).
11388
11389 * case-table.el: Use lexical-binding.
11390 (case-table-get-table): New function.
11391 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11392
11393 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11394
11395 * progmodes/subword.el: Add `superword-mode' to do word motion
11396 over symbol_words (parallels and leverages `subword-mode' which
11397 does word motion inside MixedCaseWords).
11398
11399 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11400
11401 * eshell/em-unix.el: Move su and sudo to...
11402 * eshell/em-tramp.el: ...Eshell tramp module.
11403
11404 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11407 Change return value to be a sexp. Delay `get-buffer' to after
11408 restoring the desktop (bug#13951).
11409
11410 2013-03-26 Leo Liu <sdl.web@gmail.com>
11411
11412 * register.el: Move semantic tag handling back to
11413 cedet/semantic/senator.el. (Bug#14052)
11414
11415 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11418 into the prompt either (bug#13963).
11419
11420 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11423 part of "(error-foo)".
11424
11425 2013-03-24 Juri Linkov <juri@jurta.org>
11426
11427 * replace.el (list-matching-lines-prefix-face): New defcustom.
11428 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11429 `occur-engine' if `face-differs-from-default-p' returns t.
11430 (occur-engine): Add `,' inside backquote construct to evaluate
11431 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11432 Pass `prefix-face' to the functions `occur-context-lines' and
11433 `occur-engine-add-prefix'.
11434 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11435 `prefix-face' and propertize the prefix with `prefix-face'.
11436 (Bug#14017)
11437
11438 2013-03-24 Leo Liu <sdl.web@gmail.com>
11439
11440 * nxml/rng-valid.el (rng-validate-while-idle)
11441 (rng-validate-quick-while-idle): Guard against deleted buffer.
11442 (Bug#13999)
11443
11444 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11445 is the last entry in kill-buffer-hook.
11446
11447 * files.el (kill-buffer-hook): Doc fix.
11448
11449 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11450
11451 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11452 Make it safe-local.
11453
11454 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11455
11456 2013-03-23 Leo Liu <sdl.web@gmail.com>
11457
11458 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11459 Remove.
11460
11461 * nxml/rng-valid.el (rng-validate-mode)
11462 (rng-after-change-function, rng-do-some-validation):
11463 * nxml/rng-maint.el (rng-validate-buffer):
11464 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11465 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11466 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11467 (nxml-extend-after-change-region): Use with-silent-modifications.
11468
11469 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11470 timer-idle-list.
11471
11472 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11473 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11474 timer-idle-list. (Bug#13999)
11475
11476 2013-03-23 Juri Linkov <juri@jurta.org>
11477
11478 * info.el (info-index-match): New face.
11479 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11480 main pattern and add text properties with the new face to matches
11481 in index entries relative to the beginning of the index entry.
11482 (Bug#14015)
11483
11484 2013-03-21 Eric Ludlam <zappo@gnu.org>
11485
11486 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11487 Inhibit read only while inserting objects.
11488
11489 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11490
11491 * progmodes/cfengine.el: Update docs to mention
11492 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11493 symbol motion. Remove "_" from the word syntax.
11494
11495 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11496
11497 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11498 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11499
11500 2013-03-20 Juri Linkov <juri@jurta.org>
11501
11502 * info.el (Info-next-reference-or-link)
11503 (Info-prev-reference-or-link): New functions.
11504 (Info-next-reference, Info-prev-reference): Use them.
11505 (Info-try-follow-nearest-node): Handle footnote navigation.
11506 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11507
11508 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11511 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11512
11513 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11514
11515 Suppress unnecessary non-ASCII chatter during build process.
11516 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11517 (batch-skkdic-convert): Suppress most of the chatter.
11518 It's not needed so much now that machines are faster,
11519 and its non-ASCII component was confusing; see Dmitry Gutov in
11520 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11521
11522 2013-03-20 Leo Liu <sdl.web@gmail.com>
11523
11524 * ido.el (ido-chop): Fix bug#10994.
11525
11526 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11529 Remove vars.
11530 (whitespace-color-on, whitespace-color-off):
11531 Use `font-lock-fontify-buffer' (Bug#13817).
11532
11533 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11536 remapping in mode-line.
11537 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11538
11539 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11540
11541 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11542 value for `whitespace-line' face (Bug#13875).
11543 (whitespace-font-lock-keywords): Change description.
11544 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11545 the constructed keywords instead.
11546 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11547
11548 2013-03-19 Leo Liu <sdl.web@gmail.com>
11549
11550 * progmodes/compile.el (compilation-display-error): New command.
11551 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11552 C-o. (Bug#13992)
11553
11554 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11555
11556 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11557
11558 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11559
11560 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11561
11562 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11563
11564 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11565
11566 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11567 * net/tramp-gvfs.el (top):
11568 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11569 (tramp-handle-shell-command): Use it.
11570 (tramp-dissect-file-name): Raise an error when hostname is a
11571 method name, and neither method nor user is specified.
11572
11573 * net/trampver.el: Update release number.
11574
11575 2013-03-18 Leo Liu <sdl.web@gmail.com>
11576
11577 Make sure eldoc can be turned off properly.
11578 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11579 eldoc-mode.
11580 (eldoc-display-message-p): Revert last change.
11581 (eldoc-display-message-no-interference-p)
11582 (eldoc-print-current-symbol-info): Tweak.
11583
11584 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11585
11586 * doc-view.el (doc-view-new-window-function): Check the new window
11587 overlay's display property instead the char property of the
11588 buffer's first char. Use `with-selected-window' instead of
11589 `save-window-excursion' with `select-window'.
11590 (doc-view-document->bitmap): Check the current doc-view overlay's
11591 display property instead the char property of the buffer's first char.
11592
11593 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11594
11595 Automate the build of ja-dic.el (Bug#13984).
11596 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11597 from the input, rather than assume that it's been done for us by the
11598 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11599 the current date into a ja-dic.el comment, as that complicates
11600 regression testing.
11601
11602 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * whitespace.el: Fix double evaluation.
11605 (whitespace-space, whitespace-hspace, whitespace-tab)
11606 (whitespace-newline, whitespace-trailing, whitespace-line)
11607 (whitespace-space-before-tab, whitespace-indentation)
11608 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11609 obsolete defvars.
11610 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11611 (whitespace-color-on): Use a single font-lock-add-keywords call.
11612 Fix double-evaluation of face variables.
11613
11614 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11615
11616 * net/tramp-adb.el (tramp-adb-parse-device-names):
11617 Use `start-process' instead of `call-process'. Otherwise, the
11618 function might be blocked under MS Windows. (Bug#13299)
11619
11620 2013-03-17 Leo Liu <sdl.web@gmail.com>
11621
11622 Extend eldoc to display info in the mode-line. (Bug#13978)
11623 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11624 (eldoc-mode-line-string): New variable.
11625 (eldoc-minibuffer-message): New function.
11626 (eldoc-message-function): New variable.
11627 (eldoc-message): Use it.
11628 (eldoc-display-message-p)
11629 (eldoc-display-message-no-interference-p):
11630 Support eldoc-post-insert-mode.
11631
11632 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11633 (eval-expression): Run it.
11634
11635 2013-03-17 Roland Winkler <winkler@gnu.org>
11636
11637 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11638 strings in the list of return values.
11639
11640 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11641
11642 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11643 radix before checking for HMS forms.
11644
11645 2013-03-16 Leo Liu <sdl.web@gmail.com>
11646
11647 * progmodes/scheme.el: Add indentation and font-locking for λ.
11648 (Bug#13975)
11649
11650 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11653 token before point (bug#13942).
11654
11655 2013-03-16 Leo Liu <sdl.web@gmail.com>
11656
11657 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11658
11659 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11660
11661 * startup.el (command-line-normalize-file-name): Fix handling of
11662 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11663 <xfq.free@gmail.com> in
11664 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11665
11666 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11667
11668 Sync with Tramp 2.2.7.
11669
11670 * net/trampver.el: Update release number.
11671
11672 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11673
11674 * doc-view.el: Fix bug#13887.
11675 (doc-view-insert-image): Don't modify overlay associated to
11676 non-live windows, and implement horizontal centering of image in
11677 case it's smaller than the window.
11678 (doc-view-new-window-function): Force redisplay of new windows on
11679 doc-view buffers.
11680
11681 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11682
11683 * saveplace.el (save-place-alist-to-file): Don't sort
11684 `save-place-alist', just pretty-print it (bug#13882).
11685
11686 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11687
11688 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11689 Check whether `default-file-name-coding-system' is bound.
11690 It isn't in XEmacs.
11691
11692 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11695 backquotes for `obsolete' (bug#13929).
11696
11697 * international/mule.el (find-auto-coding): Include file name in
11698 obsolescence warning (bug#13922).
11699
11700 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11701
11702 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11703 for CFEngine 3-specific indentation.
11704 (cfengine3-indent-line): Use it. Fix up category regex.
11705 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11706
11707 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 * type-break.el (type-break-file-name):
11710 * textmodes/remember.el (remember-data-file):
11711 * strokes.el (strokes-file):
11712 * shadowfile.el (shadow-initialize):
11713 * saveplace.el (save-place-file):
11714 * ps-bdf.el (bdf-cache-file):
11715 * progmodes/idlwave.el (idlwave-config-directory):
11716 * net/quickurl.el (quickurl-url-file):
11717 * international/kkc.el (kkc-init-file-name):
11718 * ido.el (ido-save-directory-list-file):
11719 * emulation/viper.el (viper-custom-file-name):
11720 * emulation/vip.el (vip-startup-file):
11721 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11722 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11723
11724 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11725
11726 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11727 * language/thai-word.el: Switch to UTF-8.
11728
11729 See ChangeLog.16 for earlier changes.
11730
11731 ;; Local Variables:
11732 ;; coding: utf-8
11733 ;; End:
11734
11735 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11736
11737 This file is part of GNU Emacs.
11738
11739 GNU Emacs is free software: you can redistribute it and/or modify
11740 it under the terms of the GNU General Public License as published by
11741 the Free Software Foundation, either version 3 of the License, or
11742 (at your option) any later version.
11743
11744 GNU Emacs is distributed in the hope that it will be useful,
11745 but WITHOUT ANY WARRANTY; without even the implied warranty of
11746 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11747 GNU General Public License for more details.
11748
11749 You should have received a copy of the GNU General Public License
11750 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.