* lisp/progmodes/python.el:
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * progmodes/python.el:
4 (python-nav--lisp-forward-sexp): New function.
5 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
6 python-nav-lisp-forward-sexp-safe.
7 (python-nav--forward-sexp): New argument SAFE allows switching
8 forward sexp movement behavior for parens.
9 (python-nav-forward-sexp): Throw errors on unterminated parens
10 (Bug#16191).
11 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12 (python-nav-backward-sexp-safe): New functions.
13 (python-shell-buffer-substring): Use
14 `python-nav-forward-sexp-safe'.
15
16 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
17
18 * net/shr.el (shr-find-fill-point): Don't break lines before a
19 quotation mark.
20
21 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
22
23 * net/eww.el (eww-form-textarea): Use a different face for
24 textareas than text input since they have different keymaps
25 (bug#16142).
26
27 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
28
29 * progmodes/python.el (python-nav-beginning-of-statement): Speed
30 up (Bug#15295).
31
32 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
33
34 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
35 the window configuration.
36
37 2013-12-24 Eli Zaretskii <eliz@gnu.org>
38
39 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
40 we run on MS-Windows or MS-DOS.
41
42 2013-12-24 Martin Rudalics <rudalics@gmx.at>
43
44 * window.el (balance-windows-area): Call window-size instead of
45 window-height and window-width. Bug#16241.
46
47 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
48
49 * net/eww.el (eww-bookmark-quit): Remove.
50 (eww-bookmark-browse): Restore the window configuration when you
51 choose a bookmark (bug#16144).
52
53 2013-12-24 Daniel Colascione <dancol@dancol.org>
54
55 * icomplete.el: Remove redundant :group arguments to `defcustom'
56 throughout.
57 (icomplete-show-matches-on-no-input): New customizable variable.
58 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
59 we have something to show.
60 (icomplete-exhibit): Compute completions even if we have no user
61 input.
62
63 2013-12-23 Daniel Colascione <dancol@dancol.org>
64
65 * icomplete.el: Move `provide' to end of file.
66
67 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
68
69 * net/gnutls.el (gnutls-verify-error): Add version tag.
70
71 2013-12-23 Chong Yidong <cyd@gnu.org>
72
73 * subr.el (set-transient-map): Rename from
74 set-temporary-overlay-map. Doc fix.
75
76 * face-remap.el (text-scale-adjust):
77 * indent.el (indent-rigidly):
78 * kmacro.el (kmacro-call-macro):
79 * minibuffer.el (minibuffer-force-complete):
80 * repeat.el (repeat):
81 * simple.el (universal-argument--mode):
82 * calendar/todo-mode.el (todo-insert-item--next-param):
83 * progmodes/f90.el (f90-abbrev-start): Callers changed.
84
85 * indent.el (indent-rigidly): Use substitute-command-keys.
86
87 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
88
89 * net/eww.el (eww-tag-select): Add text-property to jump to next
90 select field.
91 (eww) : Add non-supported ftp error.
92
93 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
94
95 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
96 comments. Handle electric indent after typing `?' and `!'.
97
98 2013-12-22 Chong Yidong <cyd@gnu.org>
99
100 * faces.el (face-spec-recalc): If the theme specs are not
101 applicable to a frame, fall back on the defface spec. This
102 prevents themes from obliterating faces on low-color terminals.
103
104 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
105
106 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
107 after `{'. We need it after block openers, and it doesn't seem
108 to hurt after hash openers.
109
110 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
111
112 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
113 extracted from `ruby-smie-rules'.
114 (ruby--electric-indent-chars): New variable.
115 (ruby--electric-indent-p): New function.
116 (ruby-mode): Use `electric-indent-functions' instead of
117 `electric-indent-chars'.
118
119 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
120
121 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
122 docstring.
123 (ruby-smie-rules): Indent plus one level after `=>'.
124
125 2013-12-21 Richard Stallman <rms@gnu.org>
126
127 * simple.el (newline): Doc fix.
128
129 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
130
131 * net/eww.el (eww-list-histories, eww-list-histories)
132 (eww-history-browse, eww-history-quit, eww-history-kill)
133 (eww-history-mode-map, eww-history-mode): New command and
134 functions to list browser histories.
135 (eww-form-text): Support text form with disabled
136 and readonly attributes.
137 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
138
139 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
140
141 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
142 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
143 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
144 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
145 Use `user-error'.
146 (eww-bookmark-mode-map): Add menu.
147 (eww-render, eww-mode): Use `setq-local'.
148 (eww-tool-bar-map): New variable.
149 (eww-mode): Set `tool-bar-map'.
150 (eww-view-source): Check for `html-mode' with `fboundp'.
151
152 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
153
154 * net/shr.el (shr--extract-best-source): Don't bug out on audio
155 elements with text inside. Also remove debugging.
156
157 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
158
159 * cus-start.el (all): Add ns-use-srgb-colorspace.
160
161 2013-12-21 Chong Yidong <cyd@gnu.org>
162
163 * custom.el (custom-theme-recalc-face): Do nothing if the face is
164 undefined. Thus, theme settings for undefined faces do not take
165 effect until the faces are defined with defface, the same as with
166 theme variables.
167
168 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
169 (face-spec-reset-face): Don't assign extra properties in temacs.
170 (face-spec-recalc): Apply X resources too.
171
172 2013-12-21 Chong Yidong <cyd@gnu.org>
173
174 * faces.el (face-spec-set):
175 * cus-face.el (custom-theme-set-faces, custom-set-faces):
176 * custom.el (defface): Doc fixes (Bug#16203).
177
178 * indent.el (indent-rigidly-map): Add docstring, and move commands
179 into named functions.
180 (indent-rigidly-left, indent-rigidly-right)
181 (indent-rigidly-left-to-tab-stop)
182 (indent-rigidly-right-to-tab-stop): New functions. Decide on
183 indentation direction based on bidi direction, and accumulate
184 sequential commands in a single undo boundary.
185 (indent-rigidly--pop-undo): New utility function.
186
187 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
188
189 * faces.el (read-face-name): Require crm.el when using crm-separator.
190
191 2013-12-20 Daniel Colascione <dancol@dancol.org>
192
193 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
194 so that we don't reflow comments into the shebang line.
195
196 2013-12-20 Juri Linkov <juri@jurta.org>
197
198 * saveplace.el (save-place-to-alist): Add `dired-filename' as
199 a position when `dired-directory' is non-nil. Check integer
200 positions with `integerp'.
201 (toggle-save-place, save-places-to-alist): Add check for
202 `dired-directory'.
203 (save-place-find-file-hook): Check integer positions with
204 `integerp'.
205 (save-place-dired-hook): Use `dired-goto-file' when
206 `dired-filename' is found in the assoc list. Check integer
207 positions with `integerp'.
208 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
209
210 * dired.el (dired-initial-position-hook): Rename back from
211 `dired-initial-point-hook'.
212 (dired-initial-position): Rename `dired-initial-point-hook' to
213 `dired-initial-position-hook'.
214 (dired-file-name-at-point): Doc fix. (Bug#15329)
215
216 2013-12-20 Juri Linkov <juri@jurta.org>
217
218 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
219 (read-regexp-suggestions): New function.
220 (read-regexp): Use `read-regexp-defaults-function' to get default values.
221 Use `read-regexp-suggestions'. Add non-empty default to history
222 for empty input.
223 (occur-read-regexp-defaults-function): Remove function.
224 (occur-read-primary-args): Use `regexp-history-last' instead of
225 `occur-read-regexp-defaults-function'.
226
227 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
228 (hi-lock-line-face-buffer, hi-lock-face-buffer)
229 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
230 `hi-lock-read-regexp-defaults-function'. Doc fix.
231 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
232 with `find-tag-default-as-symbol-regexp'. Doc fix.
233 (hi-lock-read-regexp-defaults): Remove function.
234 (hi-lock-regexp-okay): Add check for null.
235
236 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
237 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
238
239 * subr.el (find-tag-default-as-symbol-regexp): New function.
240 (find-tag-default-as-regexp): Move symbol regexp formatting to
241 `find-tag-default-as-symbol-regexp'.
242
243 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
244
245 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
246 (Bug#14179)
247
248 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
249
250 * calendar/todo-mode.el: New implementation of item insertion
251 commands and key bindings.
252 (todo-key-prompt): New face.
253 (todo-insert-item): New command.
254 (todo-insert-item--parameters): New defconst, replacing defvar
255 todo-insertion-commands-args-genlist.
256 (todo-insert-item--param-key-alist): New defconst, replacing
257 defvar todo-insertion-commands-arg-key-list.
258 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
259 (todo-insert-item--argsleft, todo-insert-item--apply-args)
260 (todo-insert-item--next-param): New functions.
261 (todo-insert-item--args, todo-insert-item--argleft)
262 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
263 New variables.
264 (todo-key-bindings-t): Change binding of "i" from
265 todo-insertion-map to todo-insert-item.
266 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
267 (todo-insertion-command-name, todo-insertion-commands-names)
268 (todo-define-insertion-command, todo-insertion-commands)
269 (todo-insertion-key-bindings, todo-insertion-map): Remove.
270
271 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
272
273 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
274 (todo-toggle-item-highlighting): Use eval-and-compile instead of
275 eval-when-compile.
276 (todo-move-category): Allow choosing a non-existing todo file to
277 move the category to, and create that file.
278 (todo-default-priority): New user option.
279 (todo-set-item-priority): Use it.
280 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
281 (desktop-restore-file-buffer): Declare.
282 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
283 (todo-modes-set-2): Locally set desktop-save-buffer to
284 todo-desktop-save-buffer.
285 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
286 (auto-mode-alist): Add autoload cookie.
287
288 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
289
290 * emacs-lisp/subr-x.el: Renamed from helpers.el.
291 helpers.el was a poor choice of name.
292 (string-remove-prefix): New function.
293 (string-remove-suffix): New function.
294
295 2013-12-20 Martin Rudalics <rudalics@gmx.at>
296
297 Fix assignment for new window total sizes.
298 * window.el (window--pixel-to-size): Remove function.
299 (window--pixel-to-total-1, window--pixel-to-total):
300 Fix calculation of new total sizes.
301
302 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
303
304 * comint.el (comint-output-filter): Fix rear-nonsticky property
305 placement (Bug#16010).
306
307 2013-12-20 Chong Yidong <cyd@gnu.org>
308
309 * faces.el (read-color): Minor fix for completion function.
310
311 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
312
313 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
314 New option. (Bug#16182)
315 (ruby-smie--indent-to-stmt-p): Use it.
316 (ruby-smie-rules): Revert the logic in the handling of `when'.
317 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
318 (ruby-deep-arglist, ruby-deep-indent-paren)
319 (ruby-deep-indent-paren-style): Update docstrings to note that the
320 vars don't have any effect with SMIE.
321
322 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
323
324 * calc/calc.el (calc-enter, calc-pop): Use the variable
325 `calc-context-sensitive-enter'.
326
327 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
328
329 * net/shr.el (shr-insert): Protect against infloops in degenerate
330 tables.
331
332 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
333
334 * progmodes/octave.el (octave): Add link to manual and octave
335 homepage.
336 (octave-mode-menu): Link to octave-mode manual.
337
338 2013-12-20 Leo Liu <sdl.web@gmail.com>
339
340 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
341 insertion using skeleton-end-newline. (Bug#16138)
342
343 2013-12-20 Juri Linkov <juri@jurta.org>
344
345 * replace.el (occur-engine): Use `add-face-text-property'
346 to add the face property to matches and titles. (Bug#14645)
347
348 * hi-lock.el (hi-green): Use lighter color "light green" closer to
349 the palette of other hi-lock colors.
350 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
351
352 2013-12-19 Juri Linkov <juri@jurta.org>
353
354 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
355 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
356 (minibuffer-history-symbol): Move variable declaration closer to
357 its usage.
358
359 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
360 (Bug#14785)
361
362 2013-12-19 Juri Linkov <juri@jurta.org>
363
364 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
365 New function.
366 (log-edit-hook): Add it to :options. (Bug#16170)
367
368 2013-12-19 Juri Linkov <juri@jurta.org>
369
370 * simple.el (eval-expression-print-format): Don't check for
371 command names and the last command. Always display additional
372 formats of the integer result in the echo area, and insert them
373 to the current buffer only with a zero prefix arg.
374 Display character when char-displayable-p is non-nil.
375 (eval-expression): With a zero prefix arg, set `print-length' and
376 `print-level' to nil, and insert the integer values from
377 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
378
379 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
380 `eval-last-sexp-arg-internal'. Doc fix.
381 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
382 `eval-last-sexp-print-value'. Doc fix.
383 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
384 Set `print-length' and `print-level' to nil when arg is zero.
385 (eval-last-sexp): Doc fix.
386 (eval-defun-2): Print the integer values from
387 `eval-expression-print-format' at the end.
388
389 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
390 values from `eval-expression-print-format' at the end.
391
392 * ielm.el (ielm-eval-input): Print the integer
393 values from `eval-expression-print-format' at the end.
394
395 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
396
397 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
398 2013-12-11T19:01:44Z!tzz@lifelogs.com.
399
400 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
403 (hl-line-highlight, global-hl-line-highlight): Use it.
404 (hl-line-overlay): Use defvar-local.
405
406 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
407
408 * term/ns-win.el: Require dnd.
409 (global-map): Remove drag items.
410 (ns-insert-text, ns-set-foreground-at-mouse)
411 (ns-set-background-at-mouse):
412 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
413 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
414 New functions.
415
416 2013-12-19 Glenn Morris <rgm@gnu.org>
417
418 * emacs-lisp/ert.el (ert-select-tests):
419 Fix string/symbol mixup. (Bug#16121)
420
421 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
422
423 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
424 keywords to their parent.
425
426 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
427
428 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
429 first arg to be a string (fixed dead code), or an operator symbol.
430 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
431 operator symbols.
432 (ruby-smie-rules): Remove parent token check in the `.' clause, it
433 did nothing. Don't respond to `(:after ".")', it will be called
434 with :before anyway. Remove the ` @ ' rule, it didn't seem to
435 change anything. Only return indentation for binary operators
436 when they are hanging. De-dent opening paren when its parent is
437 `.', otherwise it looks bad when the dot is not at bol or eol
438 (bug#16182).
439
440 2013-12-19 Juri Linkov <juri@jurta.org>
441
442 * replace.el (query-replace-read-args): Split a non-negative arg
443 and a negative arg into separate elements.
444 (query-replace, query-replace-regexp, replace-string)
445 (replace-regexp): Add arg `backward'. Doc fix.
446 (replace-match-maybe-edit): When new arg `backward' is non-nil,
447 move point to the beginning of the match.
448 (replace-search, replace-highlight): Use new arg `backward'
449 to set the value of `isearch-forward'.
450 (perform-replace): Add arg `backward' and use it to perform
451 replacement backward. (Bug#14979)
452
453 * isearch.el (isearch-query-replace): Use a negative prefix arg
454 to call `perform-replace' with a non-nil arg `backward'.
455
456 2013-12-18 Juri Linkov <juri@jurta.org>
457
458 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
459 to the default list. Move `log-edit-show-files' to the end.
460 Add more available functions to options.
461 (log-edit): Move default specific settings to
462 `log-edit-insert-message-template'. Don't move point.
463 (log-edit-insert-message-template): New function.
464 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
465 (Bug#16170)
466
467 2013-12-18 Juri Linkov <juri@jurta.org>
468
469 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
470 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
471
472 2013-12-18 Leo Liu <sdl.web@gmail.com>
473
474 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
475
476 2013-12-18 Eli Zaretskii <eliz@gnu.org>
477
478 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
479 formats for displaying file sizes when the -s switch is given.
480 Instead, compute a separate format for displaying the size in
481 blocks, which is displayed in addition to the "regular" size.
482 When -h is given in addition to -s, produce size in blocks in
483 human-readable form as well. (Bug#16179)
484
485 2013-12-18 Tassilo Horn <tsdh@gnu.org>
486
487 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
488 Reference tables with ~\ref{...} instead of only \ref{...}.
489
490 2013-12-18 Chong Yidong <cyd@gnu.org>
491
492 * cus-edit.el (custom-magic-alist): Fix "themed" description
493 (Bug#14348).
494
495 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
496 is non-nil, do not create a new entry in the symbol's theme-value
497 or theme-face property; update theme-settings only (Bug#14664).
498 (custom-available-themes): Doc fix.
499
500 * cus-theme.el (custom-new-theme-mode-map): Add bindings
501 (Bug#15674).
502
503 * replace.el (occur-engine): Avoid infloop (Bug#7593).
504
505 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
506
507 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
508 (Bug#13914).
509
510 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
511
512 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
513
514 2013-12-18 Glenn Morris <rgm@gnu.org>
515
516 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
517 * cus-start.el (load-prefer-newer): New option.
518
519 2013-12-18 Le Wang <l26wang@gmail.com>
520
521 * comint.el (comint-previous-matching-input-from-input):
522 Retain point (Bug#13404).
523
524 2013-12-18 Chong Yidong <cyd@gnu.org>
525
526 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
527
528 2013-12-18 Glenn Morris <rgm@gnu.org>
529
530 * mail/emacsbug.el (report-emacs-bug):
531 Only mention enable-multibyte-characters if non-standard.
532
533 2013-12-17 Juri Linkov <juri@jurta.org>
534
535 * arc-mode.el (archive-extract-by-file): Check if directory exists
536 before deletion to not show irrelevant errors if it doesn't exist.
537
538 2013-12-17 Juri Linkov <juri@jurta.org>
539
540 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
541 (Bug#14751)
542
543 * net/eww.el (browse-web): Add alias to `eww'.
544 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
545 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
546
547 * net/browse-url.el (browse-url-browser-function): Move `eww'
548 closer to similar functions.
549
550 * startup.el (fancy-startup-screen, fancy-about-screen):
551 Set browse-url-browser-function to eww-browse-url locally.
552 (Bug#14751)
553
554 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
555
556 * window.el (window--pixel-to-total): Remove unused `mini' var.
557 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
558 (split-window): Remove unused `new' var.
559 (window--display-buffer): Remove unused `frame' and `delta' vars.
560 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
561 and display-width'.
562
563 2013-12-17 Martin Rudalics <rudalics@gmx.at>
564
565 * dired.el (dired-mark-pop-up):
566 * register.el (register-preview): Don't bind
567 split-height-threshold here since it's now done in
568 display-buffer-below-selected.
569
570 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
571
572 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
573 xterm-rgb-convert-to-16bit.
574 (rxvt-register-default-colors): Standardize with
575 xterm-register-default-colors (Bug#14078).
576
577 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
578
579 * simple.el (kill-region): Pass mark first, then point, so that
580 kill-append works right (Bug#12819).
581 (copy-region-as-kill, kill-ring-save): Likewise.
582
583 2013-12-17 Leo Liu <sdl.web@gmail.com>
584
585 * net/rcirc.el (rcirc-add-face):
586 * eshell/em-prompt.el (eshell-emit-prompt):
587 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
588 (Bug#16167)
589
590 2013-12-17 Chong Yidong <cyd@gnu.org>
591
592 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
593 Suggested by Xue Fuqiao.
594
595 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
596
597 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
598
599 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * net/shr.el (shr-insert-document): Remove unused var
602 `shr-preliminary-table-render'.
603 (shr-rescale-image): Remove unused arg `force'.
604 (shr-put-image): Update calls accordingly.
605 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
606
607 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
608
609 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
610 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
611 :close-all, to see which indentation method to use (Bug#16116).
612 (smie-rules-function): Document the method :close-all.
613
614 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
615
616 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
617
618 * net/eww.el (eww-display-html): If we can't find the anchor we're
619 looking for, then go to point-min.
620
621 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
622
623 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
624 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
625 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
626 Expand dir too, in case it's relative.
627
628 2013-12-16 Juri Linkov <juri@jurta.org>
629
630 * desktop.el (desktop-auto-save-timeout): Change default to
631 `auto-save-timeout'. Doc fix.
632 (desktop-save): Skip the timestamp in desktop-saved-frameset
633 when checking for auto-save changes.
634 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
635 `desktop-auto-save' is called repeatedly by the idle timer.
636 (desktop-auto-save-set-timer): Replace `run-with-timer' with
637 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
638 (Bug#15331)
639
640 2013-12-16 Juri Linkov <juri@jurta.org>
641
642 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
643 (Bug#16035)
644 (isearch-pre-command-hook): Check `this-command' for symbolp.
645
646 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
649
650 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
651
652 * progmodes/cfengine.el (cfengine3--current-word): Remove.
653 (cfengine3--current-function): Bring in the current-function
654 functionality from `cfengine3--current-word'.
655 (cfengine3-completion-function): Bring in the
656 bounds-of-current-word functionality from
657 `cfengine3--current-word'.
658
659 2013-12-16 Martin Rudalics <rudalics@gmx.at>
660
661 * window.el (display-buffer-below-selected):
662 Bind split-height-threshold to 0 as suggested by Juri Linkov.
663
664 2013-12-16 Leo Liu <sdl.web@gmail.com>
665
666 * progmodes/compile.el (compile-goto-error): Do not push-mark.
667 Remove NOMSG arg and all uses changed.
668
669 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
672 (cua--deactivate-rectangle): Don't deactivate the mark.
673 (cua-set-rectangle-mark): Don't set mark-active since
674 cua--activate-rectangle already does it for us.
675 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
676 non-rectangular region.
677
678 * emulation/cua-base.el (cua-repeat-replace-region):
679 Use with-current-buffer.
680
681 * net/gnutls.el: Use cl-lib.
682 (gnutls-negotiate): `mapcan' -> cl-mapcan.
683
684 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
685
686 * emacs-lisp/package.el (package-built-in-p): Support both
687 built-in and the package.el converted package descriptions.
688 (package-show-package-list): Allow keywords.
689 (package-keyword-button-action): Use it instead of
690 `finder-list-matches'.
691 (package-menu-filter-interactive): Interactive filtering (by
692 keyword) function.
693 (package-menu--generate): Support keywords and change keymappings
694 and headers when they are given.
695 (package--has-keyword-p): Helper function.
696 (package-menu--refresh): Use it.
697 (package--mapc): Helper function.
698 (package-all-keywords): Use it.
699 (package-menu-mode-map): Set up menu items and keybindings to
700 provide a filtering UI.
701
702 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
703
704 * net/gnutls.el (gnutls-verify-error): New defcustom to control
705 the behavior when a certificate fails validation. Defaults to
706 old behavior: never abort, just warn.
707 (gnutls-negotiate): Use it.
708
709 2013-12-14 Martin Rudalics <rudalics@gmx.at>
710
711 * window.el (display-buffer-below-selected): Never split window
712 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
713
714 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
715
716 * emacs-lisp/package.el (package--prepare-dependencies): New function.
717 (package-buffer-info): Use it (bug#15108).
718
719 * icomplete.el (icomplete-completions): Make sure the prefix is already
720 displayed elsewhere before hiding it.
721
722 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
723
724 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
725 open-paren tokens when preceded by a open-paren, too.
726 (ruby-smie-rules): Handle virtual indentation after open-paren
727 tokens specially. If there is code between it and eol, return the
728 column where is starts (Bug#16118).
729
730 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
731
732 * progmodes/cfengine.el: Fix `add-hook' doc.
733 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
734 (cfengine3--current-word): Fix parameters.
735 (cfengine3-make-syntax-cache): Simplify further.
736 (cfengine3-completion-function, cfengine3--current-function):
737 Use `assq' for symbols.
738 (cfengine3--current-function): Fix `cfengine3--current-word' call.
739
740 2013-12-13 Glenn Morris <rgm@gnu.org>
741
742 * loadup.el (load-path): Warn if site-load or site-init changes it.
743 No more need to reset it when bootstrapping.
744
745 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
746
747 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
748 locations for cf-promises.
749 (cfengine-mode-syntax-functions-regex): New caching variable.
750 (cfengine3-fallback-syntax): Fallback syntax for cases where
751 cf-promises doesn't run.
752 (cfengine3--current-word): Reimplement using
753 `cfengine-mode-syntax-functions-regex'.
754 (cfengine3-completion-function, cfengine3--current-function):
755 Use `cfengine3-make-syntax-cache' directly.
756 (cfengine3-clear-syntax-cache): New function.
757 (cfengine3-make-syntax-cache): Simplify and create
758 `cfengine-mode-syntax-functions-regex' on demand.
759 (cfengine3-format-function-docstring): Don't call
760 `cfengine3-make-syntax-cache' explicitly.
761
762 2013-12-13 Martin Rudalics <rudalics@gmx.at>
763
764 Fix windmove-find-other-window broken after pixelwise resizing
765 (Bug#16017).
766 * windmove.el (windmove-other-window-loc): Revert change from
767 2013-12-04.
768 (windmove-find-other-window): Call window-in-direction.
769 * window.el (window-in-direction): New arguments SIGN, WRAP and
770 MINI to emulate original windmove-find-other-window behavior.
771
772 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
773
774 * simple.el (blink-matching--overlay): New variable.
775 (blink-matching-open): Instead of moving point, highlight the
776 matching paren with an overlay
777 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
778
779 * faces.el (paren-showing-faces, show-paren-match)
780 (show-paren-mismatch): Move from paren.el.
781
782 2013-12-13 Leo Liu <sdl.web@gmail.com>
783
784 * indent.el (indent-region): Disable progress reporter in
785 minibuffer. (Bug#16108)
786
787 * bindings.el (visual-order-cursor-movement): Fix version.
788
789 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
790
791 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
792 Also match after beginning of line.
793 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
794 files. Thanks to Russell Sim. (Bug#15378)
795
796 2013-12-13 Juri Linkov <juri@jurta.org>
797
798 * simple.el <Keypad support>: Remove key bindings duplicated
799 with bindings.el. (Bug#14397)
800
801 2013-12-13 Juri Linkov <juri@jurta.org>
802
803 * comint.el (comint-mode-map): Replace `delete-char' with
804 `delete-forward-char'. (Bug#16109)
805
806 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
807
808 * progmodes/python.el (python-indent-calculate-indentation):
809 Fix de-denters cornercase. (Bug#15731)
810
811 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
814 (advice--make): Pay attention to `depth'.
815 (advice--make-1): Don't autoload commands eagerly.
816 * emacs-lisp/elp.el (elp-instrument-function):
817 * emacs-lisp/trace.el (trace-function-internal):
818 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
819
820 * iswitchb.el (iswitchb-mode): Don't belittle ido.
821
822 2013-12-12 Eli Zaretskii <eliz@gnu.org>
823
824 * term/w32-win.el (w32-handle-dropped-file):
825 * startup.el (normal-top-level):
826 * net/browse-url.el (browse-url-file-url):
827 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
828 decode file names using 'utf-8' rather than
829 file-name-coding-system.
830
831 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
832
833 * progmodes/python.el (python-indent-context)
834 (python-indent-calculate-indentation): Fix auto-identation
835 behavior for comment blocks. (Bug#15916)
836
837 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
838
839 * progmodes/python.el (python-indent-calculate-indentation):
840 When determining indentation, don't treat "return", "pass", etc., as
841 operators when they are just string constituents. (Bug#15812)
842
843 2013-12-12 Juri Linkov <juri@jurta.org>
844
845 * uniquify.el (uniquify-buffer-name-style): Change default to
846 `post-forward-angle-brackets'.
847
848 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
849 `uniquify'. Change default to `post-forward-angle-brackets'.
850
851 2013-12-11 Glenn Morris <rgm@gnu.org>
852
853 * emacs-lisp/package.el (finder-list-matches):
854 Autoload rather than falsely declaring.
855
856 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
857
858 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
859 (eww-mode-map): Use them.
860
861 2013-12-11 Martin Rudalics <rudalics@gmx.at>
862
863 * window.el (display-buffer-in-side-window): Fix doc-string
864 (Bug#16115).
865
866 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
867
868 * vc/vc-git.el: Silence byte-compiler warnings.
869 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
870 (log-edit-set-header): Declare.
871
872 2013-12-11 Eli Zaretskii <eliz@gnu.org>
873
874 * Makefile.in (custom-deps, finder-data): Run output file names
875 through unmsys--file-name. (Bug#16099)
876
877 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
880 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
881
882 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
883 instead of deleting the selection "by hand" (bug#16098).
884 Rely on insert-for-yank to yank rectangles.
885 (cua-highlight-region-shift-only): Mark obsolete.
886 (cua-mode): Don't enable/disable transient-mark-mode,
887 shift-select-mode (cua-mode works both with and without them), and
888 pc-selection-mode (obsolete).
889 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
890 (cua--deactivate-rectangle): Deactivate it.
891
892 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
893 (delete-selection-helper): Make sure yank starts at the top of the
894 deleted region.
895 (minibuffer-keyboard-quit): Use region-active-p.
896
897 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
898
899 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
900 to `delete' (bug#16109).
901
902 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
903
904 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
905 info manual and show keybindings and set `:group' keyword.
906
907 2013-12-11 Juri Linkov <juri@jurta.org>
908
909 * delsel.el (delete-active-region): Let-bind `this-command'
910 to prevent `kill-region' from changing its original value.
911 (delete-selection-helper): Handle `overwrite-mode' for the type
912 `kill' exactly the same way as for the type `t'.
913 (insert-char, quoted-insert, reindent-then-newline-and-indent):
914 Support more commands. (Bug#13312)
915
916 2013-12-11 Juri Linkov <juri@jurta.org>
917
918 * bindings.el: Map kp keys to non-kp keys systematically
919 with basic modifiers control, meta and shift. (Bug#14397)
920
921 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
922
923 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
924 "Close browser" menu items. Fix wrong function of "List
925 bookmarks".
926
927 2013-12-11 Juri Linkov <juri@jurta.org>
928
929 * misearch.el (multi-isearch-buffers): Set the value of
930 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
931 arg of isearch-forward to t.
932 (multi-isearch-buffers-regexp): Set the value of
933 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
934 arg of isearch-forward-regexp to t.
935 (multi-isearch-files): Set the value of
936 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
937 arg of isearch-forward to t.
938 (multi-isearch-files-regexp): Set the value of
939 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
940 arg of isearch-forward-regexp to t. (Bug#16035)
941
942 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
943 arg of isearch-forward to t.
944 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
945 arg of isearch-forward-regexp to t.
946 (dired-isearch-filter-filenames): Remove unnecessary check for
947 `dired-isearch-filenames'.
948
949 * comint.el (comint-history-isearch-backward):
950 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
951 (comint-history-isearch-backward-regexp):
952 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
953
954 2013-12-10 Eli Zaretskii <eliz@gnu.org>
955
956 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
957 unmsys--file-name. (Bug#16099)
958
959 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
960
961 * emacs-lisp/package.el (package-keyword-button-action):
962 Remove finder.el require dependency.
963
964 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
965
966 * emacs-lisp/package.el: Require finder.el.
967 (describe-package-1): Add keyword buttons.
968 (package-make-button): New convenience function.
969 (package-keyword-button-action): Keyword button action using
970 `finder-list-matches'.
971
972 2013-12-09 Eli Zaretskii <eliz@gnu.org>
973
974 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
975 last commit.
976
977 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
978
979 * autorevert.el (auto-revert-notify-add-watch): Do not handle
980 symlinked files.
981
982 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
983
984 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
985 after the end of a percent literal.
986
987 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
988
989 * progmodes/ruby-mode.el (ruby-forward-string): Document.
990 Handle caret-delimited strings (Bug#16079).
991
992 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
993
994 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
995 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
996 `ruby-parse-partial' (Bug#16078).
997
998 2013-12-09 Leo Liu <sdl.web@gmail.com>
999
1000 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1001
1002 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1005 (js-switch-indent-offset): New option.
1006 (js--proper-indentation): Use it. And handle the case when
1007 "default" is actually a key in an object literal.
1008 (js--same-line): New function.
1009 (js--multi-line-declaration-indentation): Use it.
1010 (js--indent-in-array-comp, js--array-comp-indentation):
1011 New functions.
1012 (js--proper-indentation): Use them, to handle array comprehension
1013 continuations.
1014
1015 2013-12-08 Leo Liu <sdl.web@gmail.com>
1016
1017 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1018 (flymake-make-overlay): Remove arg MOUSE-FACE.
1019 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1020
1021 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1024 New function.
1025 (redisplay-highlight-region-function): Use it.
1026
1027 * emulation/cua-base.el (cua--explicit-region-start)
1028 (cua--last-region-shifted): Remove.
1029 (cua--deactivate): Use deactivate-mark.
1030 (cua--pre-command-handler-1): Don't handle shift-selection.
1031 (cua--post-command-handler-1): Don't change transient-mark-mode.
1032 (cua--select-keymaps): Use region-active-p rather than
1033 cua--explicit-region-start or cua--last-region-shifted.
1034 (cua-mode): Enable shift-select-mode.
1035
1036 2013-12-08 Leo Liu <sdl.web@gmail.com>
1037
1038 * progmodes/flymake.el (flymake-popup-current-error-menu):
1039 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1040 (flymake-posn-at-point-as-event, flymake-popup-menu)
1041 (flymake-make-emacs-menu): Remove. (Bug#16077)
1042
1043 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * rect.el (rectangle-mark-mode): Activate mark even if
1046 transient-mark-mode is off (bug#16066).
1047 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1048 is > mark and at bolp.
1049
1050 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1051 (region-extract-function): Use it.
1052 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1053 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1054 Delete functions.
1055 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1056 kill-ring-save, kill-region, delete-char, delete-forward-char.
1057 Ignore self-insert-iso.
1058
1059 * emulation/cua-gmrk.el (cua--init-global-mark):
1060 Ignore `self-insert-iso'.
1061
1062 * emulation/cua-base.el (cua--prefix-copy-handler)
1063 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1064 checking cua--rectangle.
1065 (cua-delete-region): Use region-extract-function.
1066 (cua-replace-region): Delete function.
1067 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1068 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1069 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1070 (cua--init-keymaps): Don't remap delete-selection commands.
1071 (cua-mode): Use delete-selection-mode instead of rolling our own
1072 (bug#16085).
1073
1074 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1075 Obey region-extract-function.
1076
1077 Make registers and delete-selection-mode work on rectangles.
1078 * register.el (describe-register-1): Don't modify the register's value.
1079 (copy-to-register): Obey region-extract-function.
1080 * delsel.el (delete-active-region): Obey region-extract-function.
1081
1082 2013-12-08 Leo Liu <sdl.web@gmail.com>
1083
1084 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1085 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1086 (flymake-compilation-prevents-syntax-check)
1087 (flymake-start-syntax-check-on-newline)
1088 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1089 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1090 (flymake-xml-program, flymake-master-file-dirs)
1091 (flymake-master-file-count-limit)
1092 (flymake-allowed-file-name-masks): Relocate.
1093 (flymake-makehash, flymake-float-time)
1094 (flymake-replace-regexp-in-string, flymake-split-string)
1095 (flymake-get-temp-dir): Remove.
1096 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1097 (flymake-current-row, flymake-selected-frame)
1098 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1099 related functions. (Bug#16077)
1100
1101 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1102
1103 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1104
1105 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1106
1107 * help-fns.el (describe-function-1): Use new advice-* functions
1108 rather than old ad-* functions. Fix function type description and
1109 source links for advised functions and subrs.
1110
1111 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1112
1113 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1114
1115 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1116
1117 * progmodes/compile.el (compilation-start):
1118 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1119
1120 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1121 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1122
1123 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1126 Touch up the last change.
1127
1128 2013-12-06 Leo Liu <sdl.web@gmail.com>
1129
1130 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1131 (inferior-octave-startup): Always use "octave> " for prompt.
1132 (octave-goto-function-definition)
1133 (octave-sync-function-file-names)
1134 (octave-find-definition-default-filename): Remove redundant backquotes.
1135
1136 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1137
1138 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1139 syntax for `?'.
1140 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1141 where appropriate already.
1142 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1143 end of method names (Bug#15874).
1144
1145 2013-12-06 Juri Linkov <juri@jurta.org>
1146
1147 * isearch.el (isearch--saved-overriding-local-map):
1148 New internal variable.
1149 (isearch-mode): Set it to the initial value of
1150 `overriding-terminal-local-map'.
1151 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1152 with `isearch--saved-overriding-local-map'. (Bug#16035)
1153
1154 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1155
1156 * progmodes/octave.el (inferior-octave-completion-table):
1157 Turn back into function, use `completion-table-with-cache'
1158 (Bug#11906). Update all references.
1159
1160 * minibuffer.el (completion-table-with-cache): New function.
1161
1162 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1163
1164 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1165
1166 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1167
1168 * net/eww.el (eww-current-source): New variable to store page
1169 source.
1170 (eww-display-html, eww-mode, eww-save-history)
1171 (eww-restore-history): Use it.
1172 (eww-view-source): New command to view page source.
1173 Opportunistically uses `html-mode' to highlight the buffer.
1174 (eww-mode-map): Install it.
1175
1176 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * net/dbus.el (dbus-unregister-service)
1179 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1180 Fix docstring.
1181 (dbus-unregister-service): Skip :serial entries in
1182 `dbus-registered-objects-table'.
1183 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1184
1185 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1186
1187 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1188 around keywords with extra `split-string' argument.
1189
1190 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1191
1192 * windmove.el (windmove-other-window-loc): Handle navigation
1193 between windows (excluding the minibuffer window - Bug#16017).
1194
1195 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1196
1197 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1198 in D-Bus type syntax.
1199 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1200 preserve unibyte strings. (Bug#16048)
1201
1202 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1205 Call force-mode-line-update is the proper buffer (bug#16042).
1206
1207 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1208
1209 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1210 `log-edit-remember-comment', make argument optional. Adjust all
1211 callers.
1212 (log-edit-mode): Add `log-edit-remember-comment' to
1213 `kill-buffer-hook' locally.
1214 (log-edit-kill-buffer): Don't remember comment explicitly since
1215 the buffer is killed anyway.
1216
1217 2013-12-04 Juri Linkov <juri@jurta.org>
1218
1219 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1220 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1221
1222 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1223
1224 * notifications.el (notifications-close-notification): Call the
1225 D-Bus method with ID being a `:uint32'. (Bug#16030)
1226
1227 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1228
1229 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1230
1231 2013-12-03 Juri Linkov <juri@jurta.org>
1232
1233 * progmodes/compile.el (compilation-start): Rename window alist
1234 entry `no-display-ok' to `allow-no-window'.
1235
1236 * simple.el (shell-command): Add window alist entry
1237 `allow-no-window' to `display-buffer'.
1238 (async-shell-command): Doc fix.
1239
1240 * window.el (display-buffer-no-window): New action function.
1241 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1242
1243 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1244
1245 * vc/log-edit.el (log-edit-set-header): Extract from
1246 `log-edit-toggle-header'.
1247 (log-edit-extract-headers): Separate the summary, when extracted
1248 from header, from the rest of the message with an empty line.
1249
1250 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1251 line, if present, to the Summary header.
1252
1253 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1256 in current-buffer (bug#16029).
1257
1258 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1259
1260 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1261 (debugger-mode-map): Bind it.
1262 (debugger--backtrace-base): New function.
1263 (debugger-eval-expression): Use it.
1264 (debugger-frame-number): Skip local vars when present.
1265 (debugger--locals-visible-p, debugger--insert-locals)
1266 (debugger--show-locals, debugger--hide-locals): New functions.
1267
1268 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1269
1270 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1271 "LC_ALL".
1272 (tramp-get-remote-locale): New defun.
1273 (tramp-open-connection-setup-interactive-shell): Use it.
1274
1275 2013-12-02 Leo Liu <sdl.web@gmail.com>
1276
1277 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1278
1279 * progmodes/sh-script.el (sh-shell-process):
1280 * progmodes/octave.el (inferior-octave-process-live-p):
1281 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1282 (gdb-inferior-io-sentinel):
1283 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1284
1285 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1288 `save-selected-window' to `log-edit-hide-buf'. This makes
1289 `log-edit-show-files' idempotent.
1290 (log-edit-show-files): Mark the new window as dedicated.
1291
1292 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1293
1294 * vc/log-edit.el (log-edit-mode-map): Add binding for
1295 `log-edit-kill-biffer'.
1296 (log-edit-hide-buf): Add a FIXME comment.
1297 (log-edit-add-new-comment): New function, extracted from
1298 `log-edit-done'.
1299 (log-edit-done, log-edit-add-to-changelog): Use it.
1300 (log-edit-kill-buffer): New command.
1301
1302 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1303
1304 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1305 instead of killing the buffer.
1306
1307 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1310
1311 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1312
1313 * net/eww.el (eww-form-checkbox-selected-symbol)
1314 (eww-form-checkbox-symbol): New customizable variable.
1315 (eww-form-checkbox, eww-toggle-checkbox):
1316 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1317
1318 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1319 (shr--get-media-pref, shr--extract-best-source): New function.
1320 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1321 no :src tag was specified.
1322
1323 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1324 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1325 Use \\` to match beginning of string instead of ^.
1326 (eww-browse-with-external-browser): Provide optional URL parameter.
1327 (eww-render): Set `eww-current-title' back to "".
1328
1329 * net/shr.el (shr-tag-video): Display content for video if no
1330 poster is available.
1331 (shr-tag-audio): Add support for <audio> tag.
1332
1333 * net/eww.el (eww-text-input-types): New const.
1334 (eww-process-text-input): Treat input types in
1335 `eww-text-input-types' as text.
1336
1337 * net/shr.el (shr-tag-table): Fix comment typo.
1338
1339 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1340
1341 * net/eww.el (eww-follow-link): New command to avoid reloading
1342 pages when we follow #target links (bug#15243).
1343 (eww-quit): Special mode buffers shouldn't query before exiting.
1344
1345 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1346
1347 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1348 forms.
1349
1350 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1351
1352 * net/eww.el (eww-restore-history): Update the window title after
1353 moving in the history.
1354 (eww-current-dom): New variable used to save the current DOM.
1355
1356 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1357
1358 * vc/log-edit.el (log-edit-mode-map): Add binding for
1359 `log-edit-beginning-of-line'.
1360 (log-edit-setup-add-author): New user option.
1361 (log-edit-beginning-of-line): New command.
1362 (log-edit): Move major mode call above the contents setup so that
1363 the local variable values are already applied.
1364 (log-edit): Only insert "Author: " when
1365 `log-edit-setup-add-author' is non-nil.
1366 (log-edit): When SETUP is non-nil, position point after ": "
1367 instead of point-min.
1368
1369 2013-12-01 Glenn Morris <rgm@gnu.org>
1370
1371 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1372
1373 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1374
1375 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1376 redisplay to make sure the initial frame gets a chance to become
1377 visible. (Bug#16014)
1378
1379 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1380
1381 Support resizing frames and windows pixelwise.
1382 * cus-start.el (frame-resize-pixelwise)
1383 (window-resize-pixelwise): New entries.
1384 * emacs-lisp/debug.el (debug): Use window-total-height instead
1385 of window-total-size.
1386 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1387 * help.el (describe-bindings-internal): Call help-buffer
1388 (temp-buffer-max-width): New option.
1389 (resize-temp-buffer-window, help-window-setup)
1390 (with-help-window): Rewrite.
1391 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1392 dragging dividers.
1393 * window.el (frame-char-size, window-min-pixel-height)
1394 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1395 (window-min-pixel-width, window-safe-min-pixel-size)
1396 (window-combination-p, window-safe-min-size)
1397 (window-resizable-p, window--size-to-pixel)
1398 (window--pixel-to-size, window--resize-apply-p): New functions.
1399 (window-safe-min-height): Fix doc-string.
1400 (window-size, window-min-size, window--min-size-1)
1401 (window-sizable, window-sizable-p, window--min-delta-1)
1402 (window-min-delta, window--max-delta-1, window-max-delta)
1403 (window--resizable, window--resizable-p, window-resizable)
1404 (window-full-height-p, window-full-width-p, window-at-side-p)
1405 (window--in-direction-2, window-in-direction)
1406 (window--resize-reset-1, window--resize-mini-window)
1407 (window-resize, window-resize-no-error)
1408 (window--resize-child-windows-normal)
1409 (window--resize-child-windows, window--resize-siblings)
1410 (window--resize-this-window, window--resize-root-window)
1411 (window--resize-root-window-vertically)
1412 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1413 (maximize-window, minimize-window, delete-window)
1414 (quit-restore-window, window-split-min-size, split-window)
1415 (balance-windows-2, balance-windows)
1416 (balance-windows-area-adjust, balance-windows-area)
1417 (window--state-get-1, window-state-get, window--state-put-1)
1418 (window--state-put-2, window-state-put)
1419 (display-buffer-record-window, window--display-buffer):
1420 Make functions handle pixelwise sizing of windows.
1421 (display-buffer--action-function-custom-type)
1422 (display-buffer-fallback-action):
1423 Add display-buffer-in-previous-window.
1424 (display-buffer-use-some-window): Resize window to height it had
1425 before.
1426 (fit-window-to-buffer-horizontally): New option.
1427 (fit-frame-to-buffer): Describe new values.
1428 (fit-frame-to-buffer-bottom-margin): Replace with
1429 fit-frame-to-buffer-margins.
1430 (window--sanitize-margin): New function.
1431 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1432 using window-text-pixel-size.
1433
1434 2013-11-30 Glenn Morris <rgm@gnu.org>
1435
1436 * emacs-lisp/bytecomp.el (byte-compile-form):
1437 Make the `interactive-only' warning like the `obsolete' one.
1438 * comint.el (comint-run):
1439 * files.el (insert-file-literally, insert-file):
1440 * replace.el (replace-string, replace-regexp):
1441 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1442 (goto-line, insert-buffer, next-line, previous-line):
1443 Tweak `interactive-only' spec.
1444
1445 Stop keeping (most) generated cedet grammar files in the repository.
1446 * Makefile.in (semantic): New.
1447 (compile-main): Depend on semantic.
1448
1449 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1452 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1453
1454 * uniquify.el (uniquify-buffer-name-style): Change default.
1455
1456 * loadup.el: Preload "uniquify".
1457
1458 * time.el (display-time-update): Update all mode lines (bug#15999).
1459
1460 * electric.el (electric-indent-mode): Enable by default.
1461 * loadup.el: Preload "electric".
1462
1463 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1464
1465 * emacs-lisp/helpers.el (string-empty-p): New function.
1466 (string-blank-p): New function.
1467
1468 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1469
1470 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1471 (Bug#14029).
1472
1473 2013-11-29 Andreas Politz <politza@fh-trier.de>
1474 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1475 allow non-lambda lists as functions.
1476 (imenu--in-alist): Don't recurse into non-subalists.
1477 (imenu): Don't pass function itself as an argument (Bug#14029).
1478
1479 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * progmodes/python.el (python-mode-map): Remove binding for ":".
1482 (python-indent-electric-colon): Remove command.
1483 (python-indent-post-self-insert-function): Integrate the previous code
1484 of python-indent-electric-colon. Make it conditional on
1485 electric-indent-mode.
1486 (python-mode): Add ?: to electric-indent-chars.
1487 Move python-indent-post-self-insert-function to the end of
1488 post-self-insert-hook.
1489
1490 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * doc-view.el (doc-view-goto-page): Update mode-line.
1493
1494 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1495
1496 2013-11-27 Glenn Morris <rgm@gnu.org>
1497
1498 * international/charprop.el, international/uni-bidi.el:
1499 * international/uni-category.el, international/uni-combining.el:
1500 * international/uni-comment.el, international/uni-decimal.el:
1501 * international/uni-decomposition.el, international/uni-digit.el:
1502 * international/uni-lowercase.el, international/uni-mirrored.el:
1503 * international/uni-name.el, international/uni-numeric.el:
1504 * international/uni-old-name.el, international/uni-titlecase.el:
1505 * international/uni-uppercase.el:
1506 Remove generated files from VCS repository.
1507
1508 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1509
1510 * filenotify.el (file-notify-add-watch): Don't special-case
1511 w32notify when computing the directory to watch.
1512
1513 2013-11-27 Glenn Morris <rgm@gnu.org>
1514
1515 Make bootstrap without generated uni-*.el files possible again.
1516 * loadup.el: Update command-line-args checking for unidata-gen.
1517 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1518 * composite.el, international/characters.el:
1519 Handle unicode tables being undefined.
1520
1521 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1522 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1523 (compile-main): Depend on leim rule.
1524 (leim): New rule.
1525 * loadup.el: Move leim-list.el to leim/ subdirectory.
1526 * startup.el (normal-top-level): No more leim directory.
1527 * international/ja-dic-cnv.el (skkdic-convert):
1528 Disable version-control and autoloads in output files.
1529 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1530 Disable version-control and autoloads in output files.
1531 * leim/quail: Move here from ../leim.
1532 * leim/quail/hangul.el (hangul-input-method-activate):
1533 Add autoload cookie.
1534 (generated-autoload-load-name): Set file-local value.
1535 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1536 (generated-autoload-load-name): Set file-local value.
1537
1538 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1539
1540 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1541 (eww-add-bookmark): Ask confirmation when add to bookmarks
1542 (eww-quit): Ask confirmation before quitting eww.
1543
1544 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1545
1546 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1547 reading output from Diff on MS-Windows and MS-DOS.
1548
1549 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1550
1551 * emacs-lisp/helpers.el (string-reverse): New function.
1552
1553 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1554
1555 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1556 names on MS Windows, like "/[::1]:".
1557
1558 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1559 SWITCHES.
1560
1561 2013-11-26 Glenn Morris <rgm@gnu.org>
1562
1563 * progmodes/python.el (python-indent-guess-indent-offset):
1564 Avoid corner-case error. (Bug#15975)
1565
1566 Preload leim-list.el. (Bug#4789)
1567 * loadup.el: Load leim-list.el when found.
1568 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1569
1570 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1571
1572 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1573
1574 * emacs-lisp/helpers.el (string-join): New function.
1575
1576 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1577
1578 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1579 Mark as obsolete and replace it with a symbol property.
1580 (byte-compile-form): Use new 'interactive-only property.
1581 * comint.el, files.el, replace.el, simple.el:
1582 Apply new 'interactive-only properly.
1583
1584 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1585
1586 * window.el (display-buffer-at-bottom): Make sure that
1587 split-window-sensibly creates the new window on bottom
1588 (Bug#15961).
1589
1590 2013-11-23 David Kastrup <dak@gnu.org>
1591
1592 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1593 on the conflict markers when available.
1594 (smerge--get-marker): New function.
1595 (smerge-end-re, smerge-base-re): Add subgroup.
1596
1597 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * frame.el (handle-focus-in, handle-focus-out): Add missing
1600 interactive spec.
1601
1602 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1603
1604 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1605 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1606
1607 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1610 (gomoku--last-pos): New var.
1611 (gomoku--intangible-chars): New const.
1612 (gomoku--intangible): New function.
1613 (gomoku-mode): Use it. Derive from special-mode.
1614 (gomoku-move-up): Adjust line count.
1615 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1616 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1617 Simplify accordingly.
1618
1619 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1620 Remove blink-cursor code.
1621 (blink-cursor-timer-function, blink-cursor-suspend):
1622 Don't special-case GUIs.
1623 (blink-cursor-mode): Use focus-in/out-hook.
1624
1625 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1626
1627 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1628 work when annotation is invisible (Bug#13886).
1629
1630 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1631
1632 * json.el (json-alist-p): Only return non-nil if the alist has
1633 simple keys (Bug#13518).
1634
1635 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1636
1637 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1638 when control-statement is the first statement in a buffer (Bug#15956).
1639
1640 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1641
1642 * imenu.el (imenu-generic-skip-comments-and-strings):
1643 New option (Bug#15560).
1644 (imenu--generic-function): Use it.
1645
1646 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1647
1648 * minibuffer.el (completion--in-region-1): Scroll the correct
1649 window. (Bug#13898)
1650
1651 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1652
1653 * emacs-lisp/helpers.el: Add some string helpers.
1654 (string-trim-left): Removes leading whitespace.
1655 (string-trim-right): Removes trailing whitespace.
1656 (string-trim): Removes leading and trailing whitespace.
1657
1658 * subr.el (string-suffix-p): New function.
1659
1660 2013-11-23 Glenn Morris <rgm@gnu.org>
1661
1662 * progmodes/python.el (python-shell-send-file):
1663 Add option to delete file when done. (Bug#15647)
1664 (python-shell-send-string, python-shell-send-region): Use it.
1665
1666 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1667
1668 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1669 to set buffer-read-only to t, never to nil. (Bug#15938)
1670
1671 * textmodes/tex-mode.el (latex-noindent-environments):
1672 Add safe-local-variable property. (Bug#15936)
1673
1674 2013-11-23 Glenn Morris <rgm@gnu.org>
1675
1676 * textmodes/enriched.el (enriched-mode): Doc fix.
1677 * emacs-lisp/authors.el (authors-renamed-files-alist):
1678 Add enriched.doc -> enriched.txt.
1679
1680 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1681
1682 2013-11-22 Leo Liu <sdl.web@gmail.com>
1683
1684 * progmodes/octave.el (inferior-octave-startup): Spit out error
1685 message.
1686
1687 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1688
1689 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1690 Improve docstring.
1691 Add :version.
1692 (ruby-encoding-magic-comment-style): Add :version.
1693
1694 2013-11-22 Leo Liu <sdl.web@gmail.com>
1695
1696 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1697 (Bug#15076)
1698 (octave-help-mode): Adapt to change to help-mode-finish to use
1699 derived-mode-p on 2013-09-17.
1700 (inferior-octave-prompt): Also match octave-gui.
1701 (octave-kill-process): Don't ask twice. (Bug#10564)
1702
1703 2013-11-22 Leo Liu <sdl.web@gmail.com>
1704
1705 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1706 (inferior-octave-startup, inferior-octave-check-process)
1707 (inferior-octave-track-window-width-change)
1708 (octave-completion-at-point, octave-eldoc-function): Use it.
1709 (octave-kill-process): Provide confirmation. (Bug#10564)
1710
1711 2013-11-21 Leo Liu <sdl.web@gmail.com>
1712
1713 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1714 Fix obsolete variable comment-use-global-state.
1715
1716 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1717
1718 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1719 Add `octave-source-file'.
1720 (octave-source-file): New function. (Bug#15935)
1721
1722 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1723
1724 * net/eww.el (eww-local-regex): New variable.
1725 (eww): Use it to detect localhost and similar.
1726
1727 2013-11-21 Leo Liu <sdl.web@gmail.com>
1728
1729 Add completion for command `ag'.
1730 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1731 (pcomplete/ag): New function.
1732 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1733
1734 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1737 (bug#14646).
1738 (make-obsolete): Remove interactive spec.
1739
1740 2013-11-21 Glenn Morris <rgm@gnu.org>
1741
1742 * startup.el (command-line-1): Use path-separator with -L.
1743
1744 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1745
1746 * emacs-lisp/package.el (describe-package-1): Add package archive
1747 to shown fields.
1748
1749 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1750
1751 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1752 Change default to "# encoding: %s" to differentiate it from the
1753 default Ruby encoding comment template.
1754
1755 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1756
1757 * ses.el (ses-mode): Doc fix. (Bug#14748)
1758
1759 2013-11-20 Leo Liu <sdl.web@gmail.com>
1760
1761 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1762
1763 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1764
1765 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1766 when rebase or bisect are in progress.
1767
1768 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1769
1770 * filenotify.el (file-notify-add-watch): Doc fix.
1771
1772 2013-11-19 Leo Liu <sdl.web@gmail.com>
1773
1774 * obsolete/rcompile.el: Mark obsolete.
1775
1776 * progmodes/compile.el (compilation-start)
1777 (compilation-goto-locus, compilation-find-file):
1778 Pass no-display-ok and handle nil value from display-buffer.
1779 (Bug#13594)
1780
1781 * window.el (display-buffer-alist, display-buffer): Document the
1782 new parameter no-display-ok. Return either a window or nil
1783 but never a non-window value.
1784
1785 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * electric.el (electric-indent-mode-map): Remove.
1788 (electric-indent-mode): Change the global-map instead (bug#15915).
1789
1790 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1791 Use add-function.
1792
1793 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/nadvice.el (remove-function): Align with
1796 add-function's behavior.
1797
1798 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1799 (gdb--string-regexp): New constant.
1800 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1801 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1802 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1803 submatch 1.
1804 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1805 Adjust use accordingly.
1806 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1807
1808 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1809
1810 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1811 interpolation curlies (Bug#15914).
1812
1813 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1814
1815 * calc/calc.el (calc-context-sensitive-enter): New variable.
1816 (calc-enter): Use `calc-context-sensitive-enter'.
1817
1818 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1819
1820 * progmodes/cfengine.el: Version bump.
1821 (cfengine-cf-promises): New defcustom to locate cf-promises.
1822 (cfengine3-vartypes): Add new "data" type.
1823 (cfengine3--current-word): New function to get current name-like
1824 word or its bounds.
1825 (cfengine3--current-function): New function to look up a CFEngine
1826 function's definition.
1827 (cfengine3-format-function-docstring): New function.
1828 (cfengine3-make-syntax-cache): New function.
1829 (cfengine3-documentation-function): New function: ElDoc glue.
1830 (cfengine3-completion-function): New function: completion glue.
1831 (cfengine3-mode): Set `compile-command',
1832 `eldoc-documentation-function', and add to
1833 `completion-at-point-functions'.
1834
1835 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1836
1837 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1838 `tramp-current-connection'.
1839
1840 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1843 nil/self/true/false with "end of symbol".
1844
1845 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1846
1847 * subr.el (version-regexp-alist): Fix a typo.
1848
1849 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1850
1851 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1852 "en_US.utf8" and "LC_CTYPE" to "".
1853 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1854 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1855
1856 2013-11-15 Leo Liu <sdl.web@gmail.com>
1857
1858 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1859
1860 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * progmodes/gud.el (ctl-x-map):
1863 Remove C-x SPC binding. (Bug#12342)
1864 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1865
1866 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1867
1868 * subr.el (version-regexp-alist):
1869 Recognize hg, svn and darcs versions as snapshot versions.
1870
1871 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1872 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1873 (ruby--encoding-comment-required-p): Extract from
1874 `ruby-mode-set-encoding'.
1875 (ruby-mode-set-encoding): Add the ability to always insert an
1876 utf-8 encoding comment. Fix and simplify coding comment update
1877 logic.
1878
1879 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp-gvfs.el (top): Run init code only when
1882 `tramp-gvfs-enabled' is not nil.
1883 (tramp-gvfs-enabled): Check also :system bus.
1884
1885 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 Sync with upstream verilog-mode revision 78e66ba.
1888 * progmodes/verilog-mode.el (verilog-end-of-defun)
1889 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1890 (verilog-get-end-of-defun): Remove unused argument.
1891 (verilog-comment-depth): Remove unused local `e'.
1892 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1893 Don't pass arg to verilog-get-end-of-defun.
1894
1895 2013-11-14 Glenn Morris <rgm@gnu.org>
1896
1897 * obsolete/assoc.el (aget): Prefix dynamic variable.
1898
1899 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1900
1901 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * widget.el, hfy-cmap.el: Remove bogus package version number.
1904
1905 2013-11-13 Glenn Morris <rgm@gnu.org>
1906
1907 * replace.el (replace-eval-replacement):
1908 Try to give more helpful error message. (Bug#15836)
1909
1910 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1911 (archive-7z-update): Avoid custom type mismatches.
1912
1913 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1914
1915 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1916
1917 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1918 address can be empty.
1919
1920 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1921 Accept nil SWITCHES.
1922 (tramp-gvfs-handle-write-region): Implement APPEND.
1923
1924 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1925
1926 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1927 binary "|" operator and closing block args delimiter.
1928 Remove FIXME comment referring to Ruby 1.8-only syntax.
1929 (ruby-smie--implicit-semi-p): Not after "|" operator.
1930 (ruby-smie--closing-pipe-p): New function.
1931 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1932 (ruby-smie-rules): Indent after "|".
1933
1934 2013-11-12 Glenn Morris <rgm@gnu.org>
1935
1936 * ps-print.el (ps-face-attribute-list):
1937 Handle anonymous faces. (Bug#15827)
1938
1939 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1940
1941 * window.el (display-buffer-other-frame): Fix doc-string.
1942 (Bug#15868)
1943
1944 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1947
1948 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1951 (tramp-sh-handle-file-local-copy): Don't write a message when
1952 saving temporary files.
1953
1954 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1955 both directories are remote.
1956 (tramp-smb-handle-directory-files): Do not return double entries.
1957 Do not expand full file names.
1958 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1959 (tramp-smb-handle-write-region): Implement APPEND.
1960 (tramp-smb-get-stat-capability): Fix a stupid bug.
1961
1962 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1965
1966 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1967
1968 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1969 throwing error over malformed let/let* (bug#15814).
1970
1971 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * iswitchb.el (iswitchb-mode): Mark obsolete.
1974
1975 2013-11-11 Glenn Morris <rgm@gnu.org>
1976
1977 * international/uni-bidi.el, international/uni-category.el:
1978 * international/uni-name.el, international/uni-numeric.el:
1979 Regenerate for Unicode 6.3.0.
1980
1981 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * net/tramp.el (tramp-methods):
1984 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1985 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1986
1987 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1988
1989 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1990 Force highlighting text after Summary keyword in doc face for rpm.
1991
1992 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1993
1994 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1995 available and the word has no wildcards, append one to the grep pattern.
1996 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1997 (ispell-complete-word): Call `ispell-lookup-words' with the value
1998 independent of `ispell-look-p'.
1999
2000 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2001
2002 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2003 Not after "||".
2004 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2005 their parent.
2006
2007 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2010 (ruby-font-lock-keywords): Use backquote.
2011
2012 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2013
2014 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2015 (ruby-smie--backward-token): Only consider full-string matches.
2016
2017 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2018
2019 * faces.el (describe-face): Add distant-foreground.
2020
2021 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2022
2023 * progmodes/ruby-mode.el: Improve encoding comment handling.
2024 (ruby-encoding-magic-comment-style): New option.
2025 (ruby-custom-encoding-magic-comment-template): New option.
2026 (ruby--insert-coding-comment, ruby--detect-encoding):
2027 New functions extracted from `ruby-mode-set-encoding'.
2028 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2029 to control the style of the auto-inserted encoding comment.
2030
2031 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2032
2033 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2034 Use `smie-backward-sexp' with token argument.
2035
2036 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2037
2038 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2039 Remove instrumentation code.
2040
2041 2013-11-08 Glenn Morris <rgm@gnu.org>
2042
2043 * progmodes/autoconf.el (autoconf-mode):
2044 Tweak comment-start-skip. (Bug#15822)
2045
2046 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2049 at bobp (bug#15826).
2050 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2051
2052 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2053
2054 * man.el (Man-start-calling): New macro, extracted from
2055 Man-getpage-in-background.
2056 (Man-getpage-in-background): Use it.
2057 (Man-update-manpage): New command.
2058 (Man-mode-map): Bind it.
2059
2060 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2061
2062 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2063 of "and", "or", "&&" and "||".
2064 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2065 argument. Prohibit opening curly brace because it could only be a
2066 block opener in that position.
2067 (ruby-smie--forward-token, ruby-smie--backward-token):
2068 Separate "|" from "&" or "*" going after it. That can happen in block
2069 arguments.
2070 (ruby-smie--indent-to-stmt): New function, seeks the end of
2071 previous statement or beginning of buffer.
2072 (ruby-smie-rules): Use it.
2073 (ruby-smie-rules): Check if there's a ":" before a curly block
2074 opener candidate; if there is, it's a hash.
2075
2076 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2079 (cl--block-wrapper): Fix last accidental change.
2080
2081 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2084 Instrument, in order to hunt failure on hydra.
2085
2086 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2087
2088 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2089 malformed bindings form (bug#15814).
2090
2091 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2092
2093 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2094 "." compared to " @ ". This incidentally fixes some indentation
2095 examples with "do".
2096 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2097 (ruby-smie-grammar): New tokens: "and" and "or".
2098 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2099 Exclude "and" and "or". Remove "do" in order to work around token
2100 priorities.
2101 (ruby-smie-rules): Add all infix tokens. Handle the case of
2102 beginning-of-buffer.
2103
2104 2013-11-06 Glenn Morris <rgm@gnu.org>
2105
2106 * Makefile.in (setwins_almost, setwins_for_subdirs):
2107 Avoid accidental matches.
2108
2109 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * menu-bar.el (popup-menu): Use key-binding.
2112
2113 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2114
2115 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2116 menus, support also the menus produced by minor modes.
2117 (Bug#15817)
2118
2119 2013-11-06 Leo Liu <sdl.web@gmail.com>
2120
2121 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2122 DISTANCE to bound the search. All uses changed. (Bug#15808)
2123
2124 2013-11-06 Glenn Morris <rgm@gnu.org>
2125
2126 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2127 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2128 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2129
2130 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * electric.el (electric-indent-just-newline): New command.
2133 (electric-indent-mode-map): New keymap.
2134 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2135 Re-add :group which weren't redundant.
2136
2137 * electric.el (electric-indent-local-mode): New minor mode.
2138 (electric-indent-functions-without-reindent): New var.
2139 (electric-indent-post-self-insert-function): Use it.
2140 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2141
2142 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2143
2144 * international/quail.el (quail-help): Be more explicit about the
2145 meaning of the labels shown on the keys. (Bug#15800)
2146
2147 * startup.el (normal-top-level): Load the subdirs.el files before
2148 setting the locale environment. (Bug#15805)
2149
2150 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2153 via arguments so as to get the right ones (bug#15418).
2154
2155 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2156
2157 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2158
2159 Fix problems found while writing a test suite.
2160
2161 * net/tramp-compat.el (tramp-compat-load): New defun.
2162 * net/tramp.el (tramp-handle-load): Use it.
2163
2164 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2165 "(numberp ok-if-already-exists)" correctly.
2166
2167 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2168
2169 * international/characters.el (glyphless-char-display-control):
2170 Add usage note.
2171
2172 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2173
2174 * progmodes/python.el (python-mode):
2175 * progmodes/scheme.el (scheme-mode):
2176 * progmodes/prolog.el (prolog-mode):
2177 * progmodes/ruby-mode.el (ruby-mode):
2178 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2179 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2180
2181 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * rect.el (rectangle--highlight-for-redisplay):
2184 * emacs-lisp/smie.el (smie--next-indent-change):
2185 Use buffer-chars-modified-tick.
2186
2187 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2188
2189 * electric.el (electric-indent-post-self-insert-function):
2190 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2191
2192 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2193
2194 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2195
2196 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2197
2198 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2199 (bug#15786).
2200
2201 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2204
2205 * progmodes/python.el: Fix up last change.
2206 (python-shell--save-temp-file): New function.
2207 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2208 `string' comes from the current buffer.
2209 (python-shell-send-string-no-output): Remove `msg' arg.
2210 (python--use-fake-loc): New var.
2211 (python-shell-buffer-substring): Obey it. Try to compensate for the
2212 extra coding line added by python-shell--save-temp-file.
2213 (python-shell-send-region): Use python-shell--save-temp-file and
2214 python-shell-send-file directly. Add `nomain' argument.
2215 (python-shell-send-buffer): Use python-shell-send-region.
2216 (python-electric-pair-string-delimiter): New function.
2217 (python-mode): Use it.
2218
2219 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2220
2221 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2222 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2223 environment and decoding all of the default-directory's to here
2224 from command-line.
2225 (command-line): Decode also argv[0].
2226
2227 * loadup.el: Error out if default-directory is a multibyte string
2228 when we are dumping.
2229
2230 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2231
2232 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2233
2234 * emacs-lisp/package.el (package-menu-mode)
2235 (package-menu--print-info, package-menu--archive-predicate):
2236 Add Archive column to package list.
2237
2238 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2239
2240 Fix problems found while writing a test suite.
2241
2242 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2243 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2244 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2245 to nil when running original file name handler. Otherwise,
2246 there are problems with constructs like "$$FOO".
2247
2248 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2249 for `localname'.
2250
2251 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2252
2253 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2254
2255 * subr.el (version<, version<=, version=):
2256 Update docstrings with information for snapshot versions.
2257
2258 * helpers.el: New library for misc helper functions.
2259 (hash-table-keys): New function returning a list of hash keys.
2260 (hash-table-values): New function returning a list of hash values.
2261
2262 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2263
2264 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2265 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2266
2267 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2268
2269 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2270 checking whether point is after a 1-letter word.
2271
2272 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2273
2274 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2275 Don't infloop when expanding region over `multiline' syntax-type that
2276 begins a line (bug#15778).
2277
2278 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2281 Make it into a proper minor mode.
2282 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2283 (rectangle-mark-mode-map): New keymap.
2284 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2285
2286 2013-11-04 Glenn Morris <rgm@gnu.org>
2287
2288 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2289
2290 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2293 (ruby-smie-rules): Use smie-rule-parent instead.
2294
2295 * emacs-lisp/smie.el (smie-rule-parent): Always call
2296 smie-indent-virtual rather than only for hanging tokens.
2297 (smie--next-indent-change): New helper command.
2298
2299 2013-11-03 Glenn Morris <rgm@gnu.org>
2300
2301 * Makefile.in (abs_srcdir): Remove.
2302 (emacs): Unset EMACSLOADPATH.
2303
2304 2013-11-02 Glenn Morris <rgm@gnu.org>
2305
2306 * Makefile.in (EMACS): Use a relative filename.
2307 (abs_top_builddir): Remove.
2308 (custom-deps, finder-data, autoloads): Use --chdir.
2309
2310 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2311
2312 Use relative filenames in TAGS files.
2313 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2314 (lisptagsfiles4, TAGS): Use relative file names.
2315 (TAGS-LISP): Remove.
2316 (maintainer-clean): No more TAGS-LISP file.
2317
2318 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2319 (lisptagsfiles4): Use absolute filenames again.
2320 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2321 Remove all *loaddefs files, not just the first. Remove esh-groups.
2322 (maintainer-clean): Delete TAGS, TAGS-LISP.
2323
2324 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2325
2326 * emacs-lisp/package.el (package-version-join):
2327 Recognize snapshot versions.
2328
2329 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2330
2331 * subr.el (version-regexp-alist): Add support for snapshot versions.
2332
2333 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2334
2335 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2336 New function, replacement for `smie-rule-parent' for when we want to
2337 skip over our direct parent if it's an assignment token..
2338 (ruby-smie-rules): Use it.
2339
2340 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2343 unconditionally. Remove now unnecessary forward declarations.
2344 Remove XEmacs-specific setup.
2345 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2346 (ruby-font-lock-syntactic-keywords)
2347 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2348 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2349 (ruby-here-doc-end-syntax): Remove.
2350 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2351 defined as function.
2352
2353 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2354
2355 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2356
2357 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2358
2359 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2360 table and abbrev table, `define-derived-mode' does that for us
2361 anyway.
2362
2363 2013-11-01 Glenn Morris <rgm@gnu.org>
2364
2365 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2366 files is atomic for some time, so no parallel compilation issues).
2367
2368 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2369
2370 * faces.el (face-x-resources): Add :distant-foreground.
2371 (region): Use :distant-foreground for gtk and ns.
2372
2373 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2374
2375 Allow multiple bibliographies when BibLaTeX is used rather than
2376 BibTeX.
2377 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2378 (reftex-locate-bibliography-files): Us it.
2379
2380 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2381
2382 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2383 allow comments in pbm files.
2384
2385 * term/w32-win.el (dynamic-library-alist): Support newer versions
2386 of libjpeg starting with v7: look only for the DLL from the
2387 version against which Emacs was built.
2388 Support versions of libpng beyond 1.4.x.
2389 Support libtiff v4.x.
2390
2391 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2392
2393 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2394 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2395 Add property :safe.
2396 (ruby-deep-arglist): Add property :type.
2397
2398 2013-10-31 Glenn Morris <rgm@gnu.org>
2399
2400 * Makefile.in (custom-deps, finder-data): No need to setq the target
2401 variables, we are in the right directory and the defaults work fine.
2402
2403 2013-10-30 Glenn Morris <rgm@gnu.org>
2404
2405 * Makefile.in (autoloads): Do not use abs_lisp.
2406
2407 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2408 `newline' does not respect `standard-output', so use `princ'.
2409
2410 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2411
2412 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2413 * buff-menu.el (Buffer-menu--unmark): New function.
2414 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2415
2416 2013-10-30 Glenn Morris <rgm@gnu.org>
2417
2418 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2419
2420 * emacs-lisp/package.el (lm-homepage): Declare.
2421
2422 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2423 Fix doc typos.
2424
2425 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2426
2427 * Makefile.in (finder-data, autoloads, update-subdirs)
2428 (compile-main, compile-clean, compile-always, bootstrap-clean):
2429 Check return value of cd.
2430 (compile-calc): Remove.
2431
2432 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2435
2436 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2437 (byte-compile-and-folded): New function.
2438 (=, <, >, <=, >=): Use it.
2439
2440 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2441 (path-separator, null-device, buffer-file-coding-system)
2442 (lpr-headers-switches): Check system-type before modifying them.
2443 (find-buffer-file-type-coding-system): Mark obsolete.
2444 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2445 find-file-not-found-set-buffer-file-coding-system.
2446 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2447 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2448 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2449 (w32-direct-print-region-helper, w32-direct-print-region-function)
2450 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2451 * startup.el (normal-top-level-add-subdirs-to-load-path):
2452 * ps-print.el (ps-print-region-function):
2453 * lpr.el (print-region-function): Use new name.
2454
2455 * subr.el (custom-declare-variable-early): Remove function.
2456 (custom-declare-variable-list): Remove var.
2457 (error, user-error): Remove `while' loop.
2458 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2459 (user-emacs-directory-warning, locate-user-emacs-file):
2460 Move to files.el.
2461 * simple.el (read-quoted-char-radix, read-quoted-char):
2462 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2463 Move from subr.el.
2464 * custom.el (custom-declare-variable-list): Don't process
2465 custom-declare-variable-list.
2466
2467 * progmodes/python.el (python-shell-get-buffer): New function.
2468 (python-shell-get-process): Use it.
2469 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2470 Python which encoding was used. Don't split-string since we only care
2471 about the first line. Return the temp-file, if applicable.
2472 (python-shell-send-region): Tell compile.el how to turn locations in
2473 the temp-file into locations in the source buffer.
2474
2475 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * subr.el (undefined): Add missing behavior from the C code for
2478 unbound keys.
2479
2480 * rect.el: Use lexical-binding. Add new rectangular region support.
2481 (rectangle-mark): New command.
2482 (rectangle--region): New var.
2483 (deactivate-mark-hook): Reset rectangle--region.
2484 (rectangle--extract-region, rectangle--insert-for-yank)
2485 (rectangle--highlight-for-redisplay)
2486 (rectangle--unhighlight-for-redisplay): New functions.
2487 (region-extract-function, redisplay-unhighlight-region-function)
2488 (redisplay-highlight-region-function): Use them to handle
2489 rectangular region.
2490 * simple.el (region-extract-function): New var.
2491 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2492 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2493 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2494 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2495 (redisplay-unhighlight-region-function)
2496 (redisplay-highlight-region-function): New vars.
2497 (redisplay--update-region-highlight): New function.
2498 (pre-redisplay-function): Use it.
2499 (exchange-point-and-mark): Don't deactivate the mark before
2500 reactivate-it anyway.
2501 * comint.el (comint-kill-region): Remove yank-handler argument.
2502 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2503 (delete-char): Remove property, since it's now part of their
2504 default behavior.
2505 (self-insert-iso): Remove property since this command doesn't exist.
2506
2507 * emacs-lisp/package.el (package--download-one-archive)
2508 (describe-package-1): Don't query the user about final newline.
2509
2510 2013-10-29 Daniel Colascione <dancol@dancol.org>
2511
2512 * net/tramp.el (tramp-methods): Document new functionality.
2513 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2514 tramp-hostname-checker if method provides one instead of scanning
2515 argument list for "%h" to decide hostname acceptability.
2516
2517 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2520 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2521 Handle COPY-CONTENTS. (Bug#15737)
2522
2523 2013-10-28 Daiki Ueno <ueno@gnu.org>
2524
2525 * epa-file.el
2526 (epa-file-cache-passphrase-for-symmetric-encryption):
2527 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2528
2529 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2530
2531 * image.el (defimage):
2532 (image-load-path): Doc fixes.
2533
2534 2013-10-27 Alan Mackenzie <acm@muc.de>
2535
2536 Indent statements in macros following "##" correctly.
2537 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2538 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2539
2540 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2541
2542 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2543
2544 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2545
2546 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2547 after `=' is probably a new expression.
2548
2549 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2550
2551 * man.el (man-imenu-title): New option.
2552 (Man-mode-map): Add menu. (Bug#15722)
2553 (Man-mode): Add imenu to menu.
2554
2555 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2556
2557 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2558 specific in what the first arg can be: a non-keyword word,
2559 string/regexp/percent literal opener, opening paren, or unary
2560 operator followed directly by word.
2561
2562 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2565 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2566 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2567 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2568 Remove vars, they do not apply any more.
2569 (prolog-mode-abbrev-table): Remove redundant declaration.
2570 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2571 (prolog-use-smie): Remove.
2572 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2573 supported by prolog-electric-if-then-else-flag.
2574 (prolog-mode-variables, prolog-menu): Use setq-local.
2575 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2576 Remove binding to `Backspace' since this key doesn't exist anyway.
2577 Remove bindings for electric self-inserting keys.
2578 (prog-mode): Assume it's defined.
2579 (prolog-post-self-insert): New function.
2580 (prolog-mode): Use it.
2581 (prolog-indent-line, prolog-indent-level)
2582 (prolog-find-indent-of-matching-paren)
2583 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2584 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2585 (prolog-goto-next-paren, prolog-in-string-or-comment)
2586 (prolog-tokenize, prolog-inside-mline-comment)
2587 (prolog-find-start-of-mline-comment): Remove functions.
2588 (prolog-find-unmatched-paren, prolog-clause-end)
2589 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2590 (prolog-electric--if-then-else): Rename from
2591 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2592 (prolog-tokenize-searchkey): Remove const.
2593 (prolog-clause-info): Use forward-sexp.
2594 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2595 (prolog-electric-if-then-else): Remove commands.
2596 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2597 for use in post-self-insert-hook.
2598 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2599 for use in post-self-insert-hook.
2600 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2601 for use in post-self-insert-hook.
2602 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2603 adapt it for use in post-self-insert-hook.
2604
2605 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2606
2607 * emacs-lisp/ert.el (ert-run-tests-interactively):
2608 Use `completing-read'. (Bug#9756)
2609
2610 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2611
2612 * simple.el (line-move): Call line-move-1 instead of
2613 line-move-visual when the current window hscroll is zero, but
2614 temporary-goal-column indicates we will need to hscroll as result
2615 of the movement. (Bug#15712)
2616
2617 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2618
2619 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2620 capitalization. Use :visible instead of :active.
2621 Fix `ruby-indent-exp' reference. Add menu items for the generic
2622 commands that are used with SMIE.
2623 (ruby-do-end-to-brace): Insert space after `{'.
2624
2625 2013-10-25 John Anthony <john@jo.hnanthony.com>
2626
2627 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2628
2629 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2630
2631 2013-10-25 Glenn Morris <rgm@gnu.org>
2632
2633 * vc/vc.el (vc-print-log): Don't use a working revision unless
2634 one was explicitly specified. (Bug#15322)
2635
2636 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * subr.el (add-to-list): Preserve return value in compiler-macro
2639 (bug#15692).
2640
2641 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2642
2643 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2644 result. Ask user to retry using '-all' flag. (Bug#15701)
2645
2646 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * emacs-lisp/smie.el: New smie-config system.
2649 (smie-config): New defcustom.
2650 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2651 (smie-config-guess, smie-config-save): New commands.
2652 (smie-config--mode-local, smie-config--buffer-local)
2653 (smie-config--trace, smie-config--modefuns): New vars.
2654 (smie-config--advice, smie-config--mode-hook)
2655 (smie-config--setter, smie-config-local, smie-config--get-trace)
2656 (smie-config--guess-value, smie-config--guess): New functions.
2657 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2658 text properties. Treat "string fence" syntax like string syntax.
2659
2660 * progmodes/sh-script.el (sh-use-smie): Change default.
2661 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2662 (sh-var-value): Simplify by CSE.
2663 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2664 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2665 is used.
2666 (sh-guess-basic-offset): Use cl-incf.
2667 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2668
2669 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2670
2671 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2672 (bug#15699).
2673
2674 2013-10-24 Glenn Morris <rgm@gnu.org>
2675
2676 * Makefile.in (abs_top_srcdir): Remove.
2677 (update-subdirs): Use relative path to update-subdirs.
2678
2679 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2680
2681 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2682 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2683 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2684 Call unmsys--file-name before expand-file-name, not after it.
2685
2686 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2689 (ert-test-skipped): New error.
2690 (ert-skip, ert-stats-skipped): New defuns.
2691 (ert--skip-unless): New macro.
2692 (ert-test-skipped): New struct.
2693 (ert--run-test-debugger, ert-test-result-type-p)
2694 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2695 (ert--stats-set-test-and-result, ert-char-for-test-result)
2696 (ert-string-for-test-result, ert-run-tests-batch)
2697 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2698 Handle skipped tests. (Bug#9803)
2699
2700 2013-10-24 Glenn Morris <rgm@gnu.org>
2701
2702 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2703
2704 * Makefile.in (abs_top_srcdir): New, set by configure.
2705 (update-subdirs): Correct build-aux location.
2706
2707 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2710 value, whether we could auto-deduce `backend', or not.
2711
2712 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2713 with parameters" example. Simplify the "is it block or is it
2714 hash" check, but also make it more thorough.
2715
2716 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2717
2718 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2719
2720 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2723 { if it is hanging.
2724
2725 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2726 :before ";".
2727
2728 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2729
2730 * progmodes/compile.el (compilation-directory-matcher)
2731 (compilation-page-delimiter):
2732 Support GNU Make-4.0 directory quoting. (Bug#15678)
2733
2734 2013-10-23 Leo Liu <sdl.web@gmail.com>
2735
2736 * ido.el (ido-tidy): Handle read-only text.
2737
2738 2013-10-23 Glenn Morris <rgm@gnu.org>
2739
2740 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2741 (emacs, compile, compile-always):
2742 Quote entities that might contain whitespace.
2743 (custom-deps, finder-data, autoloads): Use abs_lisp.
2744 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2745 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2746 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2747
2748 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2749
2750 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2751 Use `following-char'.
2752
2753 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2756 * progmodes/ruby-mode.el (ruby-smie-rules):
2757 Remove corresponding workaround. Fix indentation rule of ";" so it
2758 also applies when ";" is the parent.
2759
2760 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2761
2762 * frame.el (display-screens, display-pixel-height)
2763 (display-pixel-width, display-mm-width, display-backing-store)
2764 (display-save-under, display-planes, display-color-cells)
2765 (display-visual-class, display-monitor-attributes-list):
2766 Mention the optional ‘display’ argument in doc strings.
2767
2768 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2769
2770 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2771 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2772
2773 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2774
2775 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2776 TODO. Add "." after " @ ".
2777 (ruby-smie--at-dot-call): New function. Checks if point at method
2778 call with explicit target.
2779 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2780 to the method name tokens when it precedes them.
2781 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2782 (ruby-smie-rules): Add rule for indentation before and after "."
2783 token.
2784
2785 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * textmodes/remember.el (remember-diary-extract-entries):
2788 Avoid add-to-list.
2789
2790 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2791 an instruction.
2792
2793 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2794
2795 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2796 (ruby-smie--implicit-semi-p): Add new operator chars.
2797
2798 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2799 `smie-down-list'.
2800 (ruby-smie--args-separator-p): Check that there's no newline
2801 between method call and its arguments.
2802
2803 2013-10-20 Alan Mackenzie <acm@muc.de>
2804
2805 Allow comma separated lists after Java "implements".
2806
2807 * progmodes/cc-engine.el (c-backward-over-enum-header):
2808 Parse commas.
2809 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2810 from a "disallowed" list in enum fontification.
2811
2812 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2813
2814 * startup.el (default-frame-background-mode): Remove unused defvar.
2815
2816 * progmodes/verilog-mode.el (verilog-mode): Don't set
2817 comment-indent-function globally.
2818
2819 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2820
2821 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2822 Move Info menu item creation to ns-win.el.
2823
2824 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2825 in menu bar.
2826
2827 * menu-bar.el: Move GNUStep specific menus...
2828
2829 * term/ns-win.el (ns-initialize-window-system): ... to here.
2830
2831 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * simple.el (newline): Only run post-self-insert-hook when
2834 called interactively.
2835
2836 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2837
2838 * icomplete.el (icomplete-with-completion-tables): Add :version.
2839
2840 2013-10-19 Alan Mackenzie <acm@muc.de>
2841
2842 Fix fontification bugs with constructors and const.
2843
2844 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2845 CASE 2) Remove the check for the absence of a suffix construct
2846 after a function declaration with only types (no identifiers) in
2847 the parentheses. Also, accept a function declaration with just a
2848 type inside the parentheses, if this type can be positively
2849 recognised as such, or if a prefix keyword like "explicit" nails
2850 down the construct as a declaration.
2851
2852 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2853
2854 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2855 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2856 the problem whereby selecting a menu item that leads to a
2857 minibuffer prompt moves the cursor out of the minibuffer window,
2858 making it hard to type at the prompt. Suggested by Stefan Monnier
2859 <monnier@iro.umontreal.ca>.
2860
2861 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2862
2863 * menu-bar.el: Don't make Services menu.
2864
2865 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2866
2867 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2868 (ffap-alist): Use ffap-c++-mode for c++-mode.
2869 (ffap-c++-path): New variable.
2870 (ffap-c++-mode): New function.
2871
2872 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2873
2874 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2875
2876 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2877
2878 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2879 introduced on 2013-09-08, which results in an infinite loop
2880 requesting a password.
2881
2882 2013-10-18 Glenn Morris <rgm@gnu.org>
2883
2884 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2885
2886 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2887
2888 Sync with upstream verilog-mode revision 1a6ecec7.
2889 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2890 (verilog-mode-release-date): Remove.
2891 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2892 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2893 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2894 (verilog-auto-tieoff-ignore-regexp)
2895 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2896 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2897 (verilog-signals-with, verilog-dir-cache-preserving)
2898 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2899 Doc fixes.
2900 (verilog-case-fold): New option, to control case folding in
2901 regexp searches, bug597.
2902 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2903 (verilog-string-match-fold, verilog-in-paren-count)
2904 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2905 (verilog-at-close-struct-p): New functions.
2906 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2907 (verilog-forward-sexp, verilog-set-auto-endcomments):
2908 (verilog-leap-to-case-head): Handle "unique0" case.
2909 (verilog-in-constraint-re): New constant.
2910 (verilog-keywords, verilog-type-font-keywords):
2911 Add some SystemVerilog 1800-2012 keywords.
2912 (verilog-label-be): Remove unimplemented argument, bug669.
2913 (verilog-batch-execute-func): When batch expanding clear
2914 create-lockfiles to prevent spurious user locks when a file ends
2915 up not changing.
2916 (verilog-calculate-indent, verilog-calc-1)
2917 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2918 (verilog-do-indent): Fix indentation of nested constraints
2919 and structures.
2920 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2921 (verilog-auto-inst-param): Use verilog-string-match-fold.
2922 (verilog-read-inst-module-matcher):
2923 Fix AUTOINST on gate primitives with #1.
2924 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2925 Reads all user-defined typed variables.
2926 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2927 (verilog-signals-matching-regexp)
2928 (verilog-signals-not-matching-regexp, verilog-auto):
2929 Respect verilog-case-fold.
2930 (verilog-diff-report): Fix line count.
2931 (verilog-auto-assign-modport): Remove unused local `modi'.
2932 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2933 better handle multidimensional arrays.
2934 Fix packed array ports misadding bit index in AUTOINST, bug637.
2935 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2936 to not double-declare existing outputs and inputs, respectively.
2937 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2938 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2939 (verilog-sk-uvm-component): New skeleton.
2940 (verilog-submit-bug-report): Add verilog-case-fold,
2941 remove verilog-mode-release-date.
2942
2943 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2944
2945 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2946 as before.
2947
2948 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2949
2950 * textmodes/remember.el (remember): Set buffer-offer-save in
2951 remember buffers (bug#13566).
2952
2953 2013-10-18 Daniel Colascione <dancol@dancol.org>
2954
2955 When evaluating forms in ielm, direct standard output to ielm
2956 buffer. Add new ielm-return-for-effect command. Remove trailing
2957 whitespace throughout.
2958
2959 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2960 (ielm-return-for-effect): New command.
2961 (ielm-send-input): Accept optional `for-effect' parameter.
2962 (ielm-eval-input): Accept optional `for-effect' parameter.
2963 Bind `standard-output' to stream we create using
2964 `ielm-standard-output-impl'. Suppress printing result when
2965 `for-effect'.
2966 (ielm-standard-output-impl): New function.
2967 (inferior-emacs-lisp-mode): Explain new features in documentation.
2968
2969 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2970
2971 Code cleanup.
2972
2973 * net/tramp.el (tramp-debug-message): Do not check for connection
2974 buffer.
2975 (tramp-message): Use "vector" connection property.
2976
2977 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2978 (tramp-equal-remote, tramp-eshell-directory-change)
2979 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2980 (tramp-adb-handle-rename-file)
2981 * net/tramp-cmds.el (tramp-list-remote-buffers)
2982 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2983 * net/tramp-compat.el (tramp-compat-process-running-p)
2984 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2985 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2986 (tramp-gvfs-handle-rename-file)
2987 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2988 (tramp-set-file-uid-gid)
2989 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2990 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2991 of `file-remote-p'.
2992
2993 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2994 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2995 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2996 (tramp-gw-open-network-stream): Suppress unrelated traces.
2997
2998 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2999 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3001 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3002 connection property.
3003
3004 * net/tramp-cache.el (top): Suppress traces when reading
3005 persistency file.
3006
3007 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3008 Refactor common code. Improve debug message.
3009 (tramp-maybe-open-connection)
3010 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3011 connection buffer too early.
3012
3013 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3014 from `tramp-smb-actions-with-acl'.
3015 (tramp-smb-actions-set-acl): New defconst.
3016 (tramp-smb-handle-copy-directory)
3017 (tramp-smb-action-get-acl): New defun, renamed from
3018 `tramp-smb-action-with-acl'.
3019 (tramp-smb-action-set-acl): New defun.
3020 (tramp-smb-handle-set-file-acl): Rewrite.
3021
3022 2013-10-17 Glenn Morris <rgm@gnu.org>
3023
3024 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3025
3026 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * skeleton.el (skeleton-newline): Remove.
3029 (skeleton-internal-1): Use (insert "\n") instead.
3030
3031 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3032 let-bindings.
3033
3034 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3035 forward-sexp-function while we redo its job (bug#15613).
3036
3037 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3038
3039 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3040 represented by lists.
3041
3042 2013-10-16 Glenn Morris <rgm@gnu.org>
3043
3044 * tmm.el (tmm--history): New dynamic variable.
3045 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3046
3047 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3048
3049 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3050 (tramp-smb-errors): Add error messages.
3051 (tramp-smb-actions-with-acl): New defconst.
3052 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3053 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3054 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3055 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3056 (tramp-smb-get-stat-capability): Fix tests.
3057
3058 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3059
3060 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3061 (bug#15580).
3062
3063 2013-10-16 Glenn Morris <rgm@gnu.org>
3064
3065 * ansi-color.el (ansi-color-drop-regexp):
3066 Add 1J, 1K, 2K. (Bug#15617)
3067
3068 * files.el (hack-local-variables--warned-lexical): New.
3069 (hack-local-variables):
3070 Warn about misplaced lexical-binding. (Bug#15616)
3071
3072 * net/eww.el (eww-render): Always set eww-current-url,
3073 and update header line. (Bug#15622)
3074 (eww-display-html): ... Rather than just doing it here.
3075
3076 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3077
3078 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3079 menu navigations commands.
3080
3081 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3082
3083 * progmodes/subword.el (subword-capitalize): Be careful when
3084 the search for [[:alpha:]] fails (bug#15580).
3085
3086 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3087
3088 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3089 to commands that scroll the menu.
3090
3091 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3092
3093 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3094 Handle methods ending with `?' and `!'.
3095
3096 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3097
3098 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3099 `japanese-cp932' to `cp932' to fix the problem where saving a
3100 source file written in Shift_JIS twice would end up having
3101 `coding: japanese-cp932' which Ruby could not recognize.
3102 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3103 in `ruby-encoding-map'.
3104 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3105 doesn't need to be explicitly declared in magic comment.
3106 (ruby-encoding-map): Add type declaration for better customize UI.
3107
3108 2013-10-13 Glenn Morris <rgm@gnu.org>
3109
3110 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3111 Occur buffers are read-only. http://bugs.debian.org/720775
3112
3113 * emacs-lisp/authors.el (authors-fixed-entries):
3114 Comment out old alpha stuff.
3115
3116 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3117
3118 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3119 to `after-save-hook' instead of `before-save-hook'.
3120 (ruby-mode-set-encoding): Use the value of coding system used to
3121 write the file. Call `basic-save-buffer-1' after modifying the
3122 buffer.
3123
3124 2013-10-13 Alan Mackenzie <acm@muc.de>
3125
3126 Fix indentation/fontification of Java enum with
3127 "implements"/generic.
3128
3129 * progmodes/cc-engine.el (c-backward-over-enum-header):
3130 Extracted from the three other places and enhanced to handle generics.
3131 (c-inside-bracelist-p): Uses new function above.
3132 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3133 function above.
3134 (c-font-lock-enum-tail): Uses new function above.
3135
3136 2013-10-13 Kenichi Handa <handa@gnu.org>
3137
3138 * international/mule-cmds.el (select-safe-coding-system): Remove a
3139 superfluous condition in chekcing whether a coding system is safe
3140 or not.
3141
3142 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3143
3144 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3145
3146 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3147
3148 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3149
3150 2013-10-13 Glenn Morris <rgm@gnu.org>
3151
3152 * menu-bar.el (menu-bar-update-buffers):
3153 Unify Buffers menu prompt string. (Bug#15576)
3154
3155 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3156
3157 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3158 Add some entries.
3159 (authors-fixed-entries): Use accented form of name.
3160
3161 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3164 method calls (bug#15594).
3165 (ruby-smie--args-separator-p): New function.
3166 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3167 recognize paren-free method calls.
3168
3169 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3170 internals of universal-argument.
3171
3172 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3173
3174 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3175 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3176 dropped menu on second mouse click on the menu bar.
3177
3178 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3181 (explicit-shell-file-name): Declare.
3182 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3183 (sh-completion-at-point-function): New function.
3184 (sh-mode): Use it.
3185 (sh-smie--keyword-p): Remove unused argument.
3186 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3187 vars.
3188 (sh-set-shell): Always setup SMIE, even if we use the
3189 old indentation code.
3190
3191 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3192
3193 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3194 cases of ? and =.
3195 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3196 predicate would return nil are almost non-existent.
3197 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3198
3199 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3200 cache also after commands that modify the buffer but don't move
3201 point.
3202
3203 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * env.el (substitute-env-in-file-name): New function.
3206 (substitute-env-vars): Extend the meaning of the optional arg.
3207
3208 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3209
3210 * term/w32-win.el (dynamic-library-alist): Define separate lists
3211 of GIF DLLs for versions before and after 5.0.0 of giflib.
3212 (Bug#15531)
3213
3214 2013-10-10 João Távora <joaotavora@gmail.com>
3215
3216 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3217 not locked, use last revision and current source as
3218 defaults. (Bug#15569)
3219
3220 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3221
3222 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3223 menu-bar is hidden.
3224
3225 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3226
3227 * window.el (pop-to-buffer-same-window): Fix doc-string.
3228 (Bug#15492)
3229
3230 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3233
3234 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3235
3236 * calendar/icalendar.el (icalendar-import-file):
3237 Fix interactive spec. (Bug#15482)
3238
3239 2013-10-10 Glenn Morris <rgm@gnu.org>
3240
3241 * desktop.el (desktop-save): Default to saving in .emacs.d,
3242 since PWD is no longer in desktop-path by default. (Bug#15319)
3243
3244 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3245 now that text mode has a menu with the same entry.
3246 (menu-bar-text-mode-auto-fill): Remove now unused func.
3247 * textmodes/text-mode.el (text-mode-map):
3248 Use auto-fill help text from menu-bar.el.
3249
3250 2013-10-10 John Anthony <john@jo.hnanthony.com>
3251
3252 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3253
3254 2013-10-09 Juri Linkov <juri@jurta.org>
3255
3256 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3257 instead of this-command-keys. Add universal-argument-more and
3258 universal-argument-minus to the list of prefix commands. (Bug#15568)
3259
3260 2013-10-09 Glenn Morris <rgm@gnu.org>
3261
3262 * vc/vc-svn.el (vc-svn-create-repo):
3263 Expand paths in file://... url. (Bug#15446)
3264
3265 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3266 Add some entries.
3267 (authors): Remove unused local variables.
3268
3269 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * profiler.el: Create a more coherent calltree from partial backtraces.
3272 (profiler-format): Hide the tail with `invisible' so that C-s can still
3273 find the hidden elements.
3274 (profiler-calltree-depth): Don't recurse so enthusiastically.
3275 (profiler-function-equal): New hash-table-test.
3276 (profiler-calltree-build-unified): New function.
3277 (profiler-calltree-build): Use it.
3278 (profiler-report-make-name-part): Indent the calltree less.
3279 (profiler-report-mode): Add visibility specs for profiler-format.
3280 (profiler-report-expand-entry, profiler-report-toggle-entry):
3281 Expand the whole subtree when provided with a prefix arg.
3282
3283 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3284
3285 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3286 iuwu-mod token.
3287 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3288 hanging iuwu-mod token.
3289 (ruby-smie--forward-token): Do not include a dot after a token in
3290 that token.
3291 (ruby-smie--backward-token): Likewise.
3292
3293 2013-10-08 Juri Linkov <juri@jurta.org>
3294
3295 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3296 to isearch-other-control-char.
3297 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3298 and isearch-post-command-hook to post-command-hook.
3299 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3300 and isearch-post-command-hook from post-command-hook.
3301 (isearch-unread-key-sequence)
3302 (isearch-reread-key-sequence-naturally)
3303 (isearch-lookup-scroll-key, isearch-other-control-char)
3304 (isearch-other-meta-char): Remove functions.
3305 (isearch-pre-command-hook, isearch-post-command-hook):
3306 New functions based on isearch-other-meta-char rewritten
3307 relying on the new behavior of overriding-terminal-local-map
3308 that does not replace the local keymaps any more. (Bug#15200)
3309
3310 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3311
3312 Support menus on text-mode terminals.
3313 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3314 functionality.
3315
3316 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3317
3318 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3319 Move here from mouse.el.
3320 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3321 and arrow keys.
3322 (tty-menu-navigation-map): New map for TTY menu navigation.
3323
3324 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3325
3326 * frame.el (display-mouse-p): Report text-mode mouse as available
3327 on w32.
3328 (display-popup-menus-p): Report availability if mouse is
3329 available; don't condition on window-system.
3330
3331 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3332 (tty-menu-selected-face): New faces.
3333
3334 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3337 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3338 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3339 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3340 New constants.
3341 (lisp-mode-variables): New `elisp' argument.
3342 (emacs-lisp-mode): Use it.
3343 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3344 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3345
3346 * indent.el: Use lexical-binding.
3347 (indent-region): Add progress reporter.
3348 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3349 last step.
3350 (indent--next-tab-stop): New function to implement this behavior.
3351 (tab-to-tab-stop, move-to-tab-stop): Use it.
3352
3353 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3354
3355 * indent.el (indent-rigidly--current-indentation): New function.
3356 (indent-rigidly-map): New var.
3357 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3358
3359 2013-10-08 Bastien Guerry <bzg@gnu.org>
3360
3361 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3362
3363 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * progmodes/perl-mode.el: Use lexical-binding.
3366 Remove redundant :group args.
3367 (perl-nochange): Change default to be closer to other major modes's
3368 standard behavior.
3369 (perl-indent-line): Don't consider text on current line as a
3370 valid beginning of function from which to indent.
3371
3372 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3373 with more than one argument (bug#15538).
3374
3375 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3376
3377 * vc/pcvs.el: Use lexical-binding.
3378 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3379 environment of `eval'.
3380 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3381 than a list of expressions. Adjust callers.
3382 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3383
3384 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3385
3386 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3387 case of the dot in a chained method call being on the following line.
3388
3389 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * electric.el (electric-indent-inhibit): New var.
3392 (electric-indent-post-self-insert-function): Use it.
3393 * progmodes/python.el (python-mode): Set it.
3394
3395 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3396 open braces.
3397
3398 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3399
3400 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3401 (css-mode): Use electric-indent-chars.
3402
3403 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3404 (font-lock-beg, font-lock-end): Move before first use.
3405 (nxml-mode): Use syntax-propertize-function.
3406 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3407 (nxml-extend-after-change-region): Remove.
3408 * nxml/xmltok.el: Use lexical-binding.
3409 (xmltok-save): Use `declare'.
3410 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3411 * nxml/nxml-util.el: Use lexical-binding.
3412 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3413 Use `declare'.
3414 * nxml/nxml-ns.el: Use lexical-binding.
3415 (nxml-ns-save): Use `declare'.
3416 (nxml-ns-prefixes-for): Avoid add-to-list.
3417 * nxml/rng-match.el: Use lexical-binding.
3418 (rng--ipattern): Use cl-defstruct.
3419 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3420 (rng-cons-group-after, rng-subst-group-after)
3421 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3422 Use closures instead of `(lambda...).
3423
3424 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3425
3426 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3427 of BEG and END.
3428
3429 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3430 Use `tramp-handle-insert-file-contents'.
3431 (tramp-gvfs-handle-insert-file-contents): Remove function.
3432
3433 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3434 Use `save-restriction' in order to keep markers.
3435
3436 * net/trampver.el: Update release number.
3437
3438 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * progmodes/compile.el (compilation-parse-errors):
3441 Use compilation--put-prop.
3442 (compilation--ensure-parse): Check compilation-multiline.
3443
3444 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3445
3446 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3447 lexical-binding.
3448
3449 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3450
3451 * progmodes/ruby-mode.el: Fix recently added tests.
3452 (ruby-smie-grammar): Add - and +.
3453 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3454 (ruby-smie--backward-id): New functions.
3455 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3456 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3457 any more.
3458
3459 2013-10-07 Leo Liu <sdl.web@gmail.com>
3460
3461 * register.el (register-preview-delay)
3462 (register-preview-functions): New variables.
3463 (register-read-with-preview, register-preview)
3464 (register-describe-oneline): New functions.
3465 (point-to-register, window-configuration-to-register)
3466 (frame-configuration-to-register, jump-to-register)
3467 (number-to-register, view-register, insert-register)
3468 (copy-to-register, append-to-register, prepend-to-register)
3469 (copy-rectangle-to-register): Use register-read-with-preview to
3470 read register. (Bug#15525)
3471
3472 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3473
3474 * net/network-stream.el (network-stream-open-starttls): Don't add
3475 --insecure if it's already present, because that gnutls-cli
3476 rejects getting that parameter twice.
3477
3478 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3479
3480 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3481 keyword, too.
3482
3483 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3484
3485 * newcomment.el (comment-use-global-state): Change default value
3486 to t, mark obsolete (Bug#15251).
3487 (comment-beginning): In addition to `comment-to-syntax', check the
3488 value of `comment-use-global-state'.
3489
3490 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3493 (ruby-comment-column): Follow the global default, by default.
3494 (ruby-smie-grammar): Add assignment syntax.
3495 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3496 open-paren, a comma, or a \.
3497 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3498 and line continuations.
3499 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3500 followed by implicit semi-colons. Add rule for string concatenation
3501 and for indentation at BOB.
3502 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3503
3504 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3505 calling next-sexp, since next-token may have skipped chars which
3506 next-sexp doesn't know should be skipped!
3507
3508 2013-10-05 Leo Liu <sdl.web@gmail.com>
3509
3510 * progmodes/octave.el (octave-send-region):
3511 Call compilation-forget-errors.
3512
3513 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3514
3515 * vc/vc-svn.el (vc-svn-find-admin-dir):
3516 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3517 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3518 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3519 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3520
3521 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3524
3525 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * subr.el (read-passwd): Hide chars even when called within a context
3528 where after-change-functions is disabled (bug#15501).
3529 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3530 until we removed ourself from overriding-terminal-local-map.
3531
3532 2013-10-04 Leo Liu <sdl.web@gmail.com>
3533
3534 * progmodes/octave.el (inferior-octave-mode):
3535 Call compilation-forget-errors.
3536
3537 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3538
3539 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3540
3541 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3542
3543 * net/secrets.el (secrets-create-collection): Add optional
3544 argument ALIAS. Use proper Label keyword. Append ALIAS as
3545 dbus-call-method argument. (Bug#15516)
3546
3547 2013-10-04 Leo Liu <sdl.web@gmail.com>
3548
3549 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3550 (inferior-octave-compilation-font-lock-keywords): New variables.
3551 (compilation-error-regexp-alist)
3552 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3553 (inferior-octave-mode): Use compilation-shell-minor-mode.
3554
3555 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3556
3557 * minibuffer.el (completion--replace): Be careful that `end' might be
3558 a marker.
3559
3560 2013-10-03 Daiki Ueno <ueno@gnu.org>
3561
3562 Add support for package signature checking.
3563 * emacs-lisp/package.el (url-http-file-exists-p)
3564 (epg-make-context, epg-context-set-home-directory)
3565 (epg-verify-string, epg-context-result-for)
3566 (epg-signature-status, epg-signature-to-string)
3567 (epg-check-configuration, epg-configuration)
3568 (epg-import-keys-from-file): Declare.
3569 (package-check-signature): New user option.
3570 (package-unsigned-archives): New user option.
3571 (package-desc): Add `signed' field.
3572 (package-load-descriptor): Set `signed' field if .signed file exists.
3573 (package--archive-file-exists-p): New function.
3574 (package--check-signature): New function.
3575 (package-install-from-archive): Check package signature.
3576 (package--download-one-archive): Check archive signature.
3577 (package-delete): Remove .signed file.
3578 (package-import-keyring): New command.
3579 (package-refresh-contents): Import default keyring.
3580 (package-desc-status): Add "unsigned" status.
3581 (describe-package-1, package-menu--print-info)
3582 (package-menu-mark-delete, package-menu--find-upgrades)
3583 (package-menu--status-predicate): Support "unsigned" status.
3584
3585 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3588 the new compilation scheme using the new byte-codes.
3589
3590 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3591 (byte-pophandler): New byte codes.
3592 (byte-goto-ops): Adjust accordingly.
3593 (byte-compile--use-old-handlers): New var.
3594 (byte-compile-catch): Use new byte codes depending on
3595 byte-compile--use-old-handlers.
3596 (byte-compile-condition-case--old): Rename from
3597 byte-compile-condition-case.
3598 (byte-compile-condition-case--new): New function.
3599 (byte-compile-condition-case): New function that dispatches depending
3600 on byte-compile--use-old-handlers.
3601 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3602 when we can.
3603
3604 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3605 Optimize under `condition-case' and `catch' if
3606 byte-compile--use-old-handlers is nil.
3607 (disassemble-offset): Handle new bytecodes.
3608
3609 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * subr.el (error): Use `declare'.
3612 (decode-char, encode-char): Use advertised-calling-convention instead
3613 of the docstring to discourage use of the `restriction' arg.
3614
3615 2013-10-03 Daiki Ueno <ueno@gnu.org>
3616
3617 * epg.el (epg-verify-file): Add a comment saying that it does not
3618 notify verification error as a return value nor a signal.
3619 (epg-verify-string): Ditto.
3620
3621 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3622
3623 * progmodes/compile.el (compilation-start): Try globbing the arg to
3624 `cd' (bug#15417).
3625
3626 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3627
3628 Sync with Tramp 2.2.8.
3629
3630 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3631 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3632 * net/trampver.el: Update release number.
3633
3634 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3635
3636 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3637 and default-process-coding-system for darwin only.
3638
3639 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3642
3643 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3644
3645 * vc/vc-git.el (vc-git-grep): Disable pager.
3646
3647 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3648
3649 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3650 Use :url instead of :homepage, as per
3651 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3652
3653 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3654 non-nil, use `syntax-ppss' (Bug#15251).
3655
3656 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3657
3658 * progmodes/octave.el (inferior-octave-startup-file):
3659 Prefer ~/.emacs.d/init_octave.m.
3660
3661 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3662
3663 * emacs-lisp/package.el (package-desc-from-define):
3664 Accept additional arguments as plist, convert them to an alist and store
3665 them in the `extras' slot.
3666 (package-generate-description-file): Convert extras alist back to
3667 plist and append to the `define-package' form arguments.
3668 (package--alist-to-plist): New function.
3669 (package--ac-desc): Add `extras' slot.
3670 (package--add-to-archive-contents): Check if the archive-contents
3671 vector is long enough, and if it is, pass its `extras' slot value
3672 to `package-desc-create'.
3673 (package-buffer-info): Call `lm-homepage', pass the returned value
3674 to `package-desc-from-define'.
3675 (describe-package-1): Render the homepage button (Bug#13291).
3676
3677 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3678 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3679
3680 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3681
3682 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3683 and default-process-coding-system to utf-8-unix (Bug#15402).
3684
3685 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3686
3687 * subr.el (looking-back): Do not recommend using looking-back.
3688
3689 2013-09-28 Alan Mackenzie <acm@muc.de>
3690
3691 Fix indentation/fontification of Java enum with "implements".
3692
3693 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3694 regexp which matches "implements", etc., in Java.
3695 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3696 specifier clauses coming after "enum".
3697 * progmodes/cc-fonts.el (c-font-lock-declarations)
3698 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3699 after "enum".
3700
3701 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3702
3703 * faces.el (region): Change ns_selection_color to
3704 ns_selection_fg_color, add ns_selection_bg_color.
3705
3706 2013-09-28 Leo Liu <sdl.web@gmail.com>
3707
3708 * progmodes/octave.el (inferior-octave-completion-table)
3709 (inferior-octave-completion-at-point): Minor tweaks.
3710
3711 * textmodes/ispell.el (ispell-lookup-words): Rename from
3712 lookup-words. (Bug#15460)
3713 (lookup-words): Obsolete.
3714 (ispell-complete-word, ispell-command-loop): All uses changed.
3715
3716 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3717
3718 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3719 (octave-mode-menu): Add octave-send-buffer.
3720 (octave-send-buffer): New function.
3721
3722 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3723
3724 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3725 octave-lookfor.
3726 (octave-mode-menu): Add octave-lookfor.
3727 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3728 octave-lookfor.
3729 (octave-lookfor): New function.
3730
3731 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * emacs-lisp/cl-macs.el:
3734 (cl--loop-destr-temps): Remove.
3735 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3736 its convention.
3737 (cl--loop-set-iterator-function): New function.
3738 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3739 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3740 Bind `it' with `let' instead of substituting it with `cl-subst'.
3741 (cl--unused-var-p): New function.
3742 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3743 Eliminate some unused variable warnings (bug#15326).
3744
3745 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3746
3747 * doc-view.el (doc-view-scale-reset): Rename from
3748 `doc-view-reset-zoom-level'.
3749 (doc-view-scale-adjust): New command.
3750 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3751 `doc-view-scale-adjust'.
3752
3753 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3754
3755 * doc-view.el (doc-view-reset-zoom-level): New command.
3756 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3757 zoom commands (bug#15466).
3758
3759 2013-09-26 Kenichi Handa <handa@gnu.org>
3760
3761 * international/quail.el (quail-help): Make it not a command.
3762
3763 2013-09-26 Leo Liu <sdl.web@gmail.com>
3764
3765 * minibuffer.el (completion-all-sorted-completions): Make args
3766 optional as they are.
3767
3768 2013-09-25 Daniel Colascione <dancol@dancol.org>
3769
3770 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3771 specs are and that they're not evaluated.
3772
3773 2013-09-24 Sam Steingold <sds@gnu.org>
3774
3775 * midnight.el (clean-buffer-list-kill-regexps)
3776 (clean-buffer-list-kill-buffer-names): Update for the new Man
3777 buffer naming which includes the object name.
3778
3779 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3782 (eshell-parse-command, eshell-parse-pipeline): Use it since
3783 eshell-separate-commands requires a dynamic scoped var.
3784 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3785
3786 2013-09-23 Leo Liu <sdl.web@gmail.com>
3787
3788 * autoinsert.el (auto-insert-alist): Make the value of
3789 lexical-binding match its file setting.
3790
3791 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3792
3793 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3794
3795 * autoarg.el (autoarg-kp-digit-argument):
3796 * electric.el (Electric-command-loop):
3797 * kmacro.el (kmacro-step-edit-insert):
3798 Do not set universal-argument-num-events.
3799
3800 2013-09-22 Leo Liu <sdl.web@gmail.com>
3801
3802 * files.el (interpreter-mode-alist): Add octave.
3803
3804 2013-09-21 Alan Mackenzie <acm@muc.de>
3805
3806 C++: fontify identifier in declaration following "public:" correctly.
3807 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3808 to match "public", etc.
3809 (c-decl-prefix-re): Add ":" into the C++ value.
3810 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3811 bit. Add a check for a ":" preceded by "public", etc.
3812
3813 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3814
3815 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3816 recognized by GDB 7.5 and later.
3817
3818 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3819
3820 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3821
3822 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * subr.el (internal--call-interactively): New const.
3825 (called-interactively-p): Use it (bug#3984).
3826
3827 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3828
3829 * vc/pcvs.el (cvs-mode-ignore):
3830 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3831 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3832
3833 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3836 (eshell-ls-orig-insert-directory): Remove.
3837 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3838 (eshell-ls-use-in-dired): Use advice-add/remove.
3839 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3840 Add `orig-fun' arg for use in :around advice.
3841 Make it check (redundantly) eshell-ls-use-in-dired.
3842
3843 2013-09-19 Glenn Morris <rgm@gnu.org>
3844
3845 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3846
3847 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3848
3849 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3850
3851 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3852
3853 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3854 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3855 (tramp-get-remote-python): New defuns.
3856 (tramp-get-remote-uid-with-perl)
3857 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3858 contributed by yary <not.com@gmail.com> (tiny change).
3859 (tramp-get-remote-uid-with-python)
3860 (tramp-get-remote-gid-with-python): New defuns. Python code
3861 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3862 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3863
3864 2013-09-19 Glenn Morris <rgm@gnu.org>
3865
3866 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3867
3868 * eshell/em-unix.el (eshell-remove-entries):
3869 Rename argument to avoid name-clash with global `top-level'.
3870
3871 * eshell/esh-proc.el (eshell-kill-process-function):
3872 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3873 (eshell-reset-after-proc): Remove unused arg `proc'.
3874
3875 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3876 (directory-files-and-attributes): Mark unused arg.
3877
3878 * eshell/em-unix.el (eshell-remove-entries):
3879 Remove unused arg `path'. Update callers.
3880
3881 * eshell/em-hist.el (eshell-hist-parse-arguments):
3882 Remove unused arg `silent'. Update callers.
3883
3884 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3885 Fix (f)boundp mix-up.
3886
3887 * eshell/em-smart.el (eshell-smart-scroll-window)
3888 (eshell-disable-after-change):
3889 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3890
3891 2013-09-18 Alan Mackenzie <acm@muc.de>
3892
3893 Fix fontification of type when followed by "const".
3894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3895 "known" types from fontification.
3896
3897 2013-09-18 Glenn Morris <rgm@gnu.org>
3898
3899 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3900 (chart-face-list): Drop Emacsen without display-color-p.
3901
3902 * net/eww.el (libxml-parse-html-region): Declare.
3903 (eww-display-html): Explicit error if no libxml2 support.
3904
3905 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3906
3907 * image.el (image-type-from-buffer, image-multi-frame-p):
3908 Remove --without-x warning/error.
3909
3910 * mouse.el (mouse-yank-primary):
3911 * term.el (term-mouse-paste):
3912 Reorder to silence --without-x compilation.
3913
3914 * mpc.el (doc-view-mode): Silence --without-x compilation.
3915
3916 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3917 Silence --without-x compilation.
3918
3919 * progmodes/gud.el (gud-find-file, gud-mode):
3920 Silence --without-x compilation.
3921 (tooltip-mode): Declare.
3922
3923 * wdired.el (dired-backup-overwrite): Remove declaration.
3924 (wdired-mode-map): Add doc string.
3925
3926 * custom.el (x-get-resource): Declare.
3927
3928 * eshell/em-glob.el (ange-cache):
3929 * eshell/em-unix.el (ange-cache): Declare.
3930
3931 * faces.el (x-display-list, x-open-connection, x-get-resource):
3932 Declare.
3933
3934 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3935 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3936 Declare.
3937
3938 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3939
3940 * net/gnutls.el (gnutls-log-level): Declare.
3941
3942 * net/shr.el (image-size, image-animate): Declare.
3943
3944 * simple.el (font-info): Declare.
3945
3946 * subr.el (x-popup-dialog): Declare.
3947
3948 * term/common-win.el (x-select-enable-primary)
3949 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3950 Declare.
3951
3952 * term/ns-win.el (x-handle-args): Declare.
3953
3954 * term/x-win.el (x-select-enable-clipboard): Declare.
3955
3956 * term/w32-win.el (create-default-fontset): Declare.
3957
3958 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3959 Declare.
3960
3961 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3962 (fit-frame-to-buffer): Explicit error if --without-x.
3963 (mouse-autoselect-window-select): Silence compiler.
3964
3965 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3966
3967 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3968 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3969 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3970 * eshell/esh-util.el (eshell-sublist):
3971 Remove unused local variables.
3972
3973 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3974
3975 * textmodes/two-column.el: Make 2C-split work for --without-x.
3976 (scroll-bar-columns): Autoload.
3977 (top-level): Require fringe when compiling.
3978
3979 2013-09-18 Leo Liu <sdl.web@gmail.com>
3980
3981 * subr.el (add-hook): Robustify to handle closure as well.
3982
3983 2013-09-17 Glenn Morris <rgm@gnu.org>
3984
3985 * simple.el (messages-buffer-mode-map): Unbind "g".
3986
3987 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * help-mode.el (help-mode-finish): Use derived-mode-p.
3990 Remove obsolete highlighting.
3991
3992 * play/life.el (life-mode): Use define-derived-mode. Derive from
3993 special-mode.
3994 (life): Let-bind inhibit-read-only.
3995 (life-setup): Avoid `setq'. Use `life-mode'.
3996
3997 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3998 which should not be needed any more.
3999 (package-menu-refresh, package-menu-describe-package): Use user-error.
4000
4001 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4002 (eshell-post-rewrite-command-hook): Make obsolete.
4003 (eshell-parse-command): Simplify.
4004 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4005 (eshell--cmd): Declare.
4006 (eshell-parse-pipeline): Remove unused var `final-p'.
4007 Pass a dynvar to eshell-post-rewrite-command-hook.
4008 Implement the new eshell-post-rewrite-command-function.
4009 (eshell-invoke-directly): Remove unused arg `input'.
4010 * eshell/esh-io.el (eshell-io-initialize):
4011 Use eshell-post-rewrite-command-function (bug#15399).
4012 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4013 adjust to new calling convention.
4014 (eshell-create-handles): Rename args to avoid clashing with dynvar
4015 `standard-output'.
4016
4017 2013-09-17 Glenn Morris <rgm@gnu.org>
4018
4019 * simple.el (messages-buffer-mode): New major mode.
4020 (messages-buffer): New function.
4021 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4022 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4023 (ert-run-test): Use `messages-buffer' function.
4024 (ert--force-message-log-buffer-truncation): Ignore read-only.
4025 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4026 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4027
4028 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4031
4032 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4033
4034 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * icomplete.el (icomplete-in-buffer): New var.
4037 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4038 vars and replace them with functions.
4039 (icomplete-minibuffer-setup): Adjust accordingly.
4040 (icomplete--completion-table, icomplete--completion-predicate)
4041 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4042 New functions.
4043 (icomplete-forward-completions, icomplete-backward-completions)
4044 (icomplete-simple-completing-p, icomplete-exhibit)
4045 (icomplete-completions): Use them.
4046 (icomplete--in-region-buffer): New var.
4047 (icomplete--in-region-setup): New function.
4048 (icomplete-mode): Use it.
4049
4050 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4051 (bug#15379).
4052 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4053 return args and options.
4054 (eshell-eval-using-options): Use the new return value of
4055 eshell--do-opts to set the options's vars in their scope.
4056 (eshell--set-option): Rename from eshell-set-option.
4057 Add arg `opt-vals'.
4058 (eshell--process-option): Rename from eshell-process-option.
4059 Add arg `opt-vals'.
4060 (eshell--process-args): Use an `opt-vals' alist to store the options's
4061 values during their processing and return them additionally to the
4062 remaining args.
4063
4064 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4065
4066 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4067 continuation character an operator, as far as indentation is
4068 concerned (Bug#15369).
4069
4070 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4071
4072 * window.el (window--state-put-2): Don't process buffer state
4073 when buffer doesn't exist any more (Bug#15382).
4074
4075 2013-09-15 Glenn Morris <rgm@gnu.org>
4076
4077 * eshell/em-unix.el (eshell/rm):
4078 Make -f ignore missing files. (Bug#15373)
4079
4080 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4081 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4082 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4083
4084 2013-09-14 Glenn Morris <rgm@gnu.org>
4085
4086 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4087
4088 2013-09-13 Glenn Morris <rgm@gnu.org>
4089
4090 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4091 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4092
4093 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4094
4095 * frame.el (x-focus-frame): Mark as declared in frame.c.
4096
4097 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * ls-lisp.el: Use advice-add.
4100 (original-insert-directory): Remove.
4101 (ls-lisp--insert-directory): Rename from insert-directory; add
4102 `orig-fun' argument.
4103 (insert-directory): Advise.
4104
4105 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4106
4107 * term.el (term-emulate-terminal): Decode the command string
4108 before passing it to term-command-hook. (Bug#15337)
4109
4110 2013-09-13 Glenn Morris <rgm@gnu.org>
4111
4112 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4113
4114 * eshell/esh-ext.el (eshell-search-path): Declare.
4115
4116 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4117 Otherwise an error occurs if eshell-dirs module not loaded.
4118
4119 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4120
4121 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4122
4123 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4124 `tramp-check-proper-host'. Check for a valid method name.
4125
4126 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4127 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4128 * net/tramp-sh.el (tramp-maybe-open-connection):
4129 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4130
4131 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4132 also for hash values.
4133
4134 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * term/ns-win.el (parameters): Don't declare as dynamic.
4137 (before-make-frame-hook): Don't add ineffective function.
4138
4139 * eshell/*.el: Use lexical-binding (bug#15231).
4140
4141 2013-09-12 Kenichi Handa <handa@gnu.org>
4142
4143 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4144
4145 2013-09-12 Glenn Morris <rgm@gnu.org>
4146
4147 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4148 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4149
4150 * subr.el (do-after-load-evaluation): Also give compiler warnings
4151 when obsolete files are used (except by obsolete files).
4152
4153 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4154 in the status output, assume `filename' is the first. (Bug#15322)
4155
4156 * vc/vc.el (vc-deduce-fileset): Doc fix.
4157
4158 * calc/calc-help.el (Info-goto-node):
4159 * progmodes/cperl-mode.el (Info-find-node):
4160 * vc/ediff.el (Info-goto-node): Update declarations.
4161
4162 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4163
4164 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4165 (vc-bzr-pull): Require vc-dispatcher.
4166 * vc/vc-git.el (vc-compilation-mode): Declare.
4167 (vc-git-pull): Require vc-dispatcher.
4168
4169 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4170
4171 * progmodes/octave.el (help-button-action): Declare.
4172
4173 * shell.el (shell-directory-tracker): Output error as a message
4174 rather than just returning it as a string.
4175 (shell-process-pushd): Remove useless use of message.
4176
4177 * dframe.el (dframe-timer-fn):
4178 * files.el (dir-locals-read-from-file):
4179 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4180 (mpc-format):
4181 * reveal.el (reveal-post-command):
4182 * saveplace.el (load-save-place-alist-from-file):
4183 * shell.el (shell-resync-dirs):
4184 * w32-common-fns.el (x-get-selection-value):
4185 * emacs-lisp/copyright.el (copyright-find-copyright):
4186 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4187 * emulation/tpu-edt.el (tpu-copy-keyfile):
4188 * play/bubbles.el (bubbles--mark-neighbourhood):
4189 * progmodes/executable.el
4190 (executable-make-buffer-file-executable-if-script-p):
4191 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4192
4193 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 Cleanup Eshell to rely less on dynamic scoping.
4196 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4197 last-value, and ext-command here. Bind `args' closer to `body'.
4198 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4199 (eshell--args): Declare new dynamic var.
4200 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4201 last-value, and ext-command. Pass `args' to `body'.
4202 (eshell-process-args): Bind eshell--args.
4203 (eshell-set-option): Use eshell--args.
4204 * eshell/eshell.el (eshell): Use derived-mode-p.
4205 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4206 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4207 (eshell-glob-function): Declare.
4208 * eshell/esh-util.el: Require cl-lib.
4209 (eshell-read-hosts-file): Avoid add-to-list.
4210 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4211 `err'.
4212 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4213 Declare.
4214 (eshell/diff): Remove unused var `err'.
4215 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4216 `killflag'.
4217 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4218 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4219 first use.
4220 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4221 Move declaration before first use.
4222 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4223 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4224 rely on cl-return.
4225
4226 2013-09-12 Glenn Morris <rgm@gnu.org>
4227
4228 * term/ns-win.el (global-map): Remove binding for ispell-next,
4229 deleted 1999-05-29. (Bug#15357)
4230
4231 2013-09-11 Glenn Morris <rgm@gnu.org>
4232
4233 * echistory.el (electric-command-history): Remove call to deleted func.
4234
4235 * play/landmark.el (landmark-mode): Fix typos.
4236
4237 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4238 Check cvs-sort-ignore-file is bound.
4239
4240 * savehist.el: No need for cl when compiling on Emacs.
4241
4242 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4245 (bug#15338).
4246 (eshell-self-insert-command, eshell-send-invisible):
4247 Remove unused argument.
4248 (eshell-handle-control-codes): Remove unused var `orig'.
4249 Avoid delete-backward-char.
4250
4251 * files.el (set-auto-mode): Simplify a bit further.
4252
4253 2013-09-11 Glenn Morris <rgm@gnu.org>
4254
4255 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4256 (set-auto-mode): Don't regexp-quote elements.
4257 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4258 * progmodes/cc-mode.el (interpreter-mode-alist):
4259 * progmodes/ruby-mode.el (interpreter-mode-alist):
4260 Revert previous change.
4261
4262 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4263
4264 * play/snake.el (snake-mode):
4265 * play/mpuz.el (mpuz-mode):
4266 * play/landmark.el (lm-mode):
4267 * play/blackbox.el (blackbox-mode):
4268 * play/5x5.el (5x5-mode):
4269 * obsolete/options.el (Edit-options-mode):
4270 * net/quickurl.el (quickurl-list-mode):
4271 * net/newst-treeview.el (newsticker-treeview-mode):
4272 * mail/rmailsum.el (rmail-summary-mode):
4273 * mail/mspools.el (mspools-mode):
4274 * locate.el (locate-mode):
4275 * ibuffer.el (ibuffer-mode):
4276 * emulation/ws-mode.el (wordstar-mode):
4277 * emacs-lisp/debug.el (debugger-mode):
4278 * array.el (array-mode):
4279 * net/eudc.el (eudc-mode): Use define-derived-mode.
4280 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4281 Move initialization into declaration.
4282 (mairix-searches-mode): Use define-derived-mode.
4283 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4284 (eudc-edit-hotlist): Use dolist.
4285 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4286 (Man-mode): Use define-derived-mode.
4287 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4288 (Info-edit-mode): Use define-derived-mode.
4289 (Info-cease-edit): Use Info-mode.
4290 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4291 into declaration.
4292 (eshell-mode): Use define-derived-mode.
4293 * chistory.el (command-history-mode-map): Rename from
4294 command-history-map.
4295 (command-history-mode): Use define-derived-mode.
4296 (Command-history-setup): Remove function.
4297 * calc/calc.el (calc-trail-mode-map): New var.
4298 (calc-trail-mode): Use define-derived-mode.
4299 (calc-trail-buffer): Set calc-main-buffer manually.
4300 * bookmark.el (bookmark-insert-annotation): New function.
4301 (bookmark-edit-annotation): Use it.
4302 (bookmark-edit-annotation-mode): Make it a proper major mode.
4303 (bookmark-send-edited-annotation): Use derived-mode-p.
4304 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4305 closer to its ideal place. Use \' to match EOS.
4306
4307 * profiler.el (profiler-calltree-find): Use function-equal.
4308
4309 2013-09-10 Glenn Morris <rgm@gnu.org>
4310
4311 * files.el (interpreter-mode-alist): Convert to regexps.
4312 (set-auto-mode): Adapt for this. (Bug#15306)
4313 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4314 Comment out unused variable.
4315 * progmodes/cc-mode.el (interpreter-mode-alist):
4316 * progmodes/python.el (interpreter-mode-alist):
4317 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4318 * progmodes/sh-script.el (sh-set-shell):
4319 No longer use interpreter-mode-alist to get list of shells.
4320
4321 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4322
4323 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * simple.el: Use set-temporary-overlay-map for universal-argument.
4326 (universal-argument-map): Don't use default-bindings (bug#15317).
4327 Bind switch-frame explicitly. Replace universal-argument-minus with
4328 a conditional binding.
4329 (universal-argument-num-events, saved-overriding-map): Remove.
4330 (restore-overriding-map): Remove.
4331 (universal-argument--mode): Rename from save&set-overriding-map,
4332 and rewrite.
4333 (universal-argument, universal-argument-more, negative-argument)
4334 (digit-argument): Adjust accordingly.
4335 (universal-argument-minus): Remove.
4336 (universal-argument-other-key): Remove.
4337
4338 * subr.el (with-demoted-errors): Add `format' argument.
4339
4340 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4343 `tramp-cleanup-connection'.
4344
4345 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4346 parameters KEEP-DEBUG and KEEP-PASSWORD.
4347
4348 * net/tramp.el (tramp-file-name-handler):
4349 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4350 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4351 (tramp-maybe-open-connection):
4352 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4353 Use `tramp-cleanup-connection'.
4354
4355 * net/tramp-sh.el (tramp-maybe-open-connection):
4356 Catch 'uname-changed inside the progress reporter.
4357
4358 2013-09-10 Glenn Morris <rgm@gnu.org>
4359
4360 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4361
4362 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4363 returns "alternate access method" in mode (eg "-rw-r--r--.").
4364
4365 2013-09-08 Glenn Morris <rgm@gnu.org>
4366
4367 * saveplace.el (load-save-place-alist-from-file):
4368 Demote errors. (Bug#15305)
4369
4370 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4371
4372 Improve compatibility with older Emacsen, and XEmacs.
4373
4374 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4375 only if it is bound. It isn't for XEmacs.
4376 (with-tramp-progress-reporter): Do not let-bind `result'.
4377 This yields to scoping errors in XEmacs.
4378 (tramp-handle-make-auto-save-file-name): New function, moved from
4379 tramp-sh.el.
4380
4381 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4382 for `make-auto-save-file-name'.
4383 (tramp-adb--gnu-switches-to-ash):
4384 Use `tramp-compat-replace-regexp-in-string'.
4385
4386 * net/tramp-cache.el (tramp-cache-print): Call
4387 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4388
4389 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4390 bound. It isn't for XEmacs.
4391
4392 * net/tramp-compat.el (tramp-compat-copy-file):
4393 Catch `wrong-number-of-arguments' error.
4394 (tramp-compat-replace-regexp-in-string): New defun.
4395
4396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4397 for `make-auto-save-file-name'.
4398 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4399 `copy-file'.
4400 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4401 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4402 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4403
4404 * net/tramp-gw.el (tramp-gw-open-network-stream):
4405 Use `tramp-compat-replace-regexp-in-string'.
4406
4407 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4408 Call `tramp-handle-make-auto-save-file-name'.
4409 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4410 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4411 (tramp-sh-file-inotifywait-process-filter):
4412 Use `tramp-compat-replace-regexp-in-string'.
4413 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4414
4415 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4416 for `make-auto-save-file-name'.
4417 (tramp-smb-handle-copy-directory):
4418 Call `tramp-compat-replace-regexp-in-string'.
4419 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4420 (tramp-smb-handle-copy-file): Improve error message.
4421 (tramp-smb-handle-rename-file): Rename directly only in case
4422 `newname' does not exist yet. This is a restriction of smbclient.
4423 (tramp-smb-maybe-open-connection): Rerun the function only when
4424 `auth-sources' is non-nil.
4425
4426 2013-09-08 Kenichi Handa <handa@gnu.org>
4427
4428 * international/characters.el: Set category "^" (Combining) for
4429 more characters.
4430
4431 2013-09-07 Alan Mackenzie <acm@muc.de>
4432
4433 Correctly fontify Java class constructors.
4434 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4435 in Java Mode.
4436 (c-recognize-typeless-decls): Set the Java value to t.
4437 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4438 While handling a "(", add a check for, effectively, Java, and handle a
4439 "typeless" declaration there.
4440
4441 2013-09-07 Roland Winkler <winkler@gnu.org>
4442
4443 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4444 field subtitle for entry type book.
4445
4446 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * minibuffer.el: Make minibuffer-complete call completion-in-region
4449 rather than other way around.
4450 (completion--some, completion-pcm--find-all-completions):
4451 Don't delay signals when debugging.
4452 (minibuffer-completion-contents): Beware fields within the
4453 minibuffer contents.
4454 (completion-all-sorted-completions): Use defvar-local.
4455 (completion--do-completion, completion--cache-all-sorted-completions)
4456 (completion-all-sorted-completions, minibuffer-force-complete):
4457 Add args `beg' and `end'.
4458 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4459 (minibuffer-complete): Use completion-in-region.
4460 (completion-complete-and-exit): New fun, extracted from
4461 minibuffer-complete-and-exit.
4462 (minibuffer-complete-and-exit): Use it.
4463 (completion--complete-and-exit): Rename from
4464 minibuffer--complete-and-exit.
4465 (completion-in-region--single-word): New function, extracted from
4466 minibuffer-complete-word.
4467 (minibuffer-complete-word): Use it.
4468 (display-completion-list): Make `common-substring' argument obsolete.
4469 (completion--in-region): Call completion--in-region-1 instead of
4470 minibuffer-complete.
4471 (completion-help-at-point): Pass boundaries to
4472 minibuffer-completion-help as args rather than via an overlay.
4473 (completion-pcm--string->pattern): Use `any-delim'.
4474 (completion-pcm--optimize-pattern): New function.
4475 (completion-pcm--pattern->regex): Handle `any-delim'.
4476 * icomplete.el (icomplete-forward-completions)
4477 (icomplete-backward-completions, icomplete-completions):
4478 Adjust calls to completion-all-sorted-completions and
4479 completion--cache-all-sorted-completions.
4480 (icomplete-with-completion-tables): Default to t.
4481 * emacs-lisp/crm.el (crm--current-element): Rename from
4482 crm--select-current-element. Don't put an overlay but return the
4483 boundaries instead.
4484 (crm--completion-command): Take two new args to bind to the boundaries.
4485 (crm-completion-help): Adjust accordingly.
4486 (crm-complete): Use completion-in-region.
4487 (crm-complete-word): Use completion-in-region--single-word.
4488 (crm-complete-and-exit): Use completion-complete-and-exit.
4489
4490 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4493 than dynamically.
4494
4495 2013-09-06 Juri Linkov <juri@jurta.org>
4496
4497 * info.el (Info-display-images-node): When image file doesn't exist
4498 display text version of the image if it's provided in the Info file.
4499 Otherwise, display the location of missing image from SRC attribute.
4500 Add help-echo text property from ALT attribute. (Bug#15279)
4501
4502 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4505 (edit-abbrevs-mode): Use define-derived-mode.
4506
4507 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4508 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4509 that it's defined.
4510 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4511 Use define-derived-mode.
4512
4513 * epg.el (epg-start-encrypt): Minor CSE simplification.
4514
4515 2013-09-06 William Xu <william.xwl@gmail.com>
4516
4517 * arc-mode.el: Add support for 7za (bug#15264).
4518 (archive-7z-program): New var.
4519 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4520 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4521 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4522
4523 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4524
4525 Remove URL syntax.
4526
4527 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4528 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4529 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4530 (tramp-postfix-host-format, tramp-file-name-regexp)
4531 (tramp-completion-file-name-regexp)
4532 (tramp-completion-dissect-file-name)
4533 (tramp-handle-substitute-in-file-name): Remove 'url case.
4534 (tramp-file-name-regexp-url)
4535 (tramp-completion-file-name-regexp-url): Remove constants.
4536
4537 2013-09-06 Glenn Morris <rgm@gnu.org>
4538
4539 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4540
4541 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4542
4543 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4544 keywords" below "here-doc beginnings" (Bug#15270).
4545
4546 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * subr.el (pop): Use `car-safe'.
4549 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4550 to detect unused `pop' return value.
4551
4552 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4553 var `block-regexp'.
4554 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4555 (python-fill-string): Remove unused var `marker'.
4556 (python-skeleton-add-menu-items): Remove unused var `items'.
4557
4558 * international/mule-cmds.el: Require CL.
4559 (find-coding-systems-for-charsets): Avoid add-to-list.
4560 (sanitize-coding-system-list): New function, extracted from
4561 select-safe-coding-system-interactively.
4562 (select-safe-coding-system-interactively): Use it.
4563 (read-input-method-name): Accept symbols for `default'.
4564
4565 * emacs-lisp/advice.el (defadvice): Add indent rule.
4566
4567 2013-09-05 Daniel Hackney <dan@haxney.org>
4568
4569 * dired-x.el:
4570 * net/ange-ftp.el:
4571 * net/browse-url.el:
4572 * net/dbus.el:
4573 * net/eudc.el:
4574 * net/eudcb-ldap.el:
4575 * net/eww.el:
4576 * net/imap.el:
4577 * printing.el:
4578 * vc/ediff-diff.el:
4579 * vc/ediff-init.el:
4580 * vc/ediff-merg.el:
4581 * vc/ediff-mult.el:
4582 * vc/ediff-util.el:
4583 * vc/ediff-wind.el:
4584 * vc/ediff.el:
4585 * vc/emerge.el:
4586 * vc/pcvs.el:
4587 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4588 byte compiler. Remove some unused let-bound variables.
4589
4590 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4593 a "ref-cell", since it gets better optimized (bug#14883).
4594
4595 2013-09-05 Glenn Morris <rgm@gnu.org>
4596
4597 * progmodes/cc-awk.el (c-forward-sws): Declare.
4598
4599 2013-09-04 Glenn Morris <rgm@gnu.org>
4600
4601 * generic-x.el [rul-generic-mode]: Require cc-mode.
4602 (c++-mode-syntax-table): Declare.
4603 (rul-generic-mode-syntax-table): Init in the defvar.
4604
4605 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4606
4607 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4608 (vc-do-command, vc-set-async-update):
4609 * vc/vc-mtn.el (vc-mtn-dir-status):
4610 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4611 (vc-hg-pull, vc-hg-merge-branch):
4612 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4613 (vc-git-merge-branch):
4614 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4615 (vc-cvs-dir-status-files):
4616 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4617 (vc-bzr-dir-status-files):
4618 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4619 * vc/vc-annotate.el: Use lexical-binding.
4620 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4621 (vc-sentinel-movepoint): Declare.
4622 (vc-annotate): Don't use `goto-line'.
4623 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4624 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4625 (vc-sentinel-movepoint): Declare.
4626 * vc/vc-svn.el: Use lexical-binding.
4627 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4628 * vc/vc-sccs.el:
4629 * vc/vc-rcs.el: Use lexical-binding.
4630
4631 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4632 `deleted'. Don't drop errors silently.
4633
4634 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4635
4636 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4637
4638 * vc/vc.el (vc-ignore): Rewrite.
4639 (vc-default-ignore): New function.
4640 (vc-default-ignore-completion-table): Use find-ignore-file.
4641
4642 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4643 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4644 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4645 Remove. Most code moved to vc.el.
4646
4647 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4650 * net/tramp-smb.el (tramp-smb-get-file-entries):
4651 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4652 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4653
4654 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4655 Update call to it.
4656 (eww-change-select): Remove unused var `properties'.
4657 (eww-make-unique-file-name): Remove unused var `base'.
4658
4659 * finder.el (finder-compile-keywords): Don't mess with windows.
4660
4661 * calculator.el (calculator-funcall): Fix typo in last change.
4662
4663 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4664
4665 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4666 <pkg>-autoloads.el file stop us.
4667
4668 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4669 warnings, and factor out common code.
4670
4671 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4672
4673 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4674 two-character operators and whether the character preceding them
4675 changes their meaning (Bug#15208).
4676
4677 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4678
4679 Format code sent to Python shell for robustness.
4680 * progmodes/python.el (python-shell-buffer-substring):
4681 New function.
4682 (python-shell-send-region, python-shell-send-buffer): Use it.
4683
4684 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4685
4686 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4687 * net/tramp.el (tramp-user-error): ... here.
4688 (tramp-find-method, tramp-check-proper-host)
4689 (tramp-dissect-file-name, tramp-debug-message)
4690 (tramp-handle-shell-command):
4691 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4692 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4693
4694 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4695
4696 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4697
4698 * avoid.el (mouse-avoidance-point-position)
4699 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4700 returns nil.
4701
4702 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4703
4704 * progmodes/python.el (python-shell-completion-get-completions):
4705 Drop use of deleted `comint-last-prompt-overlay'.
4706 (python-nav-if-name-main): New command.
4707
4708 2013-09-01 Glenn Morris <rgm@gnu.org>
4709
4710 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4711 Avoid leading space in $wins. Otherwise the sed command used by
4712 eg compile-main ends up containing "/*.el". (Bug#15170)
4713
4714 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4715
4716 2013-08-30 Glenn Morris <rgm@gnu.org>
4717
4718 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4719 Fix is-this-a-directory logic. (Bug#15220)
4720
4721 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * textmodes/css-mode.el: Use SMIE.
4724 (css-smie-grammar): New var.
4725 (css-smie--forward-token, css-smie--backward-token)
4726 (css-smie-rules): New functions.
4727 (css-mode): Use them.
4728 (css-navigation-syntax-table): Remove var.
4729 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4730 (css-indent-calculate, css-indent-line): Remove functions.
4731
4732 Misc changes to reduce use of `(lambda...); and other cleanups.
4733 * cus-edit.el: Use lexical-binding.
4734 (customize-push-and-save, customize-apropos)
4735 (custom-buffer-create-internal): Use closures.
4736 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4737 * progmodes/ada-xref.el: Use setq.
4738 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4739 * dframe.el: Use lexical-binding.
4740 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4741 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4742 * descr-text.el: Use lexical-binding.
4743 (describe-text-widget, describe-text-sexp, describe-property-list):
4744 Use closures.
4745 * comint.el (comint-history-isearch-push-state): Use a closure.
4746 * calculator.el: Use lexical-binding.
4747 (calculator-number-to-string): Make it work with lexical-binding.
4748 (calculator-funcall): Same and use cl-letf.
4749
4750 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4751 (lisp--company-doc-string, lisp--company-location): New functions.
4752 (lisp-completion-at-point): Use them to improve Company support.
4753
4754 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4755 params of lambda expressions.
4756 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4757 (ruby-smie--opening-pipe-p): New function.
4758 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4759 symbols and matched |...| for formal params.
4760 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4761 from being treated as hanging. Handle "rescue".
4762
4763 2013-08-29 Glenn Morris <rgm@gnu.org>
4764
4765 * progmodes/cc-engine.el (c-pull-open-brace):
4766 Move definition before use.
4767
4768 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4771 are immutable. Don't use `unsafe' any more.
4772 (cl--defsubst-expand): Don't substitute at the same time as keeping
4773 a residual unused let-binding. Don't use `unsafe' any more.
4774
4775 2013-08-29 Glenn Morris <rgm@gnu.org>
4776
4777 * calendar/cal-china.el (calendar-chinese-year-cache):
4778 Recenter on 2015.
4779
4780 * nxml/nxml-util.el (nxml-debug-clear-inside):
4781 Use cl-loop rather than loop.
4782
4783 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4784
4785 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4786
4787 2013-08-28 Glenn Morris <rgm@gnu.org>
4788
4789 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4790
4791 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4792
4793 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4794
4795 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * simple.el (repeat-complex-command--called-interactively-skip):
4798 New function.
4799 (repeat-complex-command): Use it (bug#14136).
4800
4801 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4802 (c-define-abbrev-table): Add `doc' argument.
4803 (c-mode-abbrev-table, c++-mode-abbrev-table)
4804 (objc-mode-abbrev-table, java-mode-abbrev-table)
4805 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4806 (awk-mode-abbrev-table): Use it.
4807 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4808 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4809 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4810 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4811 Move initialization into the declaration; and remove any
4812 autoload cookie.
4813
4814 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4815 and dynamic let binding.
4816
4817 * vc/smerge-mode.el: Remove redundant :group args.
4818
4819 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4820 to load-path.
4821
4822 2013-08-28 Juri Linkov <juri@jurta.org>
4823
4824 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4825 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4826 (isearch-other-meta-char): Handle an undefined shifted printing
4827 character by downshifting it. (Bug#15200)
4828
4829 2013-08-28 Juri Linkov <juri@jurta.org>
4830
4831 * isearch.el (isearch-search): Change regexp error message for
4832 non-regexp searches. (Bug#15166)
4833
4834 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4835
4836 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4837 for portability to hosts where /bin/sh has problems.
4838
4839 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4842
4843 2013-08-27 Juri Linkov <juri@jurta.org>
4844
4845 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4846 in the keyboard macro. (Bug#15126)
4847
4848 2013-08-27 Juri Linkov <juri@jurta.org>
4849
4850 * isearch.el (isearch-quote-char): Comment out converting unibyte
4851 to multibyte, thus syncing with its `quoted-insert' counterpart.
4852 (Bug#15166)
4853
4854 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4855
4856 * window.el (display-buffer-use-some-window): Add missing
4857 argument in call of get-largest-window (Bug#15185).
4858 Reported by Stephen Leake.
4859
4860 2013-08-27 Glenn Morris <rgm@gnu.org>
4861
4862 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4863
4864 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4867 from a matcher-function unless there's no more matches (bug#15161).
4868
4869 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4870
4871 * minibuffer.el: Revert change from 2013-08-20.
4872
4873 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4874 with text property `tramp-default', if appropriate.
4875 (tramp-check-proper-host): New defun.
4876 (tramp-dissect-file-name): Do not check hostname. Revert change
4877 of 2013-03-18.
4878 (tramp-backtrace): Make VEC-OR-PROC optional.
4879
4880 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4881 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4882 * net/tramp-sh.el (tramp-maybe-open-connection):
4883 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4884 Apply `tramp-check-proper-host'.
4885
4886 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4887
4888 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4889 lambda expression in order to have `describe-variable' display it.
4890
4891 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4892
4893 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4894 BUF can be optional. (Bug#15186)
4895
4896 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4897
4898 * progmodes/flymake.el (flymake-get-real-file-name-function):
4899 Fix broken customization. (Bug#15184)
4900
4901 2013-08-25 Alan Mackenzie <acm@muc.de>
4902
4903 Improve indentation of bracelists defined by macros (without "=").
4904
4905 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4906 expansion begins with "{", regard it as bracelist when it doesn't
4907 contain a ";".
4908
4909 Parse C++ inher-intro when there's a template split over 2 lines.
4910
4911 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4912 rigorously the search for "class" etc. followed by ":".
4913
4914 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4915 random languages a regexp which never matches rather than nil.
4916
4917 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4918
4919 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4920 (c-awk-regexp-one-line-possibly-open-char-list-re)
4921 (c-awk-one-line-possibly-open-regexp-re)
4922 (c-awk-one-line-non-syn-ws*-re): Remove.
4923 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4924 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4925 (c-awk-space*-unclosed-regexp-/-re): New constants.
4926 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4927 aren't regexp delimiters.
4928
4929 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4930 handling for a rare situation in AWK Mode involving unterminated
4931 strings/regexps.
4932
4933 2013-08-23 Glenn Morris <rgm@gnu.org>
4934
4935 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4936
4937 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4938
4939 * files.el (create-file-buffer): If the result would begin with
4940 spaces, prepend a "|" instead of removing them. (Bug#15162)
4941
4942 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4945 text-properties (bug#15155).
4946
4947 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4948 exist any more.
4949 (calc-keypad-redraw): Remove unused var `pad'.
4950 (calc-keypad-press): Remove unused var `menu'.
4951
4952 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (display-buffer-pop-up-frame):
4955 Call pop-up-frame-function with BUFFER current so `make-frame' will
4956 use it as the new frame's buffer (Bug#15133).
4957
4958 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * calendar/timeclock.el: Minor cleanups.
4961 (timeclock-ask-before-exiting, timeclock-use-display-time):
4962 Use `symbol'.
4963 (timeclock-modeline-display): Define as alias before the
4964 actual definition.
4965 (timeclock-mode-line-display): Use define-minor-mode.
4966 (timeclock-day-list-template): Make it a function, add an argument.
4967 (timeclock-day-list-required, timeclock-day-list-length)
4968 (timeclock-day-list-debt, timeclock-day-list-span)
4969 (timeclock-day-list-break): Adjust calls accordingly.
4970
4971 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4974 Use read--expression so that completion works again.
4975
4976 2013-08-21 Sam Steingold <sds@gnu.org>
4977
4978 Add rudimentary inferior shell interaction
4979 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4980 (sh-set-shell): Reset it.
4981 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4982 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4983
4984 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * align.el: Use lexical-binding.
4987 (align-region): Simplify accordingly.
4988
4989 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4990
4991 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4992
4993 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4994 `non-essential' up.
4995
4996 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp.el:
4999 * net/tramp-adb.el:
5000 * net/tramp-cmds.el:
5001 * net/tramp-ftp.el:
5002 * net/tramp-gvfs.el:
5003 * net/tramp-gw.el:
5004 * net/tramp-sh.el: Don't wrap external variable declarations by
5005 `eval-when-compile'.
5006
5007 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5008
5009 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5010 now that Emacs supports ImageMagick animations.
5011
5012 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5015 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5016
5017 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5018
5019 * window.el (mouse-autoselect-window-select): Do autoselect when
5020 mouse pointer is on margin.
5021
5022 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5023
5024 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5025
5026 2013-08-16 Glenn Morris <rgm@gnu.org>
5027
5028 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5029 Handle "Remote Directory" response of some clients. (Bug#15058)
5030
5031 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5032 Tweak warning. (Bug#14926)
5033
5034 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5035 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5036
5037 * image-mode.el (image-mode-map): Add menu items to reverse,
5038 increase, decrease, reset animation speed.
5039 (image--set-speed, image-increase-speed, image-decrease-speed)
5040 (image-reverse-speed, image-reset-speed): New functions.
5041 (image-mode-map): Add bindings for speed commands.
5042
5043 * image.el (image-animate-get-speed, image-animate-set-speed):
5044 New functions.
5045 (image-animate-timeout): Respect image :speed property.
5046
5047 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5050 previous line (bug#15101).
5051 (debugger-eval-expression, debugger-record-expression):
5052 Use read--expression (bug#15102).
5053
5054 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5055
5056 Remove byte compiler warnings, visible when compiling with
5057 `byte-compile-force-lexical-warnings' set to t.
5058
5059 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5060 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5061 (tramp-handle-unhandled-file-name-directory)
5062 (tramp-handle-file-notify-add-watch, tramp-action-login)
5063 (tramp-action-succeed, tramp-action-permission-denied)
5064 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5065 arguments with "_".
5066
5067 * net/tramp-adb.el (tramp-adb-parse-device-names)
5068 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5069 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5070 (tramp-adb-handle-file-truename): Remove unused arguments.
5071
5072 * net/tramp-cache.el (tramp-flush-directory-property)
5073 (tramp-flush-connection-property, tramp-list-connections)
5074 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5075
5076 * net/tramp-compat.el (tramp-compat-make-temp-file):
5077 Rename FILENAME to F.
5078
5079 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5080 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5081 (tramp-zeroconf-parse-workstation-device-names)
5082 (tramp-zeroconf-parse-webdav-device-names)
5083 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5084
5085 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5086 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5087
5088 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5089 arguments.
5090 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5091 (tramp-sh-handle-insert-file-contents-literally)
5092 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5093 with "_".
5094 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5095 Remove unused variables.
5096
5097 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5098 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5099 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5100
5101 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5102 Make them a defconst.
5103 (tramp-uuencode-region): Remove unused variable.
5104
5105 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5106
5107 * frameset.el (frameset--prop-setter): New function.
5108 (frameset-prop): Add gv-setter declaration.
5109 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5110 parameter was already set in FILTERED. Doc fix.
5111 (frameset--record-minibuffer-relationships): Allow saving a
5112 minibufferless frame without its corresponding minibuffer frame.
5113 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5114 frame, if the frame id matches.
5115 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5116 frames before orphaned ones.
5117 (frameset-restore): Warn about orphaned windows, instead of error out.
5118
5119 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5120
5121 * window.el (window-make-atom): Don't overwrite parameter
5122 already present.
5123 (display-buffer-in-atom-window): Handle special case where we
5124 split an already atomic window.
5125 (window--major-non-side-window, display-buffer-in-side-window)
5126 (window--side-check): Ignore minibuffer window when walking
5127 window tree.
5128 (window-deletable-p): Return 'frame only if no other frame uses
5129 our minibuffer window.
5130 (record-window-buffer): Run buffer-list-update-hook.
5131 (split-window): Make sure window--check-frame won't destroy an
5132 existing atomic window in case the new window gets nested
5133 inside.
5134 (display-buffer-at-bottom): Ignore minibuffer window when
5135 walking window tree. Don't split a side window.
5136 (pop-to-buffer): Don't set-buffer here, the select-window call
5137 should do that.
5138 (mouse-autoselect-window-select): Autoselect only if we are in the
5139 text portion of the window.
5140
5141 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142
5143 * net/shr.el (shr-parse-image-data): New function to grab both the
5144 data itself and the Content-Type.
5145 (shr-put-image): Use it.
5146
5147 * net/eww.el (eww-display-image): Ditto.
5148
5149 * image.el (image-content-type-suffixes): New variable.
5150
5151 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5152
5153 * progmodes/python.el (python-imenu--build-tree)
5154 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5155
5156 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5157
5158 * simple.el (backward-word): Mention the optional argument.
5159
5160 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * frameset.el (frameset--make): Rename constructor from make-frameset.
5163 (frameset-p, frameset-valid-p): Don't autoload.
5164 (frameset-valid-p): Use normal accessors.
5165
5166 2013-08-13 Glenn Morris <rgm@gnu.org>
5167
5168 * progmodes/compile.el (compile-command): Tweak example in doc.
5169 * obsolete/scribe.el (scribe-mode):
5170 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5171
5172 * mail/feedmail.el (feedmail-confirm-outgoing)
5173 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5174
5175 * cus-start.el (truncate-partial-width-windows): Fix type.
5176
5177 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5178
5179 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5180
5181 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * emacs-lisp/timer.el (timer--time-setter): New function.
5184 (timer--time): Use it as gv-setter.
5185
5186 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5187 setter is not a symbol.
5188
5189 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5190
5191 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5192 if sending fails. This makes debugging easier.
5193
5194 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5195
5196 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5197 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5198 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5199
5200 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5201
5202 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5203
5204 2013-08-12 Glenn Morris <rgm@gnu.org>
5205
5206 * format.el (format-annotate-function):
5207 Handle read-only text properties in the source. (Bug#14887)
5208
5209 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5210
5211 * net/eww.el (eww-display-html): Ignore coding system errors.
5212 One web site uses "utf-8lias" as the coding system.
5213
5214 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5215
5216 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5217
5218 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5219
5220 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5221 (tutorial--detailed-help): Remove unused local variables.
5222 (tutorial--save-tutorial-to): Use ignore-errors.
5223 (help-with-tutorial): Use looking-at-p.
5224
5225 * view.el (view-buffer-other-window, view-buffer-other-frame):
5226 Mark unused arguments.
5227
5228 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5229 (woman-select-symbol-fonts, woman, woman-find-file)
5230 (woman-insert-file-contents, woman-non-underline-faces):
5231 Use string-match-p.
5232 (woman1-unquote): Move declaration.
5233
5234 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5235 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5236 argument. Remove unused local variable.
5237 (xml-parse-elem-type): Use string-match-p.
5238 (xml-substitute-numeric-entities): Use ignore-errors.
5239
5240 * calculator.el (calculator): Mark unused argument.
5241 (calculator-paste, calculator-quit, calculator-integer-p):
5242 Use ignore-errors.
5243 (calculator-string-to-number, calculator-decimal, calculator-exp)
5244 (calculator-op-or-exp): Use string-match-p.
5245
5246 * dired.el (dired-buffer-more-recently-used-p): Declare.
5247 (dired-insert-set-properties, dired-insert-old-subdirs):
5248 Use ignore-errors.
5249
5250 * dired-aux.el (dired-compress): Use ignore-errors.
5251 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5252 (dired-do-async-shell-command, dired-do-shell-command)
5253 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5254 (dired-insert-subdir-validate): Use string-match-p.
5255 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5256 (dired-add-entry): Use string-match-p, looking-at-p.
5257 (dired-insert-subdir-newpos): Remove unused local variable.
5258
5259 * filenotify.el (file-notify-callback): Remove unused local variable.
5260
5261 * filesets.el (filesets-error): Mark unused argument.
5262 (filesets-which-command-p, filesets-filter-dir-names)
5263 (filesets-directory-files, filesets-get-external-viewer)
5264 (filesets-ingroup-get-data): Use string-match-p.
5265
5266 * find-file.el (ff-other-file-name, ff-other-file-name)
5267 (ff-find-the-other-file, ff-cc-hh-converter):
5268 Remove unused local variables.
5269 (ff-get-file-name): Use string-match-p.
5270 (ff-all-dirs-under): Use ignore-errors.
5271
5272 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5273 (follow-select-if-visible): Remove unused local variable.
5274
5275 * forms.el (read-file-filter): Move declaration.
5276 (forms--make-format, forms--make-parser, forms-insert-record):
5277 Quote function with #'.
5278 (forms--update): Use string-match-p. Quote function with #'.
5279
5280 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5281 (help-make-xrefs): Use looking-at-p.
5282 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5283
5284 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5285 (ibuffer-confirm-operation-on): Use string-match-p.
5286
5287 * msb.el (msb-item-handler, msb-dired-item-handler):
5288 Mark unused arguments.
5289
5290 * ses.el (ses-decode-cell-symbol)
5291 (ses-kill-override): Remove unused local variable.
5292 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5293 (ses-load): Use ignore-errors, looking-at-p.
5294 (ses-jump-safe): Use ignore-errors.
5295 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5296
5297 * tabify.el (untabify, tabify): Mark unused arguments.
5298
5299 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5300 Mark unused argument.
5301 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5302 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5303
5304 * emacs-lisp/timer.el (timer--time): Define setter with
5305 gv-define-setter to avoid deprecation warning.
5306
5307 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5308 (*record-cmpl-statistics-p*): Remove (was commented out).
5309 (cmpl-statistics-block): Remove (body was commented out).
5310 All callers changed.
5311 (add-completions-from-buffer, load-completions-from-file):
5312 Remove unused variables.
5313
5314 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5315
5316 * filecache.el (file-cache-delete-file-list):
5317 Print message only when told so.
5318 (file-cache-files-matching): Use #' in mapconcat argument.
5319
5320 * ffap.el (ffap-url-at-point): Fix reference to variable
5321 thing-at-point-default-mail-uri-scheme.
5322
5323 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * subr.el (define-error): New function.
5326 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5327 error-file-not-found and define with define-error.
5328 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5329 and define with define-error.
5330 * userlock.el (file-locked, file-supersession):
5331 * simple.el (mark-inactive):
5332 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5333 * progmodes/ada-mode.el (ada-mode-errors):
5334 * play/life.el (life-extinct):
5335 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5336 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5337 * nxml/rng-util.el (rng-error):
5338 * nxml/rng-uri.el (rng-uri-error):
5339 * nxml/rng-match.el (rng-compile-error):
5340 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5341 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5342 * nxml/nxml-rap.el (nxml-scan-error):
5343 * nxml/nxml-outln.el (nxml-outline-error):
5344 * net/soap-client.el (soap-error):
5345 * net/gnutls.el (gnutls-error):
5346 * net/ange-ftp.el (ftp-error):
5347 * mpc.el (mpc-proc-error):
5348 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5349 (json-number-format, json-string-escape, json-string-format)
5350 (json-key-format, json-object-format):
5351 * jka-compr.el (compression-error):
5352 * international/quail.el (quail-error):
5353 * international/kkc.el (kkc-error):
5354 * emacs-lisp/ert.el (ert-test-failed):
5355 * calc/calc.el (calc-error, inexact-result, math-overflow)
5356 (math-underflow):
5357 * bookmark.el (bookmark-error-no-filename):
5358 * epg.el (epg-error): Define with define-error.
5359
5360 * time.el (display-time-event-handler)
5361 (display-time-next-load-average): Don't call sit-for since it seems
5362 unnecessary (bug#15045).
5363
5364 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5365 Use #' instead of ' to quote functions.
5366 (checkdoc-output-mode): Use setq-local.
5367 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5368 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5369 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5370 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5371 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5372 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5373 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5374 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5375
5376 * ido.el (ido-completion-help): Fix up compiler warning.
5377
5378 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5379
5380 * frameset.el (frameset-p): Add autoload cookie.
5381 (frameset--jump-to-register): New function, based on code moved from
5382 register.el.
5383 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5384
5385 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5386 (frameset-restore, frameset-save, frameset-session-filter-alist):
5387 Remove declarations.
5388 (register-alist): Doc fix.
5389 (frameset-to-register): Move to frameset.el.
5390 (jump-to-register, describe-register-1): Remove frameset-specific code.
5391
5392 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5393
5394 * allout-widgets.el (allout-widgets-pre-command-business)
5395 (allout-widgets-post-command-business)
5396 (allout-widgets-after-change-handler)
5397 (allout-decorate-item-and-context, allout-set-boundary-marker)
5398 (allout-body-modification-handler)
5399 (allout-graphics-modification-handler): Mark ignored arguments.
5400 (allout-widgets-post-command-business)
5401 (allout-widgets-exposure-change-processor)
5402 (allout-widgets-exposure-undo-processor)
5403 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5404 (allout-parse-item-at-point, allout-decorate-item-guides)
5405 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5406 * allout.el (epa-passphrase-callback-function): Declare.
5407 (allout-overlay-insert-in-front-handler)
5408 (allout-overlay-interior-modification-handler)
5409 (allout-isearch-end-handler, allout-chart-siblings)
5410 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5411 (allout-yank-processing, allout-process-exposed)
5412 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5413 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5414 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5415 (lisp-indent-defform): Mark ignored arguments.
5416 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5417 (calculate-lisp-indent): Remove unused variables.
5418 * international/characters.el (indian-2-column, arabic-2-column)
5419 (tibetan): Mark ignored arguments.
5420 (use-cjk-char-width-table): Mark ignored arguments.
5421 Remove unused variables.
5422 * international/fontset.el (build-default-fontset-data)
5423 (x-compose-font-name, create-fontset-from-fontset-spec):
5424 Mark ignored arguments.
5425 (fontset-plain-name): Remove unused variables.
5426 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5427 (keyboard-coding-system): Mark ignored arguments.
5428 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5429 * help.el (resize-temp-buffer-window):
5430 * window.el (display-buffer-in-major-side-window)
5431 (display-buffer-in-side-window, display-buffer-in-previous-window):
5432 Remove unused variables.
5433 * isearch.el (isearch-forward-symbol):
5434 * version.el (emacs-bzr-version-bzr):
5435 * international/mule-cmds.el (current-language-environment):
5436 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5437 (x-handle-display):
5438 * term/pc-win.el (x-list-fonts, x-display-planes)
5439 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5440 (x-server-version, x-display-screens, x-display-mm-height)
5441 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5442 (x-selection-owner-p, x-own-selection-internal)
5443 (x-disown-selection-internal, x-get-selection-internal)
5444 (msdos-initialize-window-system):
5445 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5446 * term/x-win.el (x-handle-no-bitmap-icon):
5447 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5448 (vc-default-find-file-hook, vc-default-extra-menu):
5449 Mark ignored arguments.
5450
5451 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5454 break-condition in the context of the debugged code (bug#12685).
5455
5456 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5457
5458 * comint.el:
5459 Do not use an overlay to highlight the last prompt. (Bug#14744)
5460 (comint-mode): Make comint-last-prompt buffer local.
5461 (comint-last-prompt): New variable.
5462 (comint-last-prompt-overlay): Remove. Superseded by
5463 comint-last-prompt.
5464 (comint-snapshot-last-prompt, comint-output-filter):
5465 Use comint-last-prompt.
5466
5467 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5470 (frameset-save): Check validity of the resulting frameset.
5471
5472 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5473
5474 * ido.el (ido-record-command): Add doc string.
5475
5476 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5477
5478 * frameset.el (frameset): Do not disable creation of the default
5479 frameset-p predicate. Doc fix.
5480 (frameset-valid-p): New function, copied from the old predicate-p.
5481 Add additional checks.
5482 (frameset-restore): Check with frameset-valid-p.
5483 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5484 (frameset-name, frameset-description, frameset-properties)
5485 (frameset-states): Add docstring.
5486 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5487 (frameset-filter-alist): Doc fixes.
5488
5489 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5492
5493 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5496 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5497 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5498 (byte-compile-normal-call): Remove obsolescence check.
5499
5500 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5501
5502 * frameset.el (frameset-restore): Doc fix.
5503
5504 * register.el (frameset-frame-id, frameset-frame-with-id)
5505 (frameset-p, frameset-restore, frameset-save): Declare.
5506 (register-alist): Document framesets.
5507 (frameset-session-filter-alist): Declare.
5508 (frameset-to-register): New function.
5509 (jump-to-register): Implement jumping to framesets. Doc fix.
5510 (describe-register-1): Describe framesets.
5511
5512 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5513
5514 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5515
5516 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5517 Use lexical-binding.
5518
5519 * frameset.el (frameset): Use type vector, not list (incompatible
5520 change). Do not declare a new constructor, use the default one.
5521 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5522 `name' and `description', respectively, and add read-only slot
5523 `timestamp'. Doc fixes.
5524 (frameset-copy, frameset-persistent-filter-alist)
5525 (frameset-filter-alist, frameset-switch-to-gui-p)
5526 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5527 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5528 (frameset-filter-iconified, frameset-keep-original-display-p):
5529 Doc fixes.
5530 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5531 Rename from frameset-filter-(save|restore)-param. All callers changed.
5532 Doc fix.
5533 (frameset-p): Adapt to change to vector and be more thorough.
5534 Change arg name to OBJECT. Doc fix.
5535 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5536 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5537 All callers changed.
5538 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5539 All callers changed.
5540 (frameset--record-minibuffer-relationships): Rename from
5541 frameset--process-minibuffer-frames. All callers changed.
5542 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5543 Use new default constructor (again). Doc fix.
5544 (frameset--find-frame-if): Rename from `frameset--find-frame.
5545 All callers changed.
5546 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5547 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5548 Doc fix.
5549 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5550 PARAMETERS and WINDOW-STATE, respectively.
5551 (frameset-restore): Add new keyword argument PREDICATE.
5552 Reset frameset--target-display to nil. Doc fix.
5553
5554 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5557 (bat-mode): Use it.
5558 (bat-mode-syntax-table): Mark \n as end-of-comment.
5559 (bat-font-lock-keywords): Remove comment rule.
5560
5561 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5562 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5563
5564 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5565 (byte-compile-callargs-warn): Use `push'.
5566 (byte-compile-arglist-warn): Ignore higher-order "calls".
5567 (byte-compile-file-form-autoload): Use `pcase'.
5568 (byte-compile-function-form): If quoting a symbol, check that it exists.
5569
5570 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5571
5572 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5573 and add a few popular commands found in batch files.
5574 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5575 (dos-mode): Doc fixes.
5576
5577 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5580 (dos-mode): Use setq-local. Add space after "rem".
5581 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5582 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5583
5584 2013-08-07 Arni Magnusson <arnima@hafro.is>
5585
5586 * progmodes/dos.el: New file.
5587 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5588 dos-mode.
5589
5590 2013-08-06 Glenn Morris <rgm@gnu.org>
5591
5592 * calendar/calendar.el: Add new faces, and day-header-array.
5593 (calendar-weekday-header, calendar-weekend-header)
5594 (calendar-month-header): New faces.
5595 (calendar-day-header-construct): New function.
5596 (calendar-day-header-width): Also :set calendar-day-header-array.
5597 (calendar-american-month-header, calendar-european-month-header)
5598 (calendar-iso-month-header): Use calendar- faces.
5599 (calendar-generate-month):
5600 Use calendar-day-header-array for day headers; apply faces to them.
5601 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5602 (calendar-abbrev-construct): Add optional maxlen argument.
5603 (calendar-day-name-array): Doc fix.
5604 (calendar-day-name-array, calendar-abbrev-length)
5605 (calendar-day-abbrev-array):
5606 Also :set calendar-day-header-array, and maybe redraw.
5607 (calendar-day-header-array): New option. (Bug#15007)
5608 (calendar-font-lock-keywords): Set to nil and make obsolete.
5609 (calendar-day-name): Add option to use header array.
5610
5611 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5612
5613 * net/shr.el (shr-render-td): Remove debugging.
5614 (shr-render-td): Make width computation consistent by defaulting
5615 all zero-width columns to 10 characters. This may not be optimal,
5616 but it's at least consistent.
5617 (shr-make-table-1): Redo last change to fix the real problem in
5618 colspan handling.
5619
5620 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5621
5622 * files.el (cache-long-line-scans):
5623 Make obsolete alias to `cache-long-scans'.
5624
5625 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5626
5627 * frameset.el (frameset, frameset-filter-alist)
5628 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5629 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5630 (frameset-compute-pos): Rename from frameset--compute-pos,
5631 and add docstring.
5632 (frameset-move-onscreen): Use frameset-compute-pos.
5633 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5634
5635 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5636 Fix typos in docstrings.
5637
5638 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5639
5640 * frame.el (get-other-frame): Tiny cleanup.
5641
5642 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5643
5644 * vc/vc.el (vc-default-ignore-completion-table):
5645 Silence byte-compiler warning.
5646
5647 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5648 slot , which can indeed be nil.
5649 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5650 Move entry for `left' from persistent to live filter alist.
5651 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5652 Doc fixes.
5653 (frameset-filter-params): When restoring a frame, copy items added to
5654 `filtered', to avoid unwittingly modifying the original parameters.
5655 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5656 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5657
5658 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5659 to use looking-at-p instead of looking-at. (Bug#15028)
5660
5661 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 Revert introduction of isearch-filter-predicates (bug#14714).
5664 Rely on add-function instead.
5665 * isearch.el (isearch-filter-predicates): Rename it back to
5666 isearch-filter-predicate.
5667 (isearch-message-prefix): Use advice-function-mapc and advice
5668 properties to get the isearch-message-prefix.
5669 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5670 instead of run-hook-with-args-until-failure.
5671 (isearch-filter-visible): Not obsolete any more.
5672 * loadup.el: Preload nadvice.
5673 * replace.el (perform-replace): Revert to funcall
5674 instead of run-hook-with-args-until-failure.
5675 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5676 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5677 dired-isearch-filenames-toggle; make it into a proper minor mode.
5678 Use add/remove-function.
5679 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5680 Call the minor-mode rather than add/remove-hook.
5681 (dired-isearch-filter-filenames):
5682 Remove isearch-message-prefix property.
5683 * info.el (Info--search-loop): New function, extracted from Info-search.
5684 Funcall isearch-filter-predicate instead of
5685 run-hook-with-args-until-failure isearch-filter-predicates.
5686 (Info-search): Use it.
5687 (Info-mode): Use isearch-filter-predicate instead of
5688 isearch-filter-predicates.
5689
5690 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5691
5692 Do not call to `selected-window' where it is assumed by default.
5693 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5694 `window-hscroll', `window-width', `window-height', `window-buffer',
5695 `window-frame', `window-start', `window-point', `next-window'
5696 and `window-display-table'.
5697 * abbrev.el (abbrev--default-expand):
5698 * bs.el (bs--show-with-configuration):
5699 * buff-menu.el (Buffer-menu-mouse-select):
5700 * calc/calc.el (calc):
5701 * calendar/calendar.el (calendar-generate-window):
5702 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5703 (diary-make-entry):
5704 * comint.el (send-invisible, comint-dynamic-complete-filename)
5705 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5706 * completion.el (complete):
5707 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5708 * disp-table.el (describe-current-display-table):
5709 * doc-view.el (doc-view-insert-image):
5710 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5711 * ehelp.el (with-electric-help):
5712 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5713 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5714 * emacs-lisp/helper.el (Helper-help-scroller):
5715 * emulation/cua-base.el (cua--post-command-handler-1):
5716 * eshell/esh-mode.el (eshell-output-filter):
5717 * ffap.el (ffap-gnus-wrapper):
5718 * help-macro.el (make-help-screen):
5719 * hilit-chg.el (highlight-compare-buffers):
5720 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5721 * hl-line.el (global-hl-line-highlight):
5722 * icomplete.el (icomplete-simple-completing-p):
5723 * isearch.el (isearch-done):
5724 * jit-lock.el (jit-lock-stealth-fontify):
5725 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5726 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5727 * mpc.el (mpc-tagbrowser, mpc):
5728 * net/rcirc.el (rcirc-any-buffer):
5729 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5730 * play/landmark.el (landmark-max-width, landmark-max-height):
5731 * play/zone.el (zone):
5732 * progmodes/compile.el (compilation-goto-locus):
5733 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5734 * progmodes/etags.el (find-tag-other-window):
5735 * progmodes/fortran.el (fortran-column-ruler):
5736 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5737 * progmodes/verilog-mode.el (verilog-point-text):
5738 * reposition.el (reposition-window):
5739 * rot13.el (toggle-rot13-mode):
5740 * server.el (server-switch-buffer):
5741 * shell.el (shell-dynamic-complete-command)
5742 (shell-dynamic-complete-environment-variable):
5743 * simple.el (insert-buffer, set-selective-display)
5744 (delete-completion-window):
5745 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5746 (speedbar-recenter):
5747 * startup.el (fancy-splash-head):
5748 * textmodes/ispell.el (ispell-command-loop):
5749 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5750 * tutorial.el (help-with-tutorial):
5751 * vc/add-log.el (add-change-log-entry):
5752 * vc/compare-w.el (compare-windows):
5753 * vc/ediff-help.el (ediff-indent-help-message):
5754 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5755 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5756 (ediff-setup-control-frame):
5757 * vc/emerge.el (emerge-position-region):
5758 * vc/pcvs-util.el (cvs-bury-buffer):
5759 * window.el (walk-windows, mouse-autoselect-window-select):
5760 * winner.el (winner-set-conf, winner-undo): Related users changed.
5761
5762 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5763
5764 * frameset.el (frameset--set-id): Doc fix.
5765 (frameset-frame-id, frameset-frame-id-equal-p)
5766 (frameset-locate-frame-id): New functions.
5767 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5768 (frameset-restore): Use them.
5769
5770 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5771
5772 Do not call to `selected-frame' where it is assumed by default.
5773 Affected functions are `raise-frame', `redraw-frame',
5774 `frame-first-window', `frame-terminal' and `delete-frame'.
5775 * calendar/appt.el (appt-disp-window):
5776 * epg.el (epg-wait-for-completion):
5777 * follow.el (follow-delete-other-windows-and-split)
5778 (follow-avoid-tail-recenter):
5779 * international/mule.el (set-terminal-coding-system):
5780 * mail/rmail.el (rmail-mail-return):
5781 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5782 * progmodes/f90.el (f90-add-imenu-menu):
5783 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5784 * server.el (server-switch-buffer):
5785 * simple.el (delete-completion-window):
5786 * talk.el (talk):
5787 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5788 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5789 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5790 * vc/ediff.el (ediff-documentation): Related users changed.
5791 * frame.el (selected-terminal): Remove the leftover.
5792
5793 2013-08-05 Glenn Morris <rgm@gnu.org>
5794
5795 * calendar/calendar.el (calendar-generate-month):
5796 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5797 (calendar-generate-month, calendar-font-lock-keywords):
5798 Fix for calendar-day-header-width > length of any day name.
5799
5800 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * desktop.el (desktop-clear): Use new name of sort predicate.
5803
5804 * frameset.el (frameset): Add docstring. Move :version property to its
5805 own `version' slot.
5806 (frameset-copy): Rename from copy-frameset.
5807 (frameset-p): Check more thoroughly.
5808 (frameset-prop): Do not check for :version, which is no longer a prop.
5809 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5810 Use new :never value instead of t.
5811 (frameset-filter-alist): Expand and clarify docstring.
5812 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5813 (frameset-filter-minibuffer, frameset-filter-save-param)
5814 (frameset-filter-restore-param, frameset-filter-iconified):
5815 Add pointer to docstring of frameset-filter-alist.
5816 (frameset-filter-params): Rename filter values to be more meaningful:
5817 :never instead of t, and reverse the meanings of :save and :restore.
5818 (frameset--process-minibuffer-frames): Clarify error message.
5819 (frameset-save): Avoid unnecessary and confusing call to framep.
5820 Use new BOA constructor for framesets.
5821 (frameset--reuse-list): Doc fix.
5822 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5823 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5824 (frameset-minibufferless-first-p): Doc fix.
5825 Rename from frameset-sort-frames-for-deletion.
5826 (frameset-restore): Doc fixes. Use new function names.
5827 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5828
5829 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5830
5831 * desktop.el (desktop-restore-forces-onscreen)
5832 (desktop-restore-reuses-frames): Document :keyword constant values.
5833 (desktop-filter-parameters-alist): Remove, now identical to
5834 frameset-filter-alist.
5835 (desktop--filter-tty*): Remove, moved to frameset.el.
5836 (desktop-save-frameset, desktop-restore-frameset):
5837 Do not pass :filters argument.
5838
5839 * frameset.el (frameset-live-filter-alist)
5840 (frameset-persistent-filter-alist): New variables.
5841 (frameset-filter-alist): Use them. Add autoload cookie.
5842 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5843 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5844 `frameset--id' (it's supposed to be internal to frameset.el).
5845 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5846 (frameset--initial-params): New function.
5847 (frameset--get-frame): Use it. Doc fix.
5848 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5849 Accept :all, not 'all.
5850 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5851 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5852 with fbound symbols. Fix frame id matching, and remove matching ids if
5853 the frame being restored is deleted. Obey :delete.
5854
5855 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * subr.el (macrop): New function.
5858 (text-clone--maintaining): New var.
5859 (text-clone--maintain): Rename from text-clone-maintain. Use it
5860 instead of inhibit-modification-hooks.
5861
5862 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5863 a proxy, so as handle autoloads and redefinitions of the target.
5864 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5865
5866 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5867 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5868 (pcase--mutually-exclusive-p): New function.
5869 (pcase--split-consp): Use it.
5870 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5871 mutually exclusive with the current predicate.
5872
5873 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5874 (edebug-macrop): Remove. Use `macrop' instead.
5875 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5876 (ad-macro-p):
5877 * eshell/esh-cmd.el (eshell-macrop):
5878 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5879
5880 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5883 (advice-mapc): New function, using it.
5884 (advice-function-member-p): New function.
5885 (advice--normalize): Store the cdr in advice--saved-rewrite since
5886 that's the part that will be changed.
5887 (advice--symbol-function): New function.
5888 (advice-remove): Handle removal before the function is defined.
5889 Adjust to new advice--saved-rewrite.
5890 (advice-member-p): Use advice-function-member-p and
5891 advice--symbol-function.
5892
5893 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5894
5895 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5896 (frameset-filter-minibuffer): Doc fix.
5897 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5898 (frameset--set-id, frameset--process-minibuffer-frames)
5899 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5900 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5901
5902 * desktop.el (desktop-clear): Only delete frames when called
5903 interactively and desktop-restore-frames is non-nil. Doc fix.
5904 (desktop-read): Set desktop-saved-frameset to nil.
5905
5906 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5907
5908 * vc/vc.el (vc-ignore): Rewrite.
5909 (vc-default-ignore-completion-table):
5910 (vc--read-lines):
5911 (vc--add-line, vc--remove-regexp): New functions.
5912
5913 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5914 (vc-svn-ignore-completion-table): New function.
5915
5916 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5917 (vc-hg-ignore-completion-table):
5918 (vc-hg-find-ignore-file): New functions.
5919
5920 * vc/vc-git.el (vc-git-ignore): Rewrite.
5921 (vc-git-ignore-completion-table):
5922 (vc-git-find-ignore-file): New functions.
5923
5924 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5925
5926 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5927 (vc-bzr-ignore-completion-table):
5928 (vc-bzr-find-ignore-file): New functions.
5929
5930 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * frameset.el (frameset-prop): New function and setter.
5933 (frameset-save): Do not modify frame list passed by the caller.
5934
5935 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5938
5939 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5942 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5943
5944 * custom.el (custom-initialize-default, custom-initialize-set)
5945 (custom-initialize-reset, custom-initialize-changed): Affect the
5946 toplevel-default-value (bug#6275, bug#14586).
5947 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5948 for bug#6275.
5949
5950 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5951
5952 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5953 Add cl-def* expressions.
5954
5955 * frameset.el (frameset-filter-params): Fix order of arguments.
5956
5957 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5958
5959 Move code related to saving frames to frameset.el.
5960 * desktop.el: Require frameset.
5961 (desktop-restore-frames): Doc fix.
5962 (desktop-restore-reuses-frames): Rename from
5963 desktop-restoring-reuses-frames.
5964 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5965 (desktop-clear): Clear frames too.
5966 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5967 (desktop--filter-tty*, desktop-save, desktop-read):
5968 Use frameset functions.
5969 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5970 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5971 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5972 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5973 (desktop--process-minibuffer-frames, desktop-save-frames)
5974 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5975 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5976 (desktop--sort-states, desktop-restoring-frames-p)
5977 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5978 (desktop-restoring-frameset-p, desktop-restore-frameset)
5979 (desktop--check-dont-save, desktop-save-frameset): New functions.
5980 (desktop--app-id): New constant.
5981 (desktop-first-buffer, desktop-buffer-ok-count)
5982 (desktop-buffer-fail-count): Move before first use.
5983 * frameset.el: New file.
5984
5985 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * files.el: Use lexical-binding.
5988 (dir-locals-read-from-file): Remove unused `err' variable.
5989 (hack-dir-local-variables--warned-coding): New var.
5990 (hack-dir-local-variables): Use it to avoid repeated warnings.
5991 (make-backup-file-name--default-function): New function.
5992 (make-backup-file-name-function): Use it as default.
5993 (buffer-stale--default-function): New function.
5994 (buffer-stale-function): Use it as default.
5995 (revert-buffer-insert-file-contents--default-function): New function.
5996 (revert-buffer-insert-file-contents-function): Use it as default.
5997 (insert-directory): Avoid add-to-list.
5998
5999 * autorevert.el (auto-revert-handler): Simplify.
6000 Use buffer-stale--default-function.
6001
6002 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6003
6004 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6005
6006 * whitespace.el (whitespace-ensure-local-variables): New function.
6007 (whitespace-cleanup-region): Call it.
6008 (whitespace-turn-on): Call it.
6009
6010 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6011
6012 Complete file name handlers.
6013
6014 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6015 (tramp-handle-verify-visited-file-modtime)
6016 (tramp-handle-file-notify-rm-watch): New functions.
6017 (tramp-call-process): Do not bind `default-directory'.
6018
6019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6020 Order alphabetically.
6021 [access-file, add-name-to-file, dired-call-process]:
6022 [dired-compress-file, file-acl, file-notify-rm-watch]:
6023 [file-ownership-preserved-p, file-selinux-context]:
6024 [make-directory-internal, make-symbolic-link, set-file-acl]:
6025 [set-file-selinux-context, set-visited-file-modtime]:
6026 [verify-visited-file-modtime]: Add handler.
6027 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6028
6029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6030 [file-notify-add-watch, file-notify-rm-watch]:
6031 [set-file-times, set-visited-file-modtime]:
6032 [verify-visited-file-modtime]: Add handler.
6033 (with-tramp-gvfs-error-message)
6034 (tramp-gvfs-handle-set-visited-file-modtime)
6035 (tramp-gvfs-fuse-file-name): Remove.
6036 (tramp-gvfs-handle-file-notify-add-watch)
6037 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6038 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6039
6040 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6041 Order alphabetically.
6042 [file-notify-rm-watch ]: Use default Tramp handler.
6043 [executable-find]: Remove private handler.
6044 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6045 `default-directory'.
6046 (tramp-sh-handle-executable-find)
6047 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6048 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6049 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6050 Do not use `format' in `tramp-message'.
6051
6052 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6053 [file-notify-rm-watch, set-visited-file-modtime]:
6054 [verify-visited-file-modtime]: Add handler.
6055 (tramp-smb-call-winexe): Do not bind `default-directory'.
6056
6057 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6058
6059 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6060
6061 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6062
6063 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6064 use it.
6065 (log-view-diff-changeset): Same.
6066 (log-view-diff-common): Call backend command `previous-revision'
6067 to find out the previous revision, in both cases. Swap the
6068 variables `to' and `fr', so that `fr' usually refers to the
6069 earlier revision (Bug#14989).
6070
6071 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6072
6073 * ibuf-ext.el (ibuffer-filter-by-filename):
6074 Make it work with dired buffers too.
6075
6076 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6077
6078 * emacs-lisp/re-builder.el (reb-color-display-p):
6079 * files.el (save-buffers-kill-terminal):
6080 * net/browse-url.el (browse-url):
6081 * server.el (server-save-buffers-kill-terminal):
6082 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6083 Prefer nil to selected-frame for the first arg of frame-parameter.
6084
6085 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6086
6087 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6088
6089 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6090
6091 * minibuffer.el (completion--twq-all): Try and preserve each
6092 completion's case choice (bug#14907).
6093
6094 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
6096 * net/network-stream.el (open-network-stream): Mention the new
6097 :nogreeting parameter.
6098 (network-stream-open-starttls): Use the :nogreeting parameter
6099 (bug#14938).
6100
6101 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6102
6103 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6104 more natural than popping.
6105
6106 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6107 (shr-urlify): Highlight under mouse.
6108
6109 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6110
6111 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6112
6113 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6114
6115 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6116 buffer for output.
6117
6118 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6119 point-min==1. Fix search string. Fix parentheses missing.
6120
6121 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6122 assume point-min==1. Fix search string. Fix parentheses missing.
6123
6124 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6125
6126 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6127 buffer for output.
6128
6129 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6130
6131 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6132 initial frame is minibuffer-less. (Bug#14841)
6133
6134 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6135
6136 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6137 option.
6138
6139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6140 (tramp-maybe-open-connection): Use it.
6141
6142 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6143
6144 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6145 minimal set of parameters passed when creating a frame, because
6146 the minibuffer status of a frame cannot be changed later.
6147
6148 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6149
6150 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6151 replace-regexp-in-string and inadvertent omissions in previous change.
6152 (todo-filter-items): Ensure only file names are comma-separated in
6153 name of filtered items buffer.
6154
6155 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6156
6157 * desktop.el: Optionally force offscreen frames back onscreen.
6158 (desktop-restoring-reuses-frames): New option.
6159 (desktop--compute-pos, desktop--move-onscreen): New functions.
6160 (desktop--make-frame): Use desktop--move-onscreen.
6161
6162 2013-07-27 Alan Mackenzie <acm@muc.de>
6163
6164 Fontify a Java generic method as a function.
6165 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6166 value to t.
6167
6168 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6169
6170 * calendar/todo-mode.el: Add command to rename todo files.
6171 (todo-rename-file): New command.
6172 (todo-key-bindings-t): Add key binding for it. Change the
6173 bindings of todo-filter-regexp-items(-multifile) to use `x'
6174 instead of `r', since the latter is better suited to the new
6175 renaming command.
6176
6177 2013-07-27 Alan Mackenzie <acm@muc.de>
6178
6179 Make Java try-with-resources statement parse properly.
6180 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6181 (c-block-stmt-1-2-key): New language constants/variables.
6182 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6183 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6184 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6185 with c-block-stmt-1-2-key.
6186
6187 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * desktop.el (desktop--make-frame): Apply most frame parameters after
6190 creating the frame to force (partially or totally) offscreen frames to
6191 be restored as such.
6192
6193 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6194
6195 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6196 (Bug#14948)
6197
6198 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6201 `base' arg of backtrace-frame.
6202
6203 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6204
6205 * simple.el (list-processes): Doc fix.
6206
6207 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6208
6209 * desktop.el (desktop--select-frame):
6210 Try harder to reuse existing frames.
6211
6212 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6215 (edebug-eval): Use backtrace-eval.
6216 (edebug--display, edebug--recursive-edit): Don't let-bind the
6217 edebug-outer-* vars that keep track of variables we locally let-bind.
6218 (edebug-outside-excursion): Don't restore outside values of locally
6219 let-bound vars.
6220 (edebug--display): Use user-error.
6221 (cl-lexical-debug, cl-debug-env): Remove.
6222
6223 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6224
6225 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6226 are restored to be sure that they are visible before deleting any
6227 remaining ones.
6228
6229 2013-07-26 Matthias Meulien <orontee@gmail.com>
6230
6231 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6232 vc-print-root-log. (Bug#14948)
6233
6234 2013-07-26 Richard Stallman <rms@gnu.org>
6235
6236 Add aliases for encrypting mail.
6237 * epa.el (epa-mail-aliases): New option.
6238 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6239 Bind inhibit-read-only so read-only text doesn't ruin everything.
6240 (epa-mail-default-recipients): New subroutine broken out.
6241 Handle epa-mail-aliases.
6242
6243 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 Add support for lexical variables to the debugger's `e' command.
6246 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6247 vars, except for debugger-outer-match-data.
6248 (debugger-frame-number): Move check for "on a function call" from
6249 callers into it. Add `skip-base' argument.
6250 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6251 (debugger-env-macro): Only reset the state stored in non-variables,
6252 i.e. current-buffer and match-data.
6253 (debugger-eval-expression): Rewrite using backtrace-eval.
6254 * subr.el (internal--called-interactively-p--get-frame): Remove.
6255 (called-interactively-p):
6256 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6257 `base' arg of backtrace-frame instead.
6258
6259 2013-07-26 Glenn Morris <rgm@gnu.org>
6260
6261 * align.el (align-regexp): Doc fix. (Bug#14857)
6262 (align-region): Explicit error if subexpression missing/does not match.
6263
6264 * simple.el (global-visual-line-mode):
6265 Do not duplicate the mode lighter. (Bug#14858)
6266
6267 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6268
6269 * window.el (display-buffer): In display-buffer bind
6270 split-window-keep-point to t, bug#14829.
6271
6272 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6273
6274 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6275 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6276 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6277 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6278 Change accordingly.
6279 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6280 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6281
6282 2013-07-25 Glenn Morris <rgm@gnu.org>
6283
6284 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6285
6286 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6289 parameter to modify-frame-parameters if the value has not changed;
6290 this is a workaround for bug#14949.
6291 (desktop--make-frame): On cl-delete-if call, check parameter name,
6292 not full parameter.
6293
6294 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6295
6296 * vc/vc.el (vc-ignore): New function.
6297
6298 * vc/vc-svn.el (vc-svn-ignore): New function.
6299
6300 * vc/vc-hg.el (vc-hg-ignore): New function.
6301
6302 * vc/vc-git.el (vc-git-ignore): New function.
6303
6304 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6305 (vc-dir-ignore): New function.
6306
6307 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6308 (cvs-append-to-ignore): Move here from pcvs.el.
6309
6310 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6311
6312 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6313
6314 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6315
6316 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6317 (desktop-restore-frames): Warn when deleting an existing frame failed.
6318
6319 2013-07-24 Glenn Morris <rgm@gnu.org>
6320
6321 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6322
6323 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6324
6325 * filenotify.el (file-notify-supported-p):
6326 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6327 Remove functions.
6328
6329 * autorevert.el (auto-revert-use-notify):
6330 (auto-revert-notify-add-watch):
6331 * net/tramp.el (tramp-file-name-for-operation):
6332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6333 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6334 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6335 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6336 Remove `file-notify-supported-p' entry.
6337
6338 2013-07-24 Glenn Morris <rgm@gnu.org>
6339
6340 * printing.el: Replace all uses of deleted ps-windows-system,
6341 ps-lp-system, ps-flatten-list with lpr- versions.
6342
6343 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6346 checked with memq (bug#14935).
6347
6348 * files.el (revert-buffer-function): Use a non-nil default.
6349 (revert-buffer-preserve-modes): Declare var to
6350 provide access to the `preserve-modes' argument.
6351 (revert-buffer): Let-bind it.
6352 (revert-buffer--default): New function, extracted from revert-buffer.
6353
6354 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * lpr.el: Signal print errors more prominently.
6357 (print-region-function): Don't default to nil.
6358 (lpr-print-region): New function, extracted from print-region-1.
6359 Check lpr's return value and signal an error in case of problem.
6360 (print-region-1): Use it.
6361 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6362 versions instead.
6363 (ps-printer-name): Default to nil.
6364 (ps-printer-name-option): Default to lpr-printer-switch.
6365 (ps-print-region-function): Don't default to nil.
6366 (ps-postscript-code-directory): Simplify default.
6367 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6368 (ps-string-list, ps-eval-switch, ps-flatten-list)
6369 (ps-flatten-list-1): Remove.
6370 (ps-multibyte-buffer): Avoid setq.
6371 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6372 (print-region-function, ps-print-region-function): Don't set them here.
6373
6374 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6375
6376 * ido.el (ido-fractionp):
6377 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6378 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6379 (ido-max-directory-size, ido-max-dir-file-cache)
6380 (ido-decorations): Doc fix.
6381
6382 * ansi-color.el: Fix old URL.
6383
6384 2013-07-23 Michael R. Mauger <michael@mauger.com>
6385
6386 * progmodes/sql.el: Version 3.3
6387 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6388 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6389 (sql-interactive-remove-continuation-prompt): Rewrite, use
6390 functions above. Fix continuation prompt and complete output line
6391 handling.
6392 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6393 redirected output buffer.
6394 (sql-mode): Restore deleted code (Bug#13591).
6395
6396 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6397
6398 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6399
6400 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6401
6402 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6403
6404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6405 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6406 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6407
6408 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6409
6410 * desktop.el (desktop-clear): Simplify; remove useless checks
6411 against invalid buffer names.
6412 (desktop-list*): Use cl-list*.
6413 (desktop-buffer-info, desktop-create-buffer): Simplify.
6414
6415 2013-07-23 Leo Liu <sdl.web@gmail.com>
6416
6417 * bookmark.el (bookmark-make-record): Restore NAME as a default
6418 value. (Bug#14933)
6419
6420 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6423 extracted from autoload--insert-text.
6424 (autoload--insert-text): Remove.
6425 (autoload--print-cookie-text): New function, extracted from
6426 autoload--insert-cookie-text.
6427 (autoload--insert-cookie-text): Remove.
6428 (autoload-generate-file-autoloads): Adjust calls accordingly.
6429
6430 * winner.el (winner-hook-installed-p): Remove.
6431 (winner-mode): Simplify accordingly.
6432
6433 * subr.el (add-to-list): Fix compiler-macro when `append' is
6434 not constant. Don't use `cl-member' for the base case.
6435
6436 * progmodes/subword.el: Fix boundary case (bug#13758).
6437 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6438 own group.
6439 (subword-backward-regexp): Make it a constant.
6440 (subword-forward-internal): Don't treat a trailing capital as the
6441 beginning of a word.
6442
6443 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6444
6445 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6446 global value of tabulated-list-revert-hook (bug#14930).
6447
6448 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * desktop.el: Require 'cl-lib.
6451 (desktop-before-saving-frames-functions): New hook.
6452 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6453 for frames being saved. Rename from desktop--save-minibuffer-frames.
6454 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6455 Do not save frames with non-nil `desktop-dont-save' parameter.
6456 Filter out deleted frames.
6457 (desktop--find-frame): Use cl-find-if.
6458 (desktop--select-frame): Use cl-(first|second|third) to access values
6459 of desktop-mini.
6460 (desktop--make-frame): Use cl-delete-if.
6461 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6462 (desktop-restore-frames): Use cl-(first|second|third) to access values
6463 of desktop-mini. Look for visible frame at the end, not while
6464 restoring frames.
6465
6466 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6467 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6468 Use string-match-p, looking-at-p (bug#14927).
6469
6470 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6471
6472 * desktop.el (desktop-saved-frame-states):
6473 Rename from desktop--saved-states; all users changed.
6474 (desktop-save-frames): Rename from desktop--save-frames.
6475 Do not save state to desktop file.
6476 (desktop-save): Save desktop-saved-frame-states to desktop file
6477 and reset to nil.
6478 (desktop-restoring-frames-p): New function.
6479 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6480 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6481 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6482
6483 * desktop.el: Correctly restore iconified frames.
6484 (desktop--filter-iconified-position): New function.
6485 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6486
6487 2013-07-20 Glenn Morris <rgm@gnu.org>
6488
6489 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6490 Let `message' do the formatting.
6491 (def-gdb-preempt-display-buffer): Add explicit format.
6492
6493 * image-dired.el (image-dired-track-original-file):
6494 Use with-current-buffer.
6495 (image-dired-track-thumbnail): Use with-current-buffer.
6496 Avoid changing point of wrong window.
6497
6498 * image-dired.el (image-dired-track-original-file):
6499 Avoid changing point of wrong window. (Bug#14909)
6500
6501 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6502
6503 * progmodes/gdb-mi.el (gdb-done-or-error):
6504 Guard against "%" in gdb output. (Bug#14127)
6505
6506 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6507
6508 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6509 (Bug#14826)
6510
6511 * international/mule.el (coding-system-iso-2022-flags): Fix last
6512 change.
6513
6514 2013-07-20 Kenichi Handa <handa@gnu.org>
6515
6516 * international/mule.el (coding-system-iso-2022-flags):
6517 Add `8-bit-level-4'. (Bug#8522)
6518
6519 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6520
6521 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6522 (bug#14815).
6523
6524 * net/eww.el (eww-process-text-input): Allow inputting when the
6525 point is at the start of the line, as the properties aren't
6526 front-sticky.
6527
6528 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6529 degenerate widths.
6530
6531 2013-07-19 Richard Stallman <rms@gnu.org>
6532
6533 * epa.el (epa-popup-info-window): Doc fix.
6534
6535 * subr.el (split-string): New arg TRIM.
6536
6537 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6540 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6541
6542 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6543
6544 * filenotify.el (file-notify--library): Rename from
6545 `file-notify-support'. Do not autoload. Adapt all uses.
6546 (file-notify-supported-p): New defun.
6547
6548 * autorevert.el (auto-revert-use-notify):
6549 Use `file-notify-supported-p' instead of `file-notify-support'.
6550 Adapt docstring.
6551 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6552
6553 * net/tramp.el (tramp-file-name-for-operation):
6554 Add `file-notify-supported-p'.
6555
6556 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6557 New defun.
6558 (tramp-sh-file-name-handler-alist): Add it as handler for
6559 `file-notify-supported-p '.
6560
6561 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6563 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6564 Add `ignore' as handler for `file-notify-*' functions.
6565
6566 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6567
6568 * simple.el (line-move-partial, line-move): Don't start vscroll or
6569 scroll-up if the current line is not taller than the window.
6570 (Bug#14881)
6571
6572 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6573
6574 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6575 highlight question marks in the method names as strings.
6576 (ruby-block-beg-keywords): Inline.
6577 (ruby-font-lock-keyword-beg-re): Extract from
6578 `ruby-font-lock-keywords'.
6579
6580 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6581
6582 * frame.el (blink-cursor-blinks): New defcustom.
6583 (blink-cursor-blinks-done): New defvar.
6584 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6585 (blink-cursor-timer-function): Check if number of blinks has been
6586 done on X and NS.
6587 (blink-cursor-suspend, blink-cursor-check): New defuns.
6588
6589 2013-07-15 Glenn Morris <rgm@gnu.org>
6590
6591 * edmacro.el (edmacro-format-keys): Fix previous change.
6592
6593 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6594
6595 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6596 The hack didn't work outside English locales anyway.
6597
6598 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6599
6600 * simple.el (define-alternatives): Rename from alternatives-define,
6601 per RMS' suggestion.
6602
6603 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * desktop.el (desktop-restore-frames): Change default to t.
6606 (desktop-restore-in-current-display): Now offer more options.
6607 (desktop-restoring-reuses-frames): New customization option.
6608 (desktop--saved-states): Doc fix.
6609 (desktop-filter-parameters-alist): New variable, renamed and expanded
6610 from desktop--excluded-frame-parameters.
6611 (desktop--target-display): New variable.
6612 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6613 (desktop--filter-tty*, desktop--filter-*-color)
6614 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6615 (desktop--filter-save-desktop-parm)
6616 (desktop-restore-in-original-display-p): New functions.
6617 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6618 (desktop--save-minibuffer-frames): New function, inspired by a similar
6619 function from Martin Rudalics.
6620 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6621 (desktop--restore-in-this-display-p): Remove.
6622 (desktop--find-frame): Rename from desktop--find-frame-in-display
6623 and add predicate argument.
6624 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6625 (desktop--reuse-list): New variable.
6626 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6627 New functions.
6628 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6629
6630 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6631
6632 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6633
6634 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6635
6636 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6637 Highlight conversion methods on Kernel.
6638
6639 2013-07-13 Alan Mackenzie <acm@muc.de>
6640
6641 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6642 and comment it out. This out-commenting enables certain C++
6643 declarations to be parsed correctly.
6644
6645 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6646
6647 * international/mule.el (define-coding-system): Doc fix.
6648
6649 * simple.el (default-font-height): Don't call font-info if the
6650 frame's default font didn't change since the frame was created.
6651 (Bug#14838)
6652
6653 2013-07-13 Leo Liu <sdl.web@gmail.com>
6654
6655 * ido.el (ido-read-file-name): Guard against non-symbol value.
6656
6657 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6658
6659 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6660 in nested defuns.
6661
6662 2013-07-13 Leo Liu <sdl.web@gmail.com>
6663
6664 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6665 ido-set-matches call. (Bug#6852)
6666
6667 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6668
6669 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6670 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6671 Ruby 2.0.
6672 (ruby-font-lock-keywords): Distinguish calls to functions with
6673 module-like names from module references. Highlight character
6674 literals.
6675
6676 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6677
6678 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6679 (gdb-send): Handle continued commands. (Bug#14847)
6680
6681 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * desktop.el (desktop--v2s): Remove unused local variable.
6684 (desktop-save-buffer): Make defvar-local; adjust docstring.
6685 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6686 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6687
6688 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6689
6690 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6691
6692 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6693
6694 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6695 (Bug#14842)
6696
6697 2013-07-12 Glenn Morris <rgm@gnu.org>
6698
6699 * doc-view.el: Require cl-lib at runtime too.
6700 (doc-view-remove-if): Remove.
6701 (doc-view-search-next-match, doc-view-search-previous-match):
6702 Use cl-remove-if.
6703
6704 * edmacro.el: Require cl-lib at runtime too.
6705 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6706 (edmacro-mismatch, edmacro-subseq): Remove.
6707
6708 * shadowfile.el: Require cl-lib.
6709 (shadow-remove-if): Remove.
6710 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6711 Use cl-remove-if.
6712
6713 * wid-edit.el: Require cl-lib.
6714 (widget-choose): Use cl-remove-if.
6715 (widget-remove-if): Remove.
6716
6717 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6718 (ebrowse-delete-if-not): Remove.
6719 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6720 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6721 Use cl-delete-if-not.
6722
6723 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6726 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6727
6728 2013-07-12 Leo Liu <sdl.web@gmail.com>
6729
6730 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6731
6732 2013-07-11 Glenn Morris <rgm@gnu.org>
6733
6734 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6735 (edebug-gensym-index, edebug-gensym):
6736 Remove reimplementation of cl-gensym.
6737 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6738
6739 * thumbs.el: Require cl-lib at run-time too.
6740 (thumbs-gensym-counter, thumbs-gensym):
6741 Remove reimplementation of cl-gensym.
6742 (thumbs-temp-file): Use cl-gensym.
6743
6744 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6745 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6746 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6747 (ert--union, ert--gensym-counter, ert--gensym-counter)
6748 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6749 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6750 (ert-make-test-unbound, ert--expand-should-1)
6751 (ert--expand-should, ert--should-error-handle-error)
6752 (should-error, ert--explain-equal-rec)
6753 (ert--plist-difference-explanation, ert-select-tests)
6754 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6755 Use cl-lib functions rather than reimplementations.
6756
6757 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6758
6759 * net/tramp.el (tramp-methods): Extend docstring.
6760 (tramp-connection-timeout): New defcustom.
6761 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6762 (with-tramp-progress-reporter): Simplify.
6763 (tramp-process-actions): Improve messages.
6764
6765 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6766 * net/tramp-sh.el (tramp-maybe-open-connection):
6767 Use `tramp-connection-timeout'.
6768 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6769 (Bug#14808)
6770
6771 2013-07-11 Leo Liu <sdl.web@gmail.com>
6772
6773 * ido.el (ido-read-file-name): Conform to the requirements of
6774 read-file-name. (Bug#11861)
6775 (ido-read-directory-name): Conform to the requirements of
6776 read-directory-name.
6777
6778 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6779
6780 * subr.el (delay-warning): New function.
6781
6782 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6783
6784 * simple.el (default-line-height): New function.
6785 (line-move-partial, line-move): Use it instead of computing the
6786 line height inline.
6787 (line-move-partial): Always compute ROWH. If the last line is
6788 partially-visible, but its text is completely visible, allow
6789 cursor to enter such a partially-visible line.
6790
6791 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6792
6793 Improve error messages. (Bug#14808)
6794
6795 * net/tramp.el (tramp-current-connection): New defvar, moved from
6796 tramp-sh.el.
6797 (tramp-message-show-progress-reporter-message): Remove, not
6798 needed anymore.
6799 (tramp-error-with-buffer): Show message in minibuffer.
6800 Discard input before waiting. Reset connection timestamp.
6801 (with-tramp-progress-reporter): Improve messages.
6802 (tramp-process-actions): Use progress reporter. Delete process in
6803 case of error. Improve messages.
6804
6805 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6806 Call `tramp-error-with-buffer' with vector and buffer.
6807 (tramp-current-connection): Remove.
6808 (tramp-maybe-open-connection): The car of
6809 `tramp-current-connection' are the first 3 slots of the vector.
6810
6811 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6812
6813 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6814 inside continued strings.
6815
6816 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6817
6818 Timestamp fixes for undo (Bug#14824).
6819 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6820
6821 2013-07-10 Leo Liu <sdl.web@gmail.com>
6822
6823 * files.el (require-final-newline): Allow safe local value.
6824 (Bug#14834)
6825
6826 2013-07-09 Leo Liu <sdl.web@gmail.com>
6827
6828 * ido.el (ido-read-directory-name): Handle fallback.
6829 (ido-read-file-name): Update DIR to ido-current-directory.
6830 (Bug#1516)
6831 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6832
6833 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6834
6835 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6836 "autoload". Remove "warn lower camel case" section, previously
6837 commented out. Highlight negation char. Do not highlight the
6838 target in singleton method definitions.
6839
6840 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * faces.el (tty-setup-hook): Declare the hook.
6843
6844 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6845 and detect when a guard/pred depends on local vars (bug#14773).
6846 (pcase--u1): Adjust caller.
6847
6848 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6849
6850 * simple.el (line-move-partial, line-move): Account for
6851 line-spacing.
6852 (line-move-partial): Avoid setting vscroll when the last
6853 partially-visible line in window is of default height.
6854
6855 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6856
6857 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6858 been used a while.
6859
6860 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * subr.el (read-quoted-char): Remove unused local variable `char'.
6863
6864 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6865
6866 * ediff.el (ediff-version): Version update.
6867 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6868 (ediff-merge-with-ancestor-command, ediff-directories-command)
6869 (ediff-directories3-command, ediff-merge-directories-command)
6870 (ediff-merge-directories-with-ancestor-command): New functions.
6871 All are command-line interfaces to ediff: to facilitate calling
6872 Emacs with the appropriate ediff functions invoked.
6873
6874 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6875 (viper-save-kill-buffer): Check if buffer is modified.
6876
6877 * viper.el (viper-version): Version update.
6878 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6879
6880 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6883 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6884 (viper-intercept-ESC-key): Simplify.
6885 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6886 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6887 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6888 (viper-setup-ESC-to-escape): New functions.
6889 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6890 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6891
6892 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6893
6894 * simple.el (default-font-height, window-screen-lines):
6895 New functions.
6896 (line-move, line-move-partial): Use them instead of
6897 frame-char-height and window-text-height. This makes scrolling
6898 text smoother when the buffer's default face uses a font that is
6899 different from the frame's default font.
6900
6901 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6902
6903 * files.el (write-file): Do not display confirm dialog for NS,
6904 it does its own dialog, which can't be cancelled (Bug#14578).
6905
6906 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6907
6908 * simple.el (line-move-partial): Adjust the row returned by
6909 posn-at-point for the current window-vscroll. (Bug#14567)
6910
6911 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6912
6913 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6914 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6915 spaces.
6916
6917 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6918
6919 * window.el (window-state-put-stale-windows): New variable.
6920 (window--state-put-2): Save list of windows without matching buffer.
6921 (window-state-put): Remove "bufferless" windows if possible.
6922
6923 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * simple.el (alternatives-define): Remove leftover :group keyword.
6926 Tweak docstring.
6927
6928 2013-07-06 Leo Liu <sdl.web@gmail.com>
6929
6930 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6931 (ido-enable-virtual-buffers): New variable.
6932 (ido-buffer-internal, ido-toggle-virtual-buffers)
6933 (ido-make-buffer-list): Use it.
6934 (ido-exhibit): Support turning on and off virtual buffers
6935 automatically.
6936
6937 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6938
6939 * simple.el (alternatives-define): New macro.
6940
6941 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * subr.el (read-quoted-char): Use read-key.
6944 (sit-for): Let read-event decode tty input (bug#14782).
6945
6946 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6947
6948 * calendar/todo-mode.el: Add handling of file deletion, both by
6949 mode command and externally. Fix various related bugs.
6950 Clarify Commentary and improve some documentation strings and code.
6951 (todo-delete-file): New command.
6952 (todo-check-file): New function.
6953 (todo-show): Handle external deletion of the file we're trying to
6954 show (bug#14688). Replace called-interactively-p by an optional
6955 prefix argument to avoid problematic interaction with catch form
6956 when byte compiled (bug#14702).
6957 (todo-quit): Handle external deletion of the archive's todo file.
6958 Make sure the buffer that was visiting the archive file is still
6959 live before trying to bury it.
6960 (todo-category-completions): Handle external deletion of any
6961 category completion files.
6962 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6963 of todo files, in case of external deletion.
6964 (todo-add-file): Replace unnecessary setq by let-binding.
6965 (todo-find-archive): Check whether there are any archives.
6966 Replace unnecessary setq by let-binding.
6967 (todo-archive-done-item): Use find-file-noselect to get the
6968 archive buffer whether or not the archive already exists.
6969 Remove superfluous code. Use file size instead of buffer-file-name to
6970 check if the archive is new; if it is, update list of archives.
6971 (todo-default-todo-file): Allow nil to be a valid value for when
6972 there are no todo files.
6973 (todo-reevaluate-default-file-defcustom): Use corrected definition
6974 of todo-default-todo-file.
6975 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6976 (todo-delete-category, todo-show-categories-table)
6977 (todo-category-number): Clarify comment.
6978 (todo-filter-items): Clarify documentation string.
6979 (todo-show-current-file, todo-display-as-todo-file)
6980 (todo-reset-and-enable-done-separator): Tweak documentation string.
6981 (todo-done-separator): Make separator length window-width, since
6982 bug#2749 is now fixed.
6983
6984 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6985
6986 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6987 Support both "gvfs-monitor-dir" and "inotifywait".
6988 (tramp-sh-file-inotifywait-process-filter): Rename from
6989 `tramp-sh-file-notify-process-filter'.
6990 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6991 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6992
6993 2013-07-05 Leo Liu <sdl.web@gmail.com>
6994
6995 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6996
6997 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6998
6999 * frame.el (display-pixel-height, display-pixel-width)
7000 (display-mm-height, display-mm-width): Mention behavior on
7001 multi-monitor setups in docstrings.
7002 (w32-display-monitor-attributes-list): Declare function.
7003 (display-monitor-attributes-list): Use it.
7004
7005 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7006
7007 * filenotify.el: New package.
7008
7009 * autorevert.el (top): Require filenotify.el.
7010 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7011 instead.
7012 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7013 (auto-revert-notify-handler): Use `file-notify-*' functions.
7014
7015 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7016
7017 * net/tramp.el (tramp-file-name-for-operation):
7018 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7019
7020 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7021 for `file-notify-add-watch' and `file-notify-rm-watch'.
7022 (tramp-process-sentinel): Improve trace.
7023 (tramp-sh-handle-file-notify-add-watch)
7024 (tramp-sh-file-notify-process-filter)
7025 (tramp-sh-handle-file-notify-rm-watch)
7026 (tramp-get-remote-inotifywait): New defuns.
7027
7028 2013-07-03 Juri Linkov <juri@jurta.org>
7029
7030 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7031 call of `occur-read-primary-args' to interactive spec.
7032
7033 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7034 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7035
7036 2013-07-03 Matthias Meulien <orontee@gmail.com>
7037
7038 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7039 `Buffer-menu-multi-occur'. Add it to the menu.
7040 (Buffer-menu-mode): Document it in docstring.
7041 (Buffer-menu-multi-occur): New command. (Bug#14673)
7042
7043 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7044
7045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7046 keywords and built-ins.
7047
7048 2013-07-03 Glenn Morris <rgm@gnu.org>
7049
7050 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7051
7052 Make info-xref checks case-sensitive by default
7053 * info.el (Info-find-node, Info-find-in-tag-table)
7054 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7055 Add option for exact case matching of nodes.
7056 * info-xref.el (info-xref): New custom group.
7057 (info-xref-case-fold): New option.
7058 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7059
7060 2013-07-03 Leo Liu <sdl.web@gmail.com>
7061
7062 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7063
7064 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7065
7066 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7067 middle of block statement initially, lower the depth. Remove
7068 FIXME comment, not longer valid. Remove middle of block statement
7069 detection, no need to do that anymore since we've been using
7070 `ruby-parse-region' here.
7071
7072 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7073
7074 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7075
7076 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7077
7078 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7079
7080 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7081
7082 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7083 (desktop-restore-in-current-display): New customization option.
7084 (desktop--excluded-frame-parameters): Add `font'.
7085 (desktop--save-frames): Rename from desktop--save-windows.
7086 (desktop--restore-in-this-display-p): New function.
7087 (desktop--make-full-frame): Remove unwanted width/height from
7088 full(width|height) frames.
7089 (desktop--restore-frames): Rename from desktop--restore-windows.
7090 Obey desktop-restore-current-display. Do not delete old frames or
7091 select a new frame unless we were able to restore at least one frame.
7092
7093 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7094
7095 * files.el (find-file-noselect): Simplify conditional expression.
7096
7097 * remember.el (remember-append-to-file):
7098 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7099
7100 Add `remember-notes' function to store random notes across Emacs
7101 restarts.
7102 * remember.el (remember-data-file): Add :set callback to affect
7103 notes buffer (if any).
7104 (remember-notes): New command.
7105 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7106 New defcustoms for the `remember-notes' function.
7107 (remember-notes-save-and-bury-buffer): New command.
7108 (remember-notes-mode-map): New variable.
7109 (remember-mode): New minor mode.
7110 (remember-notes--kill-buffer-query): New function.
7111 * startup.el (initial-buffer-choice): Add notes to custom type.
7112
7113 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7114
7115 * bindings.el (right-char, left-char): Don't call sit-for, this is
7116 no longer needed. Use arithmetic comparison only for numerical
7117 arguments.
7118
7119 * international/mule-cmds.el (select-safe-coding-system):
7120 Handle the case of FROM being a string correctly. (Bug#14755)
7121
7122 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7123
7124 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7125 progression on degenerate tables.
7126 (shr-rescale-image): ImageMagick animated images currently don't work.
7127
7128 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7129
7130 Some fixes and improvements for desktop frame restoration.
7131 It is still experimental and disabled by default.
7132 * desktop.el (desktop--save-windows): Put the selected frame at
7133 the head of the list.
7134 (desktop--make-full-frame): New function.
7135 (desktop--restore-windows): Try to re-select the frame that was
7136 selected upon saving. Do not abort if some frames fail to restore,
7137 just show an error message and continue. Set up maximized frames
7138 so they have default non-maximized dimensions.
7139
7140 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7141
7142 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7143 Don't start heredoc inside a string or comment.
7144
7145 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7146
7147 * bindings.el (visual-order-cursor-movement): New defcustom.
7148 (right-char, left-char): Provide visual-order cursor motion by
7149 calling move-point-visually. Update the doc strings.
7150
7151 2013-06-28 Kenichi Handa <handa@gnu.org>
7152
7153 * international/mule.el (define-coding-system): New coding system
7154 properties :inhibit-null-byte-detection,
7155 :inhibit-iso-escape-detection, and :prefer-utf-8.
7156 (set-buffer-file-coding-system): If :charset-list property of
7157 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7158 appropriate for setting.
7159
7160 * international/mule-cmds.el (select-safe-coding-system):
7161 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7162 multibyte characters, return utf-8 (or one of its siblings).
7163
7164 * international/mule-conf.el (prefer-utf-8): New coding system.
7165 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7166 files.
7167
7168 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7169
7170 * net/shr.el (shr-render-region): New function.
7171
7172 * net/eww.el: Autoload `eww-browse-url'.
7173
7174 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7175
7176 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7177 Adapt to `package-desc-version' being a list.
7178 Use `package--ac-desc-version' to retrieve version from a package
7179 archive element.
7180
7181 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7182
7183 New experimental feature to save&restore window and frame setup.
7184 * desktop.el (desktop-save-windows): New defcustom.
7185 (desktop--saved-states): New var.
7186 (desktop--excluded-frame-parameters): New defconst.
7187 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7188 (desktop--restore-windows, desktop--save-windows): New functions.
7189 (desktop-save): Call `desktop--save-windows'.
7190 (desktop-read): Call `desktop--restore-windows'.
7191
7192 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7193
7194 * net/shr.el (add-face-text-property): Remove compat definition.
7195
7196 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7197
7198 * info.el (Info-try-follow-nearest-node): Move search for footnote
7199 above search for node name to prevent missing a footnote (bug#14717).
7200
7201 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7202
7203 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7204
7205 2013-06-27 Leo Liu <sdl.web@gmail.com>
7206
7207 * net/eww.el (eww-read-bookmarks): Check file size.
7208
7209 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7212 advice--pending if newdef is nil or an autoload (bug#13820).
7213 (advice-mapc): New function.
7214
7215 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7216
7217 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7218 probably.
7219 (eww-mode-map): Add a menu bar.
7220 (eww-add-bookmark): New command.
7221 (eww-bookmark-mode): New mode and commands.
7222 (eww-add-bookmark): Remove newlines from the title.
7223 (eww-bookmark-browse): Don't bug out if it's the only window.
7224
7225 2013-06-26 Glenn Morris <rgm@gnu.org>
7226
7227 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7228 (hfy-size): Handle ttys. (Bug#14668)
7229
7230 * info-xref.el: Update for Texinfo 5 change in *note format.
7231 (info-xref-node-re, info-xref-note-re): New constants.
7232 (info-xref-check-buffer): Use info-xref-note-re.
7233
7234 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7237
7238 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7239 nil terminate the loop (bug#14718).
7240
7241 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7242
7243 * net/eww.el: Rework history traversal. When going forward/back,
7244 put these actions into the history, too, so that they can be
7245 replayed.
7246 (eww-render): Move the history reset to the correct buffer.
7247
7248 2013-06-25 Juri Linkov <juri@jurta.org>
7249
7250 * files-x.el (modify-dir-local-variable): Change the header comment
7251 in the file with directory local variables. (Bug#14692)
7252
7253 * files-x.el (read-file-local-variable-value): Add `default'.
7254 (Bug#14710)
7255
7256 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7257
7258 * net/eww.el (eww-make-unique-file-name): Create a unique file
7259 name before saving to entering `y' accidentally asynchronously.
7260
7261 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7262
7263 * net/eww.el (eww-download): New command and keystroke.
7264
7265 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7266
7267 * net/eww.el (eww-copy-page-url): Change name of command.
7268
7269 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7270 be more consistent with Info and dired.
7271
7272 * net/eww.el (eww-mode-map): Ditto.
7273
7274 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7277 packages from archives.
7278 (package-archive-contents): Change format; include obsolete packages.
7279 (package-desc): Use `dir' to mark builtin packages.
7280 (package--from-builtin): Set the `dir' field to `builtin'.
7281 (generated-autoload-file, version-control): Declare.
7282 (package-compute-transaction): Change first arg and return value to be
7283 lists of package-descs. Adjust to new package-archive-contents format.
7284 (package--add-to-archive-contents): Adjust to new
7285 package-archive-contents format.
7286 (package-download-transaction): Arg is now a list of package-descs.
7287 (package-install): If `pkg' is a package name, pass it as
7288 a requirement, so it is subject to the usual (e.g. disabled) checks.
7289 (describe-package): Accept package-desc as well.
7290 (describe-package-1): Describe a specific package-desc. Add links to
7291 other package-descs for the same package name.
7292 (package-menu-describe-package): Pass the actual package-desc.
7293 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7294 works correctly.
7295 (package-desc-status): New function.
7296 (package-menu--refresh): New function, extracted
7297 from package-menu--generate.
7298 (package-menu--generate): Use it.
7299 (package-delete): Update package-alist.
7300 (package-menu-execute): Don't call package-initialize.
7301
7302 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7303 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7304 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7305 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7306 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7307 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7308
7309 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7310
7311 * window.el (window--state-get-1): Workaround for bug#14527.
7312 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7313
7314 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7315
7316 * net/eww.el (eww-back-url): Implement the history by stashing all
7317 the data into a list.
7318 (eww-forward-url): Allow going forward in the history, too.
7319
7320 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7323 for values and use read--expression for expressions (bug#14710).
7324 (read-file-local-variable): Avoid setq.
7325 (read-file-local-variable-mode): Use minor-mode-list.
7326
7327 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7328
7329 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7330 for DOI URLs.
7331
7332 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7333
7334 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7335 Update imenu-support when dialect changes.
7336
7337 2013-06-25 Leo Liu <sdl.web@gmail.com>
7338
7339 * ido.el (ido-read-internal): Allow forward slash on windows.
7340
7341 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342
7343 * net/eww.el (eww): Start of strings is \\`, not ^.
7344
7345 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7346
7347 * net/shr.el (shr-browse-url): Fix interactive spec.
7348
7349 * net/eww.el (eww): Add a trailing slash to domain names.
7350
7351 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7352
7353 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7354
7355 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7356
7357 * net/shr.el (shr-browse-url): Use an external browser if given a
7358 prefix.
7359
7360 * net/eww.el (eww-external-browser): Move to shr.
7361
7362 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7363
7364 * net/eww.el (eww): Work more correctly for file: URLs.
7365 (eww-detect-charset): Allow quoted charsets.
7366 (eww-yank-page-url): New command and keystroke.
7367
7368 2013-06-24 Daiki Ueno <ueno@gnu.org>
7369
7370 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7371 file name of gpg executable.
7372 (epg-context-program): New function.
7373 (epg-context-home-directory): New function.
7374 (epg-context-set-program): New function.
7375 (epg-context-set-home-directory): New function.
7376 (epg--start): Use `epg-context-program' instead of
7377 'epg-gpg-program'.
7378 (epg--list-keys-1): Likewise.
7379
7380 2013-06-24 Leo Liu <sdl.web@gmail.com>
7381
7382 * ido.el (ido-read-internal): Fix bug#14620.
7383
7384 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7385
7386 * faces.el (face-documentation): Simplify.
7387 (read-face-attribute, tty-find-type, x-resolve-font-name):
7388 Use `string-match-p'.
7389 (list-faces-display): Use `string-match-p'. Simplify.
7390 (face-spec-recalc): Check face to avoid face alias loops.
7391 (read-color): Use `string-match-p' and non-capturing parenthesis.
7392
7393 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7394
7395 * net/shr.el (shr-rescale-image): Use the new
7396 :max-width/:max-height functionality.
7397
7398 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7399
7400 * net/eww.el (eww-search-prefix): New variable.
7401 (eww): Use it.
7402 (eww-external-browser): New variable.
7403 (eww-mode-map): New keystroke.
7404 (eww-browse-with-external-browser): New command.
7405
7406 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7407
7408 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7411 Don't skip aligning the next header field when padding is 0;
7412 otherwise, field width is not respected unless the title is as
7413 wide as the field.
7414
7415 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * emacs-lisp/package.el (package-el-version): Remove.
7418 (package-process-define-package): Fix inf-loop.
7419 (package-install): Allow symbols as arguments again.
7420
7421 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7424 add some more keyword-like methods.
7425 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7426
7427 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * bs.el (bs-buffer-show-mark): Make defvar-local.
7430 (bs-mode): Use setq-local.
7431
7432 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7433 (emacs-lock--try-unlocking): Make defvar-local.
7434
7435 2013-06-22 Glenn Morris <rgm@gnu.org>
7436
7437 * play/cookie1.el (cookie-apropos): Minor simplification.
7438
7439 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7440
7441 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7442
7443 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7444 `regexp-opt', it breaks the build during dumping.
7445
7446 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7447
7448 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7449 Highlight keyword-like methods on Kernel and Module with
7450 font-lock-builtin-face.
7451 (auto-mode-alist): Consolidate different entries into one regexp
7452 and add more *file-s.
7453
7454 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7455
7456 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7457
7458 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7459 (diary-entry): Use it in the action of this button type instead of
7460 diary-goto-entry.
7461
7462 * calendar/todo-mode.el: New version.
7463 (todo-add-category): Append new category to end of file and give
7464 it the highest number, instead of putting it at the beginning and
7465 giving it 0. Incorporate noninteractive functionality.
7466 (todo-forward-category): Adapt to 1-based category numbering.
7467 Allow skipping over archived categories.
7468 (todo-backward-category): Derive from todo-forward-category.
7469 (todo-backward-item, todo-forward-item): Make noninteractive and
7470 delegate interactive part to new commands. Make sensitive to done items.
7471 (todo-categories): Make value an alist of category names and
7472 vectors of item counts.
7473 (todo-category-beg): Make a defconst.
7474 (todo-category-number): Use 1 instead of 0 as initial value.
7475 (todo-category-select): Make sensitive to overlays, optional item
7476 highlighting and done items.
7477 (todo-delete-item): Make sensitive to overlays and marked and done items.
7478 (todo-edit-item): Make sensitive to overlays and editing of
7479 date/time header optional. Add format checks.
7480 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7481 no-op if point is not on an item. Advertise using todo-edit-quit.
7482 (todo-edit-mode): Make sensitive to new format, font-locking, and
7483 multiple todo files.
7484 (todo-insert-item, todo-insert-item-here): Derive from
7485 todo-basic-insert-item and extend functionality.
7486 (todo-item-end, todo-item-start): Make sensitive to done items.
7487 (todo-item-string): Don't return text properties. Restore point.
7488 (todo-jump-to-category): Make sensitive to multiple todo files and
7489 todo archives. Use extended category completion.
7490 (todo-lower-item, todo-raise-item): Rename to *-priority and
7491 derive from todo-set-item-priority.
7492 (todo-mode): Derive from special-mode. Make sensitive to new
7493 format, font-locking and multiple todo files. Make read-only.
7494 (todo-mode-map): Don't suppress digit keys, so they can supply
7495 prefix arguments. Add many new key bindings.
7496 (todo-prefix): Insert as an overlay instead of file text.
7497 Change semantics from diary date expression to purely visual mark.
7498 (todo-print): Rename to todo-print-buffer. Make buffer display
7499 features printable. Remove option to restrict number of items
7500 printed. Add option to print to file.
7501 (todo-print-function): Rename to todo-print-buffer-function.
7502 (todo-quit): Extend to handle exiting new todo modes.
7503 (todo-remove-item): Make sensitive to overlays.
7504 (todo-save): Extend to buffers of filtered items.
7505 (todo-show): Make sensitive to done items, multiple todo files and
7506 new todo modes. Offer to convert legacy todo file before creating
7507 first new todo file.
7508 (todo-show-priorities): Rename to todo-top-priorities.
7509 Change semantics of value 0.
7510 (todo-top-priorities): Rename to todo-filter-top-priorities,
7511 derive from todo-filter-items and extend functionality.
7512 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7513 and extend functionality to other types of filtered items.
7514 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7515 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7516 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7517 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7518 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7519 (todo-edit-mode-hook, todo-entry-prefix-function)
7520 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7521 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7522 (todo-initials, todo-insert-threshold, todo-item-string-start)
7523 (todo-line-string, todo-menu, todo-mode-hook)
7524 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7525 (todo-print-priorities, todo-remove-separator)
7526 (todo-save-top-priorities-too, todo-string-count-lines)
7527 (todo-string-multiline-p, todo-time-string-format)
7528 (todo-tmp-buffer-name): Remove.
7529 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7530 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7531 (todo-edit-category-diary-inclusion)
7532 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7533 (todo-edit-file, todo-edit-item-date-day)
7534 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7535 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7536 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7537 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7538 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7539 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7540 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7541 (todo-filter-top-priorities-multifile, todo-find-archive)
7542 (todo-find-filtered-items-file, todo-go-to-source-item)
7543 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7544 (todo-jump-to-archive-category, todo-lower-category)
7545 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7546 (todo-move-category, todo-move-item, todo-next-button)
7547 (todo-next-item, todo-padded-string, todo-powerset)
7548 (todo-previous-button, todo-previous-item)
7549 (todo-print-buffer-to-file, todo-raise-category)
7550 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7551 (todo-set-category-number, todo-set-item-priority)
7552 (todo-set-top-priorities-in-category)
7553 (todo-set-top-priorities-in-file, todo-show-categories-table)
7554 (todo-sort-categories-alphabetically-or-numerically)
7555 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7556 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7557 (todo-toggle-item-header, todo-toggle-item-highlighting)
7558 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7559 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7560 (todo-unarchive-items, todo-unmark-category): New commands.
7561 (todo-absolute-file-name, todo-add-to-buffer-list)
7562 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7563 (todo-basic-insert-item, todo-category-completions)
7564 (todo-category-number, todo-category-string-matcher-1)
7565 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7566 (todo-check-format, todo-clear-matches)
7567 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7568 (todo-current-category, todo-date-string-matcher)
7569 (todo-define-insertion-command, todo-diary-expired-matcher)
7570 (todo-diary-goto-entry, todo-diary-item-p)
7571 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7572 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7573 (todo-done-item-section-p, todo-done-separator)
7574 (todo-done-string-matcher, todo-files, todo-filter-items)
7575 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7576 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7577 (todo-insert-category-line, todo-insert-item-from-calendar)
7578 (todo-insert-sort-button, todo-insert-with-overlays)
7579 (todo-insertion-command-name, todo-insertion-key-bindings)
7580 (todo-label-to-key, todo-longest-category-name-length)
7581 (todo-make-categories-list, todo-mode-external-set)
7582 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7583 (todo-modes-set-3, todo-multiple-filter-files)
7584 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7585 (todo-read-category, todo-read-date, todo-read-dayname)
7586 (todo-read-file-name, todo-read-time)
7587 (todo-reevaluate-category-completions-files-defcustom)
7588 (todo-reevaluate-default-file-defcustom)
7589 (todo-reevaluate-filelist-defcustoms)
7590 (todo-reevaluate-filter-files-defcustom)
7591 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7592 (todo-reset-done-separator, todo-reset-done-separator-string)
7593 (todo-reset-done-string, todo-reset-global-current-todo-file)
7594 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7595 (todo-reset-prefix, todo-set-categories)
7596 (todo-set-date-from-calendar, todo-set-show-current-file)
7597 (todo-set-top-priorities, todo-short-file-name)
7598 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7599 (todo-total-item-counts, todo-update-buffer-list)
7600 (todo-update-categories-display, todo-update-categories-sexp)
7601 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7602 New functions.
7603 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7604 New major modes.
7605 (todo-categories, todo-display, todo-edit, todo-faces)
7606 (todo-filtered): New defgroups.
7607 (todo-archived-only, todo-button, todo-category-string, todo-date)
7608 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7609 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7610 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7611 (todo-add-item-if-new-category, todo-always-add-time-string)
7612 (todo-categories-align, todo-categories-archived-label)
7613 (todo-categories-category-label, todo-categories-diary-label)
7614 (todo-categories-done-label, todo-categories-number-separator)
7615 (todo-categories-todo-label, todo-categories-totals-label)
7616 (todo-category-completions-files, todo-completion-ignore-case)
7617 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7618 (todo-done-separator-string, todo-done-string)
7619 (todo-files-function, todo-filter-done-items, todo-filter-files)
7620 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7621 (todo-initial-category, todo-initial-file, todo-item-mark)
7622 (todo-legacy-date-time-regexp, todo-mode-line-function)
7623 (todo-nondiary-marker, todo-number-prefix)
7624 (todo-print-buffer-function, todo-show-current-file)
7625 (todo-show-done-only, todo-show-first, todo-show-with-done)
7626 (todo-skip-archived-categories, todo-top-priorities-overrides)
7627 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7628 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7629 New defcustoms.
7630 (todo-category-done, todo-date-pattern, todo-date-string-start)
7631 (todo-diary-items-buffer, todo-done-string-start)
7632 (todo-filtered-items-buffer, todo-item-start)
7633 (todo-month-abbrev-array, todo-month-name-array)
7634 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7635 (todo-top-priorities-buffer): New defconsts.
7636 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7637 (todo-categories-with-marks, todo-category-string-face)
7638 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7639 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7640 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7641 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7642 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7643 (todo-font-lock-keywords, todo-global-current-todo-file)
7644 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7645 (todo-insertion-commands-args)
7646 (todo-insertion-commands-args-genlist)
7647 (todo-insertion-commands-names, todo-insertion-map)
7648 (todo-key-bindings-t, todo-key-bindings-t+a)
7649 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7650 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7651 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7652 (todo-visited): New variables.
7653
7654 2013-06-21 Glenn Morris <rgm@gnu.org>
7655
7656 * play/cookie1.el (cookie-apropos): Add optional display argument.
7657 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7658 (psychoanalyze-pinhead): Use cookie-doctor.
7659
7660 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * emacs-lisp/package.el (tar-get-file-descriptor)
7663 (tar--extract): Declare.
7664
7665 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7666
7667 Extend flymake's warning predicate to be a function (bug#14217).
7668 * progmodes/flymake.el (flymake-warning-predicate): New.
7669 (flymake-parse-line): Use it.
7670 (flymake-warning-re): Make obsolete alias to
7671 `flymake-warning-predicate'.
7672
7673 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7676 (package-obsolete-list): Remove.
7677 (package-activate): Remove min-version argument. Add `force' argument.
7678 Adjust to new package-alist format.
7679 (package-mark-obsolete): Remove.
7680 (package-unpack): Force reload of the package's autoloads.
7681 (package-installed-p): Check builtins if the installed package is not
7682 recent enough.
7683 (package-initialize): Don't reset package-obsolete-list.
7684 Don't specify which package version to activate.
7685 (package-process-define-package, describe-package-1)
7686 (package-menu--generate): Adjust to new package-alist format.
7687
7688 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7689
7690 * allout-widgets.el (allout-widgets-mode-off)
7691 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7692 (allout-widgets-post-command-business)
7693 (allout-widgets-after-copy-or-kill-function)
7694 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7695 (allout-decorate-item-and-context)
7696 (allout-graphics-modification-handler): Fix typos in docstrings.
7697 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7698
7699 * cmuscheme.el (scheme-start-file): Doc fix.
7700 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7701 (scheme-input-filter): Use `string-match-p'.
7702
7703 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7704
7705 * dired-x.el: Use Dired consistently in docstrings.
7706
7707 * dired.el: Use Dired consistently in docstrings.
7708 (dired-readin, dired-mode): Use `setq-local'.
7709 (dired-switches-alist): Make defvar-local.
7710 (dired-buffers-for-dir): Use `zerop'.
7711 (dired-safe-switches-p, dired-switches-escape-p)
7712 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7713 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7714 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7715 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7716 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7717 (dired-toggle-marks, dired-mark-files-containing-regexp)
7718 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7719 (dired-flag-auto-save-files, dired-flag-backup-files):
7720 Use `looking-at-p'.
7721 (dired-mark-files-regexp, dired-build-subdir-alist):
7722 Use `string-match-p', `looking-at-p'.
7723
7724 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7725 (direct-print-region-helper): Use `string-match-p'.
7726
7727 2013-06-21 Leo Liu <sdl.web@gmail.com>
7728
7729 * comint.el (comint-redirect-results-list-from-process):
7730 Fix infinite loop.
7731
7732 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7733
7734 * net/eww.el (eww-update-header-line-format): Quote % characters.
7735
7736 2013-06-21 Glenn Morris <rgm@gnu.org>
7737
7738 * play/cookie1.el (cookie): New custom group.
7739 (cookie-file): New option.
7740 (cookie-check-file): New function.
7741 (cookie): Make it interactive. Make start and end messages optional.
7742 Interactively, display the result. Default to cookie-file.
7743 (cookie-insert): Default to cookie-file.
7744 (cookie-snarf): Make start and end messages optional.
7745 Default to cookie-file. Use with-temp-buffer.
7746 (cookie-read): Rename from read-cookie.
7747 Make start and end messages optional. Default to cookie-file.
7748 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7749 Do not autoload it.
7750 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7751 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7752
7753 2013-06-21 Leo Liu <sdl.web@gmail.com>
7754
7755 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7756
7757 2013-06-21 Glenn Morris <rgm@gnu.org>
7758
7759 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7760
7761 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7762 Daniel Hackney <dan@haxney.org>
7763
7764 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7765 Consolidate the single-file vs tarball code.
7766 (package-desc-suffix): New function.
7767 (package-desc-full-name): Don't bother inlining it.
7768 (package-load-descriptor): Return the new package-desc.
7769 (package-mark-obsolete): Remove unused arg `package'.
7770 (package-unpack): Make it work for single files as well.
7771 Make it update package-alist.
7772 (package--make-autoloads-and-stuff): Rename from
7773 package--make-autoloads-and-compile. Don't compile any more.
7774 (package--compile): New function.
7775 (package-generate-description-file): New function, extracted from
7776 package-unpack-single.
7777 (package-unpack-single): Remove.
7778 (package--with-work-buffer): Add indentation and debugging info.
7779 (package-download-single): Remove.
7780 (package-install-from-archive): Rename from package-download-tar, make
7781 it take a pkg-desc, and make it work for single files as well.
7782 (package-download-transaction): Simplify.
7783 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7784 external tar program.
7785 (package-install-from-buffer): Remove `pkg-desc' argument.
7786 Use package-tar-file-info for tar-mode buffers.
7787 (package-install-file): Simplify accordingly.
7788 (package-archive-base): Change to take a pkg-desc.
7789 * tar-mode.el (tar--check-descriptor): New function, extracted from
7790 tar-get-descriptor.
7791 (tar-get-descriptor): Use it.
7792 (tar-get-file-descriptor): New function.
7793 (tar--extract): New function, extracted from tar-extract.
7794 (tar--extract): Use it.
7795 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7796 case the summary uses non-ascii. Adjust to new calling convention of
7797 package-tar-file-info.
7798
7799 2013-06-21 Leo Liu <sdl.web@gmail.com>
7800
7801 * comint.el (comint-redirect-results-list-from-process):
7802 Fix random delay. (Bug#14681)
7803
7804 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * profiler.el (profiler-format-number): Use log, not log10.
7807
7808 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7809
7810 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7811
7812 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7815 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7816 yet available.
7817 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7818 (AUTOGENEL): ... here.
7819 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7820 (cl--defsubst-expand): Use it.
7821
7822 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7823
7824 * subr.el (log10): Move here from C code, and declare as obsolete.
7825 All uses of (log10 X) replaced with (log X 10).
7826
7827 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7830 Declare with `defvar-local'.
7831 (tabulated-list-use-header-line, tabulated-list-entries)
7832 (tabulated-list-padding, tabulated-list-printer)
7833 (tabulated-list-sort-key): Declare with `defvar-local'.
7834 (tabulated-list-init-header, tabulated-list-print-fake-header):
7835 Use `setq-local'.
7836
7837 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * arc-mode.el (archive-mode): Add `archive-write-file' to
7840 `write-contents-functions' also for remote files. (Bug#14652)
7841
7842 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7843
7844 * cus-edit.el (custom-commands): Fix typos.
7845 (custom-display): Fix tooltip text.
7846 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7847 Fix typos in docstrings.
7848 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7849 (custom-unlispify-menu-entry, custom-magic-value-create)
7850 (custom-add-see-also, custom-group-value-create): Use ?\s.
7851 (custom-guess-type, customize-apropos, editable-field)
7852 (custom-face-value-create): Use `string-match-p'.
7853 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7854
7855 * custom.el (custom-load-symbol): Use `string-match-p'.
7856
7857 * ansi-color.el: Convert to lexical binding.
7858 (ansi-colors): Fix URL.
7859 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7860 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7861 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7862
7863 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7864
7865 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7866
7867 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7868
7869 2013-06-19 Tom Tromey <tromey@redhat.com>
7870
7871 * net/eww.el (eww-top-url): Remove.
7872 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7873 (eww-render): Set new variables. Don't set eww-top-url.
7874 (eww-handle-link): Handle "prev", "home", and "contents".
7875 Downcase the rel text.
7876 (eww-top-url): Choose best top URL.
7877
7878 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
7880 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7881 relying in widget.el. Using widget.el leads to too many
7882 user interface inconsistencies.
7883 (eww-self-insert): Implement entering commands in text fields.
7884 (eww-process-text-input): New function to make text input field editing
7885 work.
7886 (eww-submit): Rewrite to use the new-style form methods.
7887 (eww-select-display): Display the correct selected item.
7888 (eww-change-select): Implement changing the select value.
7889 (eww-toggle-checkbox): Implement radio/checkboxes.
7890 (eww-update-field): Fix compilation error.
7891 (eww-tag-textarea): Implement <textarea>.
7892
7893 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7894 we don't shadow mode-specific bindings.
7895
7896 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7897 nothing to push.
7898
7899 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7900
7901 2013-06-19 Glenn Morris <rgm@gnu.org>
7902
7903 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7904
7905 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7906
7907 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7908 not needed.
7909
7910 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7911
7912 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7913
7914 * net/browse-url.el (browse-url-browser-function):
7915 `eww-browse-url' has the right calling signature, `eww' does not.
7916
7917 2013-06-19 Glenn Morris <rgm@gnu.org>
7918
7919 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7920 Only eval autoloaded macros.
7921 (byte-compile-autoload): Only give the macro warning for macros.
7922
7923 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7924 (ps-underlined-faces): Declare.
7925
7926 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7927 (speedbar-add-supported-extension): Declare.
7928
7929 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7930 Don't include a date stamp in the header of the generated file;
7931 it leads to needless differences between output files.
7932
7933 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7934
7935 * net/secrets.el (secrets-struct-secret-content-type):
7936 Replace check of introspection data by a test call of "CreateItem".
7937 Some servers do not offer introspection.
7938
7939 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * electric.el (electric-pair-mode): Improve interaction with
7942 electric-layout-mode.
7943 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7944 (electric-pair-syntax): Use text-mode-syntax-table in comments
7945 and strings.
7946 (electric-pair--insert): New function.
7947 (electric-pair-post-self-insert-function): Use it and
7948 electric--after-char-pos.
7949
7950 2013-06-19 Leo Liu <sdl.web@gmail.com>
7951
7952 * progmodes/octave.el (octave-help): Fix regexp.
7953
7954 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7955
7956 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7957 (shr-table-horizontal-line): Allow nil as a value, and change the
7958 default.
7959 (shr-insert-table-ruler): Respect the nil value.
7960
7961 2013-06-18 Tom Tromey <tromey@barimba>
7962
7963 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7964 New defvars.
7965 (eww-open-file): New defun.
7966 (eww-render): Initialize new variables.
7967 (eww-display-html): Handle "link" and "a".
7968 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7969 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7970 (eww-back-url): Rename from eww-previous-url.
7971 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7972 New defuns.
7973
7974 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7975
7976 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7977 Distinguish ternary operator tokens from slash symbol and slash
7978 char literal.
7979
7980 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7981
7982 Convert symbol prettification into minor mode and global minor mode.
7983
7984 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7985 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7986 (prettify-symbols--keywords): Rename from
7987 `prog-prettify-symbols-alist' and make a local defvar.
7988 (prettify-symbols--compose-symbol): Rename from
7989 `prog--prettify-font-lock-compose-symbol'.
7990 (prettify-symbols--make-keywords): Rename from
7991 `prog-prettify-font-lock-symbols-keywords' and simplify.
7992 (prog-prettify-install): Remove.
7993 (prettify-symbols-mode): New minor mode, based on
7994 `prog-prettify-install'.
7995 (turn-on-prettify-symbols-mode): New function.
7996 (global-prettify-symbols-mode): New globalized minor mode.
7997
7998 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7999 * progmodes/cfengine.el (cfengine3-mode):
8000 * progmodes/perl-mode.el (perl-mode): Don't call
8001 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8002
8003 2013-06-18 Juri Linkov <juri@jurta.org>
8004
8005 * files-x.el (modify-file-local-variable-message): New function.
8006 (modify-file-local-variable)
8007 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8008 and call `modify-file-local-variable-message' when it's non-nil.
8009 (add-file-local-variable, delete-file-local-variable)
8010 (add-file-local-variable-prop-line)
8011 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8012 and use it. (Bug#9820)
8013
8014 2013-06-18 Juri Linkov <juri@jurta.org>
8015
8016 * emulation/vi.el (vi-shell-op):
8017 * emulation/vip.el (vip-execute-com, ex-command):
8018 * emulation/viper-cmd.el (viper-exec-bang):
8019 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8020 the call of `shell-command-on-region'. (Bug#14637)
8021
8022 * simple.el (shell-command-on-region): Doc fix.
8023
8024 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8027 (bug#14633).
8028
8029 2013-06-18 Glenn Morris <rgm@gnu.org>
8030
8031 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8032
8033 * newcomment.el (comment-search-forward, comment-search-backward):
8034 Doc fix. (Bug#14376)
8035
8036 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8039 (buffer-face-mode-invoke): Doc fix.
8040
8041 2013-06-18 Matthias Meulien <orontee@gmail.com>
8042
8043 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8044 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8045
8046 2013-06-18 Glenn Morris <rgm@gnu.org>
8047
8048 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8049 Replace obsolete function generic-make-keywords with its expansion.
8050
8051 * progmodes/python.el (ffap-alist): Declare.
8052
8053 * textmodes/reftex.el (bibtex-mode-map): Declare.
8054
8055 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8058 (package-unpack, package-unpack-single): Return the pkg-dir.
8059 (package-download-transaction): Use it to update package-alist.
8060
8061 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8062
8063 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8064 possible choice.
8065
8066 2013-06-17 Juri Linkov <juri@jurta.org>
8067
8068 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8069
8070 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8071
8072 * emacs-lisp/package.el (package-load-descriptor):
8073 Remove `with-syntax-table' call, `read' doesn't need it.
8074 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8075
8076 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * startup.el (command-line): Expand package name returned by
8079 `package--description-file' (bug#14639).
8080
8081 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8082
8083 * emacs-lisp/package.el (package-load-descriptor): Do not call
8084 `emacs-lisp-mode', just use its syntax table.
8085
8086 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8089 `font-lock-extra-managed-props' if any prettifying keyword is added.
8090 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8091 (prog-mode): Use `setq-local'.
8092
8093 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * international/characters.el (standard-case-table): Set syntax of ?»
8096 and ?« to punctuation.
8097
8098 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8101 Save relevant match data before calling `syntax-ppss' (bug#14595).
8102
8103 2013-06-15 Juri Linkov <juri@jurta.org>
8104
8105 * files-x.el (modify-file-local-variable-prop-line): Add local
8106 variables to the end of the existing comment on the first line.
8107 Use `file-auto-mode-skip' to skip interpreter magic line,
8108 and also skip XML declaration.
8109
8110 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * startup.el (package--builtin-versions): New var.
8113 (package-subdirectory-regexp): Remove.
8114 (package--description-file): Hard code its value instead.
8115
8116 * emacs-lisp/package.el: Don't activate packages older than builtin.
8117 (package-obsolete-list): Rename from package-obsolete-alist, and make
8118 it into a simple list of package-desc.
8119 (package-strip-version): Remove.
8120 (package-built-in-p): Use package--builtin-versions.
8121 (package-mark-obsolete): Simplify.
8122 (package-process-define-package): Mark it obsolete if older than the
8123 builtin version.
8124 (package-handle-response): Use line-end-position.
8125 (package-read-archive-contents, package--download-one-archive):
8126 Simplify.
8127 (package--add-to-archive-contents): Skip if older than the builtin or
8128 installed version.
8129 (package-menu-describe-package): Fix last change.
8130 (package-list-unversioned): New var.
8131 (package-menu--generate): Use it.
8132
8133 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8134 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8135 (autoload-builtin-package-versions): New variable.
8136 (autoload-generate-file-autoloads): Use them.
8137 Remove the list of autoloaded functions/macros from the
8138 (autoload...) comments.
8139
8140 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8141
8142 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8143
8144 * simple.el (line-move-partial): Don't jump to the next screen
8145 line as soon as it becomes visible. Instead, continue enlarging
8146 the vscroll until the portion of a tall screen line that's left on
8147 display is about the height of the frame's default font.
8148 (Bug#14567)
8149
8150 2013-06-15 Glenn Morris <rgm@gnu.org>
8151
8152 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8153 compilation-error-regexp-alist void, or local while let-bound.
8154
8155 * progmodes/make-mode.el (makefile-mode-syntax-table):
8156 Treat "=" as punctuation. (Bug#14614)
8157
8158 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8159
8160 * help-fns.el (describe-variable):
8161 Add extra line for permanent-local variables.
8162
8163 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8164
8165 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8166 Add export, import, library. (Bug#9164)
8167 (library): Set indent function.
8168
8169 2013-06-14 Glenn Morris <rgm@gnu.org>
8170
8171 * term/xterm.el (xterm--query):
8172 Stop after first matching handler. (Bug#14615)
8173
8174 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8175
8176 Add support for dired in saveplace.
8177 * dired.el (dired-initial-position-hook): New variable.
8178 (dired-initial-position): Call hook to place cursor position.
8179 * saveplace.el (save-place-to-alist): Add dired position.
8180 (save-place-dired-hook): New function.
8181
8182 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8185 through a symbol rather than letrec.
8186
8187 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8188 (package-desc): Add `dir' field.
8189 (package-desc-full-name): New function.
8190 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8191 (package-maybe-load-descriptor): Remove.
8192 (package-load-all-descriptors): Just call package-load-descriptor.
8193 (package--disabled-p): New function.
8194 (package-desc-vers, package-desc-doc): Remove aliases.
8195 (package--dir): Remove function.
8196 (package-activate): Check if a package is disabled.
8197 (package-process-define-package): New function, extracted from
8198 define-package.
8199 (define-package): Turn into a place holder.
8200 (package-unpack-single, package-tar-file-info):
8201 Use package--description-file.
8202 (package-compute-transaction): Use package--disabled-p.
8203 (package-download-transaction): Don't call
8204 package-maybe-load-descriptor since they're all loaded anyway.
8205 (package-install): Change argument to be a pkg-desc.
8206 (package-delete): Use a single pkg-desc argument.
8207 (describe-package-1): Use package-desc-dir instead of package--dir.
8208 Use package-desc property instead of package-symbol.
8209 (package-install-button-action): Adjust accordingly.
8210 (package--push): Rewrite.
8211 (package-menu--print-info): Adjust accordingly. Change the ID format
8212 to be a pkg-desc.
8213 (package-menu-describe-package, package-menu-get-status)
8214 (package-menu--find-upgrades, package-menu-mark-upgrades)
8215 (package-menu-execute, package-menu--name-predicate):
8216 Adjust accordingly.
8217 * startup.el (package--description-file): New function.
8218 (command-line): Use it.
8219 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8220 Use package-desc-version.
8221
8222 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8223 (byte-compile-preprocess): Use it.
8224 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8225 can't quite recognize.
8226 (byte-compile-add-to-list): Remove.
8227 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8228 (cconv-closure-convert): Add assertion.
8229
8230 * emacs-lisp/map-ynp.el: Use lexical-binding.
8231 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8232 Factor out some repeated code.
8233
8234 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * subr.el (with-eval-after-load): New macro.
8237 (eval-after-load): Allow form to be a function.
8238 take advantage of lexical-binding.
8239 (do-after-load-evaluation): Use dolist and adjust to new format.
8240 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8241
8242 2013-06-13 Juri Linkov <juri@jurta.org>
8243
8244 * replace.el (perform-replace): Display "symbol " and other search
8245 modes from `isearch-message-prefix' in the *Help* buffer.
8246
8247 * isearch.el (isearch-query-replace): Add " symbol" and other
8248 possible search modes from `isearch-message-prefix' to the prompt.
8249 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8250 when reading a regexp to collect.
8251
8252 2013-06-13 Juri Linkov <juri@jurta.org>
8253
8254 * isearch.el (word-search-regexp): Match whitespace if the search
8255 string begins or ends in whitespace. The LAX arg is applied to
8256 both ends of the search string. Use `regexp-quote' and explicit
8257 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8258 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8259 boundaries are replaced with symbol boundaries, and characters
8260 between symbols match non-word non-symbol syntax. (Bug#14602)
8261
8262 2013-06-13 Juri Linkov <juri@jurta.org>
8263
8264 * isearch.el (isearch-del-char): Don't exceed the length of
8265 `isearch-string' by the prefix arg. (Bug#14563)
8266
8267 2013-06-13 Juri Linkov <juri@jurta.org>
8268
8269 * isearch.el (isearch-yank-word, isearch-yank-line)
8270 (isearch-char-by-name, isearch-quote-char)
8271 (isearch-printing-char, isearch-process-search-char):
8272 Add optional count prefix arg. (Bug#14563)
8273
8274 * international/isearch-x.el
8275 (isearch-process-search-multibyte-characters):
8276 Add optional count prefix arg.
8277
8278 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8281 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8282 lexical-binding.
8283
8284 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8285
8286 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8287
8288 2013-06-13 Glenn Morris <rgm@gnu.org>
8289
8290 * startup.el (tty-handle-args):
8291 Don't just discard "--" and anything after. (Bug#14608)
8292
8293 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8294
8295 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8296
8297 Implement changes in Secret Service API. Make it backward compatible.
8298 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8299 (secrets-create-item): Use it. Prefix properties with interface.
8300
8301 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8302
8303 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8304 (term-emulate-terminal): Respect term-suppress-hard-newline.
8305
8306 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8307
8308 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8309 Only remove a `thumb-file' overlay. (Bug#14548)
8310
8311 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8312
8313 * mail/reporter.el (reporter-submit-bug-report):
8314 Handle missing package-name. (Bug#14600)
8315
8316 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8317
8318 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8319 (reftex-citation-prompt, reftex-default-bibliography)
8320 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8321 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8322 (reftex-bib-sort-author, reftex-bib-sort-year)
8323 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8324 (reftex-extract-bib-entries-from-thebibliography)
8325 (reftex-get-bibkey-default, reftex-get-bib-names)
8326 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8327 (reftex-format-bib-entry, reftex-parse-bibitem)
8328 (reftex-format-bibitem, reftex-do-citation)
8329 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8330 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8331 (reftex-insert-bib-matches, reftex-format-citation)
8332 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8333 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8334 existing comments into docstrings.
8335
8336 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8337
8338 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8339
8340 2013-06-12 Andreas Schwab <schwab@suse.de>
8341
8342 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8343 for auto-save files.
8344
8345 2013-06-12 Glenn Morris <rgm@gnu.org>
8346
8347 * ido.el (ido-delete-ignored-files): Remove.
8348 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8349 Go back to calling ido-ignore-item-p directly.
8350
8351 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8352
8353 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8354
8355 * ido.el (ido-delete-ignored-files): New function,
8356 split from ido-make-file-list-1.
8357 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8358 (ido-make-file-list-1): Use ido-delete-ignored-files.
8359
8360 2013-06-12 Leo Liu <sdl.web@gmail.com>
8361
8362 * progmodes/octave.el (inferior-octave-startup)
8363 (inferior-octave-completion-table)
8364 (inferior-octave-track-window-width-change)
8365 (octave-eldoc-function-signatures, octave-help)
8366 (octave-find-definition): Use single quoted strings.
8367 (inferior-octave-startup-args): Change default value.
8368 (inferior-octave-startup): Do not hard code "-i" and
8369 "--no-line-editing".
8370 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8371 (inferior-octave-directory-tracker): Use it.
8372 (octave-goto-function-definition): Robustify.
8373 (octave-help): Support highlighting operators in 'See also'.
8374 (octave-find-definition): Find subfunctions only in Octave mode.
8375
8376 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * help-fns.el (help-fns--compiler-macro): If the handler function is
8379 named, then put a link to it.
8380 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8381 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8382 (cl-typep): Use it.
8383 (cl-eval-when): Simplify debug spec.
8384 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8385 compiler-macro function instead of setting `compiler-macro-file'.
8386
8387 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8388
8389 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8390 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8391
8392 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8393 Daniel Hackney <dan@haxney.org>
8394
8395 First part of Daniel Hackney's patch to package.el.
8396 * emacs-lisp/package.el: Use defstruct.
8397 (package-desc): New, main struct.
8398 (package--bi-desc, package--ac-desc): New structs, used to describe the
8399 format in external files.
8400 (package-desc-vers): Replace with package-desc-version accessor.
8401 (package-desc-doc): Replace with package-desc-summary accessor.
8402 (package-activate-1): Remove `package' arg since the pkg-vec now
8403 includes the name.
8404 (define-package): Use package-desc-from-define.
8405 (package-unpack-single): Change file-name arg to be a symbol.
8406 (package--add-to-archive-contents): Use package-desc-create and new
8407 accessor functions to package--ac-desc.
8408 (package-buffer-info, package-tar-file-info): Return a package-desc.
8409 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8410 arg to be a package-desc.
8411 (package-install-file): Adjust accordingly. Use \' to match EOS.
8412 (package--from-builtin): New function.
8413 (describe-package-1, package-menu--generate): Use it.
8414 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8415 (package-generate-autoloads): Idem and return the name of the file.
8416 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8417 Change pkg-info arg to be a package-desc.
8418 Use package-make-ac-desc.
8419 (package-upload-file): Use \' to match EOS.
8420 * finder.el (finder-compile-keywords): Use package-make-builtin.
8421
8422 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * vc/vc.el (vc-deduce-fileset): Change error message.
8425 (vc-read-backend): New function.
8426 (vc-next-action): Use it.
8427
8428 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8429
8430 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8431 (prolog-font-lock-keywords): Use regexp-opt instead.
8432 Don't manually highlight strings.
8433 (prolog-mode-variables): Simplify comment-start-skip.
8434 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8435
8436 * emacs-lisp/generic.el (generic--normalise-comments)
8437 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8438 (generic-mode-set-comments): Use them.
8439 (generic-bracket-support): Use setq-local.
8440 (generic-make-keywords-list): Declare obsolete.
8441
8442 2013-06-11 Glenn Morris <rgm@gnu.org>
8443
8444 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8445 Prettify after setting font-lock-defaults. (Bug#14574)
8446
8447 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * replace.el (query-replace, occur-read-regexp-defaults-function)
8450 (replace-search):
8451 * subr.el (declare-function, number-sequence, local-set-key)
8452 (substitute-key-definition, locate-user-emacs-file)
8453 (with-silent-modifications, split-string, eval-after-load):
8454 Fix typos, remove unneeded backslashes and reflow some docstrings.
8455
8456 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8459 default for Elisp files.
8460
8461 2013-06-11 Glenn Morris <rgm@gnu.org>
8462
8463 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8464 although define-derived-mode was doing this anyway. (Bug#14583)
8465
8466 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8469 Fix make-variable-buffer-local call to refer to the correct variable.
8470
8471 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8472
8473 * eshell/em-term.el (eshell-visual-commands)
8474 (eshell-visual-subcommands, eshell-visual-options):
8475 Add summary line to docstrings. Add cross-references.
8476
8477 2013-06-10 Glenn Morris <rgm@gnu.org>
8478
8479 * epa.el (epa-read-file-name): New function. (Bug#14510)
8480 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8481
8482 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8483
8484 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8485 output redirection to be ignored with visual commands.
8486
8487 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8488
8489 * eshell/em-term.el (eshell-visual-command-p): New function.
8490 (eshell-term-initialize): Move long lambda to separate function
8491 eshell-visual-command-p.
8492 * eshell/em-dirs.el (eshell-dirs-initialise):
8493 * eshell/em-script.el (eshell-script-initialize):
8494 Add missing #' to lambda.
8495
8496 2013-06-08 Leo Liu <sdl.web@gmail.com>
8497
8498 * progmodes/octave.el (octave-add-log-current-defun): New function.
8499 (octave-mode): Set add-log-current-defun-function.
8500 (octave-goto-function-definition): Do not move point if not found.
8501 (octave-find-definition): Enhance to try subfunctions first.
8502
8503 2013-06-08 Glenn Morris <rgm@gnu.org>
8504
8505 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8506 (byte-compile-backward-char, byte-compile-backward-word):
8507 Improve previous change, to handle non-explicit nil.
8508
8509 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8512 (smie--opener/closer-at-point): New function.
8513 (smie--matching-block-data): Use it. Don't match from right after an
8514 opener or right before a closer. Obey smie-blink-matching-inners.
8515 Don't signal a mismatch for repeated inners like "switch..case..case".
8516
8517 2013-06-07 Leo Liu <sdl.web@gmail.com>
8518
8519 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8520 to t. (Bug#14303)
8521 (octave-function-header-regexp): Fix. (Bug#14570)
8522 (octave-help-mode-finish-hook, octave-help-mode-finish):
8523 Remove. Just use temp-buffer-show-hook.
8524
8525 * newcomment.el (comment-search-backward): Revert last change.
8526 (Bug#14434)
8527
8528 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8529
8530 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8531
8532 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8533 through xargs, to avoid failure due to MS-Windows limitations on
8534 command-line length.
8535
8536 2013-06-06 Glenn Morris <rgm@gnu.org>
8537
8538 * font-lock.el (lisp-font-lock-keywords-2):
8539 Treat user-error like error.
8540
8541 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8542 (byte-compile-backward-char, byte-compile-backward-word):
8543 Handle explicit nil arguments. (Bug#14565)
8544
8545 2013-06-05 Alan Mackenzie <acm@muc.de>
8546
8547 * isearch.el (isearch-allow-prefix): New user option.
8548 (isearch-other-meta-char): Don't exit isearch when a prefix
8549 argument is typed whilst `isearch-allow-prefix' is non-nil.
8550 (Bug#9706)
8551
8552 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * autorevert.el (auto-revert-notify-handler): Use memq.
8555 Hide assertion failure.
8556
8557 * skeleton.el: Use cl-lib.
8558 (skeleton-further-elements): Use defvar-local.
8559 (skeleton-insert): Use cl-progv.
8560
8561 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8562
8563 * progmodes/prog-mode.el (prog-prettify-symbols)
8564 (prog-prettify-install): Update docstrings.
8565
8566 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * simple.el: Move all the prog-mode code to prog-mode.el.
8569 * progmodes/prog-mode.el: New file.
8570 * loadup.el: Add prog-mode.el.
8571
8572 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8573
8574 * simple.el (prog-prettify-symbols): Add version.
8575 (prog-prettify-install): Add convenience function to prettify symbols.
8576
8577 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8578 (perl--augmented-font-lock-keywords-1)
8579 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8580 variables and use it.
8581
8582 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8583 (cfengine3-mode): Remove unneeded variable and use it.
8584
8585 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8586 (lisp--augmented-font-lock-keywords-1)
8587 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8588 Remove unneeded variables and use it.
8589
8590 2013-06-05 João Távora <joaotavora@gmail.com>
8591
8592 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8593 to point when opening the connection. (Bug#14380)
8594
8595 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8596
8597 * subr.el (load-history-regexp, load-history-filename-element)
8598 (eval-after-load, after-load-functions, do-after-load-evaluation)
8599 (eval-next-after-load, display-delayed-warnings)
8600 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8601 definition of save-match-data.
8602 (overriding-local-map): Remove accidental obsolescence declaration.
8603
8604 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8605
8606 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8607
8608 Generalize symbol prettify support to prog-mode and implement it
8609 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8610 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8611 (prog--prettify-font-lock-compose-symbol)
8612 (prog-prettify-font-lock-symbols-keywords): New variables and
8613 functions to support symbol prettification.
8614 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8615 (lisp--augmented-font-lock-keywords-1)
8616 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8617 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8618 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8619 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8620 Implement prettify of -> => :: strings.
8621 * progmodes/perl-mode.el (perl-prettify-symbols)
8622 (perl--font-lock-compose-symbol)
8623 (perl--font-lock-symbols-keywords): Move to prog-mode.
8624 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8625 (perl-font-lock-keywords-1)
8626 (perl-font-lock-keywords-2): Remove explicit prettify support.
8627 (perl--augmented-font-lock-keywords)
8628 (perl--augmented-font-lock-keywords-1)
8629 (perl--augmented-font-lock-keywords-2, perl-mode):
8630 Implement prettify support.
8631
8632 2013-06-05 Leo Liu <sdl.web@gmail.com>
8633
8634 Re-implement smie matching block highlight using
8635 show-paren-data-function. (Bug#14395)
8636 * emacs-lisp/smie.el (smie-matching-block-highlight)
8637 (smie--highlight-matching-block-overlay)
8638 (smie--highlight-matching-block-lastpos)
8639 (smie-highlight-matching-block)
8640 (smie-highlight-matching-block-mode): Remove.
8641 (smie--matching-block-data-cache): New variable.
8642 (smie--matching-block-data): New function.
8643 (smie-setup): Use smie--matching-block-data for
8644 show-paren-data-function.
8645
8646 * progmodes/octave.el (octave-mode-menu): Fix.
8647 (octave-find-definition): Skip garbage lines.
8648
8649 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 Fix compilation error with simultaneous dynamic+lexical scoping.
8652 Add warning when a defvar appears after the first let-binding.
8653 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8654 (byte-compile-close-variables): Initialize it.
8655 (byte-compile--declare-var): New function.
8656 (byte-compile-file-form-defvar)
8657 (byte-compile-file-form-define-abbrev-table)
8658 (byte-compile-file-form-custom-declare-variable): Use it.
8659 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8660 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8661 (byte-compile-bind): Handle dynamic bindings that shadow
8662 lexical bindings.
8663 (byte-compile-unbind): Make arg non-optional.
8664 (byte-compile-let): Simplify.
8665 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8666 (cconv--analyse-function, cconv-analyse-form): Populate it.
8667 Protect byte-compile-bound-variables to limit the scope of defvars.
8668 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8669 Remove unneeded rule for `declare'.
8670
8671 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8672 so as to avoid depending on cl-adjoin at run-time.
8673 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8674
8675 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8676 (macroexp--warn-and-return): Use it.
8677
8678 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * lisp/subr.el: Convert to lexical binding.
8681 (overriding-local-map): Make obsolete.
8682 (add-to-list): Doc fix. Add compiler macro.
8683 (read-key): Swap values of local maps.
8684
8685 2013-06-05 Leo Liu <sdl.web@gmail.com>
8686
8687 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8688
8689 2013-06-04 Leo Liu <sdl.web@gmail.com>
8690
8691 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8692 (compilation-auto-jump): Suppress the "Mark set" message to give
8693 way to exit message.
8694
8695 2013-06-04 Alan Mackenzie <acm@muc.de>
8696
8697 Remove faulty optimisation from indentation calculation.
8698 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8699 search limit based on 2000 characters back from indent-point.
8700
8701 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8702
8703 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8704
8705 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * emacs-lisp/lisp.el: Use lexical-binding.
8708 (lisp--local-variables-1, lisp--local-variables): New functions.
8709 (lisp--local-variables-completion-table): New var.
8710 (lisp-completion-at-point): Use it complete let-bound vars.
8711
8712 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8713 eagerly (bug#14422).
8714
8715 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8716
8717 * autorevert.el (auto-revert-notify-enabled)
8718 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8719 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8720 (auto-revert-notify-handler): Handle also gfilenotify.
8721
8722 * subr.el (file-notify-handle-event): New defun. Replacing ...
8723 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8724 Remove.
8725
8726 2013-06-03 Juri Linkov <juri@jurta.org>
8727
8728 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8729 `M-s h .'. (Bug#14427)
8730
8731 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8732 command `hi-lock-face-symbol-at-point'.
8733 (hi-lock-face-symbol-at-point): New command.
8734 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8735 (hi-lock-menu): Add `highlight-symbol-at-point'.
8736 (hi-lock-mode): Doc fix.
8737
8738 * isearch.el (isearch-forward-symbol-at-point): New command.
8739 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8740 (isearch-highlight-regexp): Add a regexp which matches
8741 words/symbols for word/symbol mode.
8742
8743 * subr.el (find-tag-default-bounds): New function with the body
8744 mostly moved from `find-tag-default'.
8745 (find-tag-default): Move most code to `find-tag-default-bounds',
8746 call it and apply `buffer-substring-no-properties' afterwards.
8747
8748 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8749
8750 * eshell/em-term.el (eshell-term-initialize):
8751 Use `cl-intersection' rather than `intersection'.
8752
8753 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8754
8755 * vc/log-view.el: Doc fix.
8756 (log-view-mode-map): Copy keymap from `special-mode-map'.
8757
8758 2013-06-02 Eric Ludlam <zappo@gnu.org>
8759
8760 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8761 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8762 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8763 (eieio-unbound, eieio-default-superclass)
8764 (eieio--define-field-accessors, method-static, method-before)
8765 (method-primary, method-after, method-num-lists)
8766 (method-generic-before, method-generic-primary)
8767 (method-generic-after, method-num-slots)
8768 (eieio-specialized-key-to-generic-key)
8769 (eieio--check-type, class-v, class-p)
8770 (eieio-class-name, define-obsolete-function-alias)
8771 (eieio-class-parents-fast, eieio-class-children-fast)
8772 (same-class-fast-p, class-constructor, generic-p)
8773 (generic-primary-only-p, generic-primary-only-one-p)
8774 (class-option-assoc, class-option, eieio-object-p)
8775 (class-abstract-p, class-method-invocation-order)
8776 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8777 (eieio-class-un-autoload, eieio-defclass)
8778 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8779 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8780 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8781 (eieio-defgeneric-reset-generic-form)
8782 (eieio-defgeneric-form-primary-only)
8783 (eieio-defgeneric-reset-generic-form-primary-only)
8784 (eieio-defgeneric-form-primary-only-one)
8785 (eieio-defgeneric-reset-generic-form-primary-only-one)
8786 (eieio-unbind-method-implementations)
8787 (eieio--defmethod, eieio--typep)
8788 (eieio-perform-slot-validation, eieio-validate-slot-value)
8789 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8790 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8791 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8792 (eieio-slot-name-index, eieio-class-slot-name-index)
8793 (eieio-set-defaults, eieio-initarg-to-attribute)
8794 (eieio-attribute-to-initarg, eieio-c3-candidate)
8795 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8796 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8797 (eieio-class-precedence-list, eieio-generic-call-methodname)
8798 (eieio-generic-call-arglst, eieio-generic-call-key)
8799 (eieio-generic-call-next-method-list)
8800 (eieio-pre-method-execution-functions, eieio-generic-call)
8801 (eieio-generic-call-primary-only, eieiomt-method-list)
8802 (eieiomt-optimizing-obarray, eieiomt-install)
8803 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8804 (eieio-generic-form, eieio-defmethod, make-obsolete)
8805 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8806 (defclass): Remove `eval-and-compile' from macro.
8807 (call-next-method, shared-initialize): Instead of using
8808 `scoped-class' variable, use new eieio--scoped-class, and
8809 eieio--with-scoped-class.
8810 (initialize-instance): Rename local variable 'scoped-class' to
8811 'this-class' to remove ambiguitity from old global.
8812
8813 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8814 eieio.el.
8815 (eieio--scoped-class-stack): New variable.
8816 (eieio--scoped-class): New fcn.
8817 (eieio--with-scoped-class): New scoping macro.
8818 (eieio-defclass): Use pushnew instead of add-to-list.
8819 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8820 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8821 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8822 `scoped-class' variable, use new eieio--scoped-class, and
8823 eieio--with-scoped-class.
8824
8825 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8826
8827 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8828
8829 * eshell/esh-ext.el (eshell-external-command): Pass args to
8830 `eshell-find-interpreter'.
8831 (eshell-find-interpreter): Add new second parameter ARGS.
8832
8833 * eshell/em-script.el (eshell-script-initialize): Add second arg
8834 to the function added as MATCH to `eshell-interpreter-alist'.
8835
8836 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8837 the function added as MATCH to `eshell-interpreter-alist'.
8838
8839 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8840 (eshell-visual-options): New defcustom.
8841 (eshell-escape-control-x): Adapt docstring.
8842 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8843 `eshell-visual-options' in addition to `eshell-visual-commands'.
8844 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8845
8846 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8847
8848 * progmodes/python.el (python-indent-block-enders): Add break,
8849 continue and raise keywords.
8850
8851 2013-06-01 Glenn Morris <rgm@gnu.org>
8852
8853 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8854
8855 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8856 * progmodes/cc-cmds.el (delete-forward-p):
8857 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8858 * progmodes/cc-engine.el (buffer-syntactic-context):
8859 * progmodes/cc-fonts.el (face-property-instance):
8860 * progmodes/cc-mode.el (set-keymap-parents):
8861 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8862 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8863 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8864 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8865 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8866
8867 * progmodes/cc-vars.el (other): Emacs has this widget since
8868 at least 21.1, so don't (re)define it.
8869
8870 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8871 Replace the obsolete alias pcomplete-arg-quote-list.
8872
8873 2013-06-01 Leo Liu <sdl.web@gmail.com>
8874
8875 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8876 punctuation syntax.
8877 (inferior-octave-minimal-columns)
8878 (inferior-octave-last-column-width): New variables.
8879 (inferior-octave-track-window-width-change): New function.
8880 (inferior-octave-mode): Adjust column width so that Octave output,
8881 for example from 'ls', can fit into the window nicely.
8882
8883 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8884
8885 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8886 Highlight expansions inside regexp literals.
8887
8888 2013-05-31 Glenn Morris <rgm@gnu.org>
8889
8890 * obsolete/sym-comp.el (symbol-complete):
8891 Replace obsolete completion-annotate-function.
8892
8893 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8894
8895 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8896
8897 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8898 New function, checks if point is inside a literal that allows
8899 expression expansion.
8900 (ruby-syntax-propertize-expansion): Use it.
8901 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8902 around the body.
8903
8904 2013-05-30 Juri Linkov <juri@jurta.org>
8905
8906 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8907 to "\M-si".
8908 (isearch-invisible): New variable.
8909 (isearch-forward): Doc fix.
8910 (isearch-mode): Set `isearch-invisible'
8911 to the value of `search-invisible'.
8912 (isearch-toggle-case-fold): Doc fix.
8913 (isearch-toggle-invisible): New command.
8914 (isearch-query-replace): Let-bind `search-invisible'
8915 to the value of `isearch-invisible'.
8916 (isearch-search): Use `isearch-invisible' instead of
8917 `search-invisible'. Let-bind `search-invisible'
8918 to the value of `isearch-invisible'. (Bug#11378)
8919
8920 2013-05-30 Juri Linkov <juri@jurta.org>
8921
8922 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8923 call when `query-flag' is nil and `search-invisible' is non-nil.
8924 (Bug#11746)
8925
8926 2013-05-30 Glenn Morris <rgm@gnu.org>
8927
8928 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8929
8930 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8931 (cc-require): Suppress spurious "noruntime" warnings.
8932 (cc-require-when-compile): Use fboundp, for sake of compiler.
8933
8934 * progmodes/cc-mode.el: Move load of cc-vars before that of
8935 cc-langs (which in turn loads cc-vars), to quieten compiler.
8936
8937 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 * paren.el: Simplify the code.
8940 (show-paren-mode): Always start the timer.
8941 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8942 (show-paren--overlay, show-paren--overlay-1): Rename from
8943 show-paren-overlay and show-paren-overlay-1, and initialize to an
8944 overlay rather than to nil.
8945 (show-paren-function): Misc cleanup and simplifications.
8946
8947 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * paren.el (show-paren-data-function): New hook.
8950 (show-paren--default): New function, extracted from show-paren-function.
8951 (show-paren-function): Use show-paren-data-function.
8952
8953 2013-05-30 Glenn Morris <rgm@gnu.org>
8954
8955 * ielm.el (ielm-map, ielm-complete-symbol):
8956 Use completion-at-point rather than obsolete functions.
8957 (inferior-emacs-lisp-mode): Doc fix.
8958 Set completion-at-point-functions, rather than
8959 comint-dynamic-complete-functions.
8960
8961 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8962 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8963 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8964
8965 * image.el (image-animated-p): Tweak definition.
8966
8967 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8968 (rlogin-process-connection-type): Tweak default. Add set-after.
8969 (rlogin-host): Doc fix.
8970 (rlogin): Tweak prompt.
8971 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8972
8973 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8974 * progmodes/tcl.el (inferior-tcl-mode-map):
8975 Use completion-at-point rather than obsolete alias.
8976
8977 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8978
8979 * minibuffer.el (read-file-name-completion-ignore-case):
8980 Move before completion--in-region, for eager macro expansion.
8981
8982 2013-05-29 Juri Linkov <juri@jurta.org>
8983
8984 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8985 for total count of matching lines. Add `global-matches' for total
8986 count of matches. Rename `matches' to `lines' for count of
8987 matching lines. Add `matches' for count of matches.
8988 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8989 to `prev-line' for line number of prev match endpt.
8990 Increment `matches' for every match. Print the number of
8991 matching lines in the header.
8992 (occur-context-lines): Rename `lines' to `curr-line'.
8993 Rename `prev-lines' to `prev-line'. (Bug#14017)
8994
8995 2013-05-29 Juri Linkov <juri@jurta.org>
8996
8997 * replace.el (perform-replace): Add `skip-read-only-count',
8998 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8999 Increment them for corresponding conditions and report the number
9000 of skipped occurrences in the final message. (Bug#11746)
9001 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9002 (replace-string, replace-regexp): Doc fix.
9003
9004 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9007
9008 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9009 prog-mode-map (bug#14504).
9010
9011 2013-05-29 Leo Liu <sdl.web@gmail.com>
9012
9013 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9014 (octave-help): Small simplification.
9015
9016 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9017 off the highlight first.
9018
9019 2013-05-29 Glenn Morris <rgm@gnu.org>
9020
9021 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9022 Handle idlwave-last-system-routine-info-cons-cell being nil.
9023
9024 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9025 (idlwave-write-paths): Simplify via with-temp-buffer.
9026
9027 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9028 * emulation/cua-rect.el: Also load cua-base at run time.
9029
9030 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9031 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9032 (cperl-imenu-on-info): Require imenu.
9033
9034 2013-05-28 Alan Mackenzie <acm@muc.de>
9035
9036 Handle "capitalised keywords" correctly.
9037 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9038
9039 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9040
9041 * eshell/em-unix.el: Add -r option to cp.
9042
9043 2013-05-28 Glenn Morris <rgm@gnu.org>
9044
9045 * vc/vc-arch.el (vc-exec-after): Declare.
9046 (vc-switches): Autoload.
9047 * vc/vc-bzr.el: No need to require vc when compiling.
9048 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9049 (vc-resynch-buffer, vc-dir-refresh): Declare.
9050 (vc-setup-buffer, vc-switches): Autoload.
9051 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9052 (vc-resynch-buffer): Declare.
9053 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9054 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9055 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9056 (grep-read-regexp, grep-read-files, grep-expand-template)
9057 (vc-dir-refresh): Declare.
9058 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9059 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9060 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9061 * vc/vc-mtn.el (vc-exec-after): Declare.
9062 (vc-switches): Autoload.
9063 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9064 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9065 (vc-file-tree-walk): Declare.
9066 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9067 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9068 (vc-tag-precondition, vc-rename-master): Autoload.
9069 * vc/vc-svn.el (vc-exec-after): Declare.
9070 (vc-switches, vc-setup-buffer): Autoload.
9071 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9072 Autoload.
9073 (vc-resynch-buffer): Declare.
9074
9075 * obsolete/fast-lock.el (byte-compile-warnings):
9076 Don't warn about obsolete features in this obsolete file.
9077
9078 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9079 Move definition before use.
9080
9081 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9082 (dun-unix-verbs): Remove dun-zippy.
9083 (dun-zippy): Remove function.
9084
9085 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9086
9087 2013-05-27 Juri Linkov <juri@jurta.org>
9088
9089 * replace.el (replace-search): New function with code moved out
9090 from `perform-replace'.
9091 (replace-highlight, replace-dehighlight): Move function definitions
9092 up closer to `replace-search'. (Bug#11746)
9093
9094 2013-05-27 Juri Linkov <juri@jurta.org>
9095
9096 * replace.el (perform-replace): Ignore invisible matches.
9097 In addition to checking `query-replace-skip-read-only', also
9098 filter out matches by calling `run-hook-with-args-until-failure'
9099 on `isearch-filter-predicates', and also check `search-invisible'
9100 for t or call `isearch-range-invisible'.
9101 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9102
9103 2013-05-27 Juri Linkov <juri@jurta.org>
9104
9105 * isearch.el (isearch-filter-predicates): Rename from
9106 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9107 (isearch-message-prefix): Display text from the property
9108 `isearch-message-prefix' of the currently active filters.
9109 (isearch-search): Don't compare `isearch-filter-predicate' with
9110 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9111 on `isearch-filter-predicates'. Also check `search-invisible' for t
9112 or call `isearch-range-invisible'.
9113 (isearch-filter-visible): Make obsolete.
9114 (isearch-lazy-highlight-search):
9115 Call `run-hook-with-args-until-failure' on
9116 `isearch-filter-predicates' and use `isearch-range-invisible'.
9117
9118 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9119 `isearch-filter-predicates' instead of `funcall'ing
9120 `isearch-filter-predicate'.
9121 (Info-mode): Set `Info-isearch-filter' to
9122 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9123
9124 * dired-aux.el (dired-isearch-filter-predicate-orig):
9125 Remove variable.
9126 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9127 (dired-isearch-filenames-end): Add and remove
9128 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9129 instead of changing the value of `isearch-filter-predicate'.
9130 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9131 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9132 Put property `isearch-message-prefix' to "filename " on
9133 `dired-isearch-filter-filenames'.
9134
9135 * wdired.el (wdired-change-to-wdired-mode):
9136 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9137 locally instead of changing `isearch-filter-predicate'.
9138 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9139
9140 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9141
9142 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9143 return the commit hash (Bug#14459). Also set the
9144 `vc-git-detached' property.
9145 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9146 (vc-git-mode-line-string): Use the same help-echo format whether
9147 in detached mode or not, because we know the actual revision now.
9148 When in detached mode, shorten the revision to 7 chars.
9149
9150 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * emacs-lisp/easy-mmode.el (define-minor-mode):
9153 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9154 mode hook and provide a docstring.
9155
9156 2013-05-27 Alan Mackenzie <acm@muc.de>
9157
9158 Remove spurious syntax-table text properties inserted by C-y.
9159 * progmodes/cc-mode.el (c-after-change): Also clear hard
9160 syntax-table property with value nil.
9161
9162 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9163
9164 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9165 when reading the events; the buffer layout shall not be changed.
9166
9167 2013-05-27 Leo Liu <sdl.web@gmail.com>
9168
9169 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9170 New variable.
9171 (inferior-octave-directory-tracker): Automatically re-sync
9172 default-directory.
9173 (octave-help): Improve handling of 'See also'.
9174
9175 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * doc-view.el: Minor naming convention tweaks.
9178 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9179
9180 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9181 even if there's no `display' property yet (bug#14435).
9182
9183 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9184
9185 * subr.el (unmsys--file-name): Rename from reveal-filename.
9186
9187 * Makefile.in (custom-deps, finder-data, autoloads)
9188 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9189 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9190 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9191
9192 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9195 error-completion on the first 2 args of condition-case (bug#14446).
9196 Don't burp at EOB.
9197
9198 2013-05-25 Leo Liu <sdl.web@gmail.com>
9199
9200 * comint.el (comint-previous-matching-input): Do not flood the
9201 *Messages* buffer with trivial messages.
9202
9203 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * progmodes/flymake.el (flymake-nop): Don't return a string.
9206 (flymake-set-at): Fix typo.
9207
9208 * simple.el (read--expression): New function, extracted from
9209 eval-expression. Set completion-at-point-functions (bug#14465).
9210 (eval-expression, eval-minibuffer): Use it.
9211
9212 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9213
9214 * progmodes/flymake.el (flymake-save-buffer-in-file)
9215 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9216 (flymake-selected-frame, flymake-log, flymake-ins-after)
9217 (flymake-set-at, flymake-get-buildfile-from-cache)
9218 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9219 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9220 Refine the doc string.
9221 (flymake-get-file-name-mode-and-masks): Reformat.
9222 (flymake-get-real-file-name-function): Fix a minor bug.
9223
9224 2013-05-24 Juri Linkov <juri@jurta.org>
9225
9226 * progmodes/grep.el (grep-mode-font-lock-keywords):
9227 Support =linenumber= format used by git-grep for lines with
9228 function names. (Bug#13549)
9229
9230 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9233 0 after a semi-colon; it works better for smie-auto-fill.
9234 (octave--indent-new-comment-line): New function.
9235 (octave-indent-new-comment-line): Use it (indirectly).
9236 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9237 modify comment-line-break-function.
9238
9239 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9240 (smie-setup): Use add-function to set it.
9241
9242 2013-05-24 Sam Steingold <sds@gnu.org>
9243
9244 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9245 argument (before the `interactive' argument).
9246
9247 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * image-mode.el (image-mode-winprops): Add winprops to
9250 image-mode-winprops-alist before running
9251 image-mode-new-window-functions.
9252 * doc-view.el (doc-view-new-window-function): Don't delay
9253 doc-view-goto-page via timers (bug#14435).
9254
9255 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9256
9257 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9258 (doc-view-desktop-save-buffer): New function.
9259 (doc-view-restore-desktop-buffer): New function.
9260 (desktop-buffer-mode-handlers):
9261 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9262 handler.
9263 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9264 `desktop-save-buffer' function.
9265
9266 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9267
9268 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9269 (tramp-gvfs-file-name-handler): Raise a user error when
9270 `tramp-gvfs-enabled' is nil.
9271 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9272 Do not raise a user error when loading package. (Bug#14447)
9273
9274 * net/xesam.el: Move to obsolete/.
9275
9276 2013-05-24 Glenn Morris <rgm@gnu.org>
9277
9278 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9279
9280 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9281
9282 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9283 (Info-find-node, Man-getpage-in-background): Declare.
9284
9285 * mail/unrmail.el (unrmail):
9286 Replace obsolete detect-coding-with-priority.
9287
9288 * net/socks.el (socks-split-string): Use this rather than split-string.
9289 (socks-nslookup-host): Update for above change.
9290 (dynamic-choice, s5-dynamic-choice-match)
9291 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9292 Comment out unused code.
9293
9294 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9295 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9296 (gud-tooltip-echo-area): Make obsolete.
9297 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9298
9299 * progmodes/js.el (js--optimize-arglist): Declare.
9300
9301 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9302
9303 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9304 (ediff-window-C): Declare.
9305
9306 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9307 Tweak requires to silence compiler.
9308
9309 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9310 (he-search-string, he-tried-table, he-expand-list)
9311 (he-init-string, he-string-member, he-substitute-string)
9312 (he-reset-string): Declare.
9313
9314 * obsolete/options.el (list-options): Use custom-variable-p,
9315 rather than obsolete alias.
9316
9317 2013-05-23 Sam Steingold <sds@gnu.org>
9318
9319 * simple.el (shell-command-on-region): Pass the `replace' argument
9320 down to `call-process-region' to comply with the doc as reported on
9321 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9322
9323 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * emacs-lisp/smie.el (smie-indent-forward-token)
9326 (smie-indent-backward-token): Handle string tokens (bug#14381).
9327
9328 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9329
9330 * ielm.el (ielm-menu): New menu.
9331 (inferior-emacs-lisp-mode): Set comment-start.
9332
9333 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9334
9335 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9336 Fix deactivate action.
9337
9338 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9339 Add cleveref macros.
9340
9341 * lisp/textmodes/reftex-parse.el
9342 (reftex-locate-bibliography-files): Accept options for
9343 bibliography commands.
9344 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9345 Add addbibresource. Basic Biblatex support.
9346
9347 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9348
9349 * net/tramp-gvfs.el (top):
9350 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9351 when loading package. (Bug#14447)
9352
9353 2013-05-23 Glenn Morris <rgm@gnu.org>
9354
9355 * progmodes/js.el: No need to load comint when compiling.
9356 (ring-insert, comint-send-string, comint-send-input)
9357 (comint-last-input-end, ido-chop): Declare.
9358
9359 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9360 * vc/ediff-mult.el: Adjust requires.
9361 (ediff-directories-internal, ediff-directory-revisions-internal)
9362 (ediff-patch-file-internal): Declare.
9363 * vc/ediff-ptch.el: Adjust requires.
9364 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9365 (ediff-find-file): Autoload.
9366 * vc/ediff-util.el: No need to load ediff when compiling.
9367 (ediff-regions-internal): Declare.
9368 * vc/ediff-wind.el: Adjust requires.
9369 (ediff-compute-toolbar-width): Define when compiling.
9370 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9371 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9372 (dired-get-filename, dired-get-marked-files)
9373 (ediff-last-dir-patch, ediff-patch-default-directory)
9374 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9375 (ediff-patch-buffer-internal): Declare.
9376
9377 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9378 (ispell-process, ispell-buffer-local-words, lm-summary)
9379 (lm-section-start, lm-section-end): Declare.
9380 (checkdoc-ispell-init): Simplify.
9381
9382 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9383 (he-string-member, he-reset-string, he-substitute-string): Declare.
9384
9385 * eshell/em-ls.el: Adjust requires.
9386 (eshell-glob-regexp): Declare.
9387 * eshell/em-tramp.el: Adjust requires.
9388 (eshell-parse-command): Autoload.
9389 * eshell/em-xtra.el: Adjust requires.
9390 (eshell-parse-command): Autoload.
9391 * eshell/esh-ext.el: Adjust requires.
9392 (eshell-parse-command, eshell-close-handles): Autoload.
9393 * eshell/esh-io.el: Adjust requires.
9394 (eshell-output-filter): Autoload.
9395 * eshell/esh-util.el: No need to load tramp when compiling.
9396 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9397 Declare.
9398 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9399 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9400 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9401 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9402 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9403 * eshell/esh-opt.el, eshell/esh-proc.el:
9404 * eshell/esh-var.el: Adjust requires.
9405 * eshell/eshell.el: Do not require esh-util twice.
9406 (eshell-add-input-to-history): Declare.
9407 (eshell-command): Check history module is active before using it.
9408
9409 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9410
9411 2013-05-22 Leo Liu <sdl.web@gmail.com>
9412
9413 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9414
9415 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9416
9417 * autorevert.el (auto-revert-notify-add-watch)
9418 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9419 it indicates changes in file modification time.
9420
9421 2013-05-22 Glenn Morris <rgm@gnu.org>
9422
9423 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9424 Always delete the autoloaded function from the noruntime and
9425 unresolved functions lists.
9426
9427 * allout.el: No need to load epa, epg, overlay when compiling.
9428 (epg-context-set-passphrase-callback, epg-list-keys)
9429 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9430 (epg-key-user-id-list): Declare.
9431
9432 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9433 (viper-set-parsing-style-toggling-macro)
9434 (viper-set-emacs-state-searchstyle-macros):
9435 Use called-interactively-p on Emacs.
9436 (viper-looking-back): Make it an obsolete alias. Update callers.
9437 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9438 Use looking-back rather than viper-looking-back.
9439 (viper-tmp-insert-at-eob, viper-enlarge-region)
9440 (viper-read-string-with-history, viper-register-to-point)
9441 (viper-append-to-register, viper-change-state-to-vi)
9442 (viper-backward-char-carefully, viper-forward-char-carefully)
9443 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9444 (viper-change-state-to-emacs): Declare.
9445 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9446 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9447 * emulation/viper-mous.el: Do not load viper-cmd.
9448 (viper-backward-char-carefully, viper-forward-char-carefully)
9449 (viper-forward-word, viper-adjust-window): Declare.
9450
9451 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9452
9453 * progmodes/idlw-help.el (idlwave-help-fontify):
9454 Use called-interactively-p.
9455
9456 * term/w32console.el (w32-get-console-codepage)
9457 (w32-get-console-output-codepage): Declare.
9458
9459 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9460 Remove unnecessary declarations.
9461 (dframe-message): Doc fix.
9462
9463 * info.el (dframe-select-attached-frame, dframe-current-frame):
9464 Declare.
9465
9466 * speedbar.el (speedbar-message): Make it an obsolete alias.
9467 Update all callers.
9468 (speedbar-with-attached-buffer)
9469 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9470 (speedbar-with-writable): Use backquote.
9471 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9472 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9473 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9474 rather than speedbar- aliases.
9475 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9476 (speedbar-make-specialized-keymap, speedbar-insert-button)
9477 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9478 (speedbar-do-function-pointer): Declare.
9479 (rmail-speedbar-button, rmail-speedbar-find-file)
9480 (rmail-speedbar-move-message):
9481 Use dframe-with-attached-buffer rather than speedbar- alias.
9482 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9483 (dframe-message, speedbar-make-specialized-keymap)
9484 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9485 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9486 (speedbar-insert-button, dframe-select-attached-frame)
9487 (dframe-maybee-jump-to-attached-frame)
9488 (speedbar-change-initial-expansion-list)
9489 (speedbar-previously-used-expansion-list-name): Declare.
9490 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9491 Use dframe-message, dframe-with-attached-buffer rather than
9492 speedbar- aliases.
9493 (gud-sentinel): Silence compiler.
9494 * progmodes/vhdl-mode.el (speedbar-refresh)
9495 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9496 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9497 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9498 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9499 (speedbar-file-lists, speedbar-make-tag-line)
9500 (speedbar-line-directory, speedbar-goto-this-file)
9501 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9502 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9503 (speedbar-make-button, speedbar-reset-scanners)
9504 (speedbar-files-item-info, speedbar-line-text)
9505 (speedbar-find-file-in-frame, speedbar-set-timer)
9506 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9507 (speedbar-with-writable): Do not (re)define it.
9508 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9509 rather than speedbar- alias.
9510
9511 2013-05-21 Leo Liu <sdl.web@gmail.com>
9512
9513 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9514 menu items.
9515 (octave-mode): Tweak fill-nobreak-predicate.
9516 (inferior-octave-startup): Check process to avoid infinite loop.
9517 (inferior-octave): Pop to buffer first to show abornmal process
9518 exit information.
9519
9520 2013-05-21 Glenn Morris <rgm@gnu.org>
9521
9522 * printing.el (pr-menu-bar): Define when compiling.
9523
9524 2013-05-21 Leo Liu <sdl.web@gmail.com>
9525
9526 * progmodes/octave.el (octave-auto-fill): Remove.
9527 (octave-indent-new-comment-line): Improve.
9528 (octave-mode): Use auto fill mode through
9529 comment-line-break-function and fill-nobreak-predicate.
9530 (octave-goto-function-definition): Support DEFUN_DLD.
9531 (octave-beginning-of-defun): Small tweak.
9532 (octave-help): Show parent directory.
9533
9534 2013-05-21 Glenn Morris <rgm@gnu.org>
9535
9536 * files.el (dired-unmark):
9537 * progmodes/gud.el (gdb-input): Update declarations.
9538
9539 * calculator.el (electric, ehelp): No need to load when compiling.
9540 (Electric-command-loop, electric-describe-mode): Declare.
9541
9542 * doc-view.el (doc-view-current-converter-processes): Move before use.
9543
9544 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9545 Move MODE-set-explicitly definition before use.
9546
9547 * international/mule-diag.el (mule-diag):
9548 Don't use obsolete window-system-version.
9549
9550 * mail/feedmail.el (smtpmail): No need to load when compiling.
9551 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9552
9553 * mail/mail-utils.el (rfc822): No need to load when compiling.
9554 (rfc822-addresses): Autoload it.
9555 (mail-strip-quoted-names): Trivial simplification.
9556
9557 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9558 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9559
9560 * net/snmp-mode.el (tempo): Don't duplicate requires.
9561
9562 * progmodes/prolog.el (info): No need to load when compiling.
9563 (comint): Require before shell requires it.
9564 (Info-goto-node): Autoload it.
9565 (Info-follow-nearest-node): Declare.
9566 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9567
9568 * textmodes/artist.el (picture-mode-exit): Declare.
9569
9570 * textmodes/reftex-parse.el (reftex-parse-from-file):
9571 Trivial rewrite so the compiler can parse it better.
9572
9573 2013-05-20 Leo Liu <sdl.web@gmail.com>
9574
9575 * progmodes/octave.el (octave-help-mode-map)
9576 (octave-help-mode-finish-hook): New variables.
9577 (octave-help-mode, octave-help-mode-finish): New functions.
9578 (octave-help): Use octave-help-mode.
9579
9580 2013-05-20 Glenn Morris <rgm@gnu.org>
9581
9582 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9583
9584 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9585
9586 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9587 start at point, so that expansion starting right after opening
9588 slash in a regexp is recognized.
9589 (ruby-syntax-before-regexp-re): New defvar, extracted from
9590 ruby-syntax-propertize-function. Since the value of this regexp
9591 is looked up at runtime now, we should be able to turn
9592 `ruby-syntax-methods-before-regexp' into a defcustom later.
9593 (ruby-syntax-propertize-function): Split regexp matching into two
9594 parts, for opening and closing slashes. That allows us to skip
9595 over string interpolations and support multiline regexps.
9596 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9597 for them, which calls `ruby-syntax-propertize-expansion'.
9598 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9599 call to `ruby-syntax-propertize-function'.
9600 (ruby-syntax-propertize-expansion): Extracted from
9601 `ruby-syntax-propertize-expansions'. Handles one expansion.
9602 (ruby-syntax-propertize-percent-literal): Leave point right after
9603 the percent symbol, so that the expression expansion rule can
9604 propertize the contents.
9605 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9606 heredoc openers.
9607 (ruby-syntax-propertize-expansions): Remove.
9608
9609 2013-05-18 Juri Linkov <juri@jurta.org>
9610
9611 * man.el (Man-default-man-entry): Remove `-' from the end
9612 of the default value. (Bug#14400)
9613
9614 2013-05-18 Glenn Morris <rgm@gnu.org>
9615
9616 * comint.el (comint-password-prompt-regexp):
9617 Allow "password for XXX" where XXX contains colons (eg https://...).
9618
9619 2013-05-18 Leo Liu <sdl.web@gmail.com>
9620
9621 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9622 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9623 (octave-source-directories): Don't check process.
9624 (octave-source-directories, octave-find-definition): Doc fix.
9625
9626 2013-05-18 Glenn Morris <rgm@gnu.org>
9627
9628 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9629 Remove backspace/delete bindings. (Bug#14392)
9630
9631 * cus-dep.el (custom-make-dependencies): Sort the output.
9632 (custom-versions-load-alist): Convert comment to doc.
9633
9634 2013-05-17 Leo Liu <sdl.web@gmail.com>
9635
9636 * newcomment.el (comment-search-backward): Stricter in finding
9637 comment start. (Bug#14303)
9638
9639 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9640 (octave-comment-start-skip): Properly anchored.
9641
9642 2013-05-17 Leo Liu <sdl.web@gmail.com>
9643
9644 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9645 Clean up when turned off. (Bug#14395)
9646 (smie--highlight-matching-block-overlay): No longer buffer-local.
9647 (smie-highlight-matching-block): Adjust.
9648
9649 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9650
9651 Doc string fix for "nanoseconds" (Bug#14406).
9652 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9653 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9654
9655 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9656
9657 * calc/calc-units.el (math-extract-units): Preserve powers
9658 of units.
9659
9660 2013-05-17 Leo Liu <sdl.web@gmail.com>
9661
9662 * subr.el (delete-consecutive-dups): New function.
9663 * ido.el (ido-set-matches-1): Use it.
9664 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9665 * ido.el (ido-remove-consecutive-dups): Remove.
9666
9667 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9670 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9671 regexp-opt's `words'.
9672
9673 2013-05-16 Leo Liu <sdl.web@gmail.com>
9674
9675 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9676 (smie--highlight-matching-block-overlay)
9677 (smie--highlight-matching-block-lastpos)
9678 (smie--highlight-matching-block-timer): New variables.
9679 (smie-highlight-matching-block): New function.
9680 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9681 (smie-setup): Conditionally enable smie-blink-matching-open.
9682
9683 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9684
9685 Sync with upstream verilog-mode r840.
9686 * progmodes/verilog-mode.el (verilog-mode-version)
9687 (verilog-mode-release-date): Update.
9688 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9689 (verilog-sig-tieoff): Fix string error on
9690 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9691 (verilog-read-decls): Fix parameters confusing
9692 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9693
9694 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9695
9696 * subr.el (reveal-filename): New function.
9697
9698 * loadup.el: Compute Emacs executable versions on MS-Windows,
9699 where executables have the .exe extension. Add a hard link
9700 emacs-XX.YY.ZZ.exe on MS-Windows.
9701
9702 * Makefile.in (XARGS_LIMIT): New variable.
9703 (custom-deps, finder-data, autoloads)
9704 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9705 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9706 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9707 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9708
9709 2013-05-16 Leo Liu <sdl.web@gmail.com>
9710
9711 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9712 (octave-mode-menu, octave-mode-map): Remove its uses.
9713
9714 2013-05-16 Reto Zimmermann <reto@gnu.org>
9715
9716 Sync with upstream vhdl mode v3.34.2.
9717 * progmodes/vhdl-mode.el: Use `push' throughout.
9718 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9719 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9720 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9721 (vhdl-actual-generic-name): New option to derive actual generic name.
9722 (vhdl-port-paste-signals): Replace formal by actual generics.
9723 (vhdl-beautify): New name for old group vhdl-align. Update users.
9724 (vhdl-beautify-options): New option.
9725 (vhdl-last-input-event): New compat alias. Use throughout.
9726 (vhdl-goto-line): Replace user level function `goto-line'.
9727 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9728 vhdl-fix-statement-buffer.
9729 (vhdl-create-mode-menu): Add some entries.
9730 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9731 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9732 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9733 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9734 to force statements on one line.
9735 (vhdl-remove-trailing-spaces-region):
9736 New, split from vhdl-remove-trailing-spaces.
9737 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9738 Respect vhdl-beautify-options.
9739 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9740 (vhdl-update-sensitivity-list): Not add with index if exists without.
9741 Not include array index with signal. Ignore keywords in comments.
9742 (vhdl-get-visible-signals): Regexp tweaks.
9743 (vhdl-template-component-inst): Handle empty library.
9744 (vhdl-template-type): Add template for 'enum' type.
9745 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9746 Use vhdl-replace-string.
9747 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9748 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9749 (vhdl-speedbar-initialize): Update for above name change.
9750 (vhdl-compose-wire-components): Fix in handling of constants.
9751 (vhdl-error-regexp-emacs-alist): New variable.
9752 (vhdl-error-regexp-add-emacs): New function;
9753 adds support for new compile.el (Emacs 22+)
9754 (vhdl-generate-makefile-1): Change target order for single lib. units.
9755 Allow use of absolute file names.
9756
9757 2013-05-16 Leo Liu <sdl.web@gmail.com>
9758
9759 * simple.el (prog-indent-sexp): Indent enclosing defun.
9760
9761 2013-05-15 Glenn Morris <rgm@gnu.org>
9762
9763 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9764 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9765 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9766 (whitespace-highlight): Move to whitespace group.
9767
9768 * comint.el (comint-source):
9769 * pcmpl-linux.el (pcmpl-linux):
9770 * shell.el (shell-faces):
9771 * eshell/esh-opt.el (eshell-opt):
9772 * international/ccl.el (ccl): Remove empty custom groups.
9773
9774 * completion.el (dynamic-completion-mode):
9775 * jit-lock.el (jit-lock-debug-mode):
9776 * minibuffer.el (completion-in-region-mode):
9777 * type-break.el (type-break-mode-line-message-mode)
9778 (type-break-query-mode):
9779 * emulation/tpu-edt.el (tpu-edt-mode):
9780 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9781 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9782 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9783
9784 * term/xterm.el (xterm): Change parent group to terminals.
9785
9786 * master.el (master): Remove empty custom group.
9787 (master-mode): Remove unused :group argument.
9788 * textmodes/refill.el (refill): Remove empty custom group.
9789 (refill-mode): Remove unused :group argument.
9790
9791 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9792
9793 * cus-dep.el: Provide a feature.
9794 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9795 Don't mistakenly ignore files whose basenames match a basename
9796 from preloaded-file-list (eg cedet/ede/simple.el).
9797 Add a fallback method for getting :group.
9798
9799 2013-05-15 Juri Linkov <juri@jurta.org>
9800
9801 * isearch.el (isearch-char-by-name): Rename from
9802 `isearch-insert-char-by-name'. Doc fix.
9803 (isearch-forward): Mention `isearch-char-by-name' in
9804 the docstring. (Bug#13348)
9805
9806 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9807 `exit-minibuffer' instead of
9808 `isearch-nonincremental-exit-minibuffer'.
9809 (isearch-edit-string): Remove mention of
9810 `isearch-nonincremental-exit-minibuffer' from docstring.
9811 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9812 (isearch-forward-exit-minibuffer)
9813 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9814
9815 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * loadup.el: Just use unversioned DOC.
9818
9819 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9820 literals as extending to EOB.
9821 (nxml-last-fontify-end): Remove unused variable.
9822 (nxml-after-change1): Use with-silent-modifications.
9823 (nxml-extend-after-change-region): Simplify.
9824 (nxml-extend-after-change-region1): Remove function.
9825 (nxml-after-change1): Don't adjust for dependent regions.
9826 (nxml-fontify-matcher): Simplify.
9827 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9828 (xmltok-add-dependent): Remove function.
9829 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9830 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9831 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9832 unclosed <[[, <?, comment, and other literals as extending to EOB.
9833 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9834 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9835 Remove functions.
9836 (rng-do-some-validation-1): Don't mark dependent regions.
9837 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9838 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9839 (nxml-clear-dependent-regions): Remove functions.
9840 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9841 (nxml-ensure-scan-up-to-date):
9842 Don't clear&mark dependent regions.
9843
9844 2013-05-15 Leo Liu <sdl.web@gmail.com>
9845
9846 * progmodes/octave.el (octave-goto-function-definition):
9847 Improve and fix callers.
9848
9849 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9852 the setter (bug#14387).
9853
9854 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9855 surrounding group (bug#14402).
9856
9857 2013-05-14 Juri Linkov <juri@jurta.org>
9858
9859 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9860 (Bug#14390)
9861
9862 2013-05-14 Glenn Morris <rgm@gnu.org>
9863
9864 * progmodes/f90.el (f90-imenu-generic-expression):
9865 Fix typo in 2013-05-08 change. (Bug#14402)
9866
9867 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9868
9869 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9870 Remove signals for which replies are never received.
9871
9872 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9873
9874 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9875 (gdb-handler-alist, gdb-handler-number): Remove variables.
9876 (gdb-handler-list): New variable.
9877 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9878 (gdb-pending-handler-p, gdb-handle-reply)
9879 (gdb-remove-all-pending-triggers): New functions.
9880 (gdb-discard-unordered-replies): New defcustom.
9881 (gdb-handler): New defstruct.
9882 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9883 instead of gdb-pending-triggers. Update docstring.
9884 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9885 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9886 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9887 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9888 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9889 (gdb-frame-handler): Pending triggers are now automatically managed.
9890 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9891 Remove argument.
9892 (gdb-input): Automatically handles pending triggers. Update docstring.
9893 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9894 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9895 Update comments.
9896 (gdb-done-or-error): Now use gdb-handle-reply.
9897
9898 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9899
9900 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9901 gdb-debug-log.
9902
9903 2013-05-14 Glenn Morris <rgm@gnu.org>
9904
9905 * subr.el (user-emacs-directory-warning): New option.
9906 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9907
9908 2013-05-14 Leo Liu <sdl.web@gmail.com>
9909
9910 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9911 during redisplay.
9912 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9913 (octave-font-lock-texinfo-comment): Fix invalid search bound
9914 error: wrong side of point.
9915
9916 2013-05-14 Glenn Morris <rgm@gnu.org>
9917
9918 * progmodes/flymake.el (flymake-xml-program): New option.
9919 (flymake-xml-init): Use it.
9920
9921 * term/xterm.el: Provide a feature.
9922
9923 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9924
9925 2013-05-13 Glenn Morris <rgm@gnu.org>
9926
9927 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9928 Add compat aliases as a hack workaround. (Bug#14384)
9929
9930 2013-05-13 Leo Liu <sdl.web@gmail.com>
9931
9932 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9933 ###, and %!.
9934 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9935 C-M-q.
9936 (octave-comment-start-skip): Include %!.
9937 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9938
9939 2013-05-12 Leo Liu <sdl.web@gmail.com>
9940
9941 * progmodes/octave.el (inferior-octave-startup): Store the value
9942 of __octave_srcdir__ for octave-source-directories.
9943 (inferior-octave-check-process): New function refactored out of
9944 inferior-octave-send-list-and-digest.
9945 (octave-source-directories)
9946 (octave-find-definition-filename-function): New variables.
9947 (octave-source-directories)
9948 (octave-find-definition-default-filename): New functions.
9949 (octave-find-definition): Improve to find functions implemented in C++.
9950
9951 2013-05-12 Glenn Morris <rgm@gnu.org>
9952
9953 * calendar/diary-lib.el (diary-outlook-format-1):
9954 Don't include dayname in the output. (Bug#14349)
9955
9956 2013-05-11 Glenn Morris <rgm@gnu.org>
9957
9958 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9959
9960 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9961 Treat cc-provide like provide.
9962
9963 2013-05-11 Kevin Ryde <user42@zip.com.au>
9964
9965 * cus-dep.el (custom-make-dependencies):
9966 Use generated-autoload-load-name for the sake of files such
9967 such cedet/semantic/bovine/c.el, where the base file name
9968 is not in load-path. (Bug#5277)
9969
9970 2013-05-11 Glenn Morris <rgm@gnu.org>
9971
9972 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9973 Provide features.
9974
9975 2013-05-11 Leo Liu <sdl.web@gmail.com>
9976
9977 * progmodes/octave.el (octave-indent-comment): Improve.
9978 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9979 (octave-eldoc-function-signatures, octave-eldoc-function):
9980 New functions.
9981 (octave-mode, inferior-octave-mode): Add eldoc support.
9982
9983 2013-05-11 Richard Stallman <rms@gnu.org>
9984
9985 * epa.el (epa-decrypt-file): Take output file name as argument
9986 and read it using `interactive'.
9987
9988 2013-05-11 Leo Liu <sdl.web@gmail.com>
9989
9990 * progmodes/octave.el (octave-beginning-of-line)
9991 (octave-end-of-line): Check before using up-list because it jumps
9992 out of more syntactic contructs since moving to smie.
9993 (octave-indent-comment): New function.
9994 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9995 (octave-begin-keywords, octave-end-keywords)
9996 (octave-reserved-words, octave-smie-bnf-table)
9997 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9998
9999 2013-05-11 Glenn Morris <rgm@gnu.org>
10000
10001 * faces.el (internal-face-x-get-resource):
10002 * frame.el (ns-display-monitor-attributes-list):
10003 * calc/calc-aent.el (math-to-radians-2):
10004 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10005 Fix declarations.
10006
10007 * calc/calc-menu.el: Make it loadable in isolation.
10008
10009 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10010 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10011 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10012 (eudc-bbdb-query-internal): Require 'bbdb.
10013
10014 * lpr.el (lpr-headers-switches):
10015 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10016
10017 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10018
10019 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10020
10021 * term.el (term-set-escape-char): Make it idempotent.
10022
10023 2013-05-10 Leo Liu <sdl.web@gmail.com>
10024
10025 * progmodes/octave.el (inferior-octave-completion-table):
10026 No longer a function and all uses changed. Use cache to speed up
10027 completion due to bug#11906.
10028 (octave-beginning-of-defun): Re-write to be more general.
10029
10030 2013-05-10 Glenn Morris <rgm@gnu.org>
10031
10032 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10033
10034 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * comint.el (comint-redirect-send-command-to-process): Use :around
10037 rather than :override for comint-redirect-filter.
10038 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10039 Call it instead of comint-redirect-original-filter-function (which
10040 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10041
10042 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10043
10044 * frame.el (display-monitor-attributes-list): Add NS case.
10045 (ns-display-monitor-attributes-list): Declare.
10046
10047 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10048
10049 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10050
10051 2013-05-09 Glenn Morris <rgm@gnu.org>
10052
10053 * international/fontset.el (vertical-centering-font-regexp):
10054 Set standard-value.
10055
10056 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10057
10058 * bookmark.el (bookmark-search-delay):
10059 * cus-start.el (vertical-centering-font-regexp):
10060 * ps-mule.el (ps-mule-font-info-database-default):
10061 * ps-print.el (ps-default-fg, ps-default-bg):
10062 * type-break.el (type-break-good-break-interval):
10063 * whitespace.el (whitespace-indentation-regexp)
10064 (whitespace-space-after-tab-regexp):
10065 * emacs-lisp/testcover.el (testcover-1value-functions)
10066 (testcover-noreturn-functions, testcover-progn-functions)
10067 (testcover-prog1-functions):
10068 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10069 * eshell/em-glob.el (eshell-glob-translate-alist):
10070 * play/tetris.el (tetris-tty-colors):
10071 * progmodes/cpp.el (cpp-face-default-list):
10072 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10073 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10074 (idlwave-help-browser-generic-args):
10075 * progmodes/make-mode.el (makefile-special-targets-list):
10076 * progmodes/python.el (python-shell-virtualenv-path):
10077 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10078 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10079 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10080 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10081 * textmodes/reftex-vars.el (reftex-format-label-function):
10082 * textmodes/remember.el (remember-diary-file): Fix custom types.
10083
10084 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10085 Add :version.
10086
10087 2013-05-09 Leo Liu <sdl.web@gmail.com>
10088
10089 * progmodes/octave.el (inferior-octave-completion-at-point):
10090 Restore file completion. (Bug#14300)
10091 (inferior-octave-startup): Fix incorrect highlighting for the
10092 first prompt.
10093
10094 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * progmodes/ruby-mode.el: First cut at SMIE support.
10097 (ruby-use-smie): New var.
10098 (ruby-smie-grammar): New constant.
10099 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10100 (ruby-smie--forward-token, ruby-smie--backward-token)
10101 (ruby-smie-rules): New functions.
10102 (ruby-mode-variables): Setup SMIE if applicable.
10103
10104 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10105
10106 * simple.el (line-move-visual): Signal beginning/end of buffer
10107 only if vertical-motion moved less than it was requested. Avoids
10108 silly incorrect error messages when there are display strings with
10109 multiple newlines at EOL.
10110
10111 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10114 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10115 (prolog-char-quote-workaround):
10116 * progmodes/cperl-mode.el (cperl-under-as-char):
10117 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10118 Mark as obsolete.
10119 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10120 their declaration.
10121 (vhdl-mode-syntax-table-init): Remove.
10122
10123 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10124 last change.
10125
10126 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10127 syntax for "_".
10128 (ld-script-font-lock-keywords):
10129 Change regexps to use things like \_< and \_>.
10130
10131 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10132 Change all regexps to use things like \_< and \_>.
10133
10134 * progmodes/autoconf.el (autoconf-definition-regexp)
10135 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10136 Handle a _ with symbol syntax.
10137 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10138
10139 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10140 Consolidate declaration.
10141 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10142 the declaration.
10143 (ada-create-syntax-table): Remove.
10144 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10145 already has the right syntax nowadays.
10146 (ada-goto-next-word): Don't change the syntax of "_".
10147
10148 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10149 with-wrapper-hook.
10150
10151 2013-05-08 Sam Steingold <sds@gnu.org>
10152
10153 * thingatpt.el (thing-at-point): Accept optional second argument
10154 NO-PROPERTIES to strip the text properties from the return value.
10155 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10156 to `thing-at-point' instead of stripping the properties ourselves.
10157 Also, when `thing-at-point' fails to find a url, prepend "http://"
10158 to the filename at point on the assumption that the user is
10159 pointing at something like gnu.org/gnu.
10160
10161 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10162
10163 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10164 * faces.el (crm-separator):
10165 Silence byte-compiler.
10166
10167 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10168 (tool-bar-map): Remove unneeded defvars.
10169
10170 2013-05-08 Leo Liu <sdl.web@gmail.com>
10171
10172 Re-work a fix for bug#10994 based on Le Wang's patch.
10173 * ido.el (ido-remove-consecutive-dups): New helper.
10174 (ido-completing-read): Use it.
10175 (ido-chop): Revert fix for bug#10994.
10176
10177 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10178
10179 * cus-edit.el (custom-save-variables):
10180 Pretty-print long values. (Bug#14187)
10181
10182 2013-05-08 Glenn Morris <rgm@gnu.org>
10183
10184 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10185 (m4-mode-syntax-table): Init in the defvar.
10186 (m4-mode-abbrev-table): Let define-derived-mode define it.
10187
10188 2013-05-08 Tom Tromey <tromey@redhat.com>
10189
10190 * progmodes/m4-mode.el (m4-mode-syntax-table):
10191 Do not treat "_" as word constituent. (Bug#14167)
10192
10193 2013-05-07 Glenn Morris <rgm@gnu.org>
10194
10195 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10196 Remove explicit eshell-isearch-cancel-map.
10197
10198 * progmodes/f90.el (f90-smart-end-names): New option.
10199 (f90-smart-end): Doc fix.
10200 (f90-end-block-optional-name): New constant.
10201 (f90-block-match): Respect f90-smart-end-names.
10202
10203 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10206 about implicit semi-colons (bug#14218).
10207
10208 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10209
10210 * frame.el (display-monitor-attributes-list)
10211 (frame-monitor-attributes): New functions.
10212
10213 2013-05-06 Leo Liu <sdl.web@gmail.com>
10214
10215 * progmodes/octave.el (octave-syntax-propertize-function): Change
10216 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10217 (octave-font-lock-keywords): Use octave-operator-regexp.
10218 (octave-completion-at-point): Rename from
10219 octave-completion-at-point-function.
10220 (inferior-octave-directory-tracker): Robustify.
10221 (octave-text-functions): Remove and fix its uses. No such things
10222 any more.
10223
10224 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * emacs-lisp/trace.el (trace--display-buffer): New function.
10227 (trace-make-advice): Use it.
10228
10229 2013-05-06 Juri Linkov <juri@jurta.org>
10230
10231 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10232 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10233 Doc fix.
10234 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10235 in the help string. (Bug#12985)
10236
10237 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10238
10239 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10240
10241 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * progmodes/perl-mode.el: Add support for here documents.
10244 (perl-syntax-propertize-function): Match here-doc markers.
10245 (perl-syntax-propertize-special-constructs): Find their end.
10246 (perl-imenu-generic-expression): Use [:alnum:].
10247
10248 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10249 (advice--add-function): Refresh the advice if already present
10250 (bug#14317).
10251
10252 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10253
10254 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10255
10256 2013-05-06 Glenn Morris <rgm@gnu.org>
10257
10258 * w32-fns.el (w32-charset-info-alist): Declare.
10259
10260 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10261 of its defcustom properties.
10262 (eshell-cmpl-initialize): No need to load pcomplete.
10263
10264 * generic-x.el: No need to require comint when compiling.
10265
10266 * net/eudc-export.el: Make it loadable without bbdb.
10267 (top-level): Use require rather than load-library.
10268 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10269 (eudc-batch-export-records-to-bbdb)
10270 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10271 Require bbdb.
10272
10273 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10276 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10277 some tweaks, instead.
10278
10279 2013-05-05 Leo Liu <sdl.web@gmail.com>
10280
10281 * progmodes/octave.el (octave-font-lock-keywords)
10282 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10283 (inferior-octave-send-list-and-digest): Improve error message.
10284 (octave-mode, inferior-octave-mode): Use setq-local.
10285 (octave-help): Set info-lookup-mode.
10286
10287 2013-05-05 Richard Stallman <rms@gnu.org>
10288
10289 * vc/compare-w.el (compare-windows-whitespace):
10290 Treat no-break space as whitespace.
10291
10292 * mail/rmailsum.el (rmail-summary-rmail-update):
10293 Detect empty summary and don't change selected message.
10294 (rmail-summary-goto-msg): Likewise.
10295
10296 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10297 Doc fixes, rename args.
10298
10299 2013-05-05 Alan Mackenzie <acm@muc.de>
10300
10301 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10302
10303 2013-05-05 Juri Linkov <juri@jurta.org>
10304
10305 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10306 to not add the length of the summary segment to the return value.
10307 (Bug#14125)
10308
10309 2013-05-05 Leo Liu <sdl.web@gmail.com>
10310
10311 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10312 (inferior-octave-output-filter): Remove.
10313 (octave-send-region, inferior-octave-startup): Fix callers.
10314 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10315 (octave-binary-file-extensions): New user variable.
10316 (octave-find-definition): Confirm if opening binary files.
10317 (octave-help-file): Use octave-find-definition to get the binary
10318 confirmation.
10319 (octave-help): Adjust for octave-help-file change.
10320
10321 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10324 Merge the two entries that handle function definitions.
10325 (pascal--syntax-propertize): New const.
10326 (pascal-mode): Use it. Use setq-local.
10327
10328 2013-05-04 Glenn Morris <rgm@gnu.org>
10329
10330 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10331 (diary-from-outlook): Respect diary-from-outlook-function.
10332
10333 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10336 Move the declaration from C.
10337 (read-minibuffer, eval-minibuffer): Move from C.
10338 (completion-setup-function): Avoid minibuffer-completion-contents.
10339
10340 2013-05-03 Leo Liu <sdl.web@gmail.com>
10341
10342 * progmodes/octave.el (octave-font-lock-keywords): Do not
10343 dehighlight 'end' in comments or strings.
10344 (octave-completing-read, octave-goto-function-definition):
10345 New helpers.
10346 (octave-help-buffer): New user variable.
10347 (octave-help-file, octave-help-function): New button types.
10348 (octave-help): New command and bind it to C-h ;.
10349 (octave-find-definition): New command and bind it to M-.
10350 (user-error): Alias to error if not defined.
10351
10352 2013-05-02 Leo Liu <sdl.web@gmail.com>
10353
10354 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10355 for \. (bug#14332)
10356 (octave-font-lock-keywords): Include [ and {.
10357
10358 2013-05-02 Leo Liu <sdl.web@gmail.com>
10359
10360 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10361 (inferior-octave): Remove calling comint-mode and return the buffer.
10362 (inferior-octave-startup): Cosmetic changes.
10363
10364 2013-05-02 Leo Liu <sdl.web@gmail.com>
10365
10366 * progmodes/octave.el (octave-syntax-propertize-function):
10367 Include the case when ' is at line beginning. (Bug#14336)
10368
10369 2013-05-02 Glenn Morris <rgm@gnu.org>
10370
10371 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10372 * desktop.el (vc-dir-mode): Just autoload it here.
10373
10374 2013-05-02 Alan Mackenzie <acm@muc.de>
10375
10376 Eliminate variable c-standard-font-lock-fontify-region-function.
10377 * progmodes/cc-mode.el
10378 (c-standard-font-lock-fontify-region-function): Remove.
10379 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10380
10381 2013-05-01 Leo Liu <sdl.web@gmail.com>
10382
10383 * progmodes/octave.el: Compatible with older emacs-24 releases.
10384 (inferior-octave-has-built-in-variables): Remove. Built-in
10385 variables were removed from Octave in 2007.
10386 (inferior-octave-startup): Fix uses.
10387 (comint-line-beginning-position): Remove compatibility code for
10388 emacs 21.
10389
10390 2013-05-01 Juri Linkov <juri@jurta.org>
10391
10392 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10393
10394 2013-05-01 Juri Linkov <juri@jurta.org>
10395
10396 * comint.el (comint-previous-matching-input): Don't print message
10397 "History item: %d" when `isearch-mode' is active.
10398 (comint-history-isearch-message): Print message "History item: %d"
10399 when `comint-input-ring-index' is not empty and this function is
10400 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10401
10402 2013-05-01 Leo Liu <sdl.web@gmail.com>
10403
10404 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10405 definitions. Use completion-at-point to insert keywords.
10406 (octave-abbrev-start): Remove.
10407 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10408
10409 2013-04-30 Leo Liu <sdl.web@gmail.com>
10410
10411 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10412 change.
10413
10414 2013-04-30 Alan Mackenzie <acm@muc.de>
10415
10416 Handle arbitrarily long C++ member initialisation lists.
10417 * progmodes/cc-engine.el (c-back-over-member-initializers):
10418 new function.
10419 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10420 (most) member init lists.
10421
10422 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10423
10424 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10425 variable.
10426
10427 2013-04-30 Leo Liu <sdl.web@gmail.com>
10428
10429 * progmodes/octave.el (octave-variables): Remove. No builtin
10430 variables any more. All converted to functions.
10431 (octave-font-lock-keywords, octave-completion-at-point-function):
10432 Fix uses.
10433 (octave-font-lock-texinfo-comment): New user variable.
10434 (octave-texinfo-font-lock-keywords): New variable for texinfo
10435 comment block.
10436 (octave-function-comment-block): New face.
10437 (octave-font-lock-texinfo-comment): New function.
10438 (octave-mode): Font lock texinfo comment block.
10439
10440 2013-04-29 Leo Liu <sdl.web@gmail.com>
10441
10442 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10443 indexing expression.
10444 (octave-continuation-string): Do not use \.
10445 (inferior-octave-complete-impossible): Remove.
10446 (inferior-octave-completion-table)
10447 (inferior-octave-completion-at-point): Remove its uses.
10448 (inferior-octave-startup): completion_matches was introduced to
10449 Octave in 1996 so safe to assume it.
10450 (octave-function-file-comment): Improve to follow how Octave does it.
10451 (octave-update-function-file-comment): Tweak.
10452
10453 2013-04-29 Leo Liu <sdl.web@gmail.com>
10454
10455 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10456 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10457 (octave-function-file-comment): Fix typo.
10458 (octave-sync-function-file-names): Use read-char-choice.
10459
10460 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10461
10462 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10463 to t for the less important warnings.
10464
10465 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10466
10467 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10468
10469 2013-04-27 Glenn Morris <rgm@gnu.org>
10470
10471 * vc/log-view.el (log-view-current-entry):
10472 Treat "---" separator lines as part of the following rev. (Bug#14169)
10473
10474 2013-04-27 Juri Linkov <juri@jurta.org>
10475
10476 * subr.el (read-number): Doc fix about using it by interactive
10477 code letter `n'. (Bug#14254)
10478
10479 2013-04-27 Juri Linkov <juri@jurta.org>
10480
10481 * desktop.el (desktop-auto-save-timeout): New option.
10482 (desktop-file-checksum): New variable.
10483 (desktop-save): Add optional arg `auto-save' and don't auto-save
10484 if nothing changed.
10485 (desktop-auto-save-timer): New variable.
10486 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10487 (after-init-hook): Call `desktop-auto-save-set-timer'.
10488 Suggested by Reuben Thomas <rrt@sc3d.org> in
10489 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10490
10491 2013-04-27 Leo Liu <sdl.web@gmail.com>
10492
10493 * progmodes/octave.el (octave-function-file-p)
10494 (octave-skip-comment-forward, octave-function-file-comment)
10495 (octave-update-function-file-comment): New functions.
10496 (octave-mode-map): Bind C-c ; to
10497 octave-update-function-file-comment.
10498 (octave-mode-menu): Add octave-update-function-file-comment.
10499 (octave-mode, inferior-octave-mode): Fix doc-string.
10500 (octave-insert-defun): Conform to Octave's coding convention.
10501 (Bug#14285)
10502
10503 * files.el (basic-save-buffer): Don't let errors in
10504 before-save-hook prevent saving buffer.
10505
10506 2013-04-20 Roland Winkler <winkler@gnu.org>
10507
10508 * faces.el (read-face-name): Use completing-read if arg multiple
10509 is nil.
10510
10511 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10512
10513 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10514 displayed, move point to after the totals line.
10515 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10516 for the details.
10517
10518 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10519
10520 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10521 Add current dir to the load-path.
10522 (package-generate-autoloads): Don't rely on
10523 autoload-ensure-default-file.
10524
10525 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10526
10527 * textmodes/remember.el (remember-store-in-files): Document that
10528 the file name format is passed to `format-time-string'.
10529
10530 2013-04-26 Leo Liu <sdl.web@gmail.com>
10531
10532 * progmodes/octave.el (octave-sync-function-file-names): New function.
10533 (octave-mode): Use it in before-save-hook.
10534
10535 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10538 (bug#14274).
10539
10540 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10541 \n and comment, even if it's not an implicit ; (bug#14218).
10542
10543 2013-04-26 Glenn Morris <rgm@gnu.org>
10544
10545 * subr.el (read-number): Once more use `read' rather than
10546 `string-to-number', to trap non-numeric input. (Bug#14254)
10547
10548 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10549
10550 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10551 Use `syntax-multiline' text property consistently instead of
10552 `font-lock-multiline'. (Bug#14237)
10553
10554 2013-04-26 Glenn Morris <rgm@gnu.org>
10555
10556 * emacs-lisp/shadow.el (list-load-path-shadows):
10557 No longer necessary to check for duplicate simple.el, since
10558 2012-07-07 change to init_lread to not include installation lisp
10559 directories in load-path when running uninstalled. (Bug#14270)
10560
10561 2013-04-26 Leo Liu <sdl.web@gmail.com>
10562
10563 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10564 (octave-mode, inferior-octave-mode): Use setq-local.
10565 (octave-not-in-string-or-comment-p): Rename to
10566 octave-in-string-or-comment-p.
10567 (octave-in-comment-p, octave-in-string-p)
10568 (octave-in-string-or-comment-p): Replace defsubst with defun.
10569
10570 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10571
10572 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10573
10574 2013-04-25 Bastien Guerry <bzg@gnu.org>
10575
10576 * textmodes/remember.el (remember-data-directory)
10577 (remember-directory-file-name-format): Fix custom types.
10578
10579 2013-04-25 Leo Liu <sdl.web@gmail.com>
10580
10581 * progmodes/octave.el (octave-completion-at-point-function):
10582 Make use of inferior octave process.
10583 (octave-initialize-completions): Remove.
10584 (inferior-octave-completion-table): New function.
10585 (inferior-octave-completion-at-point): Use it.
10586 (octave-completion-alist): Remove.
10587
10588 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10591 (opascal-mode-syntax-table): New var.
10592 (opascal-literal-kind, opascal-is-literal-end)
10593 (opascal-literal-token-at): Rewrite.
10594 (opascal--literal-start-re, opascal-font-lock-keywords)
10595 (opascal--syntax-propertize): New constants.
10596 (opascal-font-lock-defaults): Adjust.
10597 (opascal-mode): Use them. Set comment-<foo> variables as well.
10598 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10599 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10600 (delphi-other-face, opascal-other-face): Remove face variables.
10601 (opascal-save-state): Remove macro.
10602 (opascal-fontifying-progress-step): Remove constant.
10603 (opascal--ignore-changes): Remove var.
10604 (opascal-set-token-property, opascal-parse-next-literal)
10605 (opascal-is-stable-literal, opascal-complete-literal)
10606 (opascal-is-literal-start, opascal-face-of)
10607 (opascal-parse-region, opascal-parse-region-until-stable)
10608 (opascal-fontify-region, opascal-after-change)
10609 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10610 (opascal-debug-parse-region, opascal-debug-parse-window)
10611 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10612 (opascal-debug-fontify-buffer): Remove.
10613 (opascal-debug-mode-map): Adjust accordingly.
10614
10615 2013-04-25 Leo Liu <sdl.web@gmail.com>
10616
10617 Merge octave-mod.el and octave-inf.el into octave.el with some
10618 cleanups.
10619 * progmodes/octave.el: New file renamed from octave-mod.el.
10620 * progmodes/octave-inf.el: Merged into octave.el.
10621 * progmodes/octave-mod.el: Renamed to octave.el.
10622
10623 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10624
10625 * textmodes/reftex-vars.el
10626 (reftex-label-ignored-macros-and-environments): New defcustom.
10627
10628 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10629
10630 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10631
10632 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10633 (smie-indent-keyword): Improve the check to ensure that the next
10634 comment is really on the same line.
10635 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10636
10637 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10638 semi-colons if the line is not otherwise empty (bug#14218).
10639
10640 2013-04-25 Glenn Morris <rgm@gnu.org>
10641
10642 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10643
10644 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * progmodes/opascal.el (opascal-set-token-property): Rename from
10647 opascal-set-text-properties and only set `token' (bug#14134).
10648 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10649 (opascal-literal-text-properties): Remove.
10650 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10651 Adjust callers.
10652
10653 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10654
10655 * textmodes/remember.el (remember-handler-functions): Add an
10656 option for a new handler `remember-store-in-files'.
10657 (remember-data-directory, remember-directory-file-name-format):
10658 New options.
10659 (remember-store-in-files): New function to store remember notes
10660 as separate files within a directory.
10661
10662 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10663
10664 * progmodes/compile.el (compilation-next-error-function):
10665 Pass "formats" to compilation-find-file (bug#11777).
10666
10667 2013-04-24 Glenn Morris <rgm@gnu.org>
10668
10669 * vc/vc-bzr.el (vc-bzr-print-log):
10670 * vc/vc-hg.el (vc-hg-print-log):
10671 * vc/vc-svn.el (vc-svn-print-log):
10672 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10673
10674 * vc/vc-bzr.el (vc-bzr-print-log):
10675 * vc/vc-cvs.el (vc-cvs-print-log):
10676 * vc/vc-git.el (vc-git-print-log):
10677 * vc/vc-hg.el (vc-hg-print-log):
10678 * vc/vc-mtn.el (vc-mtn-print-log):
10679 * vc/vc-rcs.el (vc-rcs-print-log):
10680 * vc/vc-sccs.el (vc-sccs-print-log):
10681 * vc/vc-svn.el (vc-svn-print-log):
10682 * vc/vc.el (vc-print-log-internal): Doc fixes.
10683
10684 2013-04-23 Glenn Morris <rgm@gnu.org>
10685
10686 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10687 Remove venerable code attempting to avoid substitute-command-keys.
10688
10689 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10690
10691 * textmodes/reftex-vars.el (reftex-label-regexps):
10692 Call `reftex-compile-variables' after changes to this variable.
10693
10694 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10697 Use lexical-binding.
10698 (jit-lock-force-redisplay): Use markers, check buffer's continued
10699 existence and beware narrowed buffers.
10700 (jit-lock-fontify-now): Adjust call accordingly.
10701
10702 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10705 to avoid misleading the user.
10706
10707 2013-04-22 Leo Liu <sdl.web@gmail.com>
10708
10709 * info-look.el: Prefer latex2e.info. (Bug#14240)
10710
10711 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10712
10713 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10714
10715 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10716 * net/tramp.el (tramp-call-process): ... here.
10717 (tramp-set-completion-function, tramp-parse-putty):
10718 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10719 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10720 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10721 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10722 (tramp-call-local-coding-command): Use `tramp-call-process'
10723 instead of `tramp-compat-call-process'.
10724
10725 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10726 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10727 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10728 (tramp-find-inline-compress): Improve traces.
10729 (tramp-maybe-send-script): Check for Perl binary.
10730 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10731
10732 2013-04-22 Daiki Ueno <ueno@gnu.org>
10733
10734 * epg.el (epg-context-pinentry-mode): New function.
10735 (epg-context-set-pinentry-mode): New function.
10736 (epg--start): Pass --pinentry-mode option to gpg command.
10737
10738 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10739
10740 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10741 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10742 `completion-at-point'. (Bug#13774)
10743
10744 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10745 default key binding for `describe-distribution' has been moved to
10746 `C-h C-o'. (Bug#13970)
10747
10748 2013-04-21 Glenn Morris <rgm@gnu.org>
10749
10750 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10751 Add doc strings.
10752 (vc-print-log): Clarify interactive prompt.
10753
10754 2013-04-20 Glenn Morris <rgm@gnu.org>
10755
10756 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10757 No longer include timestamp etc information.
10758
10759 2013-04-20 Roland Winkler <winkler@gnu.org>
10760
10761 * faces.el (read-face-name): Bug fix, return just one face if arg
10762 multiple is nil. (Bug#14209)
10763
10764 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10767 (remove-function): Autoload.
10768
10769 * comint.el (comint-redirect-original-filter-function): Remove.
10770 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10771 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10772 (vc-cvs-annotate-command):
10773 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10774 * progmodes/prolog.el (prolog-consult-compile):
10775 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10776 Use add/remove-function instead.
10777 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10778 (gud-tooltip-process-output, gud-tooltip-tips):
10779 Use add/remove-function instead.
10780 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10781 (scheme-interaction-mode, exit-scheme-interaction-mode):
10782 Use add/remove-function instead.
10783
10784 * vc/vc-dispatcher.el: Use lexical-binding.
10785 (vc--process-sentinel): Rename from vc-process-sentinel.
10786 Change last arg to be the code to run. Don't use vc-previous-sentinel
10787 and vc-sentinel-commands any more.
10788 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10789 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10790
10791 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10792
10793 * progmodes/sh-script.el (sh-imenu-generic-expression):
10794 Handle function names with a single character. (Bug#14111)
10795
10796 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10797
10798 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10799 for subroutines defined in an eval (bug#14182).
10800
10801 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10802
10803 * bookmark.el (bookmark-completing-read): Improve handling of empty
10804 string (bug#14176).
10805
10806 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10809
10810 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10811
10812 New faster Imenu implementation (bug#14058).
10813 * progmodes/python.el:
10814 (python-imenu-prev-index-position):
10815 (python-imenu-format-item-label-function)
10816 (python-imenu-format-parent-item-label-function)
10817 (python-imenu-format-parent-item-jump-label-function):
10818 New vars.
10819 (python-imenu-format-item-label)
10820 (python-imenu-format-parent-item-label)
10821 (python-imenu-format-parent-item-jump-label)
10822 (python-imenu--put-parent, python-imenu--build-tree)
10823 (python-imenu-create-index, python-imenu-create-flat-index)
10824 (python-util-popn): New functions.
10825 (python-mode): Set imenu-create-index-function to
10826 python-imenu-create-index.
10827
10828 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * winner.el (winner-active-region): Use region-active-p, activate-mark
10831 and deactivate-mark (bug#14225).
10832
10833 * simple.el (deactivate-mark): Don't inline it.
10834
10835 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10836
10837 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10838
10839 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10840
10841 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10842 file extensions from the archive-mode entry in order to prefer
10843 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10844
10845 2013-04-18 Leo Liu <sdl.web@gmail.com>
10846
10847 * bindings.el (help-event-list): Add ?\?.
10848
10849 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * subr.el (with-wrapper-hook): Declare obsolete.
10852 * simple.el (filter-buffer-substring-function): New hook.
10853 (filter-buffer-substring): Use it.
10854 (filter-buffer-substring-functions): Mark obsolete.
10855 * minibuffer.el (completion-in-region-function): New hook.
10856 (completion-in-region): Use it.
10857 (completion-in-region-functions): Mark obsolete.
10858 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10859 * abbrev.el (abbrev-expand-function): New hook.
10860 (expand-abbrev): Use it.
10861 (abbrev-expand-functions): Mark obsolete.
10862 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10863 and :filter-return.
10864
10865 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10866
10867 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10868 and do not care about match data.
10869
10870 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10873 completion tables when completing error conditions and
10874 `declare' arguments.
10875 (lisp-complete-symbol, field-complete): Mark as obsolete.
10876 (check-parens): Unmatched parens are user errors.
10877 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10878
10879 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10880
10881 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10882 command changed buffer (ie. `flyspell-pre-buffer' is not current
10883 buffer), which prevents making decisions based on invalid value of
10884 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10885 cause an error when `flyspell-pre-point' was nil after switching
10886 buffers.
10887 (flyspell-post-command-hook): No longer needs to change buffers when
10888 checking pre-word. While at it remove unnecessary progn.
10889
10890 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10891
10892 * textmodes/ispell.el (ispell-add-per-file-word-list):
10893 Fix `flyspell-correct-word-before-point' error when accepting
10894 words and `coment-padding' is an integer by using
10895 `comment-normalize-vars' (Bug #14214).
10896
10897 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10898
10899 New defun movement commands.
10900 * progmodes/python.el (python-nav--syntactically)
10901 (python-nav--forward-defun, python-nav-backward-defun)
10902 (python-nav-forward-defun): New functions.
10903
10904 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10905
10906 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10907 (python-syntax-context): Use named compiler-macro for backwards
10908 compatibility with Emacs 24.x.
10909
10910 2013-04-17 Leo Liu <sdl.web@gmail.com>
10911
10912 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10913 octave-hide-process-buffer.
10914
10915 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10918 (bug#14216).
10919
10920 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10921
10922 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10923 Fix adjustment of offset when receiving incomplete responses from GDB
10924 (bug#14129).
10925
10926 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10929 python-mode-abbrev-table.
10930 (python-skeleton-define): Adjust accordingly.
10931 (python-mode-abbrev-table): New table that inherits from it so that
10932 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10933
10934 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10935 (abbrev-symbol): Use it.
10936 (abbrev--before-point): Use it since we already handle inheritance.
10937
10938 2013-04-16 Leo Liu <sdl.web@gmail.com>
10939
10940 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10941 binding to info-lookup-symbol.
10942
10943 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * minibuffer.el (completion--twq-all):
10946 * term/ns-win.el (ns-initialize-window-system):
10947 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10948
10949 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10952 global bindings.
10953
10954 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10955
10956 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10957
10958 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10959 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10960 to nil.
10961 (ruby-end-of-defun): Remove the unused arg, change the docstring
10962 to reflect that this function is only used as the value of
10963 `end-of-defun-function'.
10964 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10965 to reflect an earlier change that beginning/end-of-defun functions
10966 jump between methods in a class definition, as well as top-level
10967 functions.
10968
10969 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 * minibuffer.el (minibuffer-complete): Don't just scroll
10972 a *Completions* that's been iconified.
10973 (minibuffer-force-complete): Make sure repetitions do cycle when going
10974 through completion-in-region -> minibuffer-complete.
10975
10976 2013-04-15 Alan Mackenzie <acm@muc.de>
10977
10978 Correct the placement of c-cpp-delimiters when there're #s not at
10979 col 0.
10980
10981 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10982 place a submatch around the #.
10983 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10984 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10985 on the #, not BOL.
10986
10987 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10990 (advice--member-p): New arg `name'.
10991 (advice--add-function, advice-member-p): Use it (bug#14202).
10992
10993 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10994
10995 Reformulate java imenu-generic-expression.
10996 The old expression contained ill formed regexps.
10997
10998 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10999 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11000 (cc-imenu-java-method-arg-regexp): New defconsts.
11001 (cc-imenu-java-build-type-args-regex): New defun.
11002 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11003 handling of spaces in the regexp.
11004
11005 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11006
11007 * textmodes/ispell.el (ispell-command-loop): Remove
11008 flyspell highlight of a word when ispell accepts it (bug #14178).
11009
11010 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11011
11012 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11013 uses code from the previous `ange-ftp-run-real-handler'.
11014 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11015 only in case that function exist. This is needed for proper
11016 unloading of Tramp.
11017
11018 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11019
11020 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11021
11022 * textmodes/reftex.el (reftex-compile-variables): Use it.
11023
11024 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * files.el (normal-mode): Only use default major-mode if no other mode
11027 was specified.
11028
11029 * emacs-lisp/trace.el (trace-values): New function.
11030
11031 * files.el: Allow : in local variables (bug#14089).
11032 (hack-local-variable-regexp): New var.
11033 (hack-local-variables-prop-line, hack-local-variables): Use it.
11034
11035 2013-04-13 Roland Winkler <winkler@gnu.org>
11036
11037 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11038 data before it gets modified by bibtex-beginning-of-entry.
11039
11040 2013-04-13 Roland Winkler <winkler@gnu.org>
11041
11042 * textmodes/bibtex.el (bibtex-url): Doc fix.
11043
11044 2013-04-13 Roland Winkler <winkler@gnu.org>
11045
11046 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11047 does not visit a BibTeX file, exclude it from the list of buffers
11048 returned by bibtex-initialize.
11049
11050 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11051
11052 * window.el (split-window): Remove interactive form, since as a
11053 command this function is a special case of split-window-below.
11054 Correct doc string.
11055
11056 2013-04-12 Roland Winkler <winkler@gnu.org>
11057
11058 * faces.el (read-face-name): Do not override value of arg default.
11059 Allow single faces and strings as default values. Remove those
11060 elements from return value that are not faces.
11061 (describe-face): Simplify.
11062 (face-at-point): New optional args thing and multiple so that this
11063 function can provide the same functionality previously provided by
11064 read-face-name.
11065 (make-face-bold, make-face-unbold, make-face-italic)
11066 (make-face-unitalic, make-face-bold-italic, invert-face)
11067 (modify-face, read-face-and-attribute): Use face-at-point.
11068
11069 * cus-edit.el (customize-face, customize-face-other-window)
11070 * cus-theme.el (custom-theme-add-face)
11071 * face-remap.el (buffer-face-set)
11072 * facemenu.el (facemenu-set-face): Use face-at-point.
11073
11074 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11075
11076 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11077
11078 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11079
11080 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11081 off leading { and trailing } from field values.
11082
11083 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * emacs-lisp/timer.el (timer--check): New function.
11086 (timer--time, timer-set-function, timer-event-handler): Use it.
11087 (timer-set-idle-time): Simplify.
11088 (timer--activate): CSE.
11089 (timer-event-handler): Give more info in error message.
11090 (internal-timer-start-idle): New function, moved from C.
11091
11092 * mpc.el (mpc-proc): Add `restart' argument.
11093 (mpc-proc-cmd): Use it.
11094 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11095 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11096 less often.
11097
11098 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11099
11100 * progmodes/sh-script.el: Implement `sh-mode' own
11101 `add-log-current-defun-function' (bug#14112).
11102 (sh-current-defun-name): New function.
11103 (sh-mode): Use the function.
11104
11105 2013-04-09 Bastien Guerry <bzg@gnu.org>
11106
11107 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11108
11109 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11112
11113 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11114 timer (bug#14156).
11115
11116 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11117
11118 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11119 declaration.
11120
11121 2013-04-07 Leo Liu <sdl.web@gmail.com>
11122
11123 * pcmpl-x.el: New file.
11124
11125 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11126
11127 Do not set x-display-name until X connection is established.
11128 This is needed to prevent from weird situation described at
11129 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11130 * frame.el (make-frame): Set x-display-name after call to
11131 window system initialization function, not before.
11132 * term/x-win.el (x-initialize-window-system): Add optional
11133 display argument and use it.
11134 * term/w32-win.el (w32-initialize-window-system):
11135 * term/ns-win.el (ns-initialize-window-system):
11136 * term/pc-win.el (msdos-initialize-window-system):
11137 Add compatible optional display argument.
11138
11139 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11140
11141 * files.el (normal-backup-enable-predicate): On MS-Windows and
11142 MS-DOS compare truenames of temporary-file-directory and of the
11143 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11144 don't fail comparison by compare-strings. Also, compare file
11145 names case-insensitively on MS-Windows and MS-DOS.
11146
11147 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11150 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11151
11152 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11153
11154 * whitespace.el (whitespace-color-on, whitespace-color-off):
11155 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11156
11157 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11158
11159 * ispell.el (ispell-set-spellchecker-params):
11160 Really set `ispell-args' for all equivs.
11161
11162 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * ido.el (ido-completions): Use extra elements of ido-decorations
11165 (bug#14143).
11166 (ido-decorations): Update docstring.
11167
11168 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11169
11170 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11171 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11172 nil during initialization, in order not to miss changes since the
11173 file was opened. (Bug#14140)
11174
11175 2013-04-05 Leo Liu <sdl.web@gmail.com>
11176
11177 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11178
11179 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11180
11181 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11182
11183 2013-04-04 Glenn Morris <rgm@gnu.org>
11184
11185 * electric.el (electric-pair-inhibit-predicate): Add :version.
11186
11187 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11188
11189 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11190 when a package is required several times (bug#14082).
11191
11192 2013-04-04 Roland Winkler <winkler@gnu.org>
11193
11194 * faces.el (read-face-name): Behave as promised by the docstring.
11195 Assume that arg default is a list of faces.
11196 (describe-face): Call read-face-name with list of default faces.
11197
11198 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11199
11200 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11201 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11202 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11203 the header.
11204 (bookmark-exit-hook-internal): Save even if list is empty.
11205
11206 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11207
11208 * emacs-lisp/package.el (package-pinned-packages): New var.
11209 (package--add-to-archive-contents): Obey it (bug#14118).
11210
11211 2013-04-03 Alan Mackenzie <acm@muc.de>
11212
11213 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11214 Also adapt to the new values of element 7 of a parse state.
11215
11216 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11217 parameter `not-in-delimiter'. Handle being inside comment opener.
11218 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11219 character in case we're typing a '*' after a '/'.
11220 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11221 instead by passing the parameter to c-state-pp-to-literal.
11222
11223 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11224 for elt. 7 of a parse state.
11225
11226 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11227
11228 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11229 * international/latin1-disp.el, international/mule-util.el:
11230 * language/cyril-util.el, language/european.el, language/ind-util.el:
11231 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11232 * language/tibetan.el, language/viet-util.el:
11233 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11234
11235 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11238 (electric-pair-post-self-insert-function): Use it.
11239 (electric-pair-default-inhibit): New function, extracted from
11240 electric-pair-post-self-insert-function.
11241
11242 2013-03-31 Roland Winkler <winkler@gnu.org>
11243
11244 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11245
11246 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11247
11248 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11249
11250 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11251
11252 Un-indent after "pass" and "return" statements (Bug#13888)
11253 * progmodes/python.el (python-indent-block-enders): New var.
11254 (python-indent-calculate-indentation): Use it.
11255
11256 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11257
11258 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11259 defun. Defining it as defalias could introduce too eager
11260 byte-compiler optimization. (Bug#14030)
11261
11262 2013-03-30 Chong Yidong <cyd@gnu.org>
11263
11264 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11265
11266 2013-03-30 Leo Liu <sdl.web@gmail.com>
11267
11268 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11269 (kmacro-execute-from-register): Pass the keyboard macro to
11270 kmacro-call-macro or repeating won't work correctly.
11271
11272 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11273
11274 * progmodes/subword.el: Back to using `forward-symbol'.
11275
11276 * subr.el (forward-whitespace, forward-symbol)
11277 (forward-same-syntax): Move from thingatpt.el.
11278
11279 2013-03-29 Leo Liu <sdl.web@gmail.com>
11280
11281 * kmacro.el (kmacro-to-register): New command.
11282 (kmacro-execute-from-register): New function.
11283 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11284
11285 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * mpc.el: Use defvar-local and setq-local.
11288 (mpc--proc-connect): Connection failures are not bugs.
11289 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11290 (mpc-volume-map): Bind to the up-events.
11291
11292 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11293
11294 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11295 instead of `forward-symbol'.
11296
11297 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11300 (edebug--recursive-edit): Use it.
11301 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11302 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11303
11304 2013-03-28 Leo Liu <sdl.web@gmail.com>
11305
11306 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11307
11308 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11309
11310 * facemenu.el (list-colors-callback): New defvar.
11311 (list-colors-redisplay): New function.
11312 (list-colors-display): Install list-colors-redisplay as the
11313 revert-buffer-function. (Bug#14063)
11314
11315 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11318 and suffixes don't overlap (bug#14061).
11319
11320 * case-table.el: Use lexical-binding.
11321 (case-table-get-table): New function.
11322 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11323
11324 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11325
11326 * progmodes/subword.el: Add `superword-mode' to do word motion
11327 over symbol_words (parallels and leverages `subword-mode' which
11328 does word motion inside MixedCaseWords).
11329
11330 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11331
11332 * eshell/em-unix.el: Move su and sudo to...
11333 * eshell/em-tramp.el: ...Eshell tramp module.
11334
11335 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11338 Change return value to be a sexp. Delay `get-buffer' to after
11339 restoring the desktop (bug#13951).
11340
11341 2013-03-26 Leo Liu <sdl.web@gmail.com>
11342
11343 * register.el: Move semantic tag handling back to
11344 cedet/semantic/senator.el. (Bug#14052)
11345
11346 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11349 into the prompt either (bug#13963).
11350
11351 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11352
11353 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11354 part of "(error-foo)".
11355
11356 2013-03-24 Juri Linkov <juri@jurta.org>
11357
11358 * replace.el (list-matching-lines-prefix-face): New defcustom.
11359 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11360 `occur-engine' if `face-differs-from-default-p' returns t.
11361 (occur-engine): Add `,' inside backquote construct to evaluate
11362 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11363 Pass `prefix-face' to the functions `occur-context-lines' and
11364 `occur-engine-add-prefix'.
11365 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11366 `prefix-face' and propertize the prefix with `prefix-face'.
11367 (Bug#14017)
11368
11369 2013-03-24 Leo Liu <sdl.web@gmail.com>
11370
11371 * nxml/rng-valid.el (rng-validate-while-idle)
11372 (rng-validate-quick-while-idle): Guard against deleted buffer.
11373 (Bug#13999)
11374
11375 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11376 is the last entry in kill-buffer-hook.
11377
11378 * files.el (kill-buffer-hook): Doc fix.
11379
11380 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11381
11382 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11383 Make it safe-local.
11384
11385 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11386
11387 2013-03-23 Leo Liu <sdl.web@gmail.com>
11388
11389 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11390 Remove.
11391
11392 * nxml/rng-valid.el (rng-validate-mode)
11393 (rng-after-change-function, rng-do-some-validation):
11394 * nxml/rng-maint.el (rng-validate-buffer):
11395 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11396 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11397 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11398 (nxml-extend-after-change-region): Use with-silent-modifications.
11399
11400 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11401 timer-idle-list.
11402
11403 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11404 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11405 timer-idle-list. (Bug#13999)
11406
11407 2013-03-23 Juri Linkov <juri@jurta.org>
11408
11409 * info.el (info-index-match): New face.
11410 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11411 main pattern and add text properties with the new face to matches
11412 in index entries relative to the beginning of the index entry.
11413 (Bug#14015)
11414
11415 2013-03-21 Eric Ludlam <zappo@gnu.org>
11416
11417 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11418 Inhibit read only while inserting objects.
11419
11420 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11421
11422 * progmodes/cfengine.el: Update docs to mention
11423 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11424 symbol motion. Remove "_" from the word syntax.
11425
11426 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11427
11428 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11429 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11430
11431 2013-03-20 Juri Linkov <juri@jurta.org>
11432
11433 * info.el (Info-next-reference-or-link)
11434 (Info-prev-reference-or-link): New functions.
11435 (Info-next-reference, Info-prev-reference): Use them.
11436 (Info-try-follow-nearest-node): Handle footnote navigation.
11437 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11438
11439 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11442 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11443
11444 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11445
11446 Suppress unnecessary non-ASCII chatter during build process.
11447 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11448 (batch-skkdic-convert): Suppress most of the chatter.
11449 It's not needed so much now that machines are faster,
11450 and its non-ASCII component was confusing; see Dmitry Gutov in
11451 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11452
11453 2013-03-20 Leo Liu <sdl.web@gmail.com>
11454
11455 * ido.el (ido-chop): Fix bug#10994.
11456
11457 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11458
11459 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11460 Remove vars.
11461 (whitespace-color-on, whitespace-color-off):
11462 Use `font-lock-fontify-buffer' (Bug#13817).
11463
11464 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11467 remapping in mode-line.
11468 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11469
11470 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11471
11472 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11473 value for `whitespace-line' face (Bug#13875).
11474 (whitespace-font-lock-keywords): Change description.
11475 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11476 the constructed keywords instead.
11477 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11478
11479 2013-03-19 Leo Liu <sdl.web@gmail.com>
11480
11481 * progmodes/compile.el (compilation-display-error): New command.
11482 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11483 C-o. (Bug#13992)
11484
11485 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11486
11487 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11488
11489 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11490
11491 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11492
11493 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11494
11495 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11496
11497 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11498 * net/tramp-gvfs.el (top):
11499 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11500 (tramp-handle-shell-command): Use it.
11501 (tramp-dissect-file-name): Raise an error when hostname is a
11502 method name, and neither method nor user is specified.
11503
11504 * net/trampver.el: Update release number.
11505
11506 2013-03-18 Leo Liu <sdl.web@gmail.com>
11507
11508 Make sure eldoc can be turned off properly.
11509 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11510 eldoc-mode.
11511 (eldoc-display-message-p): Revert last change.
11512 (eldoc-display-message-no-interference-p)
11513 (eldoc-print-current-symbol-info): Tweak.
11514
11515 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11516
11517 * doc-view.el (doc-view-new-window-function): Check the new window
11518 overlay's display property instead the char property of the
11519 buffer's first char. Use `with-selected-window' instead of
11520 `save-window-excursion' with `select-window'.
11521 (doc-view-document->bitmap): Check the current doc-view overlay's
11522 display property instead the char property of the buffer's first char.
11523
11524 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11525
11526 Automate the build of ja-dic.el (Bug#13984).
11527 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11528 from the input, rather than assume that it's been done for us by the
11529 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11530 the current date into a ja-dic.el comment, as that complicates
11531 regression testing.
11532
11533 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * whitespace.el: Fix double evaluation.
11536 (whitespace-space, whitespace-hspace, whitespace-tab)
11537 (whitespace-newline, whitespace-trailing, whitespace-line)
11538 (whitespace-space-before-tab, whitespace-indentation)
11539 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11540 obsolete defvars.
11541 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11542 (whitespace-color-on): Use a single font-lock-add-keywords call.
11543 Fix double-evaluation of face variables.
11544
11545 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11546
11547 * net/tramp-adb.el (tramp-adb-parse-device-names):
11548 Use `start-process' instead of `call-process'. Otherwise, the
11549 function might be blocked under MS Windows. (Bug#13299)
11550
11551 2013-03-17 Leo Liu <sdl.web@gmail.com>
11552
11553 Extend eldoc to display info in the mode-line. (Bug#13978)
11554 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11555 (eldoc-mode-line-string): New variable.
11556 (eldoc-minibuffer-message): New function.
11557 (eldoc-message-function): New variable.
11558 (eldoc-message): Use it.
11559 (eldoc-display-message-p)
11560 (eldoc-display-message-no-interference-p):
11561 Support eldoc-post-insert-mode.
11562
11563 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11564 (eval-expression): Run it.
11565
11566 2013-03-17 Roland Winkler <winkler@gnu.org>
11567
11568 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11569 strings in the list of return values.
11570
11571 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11572
11573 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11574 radix before checking for HMS forms.
11575
11576 2013-03-16 Leo Liu <sdl.web@gmail.com>
11577
11578 * progmodes/scheme.el: Add indentation and font-locking for λ.
11579 (Bug#13975)
11580
11581 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11584 token before point (bug#13942).
11585
11586 2013-03-16 Leo Liu <sdl.web@gmail.com>
11587
11588 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11589
11590 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11591
11592 * startup.el (command-line-normalize-file-name): Fix handling of
11593 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11594 <xfq.free@gmail.com> in
11595 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11596
11597 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11598
11599 Sync with Tramp 2.2.7.
11600
11601 * net/trampver.el: Update release number.
11602
11603 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11604
11605 * doc-view.el: Fix bug#13887.
11606 (doc-view-insert-image): Don't modify overlay associated to
11607 non-live windows, and implement horizontal centering of image in
11608 case it's smaller than the window.
11609 (doc-view-new-window-function): Force redisplay of new windows on
11610 doc-view buffers.
11611
11612 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11613
11614 * saveplace.el (save-place-alist-to-file): Don't sort
11615 `save-place-alist', just pretty-print it (bug#13882).
11616
11617 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11618
11619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11620 Check whether `default-file-name-coding-system' is bound.
11621 It isn't in XEmacs.
11622
11623 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11626 backquotes for `obsolete' (bug#13929).
11627
11628 * international/mule.el (find-auto-coding): Include file name in
11629 obsolescence warning (bug#13922).
11630
11631 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11632
11633 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11634 for CFEngine 3-specific indentation.
11635 (cfengine3-indent-line): Use it. Fix up category regex.
11636 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11637
11638 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * type-break.el (type-break-file-name):
11641 * textmodes/remember.el (remember-data-file):
11642 * strokes.el (strokes-file):
11643 * shadowfile.el (shadow-initialize):
11644 * saveplace.el (save-place-file):
11645 * ps-bdf.el (bdf-cache-file):
11646 * progmodes/idlwave.el (idlwave-config-directory):
11647 * net/quickurl.el (quickurl-url-file):
11648 * international/kkc.el (kkc-init-file-name):
11649 * ido.el (ido-save-directory-list-file):
11650 * emulation/viper.el (viper-custom-file-name):
11651 * emulation/vip.el (vip-startup-file):
11652 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11653 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11654
11655 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11656
11657 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11658 * language/thai-word.el: Switch to UTF-8.
11659
11660 See ChangeLog.16 for earlier changes.
11661
11662 ;; Local Variables:
11663 ;; coding: utf-8
11664 ;; End:
11665
11666 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11667
11668 This file is part of GNU Emacs.
11669
11670 GNU Emacs is free software: you can redistribute it and/or modify
11671 it under the terms of the GNU General Public License as published by
11672 the Free Software Foundation, either version 3 of the License, or
11673 (at your option) any later version.
11674
11675 GNU Emacs is distributed in the hope that it will be useful,
11676 but WITHOUT ANY WARRANTY; without even the implied warranty of
11677 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11678 GNU General Public License for more details.
11679
11680 You should have received a copy of the GNU General Public License
11681 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.