Make Electric Pair mode smarter/more useful:
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3b8d5131
JT
12013-12-26 João Távora <joaotavora@gmail.com>
2
3 * electric.el (electric-pair-mode): More flexible engine for skip-
4 and inhibit predicates, new options for pairing-related
5 functionality.
6 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7 if that keeps or improves their balance in buffers.
8 (electric-pair-delete-adjacent-pairs): Delete the pair when
9 backspacing over adjacent matched delimiters.
10 (electric-pair-open-extra-newline): Open extra newline when
11 inserting newlines between adjacent matched delimiters.
12 (electric--sort-post-self-insertion-hook): Sort
13 post-self-insert-hook according to priority values when
14 minor-modes are activated.
15 * simple.el (newline-and-indent): Call newline with interactive
16 set to t.
17 (blink-paren-post-self-insert-function): Set priority to 100.
18 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Use
19 electric-pair-text-pairs to pair backtick-and-quote in strings and
20 comments. Locally set electric-pair-skip-whitespace to 'chomp and
21 electric-pair-open-newline-between-pairs to nil.
22
fbcc63a3
FEG
232013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
24
25 * progmodes/python.el: Use lexical-binding.
26 (python-nav-beginning-of-defun): Stop searching ASAP.
27
ed78d16c
XF
282013-12-25 Xue Fuqiao <xfq.free@gmail.com>
29
30 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
31 Fix interactive spec. Doc fix. (Bug#15754)
32
38b2c142
KY
332013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
34
35 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 36 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
37 Fix edebug spec (bug#16184).
38
3c856c14
LI
392013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
40
83fa295c 41 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
42 (shr-insert): Don't infloop if we can't find a good place to break
43 the line (bug#16256).
3c856c14 44
01379221
FEG
452013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
46
47 * progmodes/python.el:
48 (python-nav--lisp-forward-sexp): New function.
49 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
50 python-nav-lisp-forward-sexp-safe.
51 (python-nav--forward-sexp): New argument SAFE allows switching
52 forward sexp movement behavior for parens.
53 (python-nav-forward-sexp): Throw errors on unterminated parens
54 (Bug#16191).
55 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
56 (python-nav-backward-sexp-safe): New functions.
57 (python-shell-buffer-substring): Use
58 `python-nav-forward-sexp-safe'.
59
99e4926f
LI
602013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
61
62 * net/shr.el (shr-find-fill-point): Don't break lines before a
63 quotation mark.
c6c20584
LI
64 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
65 (shr-find-fill-point): Remove the special checks for the quotation
66 mark, since `shr-char-kinsoku-bol-p' should now return the right
67 thing.
99e4926f 68
fec0e828
KN
692013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
70
71 * net/eww.el (eww-form-textarea): Use a different face for
72 textareas than text input since they have different keymaps
73 (bug#16142).
74
89c868ad
FEG
752013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
76
77 * progmodes/python.el (python-nav-beginning-of-statement): Speed
78 up (Bug#15295).
79
eeef121a
LI
802013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
81
82 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
83 the window configuration.
84
121ea65f
EZ
852013-12-24 Eli Zaretskii <eliz@gnu.org>
86
87 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
88 we run on MS-Windows or MS-DOS.
89
18cee9ec
MR
902013-12-24 Martin Rudalics <rudalics@gmx.at>
91
92 * window.el (balance-windows-area): Call window-size instead of
93 window-height and window-width. Bug#16241.
94
58f2b9a5
LI
952013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
96
97 * net/eww.el (eww-bookmark-quit): Remove.
98 (eww-bookmark-browse): Restore the window configuration when you
99 choose a bookmark (bug#16144).
100
d64b6308
DC
1012013-12-24 Daniel Colascione <dancol@dancol.org>
102
103 * icomplete.el: Remove redundant :group arguments to `defcustom'
104 throughout.
105 (icomplete-show-matches-on-no-input): New customizable variable.
106 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
107 we have something to show.
108 (icomplete-exhibit): Compute completions even if we have no user
109 input.
110
0da54898
DC
1112013-12-23 Daniel Colascione <dancol@dancol.org>
112
113 * icomplete.el: Move `provide' to end of file.
114
b90aa4f4
TZ
1152013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
116
117 * net/gnutls.el (gnutls-verify-error): Add version tag.
118
8cd22a08
CY
1192013-12-23 Chong Yidong <cyd@gnu.org>
120
121 * subr.el (set-transient-map): Rename from
122 set-temporary-overlay-map. Doc fix.
123
124 * face-remap.el (text-scale-adjust):
125 * indent.el (indent-rigidly):
126 * kmacro.el (kmacro-call-macro):
127 * minibuffer.el (minibuffer-force-complete):
128 * repeat.el (repeat):
129 * simple.el (universal-argument--mode):
130 * calendar/todo-mode.el (todo-insert-item--next-param):
131 * progmodes/f90.el (f90-abbrev-start): Callers changed.
132
7510b021
CY
133 * indent.el (indent-rigidly): Use substitute-command-keys.
134
56890ecd
KN
1352013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
136
137 * net/eww.el (eww-tag-select): Add text-property to jump to next
138 select field.
139 (eww) : Add non-supported ftp error.
140
1f87a56c
DG
1412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
142
143 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
144 comments. Handle electric indent after typing `?' and `!'.
145
dca38cf9
CY
1462013-12-22 Chong Yidong <cyd@gnu.org>
147
148 * faces.el (face-spec-recalc): If the theme specs are not
149 applicable to a frame, fall back on the defface spec. This
150 prevents themes from obliterating faces on low-color terminals.
151
f2351498
DG
1522013-12-22 Dmitry Gutov <dgutov@yandex.ru>
153
154 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
155 after `{'. We need it after block openers, and it doesn't seem
156 to hurt after hash openers.
157
6cddebc1
DG
1582013-12-22 Dmitry Gutov <dgutov@yandex.ru>
159
160 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
161 extracted from `ruby-smie-rules'.
162 (ruby--electric-indent-chars): New variable.
163 (ruby--electric-indent-p): New function.
164 (ruby-mode): Use `electric-indent-functions' instead of
165 `electric-indent-chars'.
166
65a1da00
DG
1672013-12-22 Dmitry Gutov <dgutov@yandex.ru>
168
169 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
170 docstring.
171 (ruby-smie-rules): Indent plus one level after `=>'.
172
b51ad4cf
RS
1732013-12-21 Richard Stallman <rms@gnu.org>
174
175 * simple.el (newline): Doc fix.
176
d49fbfd6
TZ
1772013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
178
179 * net/eww.el (eww-list-histories, eww-list-histories)
180 (eww-history-browse, eww-history-quit, eww-history-kill)
181 (eww-history-mode-map, eww-history-mode): New command and
182 functions to list browser histories.
5edcc2dc
KN
183 (eww-form-text): Support text form with disabled
184 and readonly attributes.
dde4de31 185 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 186
5e1901c1
RS
1872013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
188
189 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
190 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
191 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
192 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
193 Use `user-error'.
194 (eww-bookmark-mode-map): Add menu.
195 (eww-render, eww-mode): Use `setq-local'.
196 (eww-tool-bar-map): New variable.
197 (eww-mode): Set `tool-bar-map'.
198 (eww-view-source): Check for `html-mode' with `fboundp'.
199
073d5cfd
LMI
2002013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
201
202 * net/shr.el (shr--extract-best-source): Don't bug out on audio
203 elements with text inside. Also remove debugging.
204
41cf3d11
JD
2052013-12-21 Jan Djärv <jan.h.d@swipnet.se>
206
207 * cus-start.el (all): Add ns-use-srgb-colorspace.
208
aac2b673
CY
2092013-12-21 Chong Yidong <cyd@gnu.org>
210
211 * custom.el (custom-theme-recalc-face): Do nothing if the face is
212 undefined. Thus, theme settings for undefined faces do not take
213 effect until the faces are defined with defface, the same as with
214 theme variables.
215
216 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
217 (face-spec-reset-face): Don't assign extra properties in temacs.
218 (face-spec-recalc): Apply X resources too.
219
bacb0e77
CY
2202013-12-21 Chong Yidong <cyd@gnu.org>
221
222 * faces.el (face-spec-set):
223 * cus-face.el (custom-theme-set-faces, custom-set-faces):
224 * custom.el (defface): Doc fixes (Bug#16203).
225
77221051
CY
226 * indent.el (indent-rigidly-map): Add docstring, and move commands
227 into named functions.
228 (indent-rigidly-left, indent-rigidly-right)
229 (indent-rigidly-left-to-tab-stop)
230 (indent-rigidly-right-to-tab-stop): New functions. Decide on
231 indentation direction based on bidi direction, and accumulate
232 sequential commands in a single undo boundary.
233 (indent-rigidly--pop-undo): New utility function.
234
e0eb0550
JB
2352013-12-20 Juanma Barranquero <lekktu@gmail.com>
236
237 * faces.el (read-face-name): Require crm.el when using crm-separator.
238
3282bd2e
DC
2392013-12-20 Daniel Colascione <dancol@dancol.org>
240
241 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
242 so that we don't reflow comments into the shebang line.
243
1d42e5b6
JL
2442013-12-20 Juri Linkov <juri@jurta.org>
245
246 * saveplace.el (save-place-to-alist): Add `dired-filename' as
247 a position when `dired-directory' is non-nil. Check integer
248 positions with `integerp'.
249 (toggle-save-place, save-places-to-alist): Add check for
250 `dired-directory'.
251 (save-place-find-file-hook): Check integer positions with
252 `integerp'.
253 (save-place-dired-hook): Use `dired-goto-file' when
254 `dired-filename' is found in the assoc list. Check integer
255 positions with `integerp'.
256 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
257
258 * dired.el (dired-initial-position-hook): Rename back from
259 `dired-initial-point-hook'.
260 (dired-initial-position): Rename `dired-initial-point-hook' to
261 `dired-initial-position-hook'.
262 (dired-file-name-at-point): Doc fix. (Bug#15329)
263
24da7273
JL
2642013-12-20 Juri Linkov <juri@jurta.org>
265
266 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
267 (read-regexp-suggestions): New function.
268 (read-regexp): Use `read-regexp-defaults-function' to get default values.
269 Use `read-regexp-suggestions'. Add non-empty default to history
270 for empty input.
271 (occur-read-regexp-defaults-function): Remove function.
272 (occur-read-primary-args): Use `regexp-history-last' instead of
273 `occur-read-regexp-defaults-function'.
274
275 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
276 (hi-lock-line-face-buffer, hi-lock-face-buffer)
277 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
278 `hi-lock-read-regexp-defaults-function'. Doc fix.
279 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
280 with `find-tag-default-as-symbol-regexp'. Doc fix.
281 (hi-lock-read-regexp-defaults): Remove function.
282 (hi-lock-regexp-okay): Add check for null.
283
284 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
285 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
286
287 * subr.el (find-tag-default-as-symbol-regexp): New function.
288 (find-tag-default-as-regexp): Move symbol regexp formatting to
289 `find-tag-default-as-symbol-regexp'.
290
137f57c8
S
2912013-12-20 E Sabof <esabof@gmail.com> (tiny change)
292
293 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
294 (Bug#14179)
295
f3a66082
SB
2962013-12-20 Stephen Berman <stephen.berman@gmx.net>
297
298 * calendar/todo-mode.el: New implementation of item insertion
299 commands and key bindings.
300 (todo-key-prompt): New face.
301 (todo-insert-item): New command.
302 (todo-insert-item--parameters): New defconst, replacing defvar
303 todo-insertion-commands-args-genlist.
304 (todo-insert-item--param-key-alist): New defconst, replacing
305 defvar todo-insertion-commands-arg-key-list.
306 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
307 (todo-insert-item--argsleft, todo-insert-item--apply-args)
308 (todo-insert-item--next-param): New functions.
309 (todo-insert-item--args, todo-insert-item--argleft)
310 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
311 New variables.
312 (todo-key-bindings-t): Change binding of "i" from
313 todo-insertion-map to todo-insert-item.
314 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
315 (todo-insertion-command-name, todo-insertion-commands-names)
316 (todo-define-insertion-command, todo-insertion-commands)
317 (todo-insertion-key-bindings, todo-insertion-map): Remove.
318
2f99433b
SB
3192013-12-20 Stephen Berman <stephen.berman@gmx.net>
320
321 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
322 (todo-toggle-item-highlighting): Use eval-and-compile instead of
323 eval-when-compile.
324 (todo-move-category): Allow choosing a non-existing todo file to
325 move the category to, and create that file.
326 (todo-default-priority): New user option.
327 (todo-set-item-priority): Use it.
328 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
329 (desktop-restore-file-buffer): Declare.
330 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
331 (todo-modes-set-2): Locally set desktop-save-buffer to
332 todo-desktop-save-buffer.
333 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
334 (auto-mode-alist): Add autoload cookie.
335
131e4695
BB
3362013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
337
338 * emacs-lisp/subr-x.el: Renamed from helpers.el.
339 helpers.el was a poor choice of name.
3cbfb935
BB
340 (string-remove-prefix): New function.
341 (string-remove-suffix): New function.
131e4695 342
c44de18d
MR
3432013-12-20 Martin Rudalics <rudalics@gmx.at>
344
345 Fix assignment for new window total sizes.
346 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
347 (window--pixel-to-total-1, window--pixel-to-total):
348 Fix calculation of new total sizes.
c44de18d 349
ca65efcc
VS
3502013-12-20 Vitalie Spinu <spinuvit@gmail.com>
351
352 * comint.el (comint-output-filter): Fix rear-nonsticky property
353 placement (Bug#16010).
354
a9574eb7
CY
3552013-12-20 Chong Yidong <cyd@gnu.org>
356
357 * faces.el (read-color): Minor fix for completion function.
358
b520f210
DG
3592013-12-20 Dmitry Gutov <dgutov@yandex.ru>
360
e0eb0550
JB
361 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
362 New option. (Bug#16182)
b520f210
DG
363 (ruby-smie--indent-to-stmt-p): Use it.
364 (ruby-smie-rules): Revert the logic in the handling of `when'.
365 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
366 (ruby-deep-arglist, ruby-deep-indent-paren)
367 (ruby-deep-indent-paren-style): Update docstrings to note that the
368 vars don't have any effect with SMIE.
369
26b75b45
JB
3702013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
371
372 * calc/calc.el (calc-enter, calc-pop): Use the variable
373 `calc-context-sensitive-enter'.
374
cf91cee7
LMI
3752013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
376
377 * net/shr.el (shr-insert): Protect against infloops in degenerate
378 tables.
379
51d971b4
RS
3802013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
381
382 * progmodes/octave.el (octave): Add link to manual and octave
383 homepage.
384 (octave-mode-menu): Link to octave-mode manual.
385
8c2e462a
LL
3862013-12-20 Leo Liu <sdl.web@gmail.com>
387
388 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
389 insertion using skeleton-end-newline. (Bug#16138)
390
501158bc
JL
3912013-12-20 Juri Linkov <juri@jurta.org>
392
393 * replace.el (occur-engine): Use `add-face-text-property'
394 to add the face property to matches and titles. (Bug#14645)
395
396 * hi-lock.el (hi-green): Use lighter color "light green" closer to
397 the palette of other hi-lock colors.
398 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
399
50ab1da6
JL
4002013-12-19 Juri Linkov <juri@jurta.org>
401
402 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
403 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
404 (minibuffer-history-symbol): Move variable declaration closer to
405 its usage.
406
407 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
408 (Bug#14785)
409
3d6e95e7
JL
4102013-12-19 Juri Linkov <juri@jurta.org>
411
412 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
413 New function.
414 (log-edit-hook): Add it to :options. (Bug#16170)
415
b41594fd
JL
4162013-12-19 Juri Linkov <juri@jurta.org>
417
418 * simple.el (eval-expression-print-format): Don't check for
419 command names and the last command. Always display additional
420 formats of the integer result in the echo area, and insert them
421 to the current buffer only with a zero prefix arg.
422 Display character when char-displayable-p is non-nil.
423 (eval-expression): With a zero prefix arg, set `print-length' and
424 `print-level' to nil, and insert the integer values from
425 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
426
427 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
428 `eval-last-sexp-arg-internal'. Doc fix.
429 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
430 `eval-last-sexp-print-value'. Doc fix.
431 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
432 Set `print-length' and `print-level' to nil when arg is zero.
433 (eval-last-sexp): Doc fix.
434 (eval-defun-2): Print the integer values from
435 `eval-expression-print-format' at the end.
436
437 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
438 values from `eval-expression-print-format' at the end.
439
440 * ielm.el (ielm-eval-input): Print the integer
441 values from `eval-expression-print-format' at the end.
442
8f2be364
TZ
4432013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
444
445 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
446 2013-12-11T19:01:44Z!tzz@lifelogs.com.
447
2230a6e3
SM
4482013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
451 (hl-line-highlight, global-hl-line-highlight): Use it.
452 (hl-line-overlay): Use defvar-local.
453
1269a680
JD
4542013-12-19 Jan Djärv <jan.h.d@swipnet.se>
455
456 * term/ns-win.el: Require dnd.
457 (global-map): Remove drag items.
458 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
459 (ns-set-background-at-mouse):
460 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
461 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
462 New functions.
1269a680 463
049638ad
GM
4642013-12-19 Glenn Morris <rgm@gnu.org>
465
466 * emacs-lisp/ert.el (ert-select-tests):
467 Fix string/symbol mixup. (Bug#16121)
468
ce41edb4
DG
4692013-12-19 Dmitry Gutov <dgutov@yandex.ru>
470
471 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
472 keywords to their parent.
473
7e1549c9
DG
4742013-12-19 Dmitry Gutov <dgutov@yandex.ru>
475
476 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
477 first arg to be a string (fixed dead code), or an operator symbol.
478 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
479 operator symbols.
480 (ruby-smie-rules): Remove parent token check in the `.' clause, it
481 did nothing. Don't respond to `(:after ".")', it will be called
482 with :before anyway. Remove the ` @ ' rule, it didn't seem to
483 change anything. Only return indentation for binary operators
484 when they are hanging. De-dent opening paren when its parent is
485 `.', otherwise it looks bad when the dot is not at bol or eol
486 (bug#16182).
487
3ee4cd64
JL
4882013-12-19 Juri Linkov <juri@jurta.org>
489
490 * replace.el (query-replace-read-args): Split a non-negative arg
491 and a negative arg into separate elements.
492 (query-replace, query-replace-regexp, replace-string)
493 (replace-regexp): Add arg `backward'. Doc fix.
494 (replace-match-maybe-edit): When new arg `backward' is non-nil,
495 move point to the beginning of the match.
496 (replace-search, replace-highlight): Use new arg `backward'
497 to set the value of `isearch-forward'.
498 (perform-replace): Add arg `backward' and use it to perform
499 replacement backward. (Bug#14979)
500
501 * isearch.el (isearch-query-replace): Use a negative prefix arg
502 to call `perform-replace' with a non-nil arg `backward'.
503
0cda6b7b
JL
5042013-12-18 Juri Linkov <juri@jurta.org>
505
506 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
507 to the default list. Move `log-edit-show-files' to the end.
508 Add more available functions to options.
509 (log-edit): Move default specific settings to
510 `log-edit-insert-message-template'. Don't move point.
511 (log-edit-insert-message-template): New function.
512 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
513 (Bug#16170)
514
b216f0a6
JL
5152013-12-18 Juri Linkov <juri@jurta.org>
516
517 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
518 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
519
1d1c55dc
LL
5202013-12-18 Leo Liu <sdl.web@gmail.com>
521
522 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
523
64e4c76e
EZ
5242013-12-18 Eli Zaretskii <eliz@gnu.org>
525
526 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
527 formats for displaying file sizes when the -s switch is given.
528 Instead, compute a separate format for displaying the size in
529 blocks, which is displayed in addition to the "regular" size.
530 When -h is given in addition to -s, produce size in blocks in
531 human-readable form as well. (Bug#16179)
532
b2984e39
TH
5332013-12-18 Tassilo Horn <tsdh@gnu.org>
534
2230a6e3
SM
535 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
536 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 537
50ff2e06
CY
5382013-12-18 Chong Yidong <cyd@gnu.org>
539
0081bc84
CY
540 * cus-edit.el (custom-magic-alist): Fix "themed" description
541 (Bug#14348).
542
a7ee9424
CY
543 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
544 is non-nil, do not create a new entry in the symbol's theme-value
545 or theme-face property; update theme-settings only (Bug#14664).
18874304 546 (custom-available-themes): Doc fix.
a7ee9424 547
8f942537
CY
548 * cus-theme.el (custom-new-theme-mode-map): Add bindings
549 (Bug#15674).
550
50ff2e06
CY
551 * replace.el (occur-engine): Avoid infloop (Bug#7593).
552
83c60f60
KI
5532013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
554
555 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
556 (Bug#13914).
557
e0eb0550 5582013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
559
560 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
561
1f41ee56
GM
5622013-12-18 Glenn Morris <rgm@gnu.org>
563
564 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 565 * cus-start.el (load-prefer-newer): New option.
1f41ee56 566
e82134b1
LW
5672013-12-18 Le Wang <l26wang@gmail.com>
568
2230a6e3
SM
569 * comint.el (comint-previous-matching-input-from-input):
570 Retain point (Bug#13404).
e82134b1 571
33f5d4c1
CY
5722013-12-18 Chong Yidong <cyd@gnu.org>
573
574 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
575
ccc9f6dc
GM
5762013-12-18 Glenn Morris <rgm@gnu.org>
577
578 * mail/emacsbug.el (report-emacs-bug):
579 Only mention enable-multibyte-characters if non-standard.
580
33dd8e95
JL
5812013-12-17 Juri Linkov <juri@jurta.org>
582
583 * arc-mode.el (archive-extract-by-file): Check if directory exists
584 before deletion to not show irrelevant errors if it doesn't exist.
585
7a409b30
JL
5862013-12-17 Juri Linkov <juri@jurta.org>
587
588 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
589 (Bug#14751)
590
591 * net/eww.el (browse-web): Add alias to `eww'.
592 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
593 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
594
595 * net/browse-url.el (browse-url-browser-function): Move `eww'
596 closer to similar functions.
597
598 * startup.el (fancy-startup-screen, fancy-about-screen):
599 Set browse-url-browser-function to eww-browse-url locally.
600 (Bug#14751)
601
2d6b6005
SM
6022013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * window.el (window--pixel-to-total): Remove unused `mini' var.
605 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
606 (split-window): Remove unused `new' var.
607 (window--display-buffer): Remove unused `frame' and `delta' vars.
608 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
609 and display-width'.
610
cf2b7efc
MR
6112013-12-17 Martin Rudalics <rudalics@gmx.at>
612
613 * dired.el (dired-mark-pop-up):
614 * register.el (register-preview): Don't bind
615 split-height-threshold here since it's now done in
616 display-buffer-below-selected.
617
ed3af8a7 6182013-12-17 oblique <psyberbits@gmail.com> (tiny change)
619
620 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
621 xterm-rgb-convert-to-16bit.
622 (rxvt-register-default-colors): Standardize with
623 xterm-register-default-colors (Bug#14078).
624
76da3455
DK
6252013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
626
627 * simple.el (kill-region): Pass mark first, then point, so that
628 kill-append works right (Bug#12819).
629 (copy-region-as-kill, kill-ring-save): Likewise.
630
2b84d763
LL
6312013-12-17 Leo Liu <sdl.web@gmail.com>
632
633 * net/rcirc.el (rcirc-add-face):
634 * eshell/em-prompt.el (eshell-emit-prompt):
635 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
636 (Bug#16167)
637
e2f6a0bc
CY
6382013-12-17 Chong Yidong <cyd@gnu.org>
639
640 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
641 Suggested by Xue Fuqiao.
642
35b249a6
DG
6432013-12-17 Dmitry Gutov <dgutov@yandex.ru>
644
645 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
646
e9145444
SM
6472013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
648
649 * net/shr.el (shr-insert-document): Remove unused var
650 `shr-preliminary-table-render'.
651 (shr-rescale-image): Remove unused arg `force'.
652 (shr-put-image): Update calls accordingly.
653 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
654
5556c0ce
DG
6552013-12-17 Dmitry Gutov <dgutov@yandex.ru>
656
657 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
658 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
659 :close-all, to see which indentation method to use (Bug#16116).
660 (smie-rules-function): Document the method :close-all.
661
11bade0a
LMI
6622013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
663
1c4b1e61
LMI
664 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
665
11bade0a
LMI
666 * net/eww.el (eww-display-html): If we can't find the anchor we're
667 looking for, then go to point-min.
668
8fb8c4f3
PE
6692013-12-16 Paul Eggert <eggert@cs.ucla.edu>
670
671 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
672 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
673 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
674 Expand dir too, in case it's relative.
675
6c8e0ae6
JL
6762013-12-16 Juri Linkov <juri@jurta.org>
677
678 * desktop.el (desktop-auto-save-timeout): Change default to
679 `auto-save-timeout'. Doc fix.
680 (desktop-save): Skip the timestamp in desktop-saved-frameset
681 when checking for auto-save changes.
682 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
683 `desktop-auto-save' is called repeatedly by the idle timer.
684 (desktop-auto-save-set-timer): Replace `run-with-timer' with
685 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
686 (Bug#15331)
687
2178e858
JL
6882013-12-16 Juri Linkov <juri@jurta.org>
689
690 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
691 (Bug#16035)
692 (isearch-pre-command-hook): Check `this-command' for symbolp.
693
39cb42c6
SM
6942013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
697
5b9b750a
TZ
6982013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
699
700 * progmodes/cfengine.el (cfengine3--current-word): Remove.
701 (cfengine3--current-function): Bring in the current-function
702 functionality from `cfengine3--current-word'.
703 (cfengine3-completion-function): Bring in the
704 bounds-of-current-word functionality from
705 `cfengine3--current-word'.
706
d144ef06
MR
7072013-12-16 Martin Rudalics <rudalics@gmx.at>
708
39cb42c6
SM
709 * window.el (display-buffer-below-selected):
710 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 711
a8bbe298
LL
7122013-12-16 Leo Liu <sdl.web@gmail.com>
713
714 * progmodes/compile.el (compile-goto-error): Do not push-mark.
715 Remove NOMSG arg and all uses changed.
716
2013a2f9
SM
7172013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
720 (cua--deactivate-rectangle): Don't deactivate the mark.
721 (cua-set-rectangle-mark): Don't set mark-active since
722 cua--activate-rectangle already does it for us.
723 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
724 non-rectangular region.
725
726 * emulation/cua-base.el (cua-repeat-replace-region):
727 Use with-current-buffer.
728
729 * net/gnutls.el: Use cl-lib.
730 (gnutls-negotiate): `mapcan' -> cl-mapcan.
731
5ae811dd
TZ
7322013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
733
734 * emacs-lisp/package.el (package-built-in-p): Support both
735 built-in and the package.el converted package descriptions.
736 (package-show-package-list): Allow keywords.
737 (package-keyword-button-action): Use it instead of
738 `finder-list-matches'.
739 (package-menu-filter-interactive): Interactive filtering (by
740 keyword) function.
741 (package-menu--generate): Support keywords and change keymappings
742 and headers when they are given.
743 (package--has-keyword-p): Helper function.
744 (package-menu--refresh): Use it.
745 (package--mapc): Helper function.
746 (package-all-keywords): Use it.
747 (package-menu-mode-map): Set up menu items and keybindings to
748 provide a filtering UI.
749
31b4827e
TZ
7502013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
751
752 * net/gnutls.el (gnutls-verify-error): New defcustom to control
753 the behavior when a certificate fails validation. Defaults to
754 old behavior: never abort, just warn.
755 (gnutls-negotiate): Use it.
756
f93cc74f
MR
7572013-12-14 Martin Rudalics <rudalics@gmx.at>
758
759 * window.el (display-buffer-below-selected): Never split window
760 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
761
f77d7d17
TW
7622013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
763
764 * emacs-lisp/package.el (package--prepare-dependencies): New function.
765 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
766
767 * icomplete.el (icomplete-completions): Make sure the prefix is already
768 displayed elsewhere before hiding it.
769
276bc333
DG
7702013-12-14 Dmitry Gutov <dgutov@yandex.ru>
771
772 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
773 open-paren tokens when preceded by a open-paren, too.
774 (ruby-smie-rules): Handle virtual indentation after open-paren
775 tokens specially. If there is code between it and eol, return the
776 column where is starts (Bug#16118).
777
d43957f3
TZ
7782013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
779
a5c1ac0c 780 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 781 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
782 (cfengine3--current-word): Fix parameters.
783 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
784 (cfengine3-completion-function, cfengine3--current-function):
785 Use `assq' for symbols.
d43957f3
TZ
786 (cfengine3--current-function): Fix `cfengine3--current-word' call.
787
06a4f110
GM
7882013-12-13 Glenn Morris <rgm@gnu.org>
789
790 * loadup.el (load-path): Warn if site-load or site-init changes it.
791 No more need to reset it when bootstrapping.
792
978a5fda
TZ
7932013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
794
795 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
796 locations for cf-promises.
797 (cfengine-mode-syntax-functions-regex): New caching variable.
798 (cfengine3-fallback-syntax): Fallback syntax for cases where
799 cf-promises doesn't run.
800 (cfengine3--current-word): Reimplement using
801 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
802 (cfengine3-completion-function, cfengine3--current-function):
803 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
804 (cfengine3-clear-syntax-cache): New function.
805 (cfengine3-make-syntax-cache): Simplify and create
806 `cfengine-mode-syntax-functions-regex' on demand.
807 (cfengine3-format-function-docstring): Don't call
808 `cfengine3-make-syntax-cache' explicitly.
809
71e6691e
MR
8102013-12-13 Martin Rudalics <rudalics@gmx.at>
811
812 Fix windmove-find-other-window broken after pixelwise resizing
813 (Bug#16017).
814 * windmove.el (windmove-other-window-loc): Revert change from
815 2013-12-04.
816 (windmove-find-other-window): Call window-in-direction.
817 * window.el (window-in-direction): New arguments SIGN, WRAP and
818 MINI to emulate original windmove-find-other-window behavior.
819
84c73ba0
DG
8202013-12-13 Dmitry Gutov <dgutov@yandex.ru>
821
822 * simple.el (blink-matching--overlay): New variable.
823 (blink-matching-open): Instead of moving point, highlight the
824 matching paren with an overlay
825 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
826
827 * faces.el (paren-showing-faces, show-paren-match)
828 (show-paren-mismatch): Move from paren.el.
829
b9e20952
LL
8302013-12-13 Leo Liu <sdl.web@gmail.com>
831
832 * indent.el (indent-region): Disable progress reporter in
833 minibuffer. (Bug#16108)
834
835 * bindings.el (visual-order-cursor-movement): Fix version.
836
ce030451
FEG
8372013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
838
839 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
840 Also match after beginning of line.
841 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
842 files. Thanks to Russell Sim. (Bug#15378)
843
4a9c6865
JL
8442013-12-13 Juri Linkov <juri@jurta.org>
845
846 * simple.el <Keypad support>: Remove key bindings duplicated
847 with bindings.el. (Bug#14397)
848
2bc170c3
JL
8492013-12-13 Juri Linkov <juri@jurta.org>
850
851 * comint.el (comint-mode-map): Replace `delete-char' with
852 `delete-forward-char'. (Bug#16109)
853
bc9222c9
FEG
8542013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
855
aa2bddd7
SM
856 * progmodes/python.el (python-indent-calculate-indentation):
857 Fix de-denters cornercase. (Bug#15731)
bc9222c9 858
cb3a1380
SM
8592013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
862 (advice--make): Pay attention to `depth'.
863 (advice--make-1): Don't autoload commands eagerly.
864 * emacs-lisp/elp.el (elp-instrument-function):
865 * emacs-lisp/trace.el (trace-function-internal):
866 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
867
868 * iswitchb.el (iswitchb-mode): Don't belittle ido.
869
01633a17
EZ
8702013-12-12 Eli Zaretskii <eliz@gnu.org>
871
872 * term/w32-win.el (w32-handle-dropped-file):
873 * startup.el (normal-top-level):
874 * net/browse-url.el (browse-url-file-url):
875 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
876 decode file names using 'utf-8' rather than
877 file-name-coding-system.
878
09faee72
FEG
8792013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
880
881 * progmodes/python.el (python-indent-context)
882 (python-indent-calculate-indentation): Fix auto-identation
883 behavior for comment blocks. (Bug#15916)
884
f4f84024 8852013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 886
cb3a1380
SM
887 * progmodes/python.el (python-indent-calculate-indentation):
888 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
889 operators when they are just string constituents. (Bug#15812)
890
d5ccb7be
JL
8912013-12-12 Juri Linkov <juri@jurta.org>
892
893 * uniquify.el (uniquify-buffer-name-style): Change default to
894 `post-forward-angle-brackets'.
895
896 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
897 `uniquify'. Change default to `post-forward-angle-brackets'.
898
7b3f5679
GM
8992013-12-11 Glenn Morris <rgm@gnu.org>
900
901 * emacs-lisp/package.el (finder-list-matches):
902 Autoload rather than falsely declaring.
903
f4fe8fdd
TZ
9042013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
905
906 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
907 (eww-mode-map): Use them.
908
3c29190f
MR
9092013-12-11 Martin Rudalics <rudalics@gmx.at>
910
911 * window.el (display-buffer-in-side-window): Fix doc-string
912 (Bug#16115).
913
0cd616a2
JB
9142013-12-11 Juanma Barranquero <lekktu@gmail.com>
915
916 * vc/vc-git.el: Silence byte-compiler warnings.
917 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
918 (log-edit-set-header): Declare.
919
3ef8e0d1
EZ
9202013-12-11 Eli Zaretskii <eliz@gnu.org>
921
922 * Makefile.in (custom-deps, finder-data): Run output file names
923 through unmsys--file-name. (Bug#16099)
924
afdadaf7
SM
9252013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
926
7ae3ae39 927 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 928 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 929
5b4f37ab
SM
930 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
931 instead of deleting the selection "by hand" (bug#16098).
932 Rely on insert-for-yank to yank rectangles.
933 (cua-highlight-region-shift-only): Mark obsolete.
934 (cua-mode): Don't enable/disable transient-mark-mode,
935 shift-select-mode (cua-mode works both with and without them), and
936 pc-selection-mode (obsolete).
937 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
938 (cua--deactivate-rectangle): Deactivate it.
939
4b72c12b
SM
940 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
941 (delete-selection-helper): Make sure yank starts at the top of the
942 deleted region.
943 (minibuffer-keyboard-quit): Use region-active-p.
944
e82af72d
SM
945 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
946
afdadaf7
SM
947 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
948 to `delete' (bug#16109).
949
ed4bc201
RS
9502013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
951
952 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
953 info manual and show keybindings and set `:group' keyword.
954
bb8097b9
JL
9552013-12-11 Juri Linkov <juri@jurta.org>
956
957 * delsel.el (delete-active-region): Let-bind `this-command'
958 to prevent `kill-region' from changing its original value.
959 (delete-selection-helper): Handle `overwrite-mode' for the type
960 `kill' exactly the same way as for the type `t'.
961 (insert-char, quoted-insert, reindent-then-newline-and-indent):
962 Support more commands. (Bug#13312)
963
c1916ff5
JL
9642013-12-11 Juri Linkov <juri@jurta.org>
965
966 * bindings.el: Map kp keys to non-kp keys systematically
967 with basic modifiers control, meta and shift. (Bug#14397)
968
e0eb0550 9692013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
970
971 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
972 "Close browser" menu items. Fix wrong function of "List
973 bookmarks".
974
4cc51eaf
JL
9752013-12-11 Juri Linkov <juri@jurta.org>
976
977 * misearch.el (multi-isearch-buffers): Set the value of
978 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
979 arg of isearch-forward to t.
980 (multi-isearch-buffers-regexp): Set the value of
981 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
982 arg of isearch-forward-regexp to t.
983 (multi-isearch-files): Set the value of
984 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
985 arg of isearch-forward to t.
986 (multi-isearch-files-regexp): Set the value of
987 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
988 arg of isearch-forward-regexp to t. (Bug#16035)
989
990 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
991 arg of isearch-forward to t.
992 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
993 arg of isearch-forward-regexp to t.
994 (dired-isearch-filter-filenames): Remove unnecessary check for
995 `dired-isearch-filenames'.
996
997 * comint.el (comint-history-isearch-backward):
998 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
999 (comint-history-isearch-backward-regexp):
1000 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1001
ceac12b7
EZ
10022013-12-10 Eli Zaretskii <eliz@gnu.org>
1003
1004 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1005 unmsys--file-name. (Bug#16099)
1006
5a565782
TZ
10072013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1008
cb3a1380
SM
1009 * emacs-lisp/package.el (package-keyword-button-action):
1010 Remove finder.el require dependency.
5a565782 1011
a81fc7ba
TZ
10122013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1013
1014 * emacs-lisp/package.el: Require finder.el.
1015 (describe-package-1): Add keyword buttons.
1016 (package-make-button): New convenience function.
1017 (package-keyword-button-action): Keyword button action using
e0eb0550 1018 `finder-list-matches'.
a81fc7ba 1019
6aaca951
EZ
10202013-12-09 Eli Zaretskii <eliz@gnu.org>
1021
1022 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1023 last commit.
1024
a1099a91
MA
10252013-12-09 Michael Albinus <michael.albinus@gmx.de>
1026
1027 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1028 symlinked files.
1029
8212d9c0
DG
10302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1031
1032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1033 after the end of a percent literal.
1034
8f48d131
CD
10352013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1036
cb3a1380
SM
1037 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1038 Handle caret-delimited strings (Bug#16079).
8f48d131 1039
ff8c9764
DG
10402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1041
cb3a1380
SM
1042 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1043 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1044 `ruby-parse-partial' (Bug#16078).
1045
d64643b4
LL
10462013-12-09 Leo Liu <sdl.web@gmail.com>
1047
1048 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1049
47e59c66
DG
10502013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1051
1052 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1053 (js-switch-indent-offset): New option.
1054 (js--proper-indentation): Use it. And handle the case when
1055 "default" is actually a key in an object literal.
1056 (js--same-line): New function.
1057 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1058 (js--indent-in-array-comp, js--array-comp-indentation):
1059 New functions.
47e59c66
DG
1060 (js--proper-indentation): Use them, to handle array comprehension
1061 continuations.
1062
974ebc9c
LL
10632013-12-08 Leo Liu <sdl.web@gmail.com>
1064
1065 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1066 (flymake-make-overlay): Remove arg MOUSE-FACE.
1067 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1068
27262e39
SM
10692013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1072 New function.
1073 (redisplay-highlight-region-function): Use it.
1074
1075 * emulation/cua-base.el (cua--explicit-region-start)
1076 (cua--last-region-shifted): Remove.
1077 (cua--deactivate): Use deactivate-mark.
1078 (cua--pre-command-handler-1): Don't handle shift-selection.
1079 (cua--post-command-handler-1): Don't change transient-mark-mode.
1080 (cua--select-keymaps): Use region-active-p rather than
1081 cua--explicit-region-start or cua--last-region-shifted.
1082 (cua-mode): Enable shift-select-mode.
1083
6407822c
LL
10842013-12-08 Leo Liu <sdl.web@gmail.com>
1085
27262e39
SM
1086 * progmodes/flymake.el (flymake-popup-current-error-menu):
1087 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1088 (flymake-posn-at-point-as-event, flymake-popup-menu)
1089 (flymake-make-emacs-menu): Remove. (Bug#16077)
1090
00a2b823
SM
10912013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1092
02033d49
SM
1093 * rect.el (rectangle-mark-mode): Activate mark even if
1094 transient-mark-mode is off (bug#16066).
1095 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1096 is > mark and at bolp.
1097
6f8dfccf
SM
1098 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1099 (region-extract-function): Use it.
1100 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1101 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1102 Delete functions.
1103 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1104 kill-ring-save, kill-region, delete-char, delete-forward-char.
1105 Ignore self-insert-iso.
1106
1107 * emulation/cua-gmrk.el (cua--init-global-mark):
1108 Ignore `self-insert-iso'.
1109
1110 * emulation/cua-base.el (cua--prefix-copy-handler)
1111 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1112 checking cua--rectangle.
1113 (cua-delete-region): Use region-extract-function.
1114 (cua-replace-region): Delete function.
1115 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1116 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1117 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1118 (cua--init-keymaps): Don't remap delete-selection commands.
1119 (cua-mode): Use delete-selection-mode instead of rolling our own
1120 (bug#16085).
1121
1122 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1123 Obey region-extract-function.
1124
00a2b823
SM
1125 Make registers and delete-selection-mode work on rectangles.
1126 * register.el (describe-register-1): Don't modify the register's value.
1127 (copy-to-register): Obey region-extract-function.
1128 * delsel.el (delete-active-region): Obey region-extract-function.
1129
a92fa5f1
LL
11302013-12-08 Leo Liu <sdl.web@gmail.com>
1131
1132 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1133 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1134 (flymake-compilation-prevents-syntax-check)
1135 (flymake-start-syntax-check-on-newline)
1136 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1137 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1138 (flymake-xml-program, flymake-master-file-dirs)
1139 (flymake-master-file-count-limit)
1140 (flymake-allowed-file-name-masks): Relocate.
1141 (flymake-makehash, flymake-float-time)
1142 (flymake-replace-regexp-in-string, flymake-split-string)
1143 (flymake-get-temp-dir): Remove.
1144 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1145 (flymake-current-row, flymake-selected-frame)
1146 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1147 related functions. (Bug#16077)
1148
73c8ceea
BB
11492013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1150
1151 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1152
faec28d9
TH
11532013-12-07 Tassilo Horn <tsdh@gnu.org>
1154
1155 * help-fns.el (describe-function-1): Use new advice-* functions
1156 rather than old ad-* functions. Fix function type description and
1157 source links for advised functions and subrs.
1158
e330b646
LMI
11592013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1160
00a2b823 1161 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1162
4803595d
MA
11632013-12-06 Michael Albinus <michael.albinus@gmx.de>
1164
1165 * progmodes/compile.el (compilation-start):
1166 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1167
1168 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1169 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1170
fa834a93
DG
11712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1172
00a2b823
SM
1173 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1174 Touch up the last change.
fa834a93 1175
b2856a6f
LL
11762013-12-06 Leo Liu <sdl.web@gmail.com>
1177
1178 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1179 (inferior-octave-startup): Always use "octave> " for prompt.
1180 (octave-goto-function-definition)
1181 (octave-sync-function-file-names)
1182 (octave-find-definition-default-filename): Remove redundant backquotes.
1183
af67e79a
DG
11842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1185
1186 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1187 syntax for `?'.
1188 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1189 where appropriate already.
1190 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1191 end of method names (Bug#15874).
1192
bf093209
JL
11932013-12-06 Juri Linkov <juri@jurta.org>
1194
1195 * isearch.el (isearch--saved-overriding-local-map):
1196 New internal variable.
1197 (isearch-mode): Set it to the initial value of
1198 `overriding-terminal-local-map'.
1199 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1200 with `isearch--saved-overriding-local-map'. (Bug#16035)
1201
16588fad
DG
12022013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1203
00a2b823
SM
1204 * progmodes/octave.el (inferior-octave-completion-table):
1205 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1206 (Bug#11906). Update all references.
1207
1208 * minibuffer.el (completion-table-with-cache): New function.
1209
bf4906d7
CD
12102013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1211
1212 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1213
ff69c18f
TZ
12142013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1215
1216 * net/eww.el (eww-current-source): New variable to store page
1217 source.
1218 (eww-display-html, eww-mode, eww-save-history)
1219 (eww-restore-history): Use it.
1220 (eww-view-source): New command to view page source.
1221 Opportunistically uses `html-mode' to highlight the buffer.
1222 (eww-mode-map): Install it.
1223
b85eff45
MA
12242013-12-05 Michael Albinus <michael.albinus@gmx.de>
1225
1226 * net/dbus.el (dbus-unregister-service)
1227 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1228 Fix docstring.
1229 (dbus-unregister-service): Skip :serial entries in
1230 `dbus-registered-objects-table'.
1231 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1232
39eb0899
TZ
12332013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1234
1235 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1236 around keywords with extra `split-string' argument.
1237
456760a5
MR
12382013-12-04 Martin Rudalics <rudalics@gmx.at>
1239
1240 * windmove.el (windmove-other-window-loc): Handle navigation
1241 between windows (excluding the minibuffer window - Bug#16017).
1242
81961e4c
MA
12432013-12-04 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1246 in D-Bus type syntax.
1247 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1248 preserve unibyte strings. (Bug#16048)
1249
8497f938
SM
12502013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1253 Call force-mode-line-update is the proper buffer (bug#16042).
1254
dda61916
DG
12552013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1256
1257 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1258 `log-edit-remember-comment', make argument optional. Adjust all
1259 callers.
1260 (log-edit-mode): Add `log-edit-remember-comment' to
1261 `kill-buffer-hook' locally.
1262 (log-edit-kill-buffer): Don't remember comment explicitly since
1263 the buffer is killed anyway.
1264
c085e5b9
JL
12652013-12-04 Juri Linkov <juri@jurta.org>
1266
1267 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1268 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1269
e0eb0550 12702013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1271
1272 * notifications.el (notifications-close-notification): Call the
81961e4c 1273 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1274
39fa32d6
KY
12752013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1276
1277 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1278
9139632a
JL
12792013-12-03 Juri Linkov <juri@jurta.org>
1280
1281 * progmodes/compile.el (compilation-start): Rename window alist
1282 entry `no-display-ok' to `allow-no-window'.
1283
1284 * simple.el (shell-command): Add window alist entry
1285 `allow-no-window' to `display-buffer'.
1286 (async-shell-command): Doc fix.
1287
1288 * window.el (display-buffer-no-window): New action function.
1289 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1290
0f457a37
DG
12912013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * vc/log-edit.el (log-edit-set-header): Extract from
1294 `log-edit-toggle-header'.
1295 (log-edit-extract-headers): Separate the summary, when extracted
1296 from header, from the rest of the message with an empty line.
1297
1298 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1299 line, if present, to the Summary header.
1300
0962f376
SM
13012013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1304 in current-buffer (bug#16029).
1305
f345395c
HE
13062013-12-02 Helmut Eller <eller.helmut@gmail.com>
1307
1308 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1309 (debugger-mode-map): Bind it.
1310 (debugger--backtrace-base): New function.
1311 (debugger-eval-expression): Use it.
1312 (debugger-frame-number): Skip local vars when present.
1313 (debugger--locals-visible-p, debugger--insert-locals)
1314 (debugger--show-locals, debugger--hide-locals): New functions.
1315
a8a15d9d
MA
13162013-12-02 Michael Albinus <michael.albinus@gmx.de>
1317
1318 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1319 "LC_ALL".
1320 (tramp-get-remote-locale): New defun.
1321 (tramp-open-connection-setup-interactive-shell): Use it.
1322
0518b057
LL
13232013-12-02 Leo Liu <sdl.web@gmail.com>
1324
1325 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1326
1327 * progmodes/sh-script.el (sh-shell-process):
1328 * progmodes/octave.el (inferior-octave-process-live-p):
1329 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1330 (gdb-inferior-io-sentinel):
1331 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1332
3adc9c6d
DG
13332013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1334
1335 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1336 `save-selected-window' to `log-edit-hide-buf'. This makes
1337 `log-edit-show-files' idempotent.
1338 (log-edit-show-files): Mark the new window as dedicated.
1339
47e8b74e
DG
13402013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1341
1342 * vc/log-edit.el (log-edit-mode-map): Add binding for
1343 `log-edit-kill-biffer'.
1344 (log-edit-hide-buf): Add a FIXME comment.
1345 (log-edit-add-new-comment): New function, extracted from
1346 `log-edit-done'.
1347 (log-edit-done, log-edit-add-to-changelog): Use it.
1348 (log-edit-kill-buffer): New command.
1349
1f6e1bb0
LMI
13502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1351
1352 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1353 instead of killing the buffer.
1354
fb651d15
SM
13552013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1358
8feacce0
RS
13592013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1360
fb651d15 1361 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1362 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1363 (eww-form-checkbox, eww-toggle-checkbox):
1364 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1365
e0eb0550 1366 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1367 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1368 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1369 no :src tag was specified.
1370
fb651d15 1371 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1372 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1373 Use \\` to match beginning of string instead of ^.
1374 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1375 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1376
177948a5
RS
1377 * net/shr.el (shr-tag-video): Display content for video if no
1378 poster is available.
eb2dd24d 1379 (shr-tag-audio): Add support for <audio> tag.
177948a5 1380
e0eb0550 1381 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1382 (eww-process-text-input): Treat input types in
1383 `eww-text-input-types' as text.
1384
8feacce0
RS
1385 * net/shr.el (shr-tag-table): Fix comment typo.
1386
513562a1
LMI
13872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1388
1389 * net/eww.el (eww-follow-link): New command to avoid reloading
1390 pages when we follow #target links (bug#15243).
de8a5633 1391 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1392
9dd99753
KN
13932013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1394
1395 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1396 forms.
1397
3e9876de
LMI
13982013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1399
1400 * net/eww.el (eww-restore-history): Update the window title after
1401 moving in the history.
ab6dea82 1402 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1403
52789f7f
DG
14042013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1405
1406 * vc/log-edit.el (log-edit-mode-map): Add binding for
1407 `log-edit-beginning-of-line'.
1408 (log-edit-setup-add-author): New user option.
1409 (log-edit-beginning-of-line): New command.
1410 (log-edit): Move major mode call above the contents setup so that
1411 the local variable values are already applied.
1412 (log-edit): Only insert "Author: " when
1413 `log-edit-setup-add-author' is non-nil.
1414 (log-edit): When SETUP is non-nil, position point after ": "
1415 instead of point-min.
1416
2e6710c3
GM
14172013-12-01 Glenn Morris <rgm@gnu.org>
1418
1419 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1420
fadec31f
EZ
14212013-11-30 Eli Zaretskii <eliz@gnu.org>
1422
1423 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1424 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1425 visible. (Bug#16014)
1426
10634b40 14272013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1428
1429 Support resizing frames and windows pixelwise.
1430 * cus-start.el (frame-resize-pixelwise)
1431 (window-resize-pixelwise): New entries.
1432 * emacs-lisp/debug.el (debug): Use window-total-height instead
1433 of window-total-size.
1434 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1435 * help.el (describe-bindings-internal): Call help-buffer
1436 (temp-buffer-max-width): New option.
1437 (resize-temp-buffer-window, help-window-setup)
1438 (with-help-window): Rewrite.
1439 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1440 dragging dividers.
1441 * window.el (frame-char-size, window-min-pixel-height)
1442 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1443 (window-min-pixel-width, window-safe-min-pixel-size)
1444 (window-combination-p, window-safe-min-size)
1445 (window-resizable-p, window--size-to-pixel)
1446 (window--pixel-to-size, window--resize-apply-p): New functions.
1447 (window-safe-min-height): Fix doc-string.
1448 (window-size, window-min-size, window--min-size-1)
1449 (window-sizable, window-sizable-p, window--min-delta-1)
1450 (window-min-delta, window--max-delta-1, window-max-delta)
1451 (window--resizable, window--resizable-p, window-resizable)
1452 (window-full-height-p, window-full-width-p, window-at-side-p)
1453 (window--in-direction-2, window-in-direction)
1454 (window--resize-reset-1, window--resize-mini-window)
1455 (window-resize, window-resize-no-error)
1456 (window--resize-child-windows-normal)
1457 (window--resize-child-windows, window--resize-siblings)
1458 (window--resize-this-window, window--resize-root-window)
1459 (window--resize-root-window-vertically)
1460 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1461 (maximize-window, minimize-window, delete-window)
1462 (quit-restore-window, window-split-min-size, split-window)
1463 (balance-windows-2, balance-windows)
1464 (balance-windows-area-adjust, balance-windows-area)
1465 (window--state-get-1, window-state-get, window--state-put-1)
1466 (window--state-put-2, window-state-put)
fb651d15
SM
1467 (display-buffer-record-window, window--display-buffer):
1468 Make functions handle pixelwise sizing of windows.
880e6158 1469 (display-buffer--action-function-custom-type)
fb651d15
SM
1470 (display-buffer-fallback-action):
1471 Add display-buffer-in-previous-window.
880e6158
MR
1472 (display-buffer-use-some-window): Resize window to height it had
1473 before.
1474 (fit-window-to-buffer-horizontally): New option.
1475 (fit-frame-to-buffer): Describe new values.
1476 (fit-frame-to-buffer-bottom-margin): Replace with
1477 fit-frame-to-buffer-margins.
1478 (window--sanitize-margin): New function.
1479 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1480 using window-text-pixel-size.
1481
f9b697dd
GM
14822013-11-30 Glenn Morris <rgm@gnu.org>
1483
3e2fb4db
GM
1484 * emacs-lisp/bytecomp.el (byte-compile-form):
1485 Make the `interactive-only' warning like the `obsolete' one.
1486 * comint.el (comint-run):
1487 * files.el (insert-file-literally, insert-file):
1488 * replace.el (replace-string, replace-regexp):
1489 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1490 (goto-line, insert-buffer, next-line, previous-line):
1491 Tweak `interactive-only' spec.
1492
f9b697dd
GM
1493 Stop keeping (most) generated cedet grammar files in the repository.
1494 * Makefile.in (semantic): New.
1495 (compile-main): Depend on semantic.
1496
da048127
SM
14972013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1498
7784b779
SM
1499 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1500 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1501
4e36a6a6
SM
1502 * uniquify.el (uniquify-buffer-name-style): Change default.
1503
1504 * loadup.el: Preload "uniquify".
1505
e0ba1308
SM
1506 * time.el (display-time-update): Update all mode lines (bug#15999).
1507
da048127
SM
1508 * electric.el (electric-indent-mode): Enable by default.
1509 * loadup.el: Preload "electric".
1510
015b3b3e
BB
15112013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1512
1513 * emacs-lisp/helpers.el (string-empty-p): New function.
1514 (string-blank-p): New function.
1515
7efb806d
AP
15162013-11-29 Andreas Politz <politza@hochschule-trier.de>
1517
1518 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1519 (Bug#14029).
1520
c8f0efc2
AP
15212013-11-29 Andreas Politz <politza@fh-trier.de>
1522 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1523 allow non-lambda lists as functions.
1524 (imenu--in-alist): Don't recurse into non-subalists.
1525 (imenu): Don't pass function itself as an argument (Bug#14029).
1526
bd15d9d1
SM
15272013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * progmodes/python.el (python-mode-map): Remove binding for ":".
1530 (python-indent-electric-colon): Remove command.
1531 (python-indent-post-self-insert-function): Integrate the previous code
1532 of python-indent-electric-colon. Make it conditional on
1533 electric-indent-mode.
1534 (python-mode): Add ?: to electric-indent-chars.
1535 Move python-indent-post-self-insert-function to the end of
1536 post-self-insert-hook.
1537
1b10adb6
SM
15382013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1539
655ab9a3
SM
1540 * doc-view.el (doc-view-goto-page): Update mode-line.
1541
1b10adb6
SM
1542 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1543
7e3bf78c
GM
15442013-11-27 Glenn Morris <rgm@gnu.org>
1545
1546 * international/charprop.el, international/uni-bidi.el:
1547 * international/uni-category.el, international/uni-combining.el:
1548 * international/uni-comment.el, international/uni-decimal.el:
1549 * international/uni-decomposition.el, international/uni-digit.el:
1550 * international/uni-lowercase.el, international/uni-mirrored.el:
1551 * international/uni-name.el, international/uni-numeric.el:
1552 * international/uni-old-name.el, international/uni-titlecase.el:
1553 * international/uni-uppercase.el:
1554 Remove generated files from VCS repository.
1555
fb6a5d68
EZ
15562013-11-27 Eli Zaretskii <eliz@gnu.org>
1557
1558 * filenotify.el (file-notify-add-watch): Don't special-case
1559 w32notify when computing the directory to watch.
1560
cb6c95a3
GM
15612013-11-27 Glenn Morris <rgm@gnu.org>
1562
20372d0c
GM
1563 Make bootstrap without generated uni-*.el files possible again.
1564 * loadup.el: Update command-line-args checking for unidata-gen.
1565 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1566 * composite.el, international/characters.el:
1567 Handle unicode tables being undefined.
1568
52d6635f 1569 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1570 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1571 (compile-main): Depend on leim rule.
1572 (leim): New rule.
1573 * loadup.el: Move leim-list.el to leim/ subdirectory.
1574 * startup.el (normal-top-level): No more leim directory.
1575 * international/ja-dic-cnv.el (skkdic-convert):
1576 Disable version-control and autoloads in output files.
1577 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1578 Disable version-control and autoloads in output files.
1579 * leim/quail: Move here from ../leim.
1580 * leim/quail/hangul.el (hangul-input-method-activate):
1581 Add autoload cookie.
1582 (generated-autoload-load-name): Set file-local value.
1583 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1584 (generated-autoload-load-name): Set file-local value.
1585
0449d6cd 15862013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1587
e0eb0550
JB
1588 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1589 (eww-add-bookmark): Ask confirmation when add to bookmarks
1590 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1591
0e2c793f
EZ
15922013-11-26 Eli Zaretskii <eliz@gnu.org>
1593
1594 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1595 reading output from Diff on MS-Windows and MS-DOS.
1596
447bdcb8
BB
15972013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1598
1599 * emacs-lisp/helpers.el (string-reverse): New function.
1600
5fbf6856
MA
16012013-11-26 Michael Albinus <michael.albinus@gmx.de>
1602
1603 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1604 names on MS Windows, like "/[::1]:".
1605
1606 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1607 SWITCHES.
1608
624780f0
GM
16092013-11-26 Glenn Morris <rgm@gnu.org>
1610
0bf3f0fa
GM
1611 * progmodes/python.el (python-indent-guess-indent-offset):
1612 Avoid corner-case error. (Bug#15975)
1613
624780f0
GM
1614 Preload leim-list.el. (Bug#4789)
1615 * loadup.el: Load leim-list.el when found.
1616 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1617
4301875e 16182013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1619
1620 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1621
4301875e
BB
1622 * emacs-lisp/helpers.el (string-join): New function.
1623
1633a815 16242013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1625
1626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1627 Mark as obsolete and replace it with a symbol property.
1628 (byte-compile-form): Use new 'interactive-only property.
1629 * comint.el, files.el, replace.el, simple.el:
1630 Apply new 'interactive-only properly.
1631
00139435
MR
16322013-11-25 Martin Rudalics <rudalics@gmx.at>
1633
1634 * window.el (display-buffer-at-bottom): Make sure that
1635 split-window-sensibly creates the new window on bottom
1636 (Bug#15961).
1637
5f5b128d
DK
16382013-11-23 David Kastrup <dak@gnu.org>
1639
1640 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1641 on the conflict markers when available.
1642 (smerge--get-marker): New function.
1643 (smerge-end-re, smerge-base-re): Add subgroup.
1644
623891e5
SM
16452013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * frame.el (handle-focus-in, handle-focus-out): Add missing
1648 interactive spec.
1649
05ca27d8
MA
16502013-11-25 Michael Albinus <michael.albinus@gmx.de>
1651
1652 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1653 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1654
511fa0d3
SM
16552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1656
e82ad66c
SM
1657 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1658 (gomoku--last-pos): New var.
1659 (gomoku--intangible-chars): New const.
1660 (gomoku--intangible): New function.
1661 (gomoku-mode): Use it. Derive from special-mode.
1662 (gomoku-move-up): Adjust line count.
1663 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1664 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1665 Simplify accordingly.
1666
511fa0d3
SM
1667 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1668 Remove blink-cursor code.
1669 (blink-cursor-timer-function, blink-cursor-suspend):
1670 Don't special-case GUIs.
1671 (blink-cursor-mode): Use focus-in/out-hook.
1672
6f20dd03
DG
16732013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1674
1675 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1676 work when annotation is invisible (Bug#13886).
1677
431dec31 16782013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1679
1680 * json.el (json-alist-p): Only return non-nil if the alist has
1681 simple keys (Bug#13518).
1682
431dec31 16832013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1684
1685 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1686 when control-statement is the first statement in a buffer (Bug#15956).
1687
ee4f0261
DG
16882013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1689
1690 * imenu.el (imenu-generic-skip-comments-and-strings):
1691 New option (Bug#15560).
1692 (imenu--generic-function): Use it.
1693
c484f866
JS
16942013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1695
1696 * minibuffer.el (completion--in-region-1): Scroll the correct
1697 window. (Bug#13898)
1698
41ce6f70
BB
16992013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1700
b55aea38
BB
1701 * emacs-lisp/helpers.el: Add some string helpers.
1702 (string-trim-left): Removes leading whitespace.
1703 (string-trim-right): Removes trailing whitespace.
1704 (string-trim): Removes leading and trailing whitespace.
1705
41ce6f70
BB
1706 * subr.el (string-suffix-p): New function.
1707
3cfb6af3
GM
17082013-11-23 Glenn Morris <rgm@gnu.org>
1709
1710 * progmodes/python.el (python-shell-send-file):
1711 Add option to delete file when done. (Bug#15647)
1712 (python-shell-send-string, python-shell-send-region): Use it.
1713
c27924b7
IS
17142013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1715
e1b01c7f
IS
1716 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1717 to set buffer-read-only to t, never to nil. (Bug#15938)
1718
c27924b7
IS
1719 * textmodes/tex-mode.el (latex-noindent-environments):
1720 Add safe-local-variable property. (Bug#15936)
1721
17e0445b
GM
17222013-11-23 Glenn Morris <rgm@gnu.org>
1723
92f78ea3
GM
1724 * textmodes/enriched.el (enriched-mode): Doc fix.
1725 * emacs-lisp/authors.el (authors-renamed-files-alist):
1726 Add enriched.doc -> enriched.txt.
1727
17e0445b
GM
1728 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1729
965bb23a
LL
17302013-11-22 Leo Liu <sdl.web@gmail.com>
1731
1732 * progmodes/octave.el (inferior-octave-startup): Spit out error
1733 message.
1734
d19ffd64
BB
17352013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1736
1737 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1738 Improve docstring.
15ba2182
BB
1739 Add :version.
1740 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1741
7a7567d2
LL
17422013-11-22 Leo Liu <sdl.web@gmail.com>
1743
1744 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1745 (Bug#15076)
8c09f64b
LL
1746 (octave-help-mode): Adapt to change to help-mode-finish to use
1747 derived-mode-p on 2013-09-17.
1748 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1749 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1750
724bc265
LL
17512013-11-22 Leo Liu <sdl.web@gmail.com>
1752
1753 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1754 (inferior-octave-startup, inferior-octave-check-process)
1755 (inferior-octave-track-window-width-change)
1756 (octave-completion-at-point, octave-eldoc-function): Use it.
1757 (octave-kill-process): Provide confirmation. (Bug#10564)
1758
38637cca
LL
17592013-11-21 Leo Liu <sdl.web@gmail.com>
1760
511fa0d3
SM
1761 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1762 Fix obsolete variable comment-use-global-state.
38637cca 1763
06e752b4
RS
17642013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1765
511fa0d3
SM
1766 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1767 Add `octave-source-file'.
06e752b4
RS
1768 (octave-source-file): New function. (Bug#15935)
1769
0449d6cd 17702013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1771
1772 * net/eww.el (eww-local-regex): New variable.
1773 (eww): Use it to detect localhost and similar.
1774
b6ffa04a
LL
17752013-11-21 Leo Liu <sdl.web@gmail.com>
1776
1777 Add completion for command `ag'.
2021a200
LL
1778 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1779 (pcomplete/ag): New function.
1780 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1781
d1a6bccc
SM
17822013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1785 (bug#14646).
1786 (make-obsolete): Remove interactive spec.
1787
2df10228
GM
17882013-11-21 Glenn Morris <rgm@gnu.org>
1789
1790 * startup.el (command-line-1): Use path-separator with -L.
1791
86fd16b6
TZ
17922013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1793
1794 * emacs-lisp/package.el (describe-package-1): Add package archive
1795 to shown fields.
1796
0449d6cd 17972013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1798
1799 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1800 Change default to "# encoding: %s" to differentiate it from the
1801 default Ruby encoding comment template.
1802
dc7e8c17 18032013-11-20 era eriksson <era+emacsbugs@iki.fi>
1804
1805 * ses.el (ses-mode): Doc fix. (Bug#14748)
1806
f0cfa5fe
LL
18072013-11-20 Leo Liu <sdl.web@gmail.com>
1808
1809 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1810
826dc7b6
DN
18112013-11-19 Dan Nicolaescu <dann@gnu.org>
1812
1813 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1814 when rebase or bisect are in progress.
1815
a6e3a5d5
XF
18162013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1817
1818 * filenotify.el (file-notify-add-watch): Doc fix.
1819
f130cb76
LL
18202013-11-19 Leo Liu <sdl.web@gmail.com>
1821
e0855d7d
LL
1822 * obsolete/rcompile.el: Mark obsolete.
1823
f130cb76 1824 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1825 (compilation-goto-locus, compilation-find-file):
1826 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1827 (Bug#13594)
1828
1829 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1830 new parameter no-display-ok. Return either a window or nil
1831 but never a non-window value.
f130cb76 1832
1f35d401
SM
18332013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1834
25158c76
SM
1835 * electric.el (electric-indent-mode-map): Remove.
1836 (electric-indent-mode): Change the global-map instead (bug#15915).
1837
1838 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1839 Use add-function.
1f35d401 1840
9bc67baa
SM
18412013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1842
986545b5
SM
1843 * emacs-lisp/nadvice.el (remove-function): Align with
1844 add-function's behavior.
1845
9bc67baa
SM
1846 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1847 (gdb--string-regexp): New constant.
1848 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1849 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1850 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1851 submatch 1.
1852 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1853 Adjust use accordingly.
1854 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1855
56cd894e
AS
18562013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1857
1858 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1859 interpolation curlies (Bug#15914).
1860
014690de
JB
18612013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1862
1863 * calc/calc.el (calc-context-sensitive-enter): New variable.
1864 (calc-enter): Use `calc-context-sensitive-enter'.
1865
7e26a6c3
TZ
18662013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1867
1868 * progmodes/cfengine.el: Version bump.
1869 (cfengine-cf-promises): New defcustom to locate cf-promises.
1870 (cfengine3-vartypes): Add new "data" type.
1871 (cfengine3--current-word): New function to get current name-like
1872 word or its bounds.
1873 (cfengine3--current-function): New function to look up a CFEngine
1874 function's definition.
1875 (cfengine3-format-function-docstring): New function.
1876 (cfengine3-make-syntax-cache): New function.
1877 (cfengine3-documentation-function): New function: ElDoc glue.
1878 (cfengine3-completion-function): New function: completion glue.
1879 (cfengine3-mode): Set `compile-command',
1880 `eldoc-documentation-function', and add to
1881 `completion-at-point-functions'.
1882
355204dd
MA
18832013-11-16 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1886 `tramp-current-connection'.
1887
43cebc23
DG
18882013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1891 nil/self/true/false with "end of symbol".
1892
a3fed6ff
BB
18932013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1894
1895 * subr.el (version-regexp-alist): Fix a typo.
1896
e675b3e4
MA
18972013-11-15 Michael Albinus <michael.albinus@gmx.de>
1898
1899 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1900 "en_US.utf8" and "LC_CTYPE" to "".
1901 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1902 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1903
a1f03e89
LL
19042013-11-15 Leo Liu <sdl.web@gmail.com>
1905
1906 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1907
5d9d9451
SM
19082013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1909
58362662
CS
1910 * progmodes/gud.el (ctl-x-map):
1911 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1912 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1913
6c1bf086
BB
19142013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1915
0d5363c4
BB
1916 * subr.el (version-regexp-alist):
1917 Recognize hg, svn and darcs versions as snapshot versions.
1918
4e9fc48c
BB
1919 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1920 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1921 (ruby--encoding-comment-required-p): Extract from
1922 `ruby-mode-set-encoding'.
1923 (ruby-mode-set-encoding): Add the ability to always insert an
1924 utf-8 encoding comment. Fix and simplify coding comment update
1925 logic.
6c1bf086 1926
2f7e72f8
MA
19272013-11-14 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * net/tramp-gvfs.el (top): Run init code only when
1930 `tramp-gvfs-enabled' is not nil.
1931 (tramp-gvfs-enabled): Check also :system bus.
1932
0f137a73
SM
19332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 Sync with upstream verilog-mode revision 78e66ba.
1936 * progmodes/verilog-mode.el (verilog-end-of-defun)
1937 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1938 (verilog-get-end-of-defun): Remove unused argument.
1939 (verilog-comment-depth): Remove unused local `e'.
1940 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1941 Don't pass arg to verilog-get-end-of-defun.
1942
1c276bdd
GM
19432013-11-14 Glenn Morris <rgm@gnu.org>
1944
1945 * obsolete/assoc.el (aget): Prefix dynamic variable.
1946
1947 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1948
ff6ec81d
SM
19492013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * widget.el, hfy-cmap.el: Remove bogus package version number.
1952
75f777b6
GM
19532013-11-13 Glenn Morris <rgm@gnu.org>
1954
1d43dba1
GM
1955 * replace.el (replace-eval-replacement):
1956 Try to give more helpful error message. (Bug#15836)
1957
ff4b7bd5
GM
1958 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1959 (archive-7z-update): Avoid custom type mismatches.
1960
75f777b6
GM
1961 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1962
11151a06
MA
19632013-11-13 Michael Albinus <michael.albinus@gmx.de>
1964
e675b3e4 1965 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1966 address can be empty.
1967
1968 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1969 Accept nil SWITCHES.
1970 (tramp-gvfs-handle-write-region): Implement APPEND.
1971
7b08f97e
DG
19722013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1973
1974 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1975 binary "|" operator and closing block args delimiter.
1976 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1977 (ruby-smie--implicit-semi-p): Not after "|" operator.
1978 (ruby-smie--closing-pipe-p): New function.
1979 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1980 (ruby-smie-rules): Indent after "|".
1981
f201cf3a
GM
19822013-11-12 Glenn Morris <rgm@gnu.org>
1983
1984 * ps-print.el (ps-face-attribute-list):
1985 Handle anonymous faces. (Bug#15827)
1986
e6f759f9
MR
19872013-11-12 Martin Rudalics <rudalics@gmx.at>
1988
1989 * window.el (display-buffer-other-frame): Fix doc-string.
1990 (Bug#15868)
1991
ecda65d4
SM
19922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1995
7ce8fcc3
MA
19962013-11-11 Michael Albinus <michael.albinus@gmx.de>
1997
1998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1999 (tramp-sh-handle-file-local-copy): Don't write a message when
2000 saving temporary files.
2001
2002 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2003 both directories are remote.
2004 (tramp-smb-handle-directory-files): Do not return double entries.
2005 Do not expand full file names.
2006 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2007 (tramp-smb-handle-write-region): Implement APPEND.
2008 (tramp-smb-get-stat-capability): Fix a stupid bug.
2009
7818df11
SM
20102013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2013
608c2085
NT
20142013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2015
2016 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2017 throwing error over malformed let/let* (bug#15814).
2018
122a7e46
SM
20192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * iswitchb.el (iswitchb-mode): Mark obsolete.
2022
766284d9
GM
20232013-11-11 Glenn Morris <rgm@gnu.org>
2024
2025 * international/uni-bidi.el, international/uni-category.el:
2026 * international/uni-name.el, international/uni-numeric.el:
2027 Regenerate for Unicode 6.3.0.
2028
7072a4e9
MA
20292013-11-10 Michael Albinus <michael.albinus@gmx.de>
2030
2031 * net/tramp.el (tramp-methods):
2032 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2033 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2034
c9df215b
AS
20352013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2036
608c2085
NT
2037 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2038 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2039
fa47d796
DG
20402013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2041
2042 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2043 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2044 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2045 (ispell-complete-word): Call `ispell-lookup-words' with the value
2046 independent of `ispell-look-p'.
2047
1629a329
DG
20482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2049
2050 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2051 Not after "||".
2052 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2053 their parent.
2054
ad16897c
SM
20552013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2058 (ruby-font-lock-keywords): Use backquote.
2059
ffa2df72
DG
20602013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2061
2062 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2063 (ruby-smie--backward-token): Only consider full-string matches.
2064
5b97b4c0
JD
20652013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2066
2067 * faces.el (describe-face): Add distant-foreground.
2068
71731c03
BB
20692013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2070
4e9fc48c
BB
2071 * progmodes/ruby-mode.el: Improve encoding comment handling.
2072 (ruby-encoding-magic-comment-style): New option.
2073 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2074 (ruby--insert-coding-comment, ruby--detect-encoding):
2075 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2076 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2077 to control the style of the auto-inserted encoding comment.
71731c03 2078
da3b328d
DG
20792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2080
ad16897c
SM
2081 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2082 Use `smie-backward-sexp' with token argument.
da3b328d 2083
1606c2d3
MA
20842013-11-08 Michael Albinus <michael.albinus@gmx.de>
2085
2086 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2087 Remove instrumentation code.
2088
b0f4c320
GM
20892013-11-08 Glenn Morris <rgm@gnu.org>
2090
2091 * progmodes/autoconf.el (autoconf-mode):
2092 Tweak comment-start-skip. (Bug#15822)
2093
43668fb1
SM
20942013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2097 at bobp (bug#15826).
2098 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2099
daddb3fd
DH
21002013-11-08 Darren Hoo <darren.hoo@gmail.com>
2101
2102 * man.el (Man-start-calling): New macro, extracted from
2103 Man-getpage-in-background.
2104 (Man-getpage-in-background): Use it.
2105 (Man-update-manpage): New command.
2106 (Man-mode-map): Bind it.
2107
1f923923
DG
21082013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2109
2110 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2111 of "and", "or", "&&" and "||".
2112 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2113 argument. Prohibit opening curly brace because it could only be a
2114 block opener in that position.
daddb3fd
DH
2115 (ruby-smie--forward-token, ruby-smie--backward-token):
2116 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2117 arguments.
2118 (ruby-smie--indent-to-stmt): New function, seeks the end of
2119 previous statement or beginning of buffer.
2120 (ruby-smie-rules): Use it.
2121 (ruby-smie-rules): Check if there's a ":" before a curly block
2122 opener candidate; if there is, it's a hash.
2123
3220d527
SM
21242013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2127 (cl--block-wrapper): Fix last accidental change.
2128
1eb1f9e0
MA
21292013-11-07 Michael Albinus <michael.albinus@gmx.de>
2130
2131 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2132 Instrument, in order to hunt failure on hydra.
2133
e6e4db3c
NT
21342013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2135
2136 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2137 malformed bindings form (bug#15814).
2138
b420ccfc
DG
21392013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2140
2141 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2142 "." compared to " @ ". This incidentally fixes some indentation
2143 examples with "do".
e6e4db3c 2144 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2145 (ruby-smie-grammar): New tokens: "and" and "or".
2146 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2147 Exclude "and" and "or". Remove "do" in order to work around token
2148 priorities.
2149 (ruby-smie-rules): Add all infix tokens. Handle the case of
2150 beginning-of-buffer.
b420ccfc 2151
6b4ac03e
GM
21522013-11-06 Glenn Morris <rgm@gnu.org>
2153
2154 * Makefile.in (setwins_almost, setwins_for_subdirs):
2155 Avoid accidental matches.
2156
5ca114d1
SM
21572013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * menu-bar.el (popup-menu): Use key-binding.
2160
f72552bd
EZ
21612013-11-06 Eli Zaretskii <eliz@gnu.org>
2162
2163 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2164 menus, support also the menus produced by minor modes.
2165 (Bug#15817)
2166
5d5c701e
LL
21672013-11-06 Leo Liu <sdl.web@gmail.com>
2168
2169 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2170 DISTANCE to bound the search. All uses changed. (Bug#15808)
2171
0a8b75e2
GM
21722013-11-06 Glenn Morris <rgm@gnu.org>
2173
2174 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2175 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2176 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2177
a35287ea
SM
21782013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2179
feca4e2d
SM
2180 * electric.el (electric-indent-just-newline): New command.
2181 (electric-indent-mode-map): New keymap.
2182 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2183 Re-add :group which weren't redundant.
2184
a35287ea
SM
2185 * electric.el (electric-indent-local-mode): New minor mode.
2186 (electric-indent-functions-without-reindent): New var.
2187 (electric-indent-post-self-insert-function): Use it.
2188 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2189
375761b2
EZ
21902013-11-05 Eli Zaretskii <eliz@gnu.org>
2191
9a6ad735
EZ
2192 * international/quail.el (quail-help): Be more explicit about the
2193 meaning of the labels shown on the keys. (Bug#15800)
2194
375761b2
EZ
2195 * startup.el (normal-top-level): Load the subdirs.el files before
2196 setting the locale environment. (Bug#15805)
2197
520a6e4a
SM
21982013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2199
0acfafef
SM
2200 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2201 via arguments so as to get the right ones (bug#15418).
2202
520a6e4a
SM
2203 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2204
15826261
MA
22052013-11-05 Michael Albinus <michael.albinus@gmx.de>
2206
2207 Fix problems found while writing a test suite.
2208
2209 * net/tramp-compat.el (tramp-compat-load): New defun.
2210 * net/tramp.el (tramp-handle-load): Use it.
2211
2212 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2213 "(numberp ok-if-already-exists)" correctly.
2214
d35f31a4
XF
22152013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2216
2217 * international/characters.el (glyphless-char-display-control):
2218 Add usage note.
2219
ae93bc74
BB
22202013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2221
520a6e4a
SM
2222 * progmodes/python.el (python-mode):
2223 * progmodes/scheme.el (scheme-mode):
2224 * progmodes/prolog.el (prolog-mode):
2225 * progmodes/ruby-mode.el (ruby-mode):
2226 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2227 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2228
0ade65b5
SM
22292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2230
a0d5f7a4
SM
2231 * rect.el (rectangle--highlight-for-redisplay):
2232 * emacs-lisp/smie.el (smie--next-indent-change):
2233 Use buffer-chars-modified-tick.
2234
c93f3f5c
SM
2235 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2236
0ade65b5
SM
2237 * electric.el (electric-indent-post-self-insert-function):
2238 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2239
ef9dd188
HE
22402013-11-04 Helmut Eller <eller.helmut@gmail.com>
2241
2242 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2243
306e7308
NT
22442013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2245
2246 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2247 (bug#15786).
2248
e5afbcac
SM
22492013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2250
1d01ad41
SM
2251 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2252
e5afbcac
SM
2253 * progmodes/python.el: Fix up last change.
2254 (python-shell--save-temp-file): New function.
2255 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2256 `string' comes from the current buffer.
2257 (python-shell-send-string-no-output): Remove `msg' arg.
2258 (python--use-fake-loc): New var.
2259 (python-shell-buffer-substring): Obey it. Try to compensate for the
2260 extra coding line added by python-shell--save-temp-file.
2261 (python-shell-send-region): Use python-shell--save-temp-file and
2262 python-shell-send-file directly. Add `nomain' argument.
2263 (python-shell-send-buffer): Use python-shell-send-region.
2264 (python-electric-pair-string-delimiter): New function.
2265 (python-mode): Use it.
2266
d0065ff1
EZ
22672013-11-04 Eli Zaretskii <eliz@gnu.org>
2268
2269 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2270 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2271 environment and decoding all of the default-directory's to here
2272 from command-line.
2273 (command-line): Decode also argv[0].
2274
2275 * loadup.el: Error out if default-directory is a multibyte string
2276 when we are dumping.
2277
2278 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2279
7397c587
TZ
22802013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2281
2282 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2283 (package-menu--print-info, package-menu--archive-predicate):
2284 Add Archive column to package list.
7397c587 2285
b27cc9fc
MA
22862013-11-04 Michael Albinus <michael.albinus@gmx.de>
2287
2288 Fix problems found while writing a test suite.
2289
2290 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2291 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2292 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2293 to nil when running original file name handler. Otherwise,
2294 there are problems with constructs like "$$FOO".
2295
2296 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2297 for `localname'.
2298
d8c4f18a
BB
22992013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2300
7b530552
BB
2301 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2302
2303 * subr.el (version<, version<=, version=):
2304 Update docstrings with information for snapshot versions.
2305
d8c4f18a
BB
2306 * helpers.el: New library for misc helper functions.
2307 (hash-table-keys): New function returning a list of hash keys.
2308 (hash-table-values): New function returning a list of hash values.
2309
dca01b09
DG
23102013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2311
2312 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2313 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2314
0a749fa0
MN
23152013-11-04 Michal Nazarewicz <mina86@mina86.com>
2316
2317 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2318 checking whether point is after a 1-letter word.
2319
23202013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2321
2322 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2323 Don't infloop when expanding region over `multiline' syntax-type that
2324 begins a line (bug#15778).
2325
4aca7145
SM
23262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2329 Make it into a proper minor mode.
2330 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2331 (rectangle-mark-mode-map): New keymap.
2332 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2333
a0833f62
GM
23342013-11-04 Glenn Morris <rgm@gnu.org>
2335
2336 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2337
e61845c1
SM
23382013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2341 (ruby-smie-rules): Use smie-rule-parent instead.
2342
2343 * emacs-lisp/smie.el (smie-rule-parent): Always call
2344 smie-indent-virtual rather than only for hanging tokens.
2345 (smie--next-indent-change): New helper command.
2346
62942f89
GM
23472013-11-03 Glenn Morris <rgm@gnu.org>
2348
2349 * Makefile.in (abs_srcdir): Remove.
2350 (emacs): Unset EMACSLOADPATH.
2351
b0b9e592
GM
23522013-11-02 Glenn Morris <rgm@gnu.org>
2353
18ba6a33 2354 * Makefile.in (EMACS): Use a relative filename.
8061810d 2355 (abs_top_builddir): Remove.
18ba6a33
GM
2356 (custom-deps, finder-data, autoloads): Use --chdir.
2357
6a8b929e
GM
2358 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2359
c617f3d0
GM
2360 Use relative filenames in TAGS files.
2361 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2362 (lisptagsfiles4, TAGS): Use relative file names.
2363 (TAGS-LISP): Remove.
2364 (maintainer-clean): No more TAGS-LISP file.
2365
b0b9e592
GM
2366 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2367 (lisptagsfiles4): Use absolute filenames again.
2368 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2369 Remove all *loaddefs files, not just the first. Remove esh-groups.
2370 (maintainer-clean): Delete TAGS, TAGS-LISP.
2371
d1c0ea6a
BB
23722013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2373
e61845c1
SM
2374 * emacs-lisp/package.el (package-version-join):
2375 Recognize snapshot versions.
d1c0ea6a 2376
684d71c6
BB
23772013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2378
2379 * subr.el (version-regexp-alist): Add support for snapshot versions.
2380
3d42b968
DG
23812013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2382
e61845c1
SM
2383 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2384 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2385 skip over our direct parent if it's an assignment token..
2386 (ruby-smie-rules): Use it.
2387
7ffd3721
DG
23882013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2389
2390 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2391 unconditionally. Remove now unnecessary forward declarations.
2392 Remove XEmacs-specific setup.
2393 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2394 (ruby-font-lock-syntactic-keywords)
2395 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2396 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2397 (ruby-here-doc-end-syntax): Remove.
2398 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2399 defined as function.
2400
a3996a2e
BB
24012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2402
2403 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2404
6f9260e8
BB
24052013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2406
2407 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2408 table and abbrev table, `define-derived-mode' does that for us
2409 anyway.
2410
6014de84
GM
24112013-11-01 Glenn Morris <rgm@gnu.org>
2412
2413 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2414 files is atomic for some time, so no parallel compilation issues).
2415
3c334c14
JD
24162013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2417
2418 * faces.el (face-x-resources): Add :distant-foreground.
2419 (region): Use :distant-foreground for gtk and ns.
2420
9bc236c8
TH
24212013-11-01 Tassilo Horn <tsdh@gnu.org>
2422
5246583b 2423 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2424 BibTeX.
2425 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2426 (reftex-locate-bibliography-files): Us it.
2427
d14c81ee
CB
24282013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2429
0e7690de
CB
2430 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2431 allow comments in pbm files.
2432
d14c81ee
CB
2433 * term/w32-win.el (dynamic-library-alist): Support newer versions
2434 of libjpeg starting with v7: look only for the DLL from the
2435 version against which Emacs was built.
ac1bf374 2436 Support versions of libpng beyond 1.4.x.
019c8218 2437 Support libtiff v4.x.
d14c81ee 2438
983d0df5
BB
24392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2440
2441 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2442 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2443 Add property :safe.
2444 (ruby-deep-arglist): Add property :type.
2445
47f58d85
GM
24462013-10-31 Glenn Morris <rgm@gnu.org>
2447
2448 * Makefile.in (custom-deps, finder-data): No need to setq the target
2449 variables, we are in the right directory and the defaults work fine.
2450
4f85b479
GM
24512013-10-30 Glenn Morris <rgm@gnu.org>
2452
ca7dd4cd
GM
2453 * Makefile.in (autoloads): Do not use abs_lisp.
2454
4f85b479
GM
2455 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2456 `newline' does not respect `standard-output', so use `princ'.
2457
cf59e41c
AA
24582013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2459
2460 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2461 * buff-menu.el (Buffer-menu--unmark): New function.
2462 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2463
74cf04fb
GM
24642013-10-30 Glenn Morris <rgm@gnu.org>
2465
b040b60e
GM
2466 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2467
f53d3815
GM
2468 * emacs-lisp/package.el (lm-homepage): Declare.
2469
5413d873
GM
2470 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2471 Fix doc typos.
2472
cecedb36
GM
2473 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2474
74cf04fb
GM
2475 * Makefile.in (finder-data, autoloads, update-subdirs)
2476 (compile-main, compile-clean, compile-always, bootstrap-clean):
2477 Check return value of cd.
2478 (compile-calc): Remove.
2479
195ee2f0
SM
24802013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2481
ae4002ce
SM
2482 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2483
2484 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2485 (byte-compile-and-folded): New function.
2486 (=, <, >, <=, >=): Use it.
2487
2488 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2489 (path-separator, null-device, buffer-file-coding-system)
2490 (lpr-headers-switches): Check system-type before modifying them.
2491 (find-buffer-file-type-coding-system): Mark obsolete.
2492 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2493 find-file-not-found-set-buffer-file-coding-system.
2494 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2495 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2496 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2497 (w32-direct-print-region-helper, w32-direct-print-region-function)
2498 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2499 * startup.el (normal-top-level-add-subdirs-to-load-path):
2500 * ps-print.el (ps-print-region-function):
2501 * lpr.el (print-region-function): Use new name.
2502
53b39e89
SM
2503 * subr.el (custom-declare-variable-early): Remove function.
2504 (custom-declare-variable-list): Remove var.
2505 (error, user-error): Remove `while' loop.
2506 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2507 (user-emacs-directory-warning, locate-user-emacs-file):
2508 Move to files.el.
2509 * simple.el (read-quoted-char-radix, read-quoted-char):
2510 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2511 Move from subr.el.
2512 * custom.el (custom-declare-variable-list): Don't process
2513 custom-declare-variable-list.
2514
195ee2f0
SM
2515 * progmodes/python.el (python-shell-get-buffer): New function.
2516 (python-shell-get-process): Use it.
2517 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2518 Python which encoding was used. Don't split-string since we only care
2519 about the first line. Return the temp-file, if applicable.
2520 (python-shell-send-region): Tell compile.el how to turn locations in
2521 the temp-file into locations in the source buffer.
2522
7e3561ee
SM
25232013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2524
4c9797cb
SM
2525 * subr.el (undefined): Add missing behavior from the C code for
2526 unbound keys.
2527
3472b6c6
SM
2528 * rect.el: Use lexical-binding. Add new rectangular region support.
2529 (rectangle-mark): New command.
2530 (rectangle--region): New var.
2531 (deactivate-mark-hook): Reset rectangle--region.
2532 (rectangle--extract-region, rectangle--insert-for-yank)
2533 (rectangle--highlight-for-redisplay)
2534 (rectangle--unhighlight-for-redisplay): New functions.
2535 (region-extract-function, redisplay-unhighlight-region-function)
2536 (redisplay-highlight-region-function): Use them to handle
2537 rectangular region.
2538 * simple.el (region-extract-function): New var.
2539 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2540 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2541 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2542 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2543 (redisplay-unhighlight-region-function)
2544 (redisplay-highlight-region-function): New vars.
2545 (redisplay--update-region-highlight): New function.
2546 (pre-redisplay-function): Use it.
2547 (exchange-point-and-mark): Don't deactivate the mark before
2548 reactivate-it anyway.
2549 * comint.el (comint-kill-region): Remove yank-handler argument.
2550 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2551 (delete-char): Remove property, since it's now part of their
2552 default behavior.
2553 (self-insert-iso): Remove property since this command doesn't exist.
2554
7e3561ee
SM
2555 * emacs-lisp/package.el (package--download-one-archive)
2556 (describe-package-1): Don't query the user about final newline.
2557
b9bef71f
DC
25582013-10-29 Daniel Colascione <dancol@dancol.org>
2559
2560 * net/tramp.el (tramp-methods): Document new functionality.
2561 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2562 tramp-hostname-checker if method provides one instead of scanning
2563 argument list for "%h" to decide hostname acceptability.
2564
4efc33f0
MA
25652013-10-28 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2568 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2569 Handle COPY-CONTENTS. (Bug#15737)
2570
ed42a877
DU
25712013-10-28 Daiki Ueno <ueno@gnu.org>
2572
2573 * epa-file.el
7e3561ee
SM
2574 (epa-file-cache-passphrase-for-symmetric-encryption):
2575 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2576
18c9f8a2
XF
25772013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2578
7a4bc7be
XF
2579 * image.el (defimage):
2580 (image-load-path): Doc fixes.
18c9f8a2 2581
b1e8e010
AM
25822013-10-27 Alan Mackenzie <acm@muc.de>
2583
2584 Indent statements in macros following "##" correctly.
7e3561ee
SM
2585 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2586 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2587
73d40d1e 25882013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2589
2590 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2591
c8c605ac
DG
25922013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2593
2594 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2595 after `=' is probably a new expression.
2596
ca7e59d4
RS
25972013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2598
2599 * man.el (man-imenu-title): New option.
2600 (Man-mode-map): Add menu. (Bug#15722)
2601 (Man-mode): Add imenu to menu.
2602
bae91342
DG
26032013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2604
2605 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2606 specific in what the first arg can be: a non-keyword word,
2607 string/regexp/percent literal opener, opening paren, or unary
2608 operator followed directly by word.
2609
eb89dc14
SM
26102013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2613 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2614 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2615 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2616 Remove vars, they do not apply any more.
2617 (prolog-mode-abbrev-table): Remove redundant declaration.
2618 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2619 (prolog-use-smie): Remove.
2620 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2621 supported by prolog-electric-if-then-else-flag.
2622 (prolog-mode-variables, prolog-menu): Use setq-local.
2623 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2624 Remove binding to `Backspace' since this key doesn't exist anyway.
2625 Remove bindings for electric self-inserting keys.
2626 (prog-mode): Assume it's defined.
2627 (prolog-post-self-insert): New function.
2628 (prolog-mode): Use it.
2629 (prolog-indent-line, prolog-indent-level)
2630 (prolog-find-indent-of-matching-paren)
2631 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2632 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2633 (prolog-goto-next-paren, prolog-in-string-or-comment)
2634 (prolog-tokenize, prolog-inside-mline-comment)
2635 (prolog-find-start-of-mline-comment): Remove functions.
2636 (prolog-find-unmatched-paren, prolog-clause-end)
2637 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2638 (prolog-electric--if-then-else): Rename from
2639 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2640 (prolog-tokenize-searchkey): Remove const.
2641 (prolog-clause-info): Use forward-sexp.
2642 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2643 (prolog-electric-if-then-else): Remove commands.
2644 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2645 for use in post-self-insert-hook.
2646 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2647 for use in post-self-insert-hook.
2648 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2649 for use in post-self-insert-hook.
2650 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2651 adapt it for use in post-self-insert-hook.
2652
3dab0a83
MA
26532013-10-25 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * emacs-lisp/ert.el (ert-run-tests-interactively):
2656 Use `completing-read'. (Bug#9756)
2657
fbfd0e1d
EZ
26582013-10-25 Eli Zaretskii <eliz@gnu.org>
2659
2660 * simple.el (line-move): Call line-move-1 instead of
2661 line-move-visual when the current window hscroll is zero, but
2662 temporary-goal-column indicates we will need to hscroll as result
2663 of the movement. (Bug#15712)
2664
963ce636
DG
26652013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2666
2667 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2668 capitalization. Use :visible instead of :active.
2669 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2670 commands that are used with SMIE.
2671 (ruby-do-end-to-brace): Insert space after `{'.
2672
a0be396a
JA
26732013-10-25 John Anthony <john@jo.hnanthony.com>
2674
f73754c9
JA
2675 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2676
2677 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2678
f5bf77df
GM
26792013-10-25 Glenn Morris <rgm@gnu.org>
2680
2681 * vc/vc.el (vc-print-log): Don't use a working revision unless
2682 one was explicitly specified. (Bug#15322)
2683
37241f62
SM
26842013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * subr.el (add-to-list): Preserve return value in compiler-macro
2687 (bug#15692).
2688
6408a65d
RS
26892013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2690
2691 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2692 result. Ask user to retry using '-all' flag. (Bug#15701)
2693
71e3276b
SM
26942013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * emacs-lisp/smie.el: New smie-config system.
2697 (smie-config): New defcustom.
2698 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2699 (smie-config-guess, smie-config-save): New commands.
2700 (smie-config--mode-local, smie-config--buffer-local)
2701 (smie-config--trace, smie-config--modefuns): New vars.
2702 (smie-config--advice, smie-config--mode-hook)
2703 (smie-config--setter, smie-config-local, smie-config--get-trace)
2704 (smie-config--guess-value, smie-config--guess): New functions.
2705 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2706 text properties. Treat "string fence" syntax like string syntax.
2707
2708 * progmodes/sh-script.el (sh-use-smie): Change default.
2709 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2710 (sh-var-value): Simplify by CSE.
2711 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2712 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2713 is used.
2714 (sh-guess-basic-offset): Use cl-incf.
2715 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2716
60db713e
HE
27172013-10-24 Helmut Eller <eller.helmut@gmail.com>
2718
2719 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2720 (bug#15699).
2721
8b251df6
GM
27222013-10-24 Glenn Morris <rgm@gnu.org>
2723
2724 * Makefile.in (abs_top_srcdir): Remove.
2725 (update-subdirs): Use relative path to update-subdirs.
2726
6be0e22b
EZ
27272013-10-24 Eli Zaretskii <eliz@gnu.org>
2728
2729 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2730 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2731 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2732 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2733
50b5b857
MA
27342013-10-24 Michael Albinus <michael.albinus@gmx.de>
2735
2736 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2737 (ert-test-skipped): New error.
2738 (ert-skip, ert-stats-skipped): New defuns.
2739 (ert--skip-unless): New macro.
2740 (ert-test-skipped): New struct.
2741 (ert--run-test-debugger, ert-test-result-type-p)
2742 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2743 (ert--stats-set-test-and-result, ert-char-for-test-result)
2744 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2745 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2746 Handle skipped tests. (Bug#9803)
50b5b857 2747
6f317c2f
GM
27482013-10-24 Glenn Morris <rgm@gnu.org>
2749
e43817c1
GM
2750 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2751
6f317c2f
GM
2752 * Makefile.in (abs_top_srcdir): New, set by configure.
2753 (update-subdirs): Correct build-aux location.
2754
369bbf71
DG
27552013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2756
8297b2cf
DG
2757 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2758 value, whether we could auto-deduce `backend', or not.
2759
369bbf71
DG
2760 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2761 with parameters" example. Simplify the "is it block or is it
2762 hash" check, but also make it more thorough.
2763
d5f1282f
MF
27642013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2765
2766 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2767
bc4aaa31
SM
27682013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2769
03d44565
SM
2770 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2771 { if it is hanging.
2772
bc4aaa31
SM
2773 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2774 :before ";".
2775
f493ff19
JB
27762013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2777
2778 * progmodes/compile.el (compilation-directory-matcher)
2779 (compilation-page-delimiter):
2780 Support GNU Make-4.0 directory quoting. (Bug#15678)
2781
c744a3b9
LL
27822013-10-23 Leo Liu <sdl.web@gmail.com>
2783
2784 * ido.el (ido-tidy): Handle read-only text.
2785
b8e3b0a9
GM
27862013-10-23 Glenn Morris <rgm@gnu.org>
2787
2788 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2789 (emacs, compile, compile-always):
2790 Quote entities that might contain whitespace.
2791 (custom-deps, finder-data, autoloads): Use abs_lisp.
2792 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2793 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2794 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2795
ee4282cd
DG
27962013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2797
bc4aaa31
SM
2798 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2799 Use `following-char'.
7790a270 2800
ee4282cd 28012013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2802
2803 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2804 * progmodes/ruby-mode.el (ruby-smie-rules):
2805 Remove corresponding workaround. Fix indentation rule of ";" so it
2806 also applies when ";" is the parent.
2807
d40a46d7
XF
28082013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2809
2810 * frame.el (display-screens, display-pixel-height)
2811 (display-pixel-width, display-mm-width, display-backing-store)
2812 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2813 (display-visual-class, display-monitor-attributes-list):
2814 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2815
a0f143c9
MG
28162013-10-22 Michael Gauland <mikelygee@amuri.net>
2817
2818 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2819 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2820
18cacc39
DG
28212013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2822
2823 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2824 TODO. Add "." after " @ ".
2825 (ruby-smie--at-dot-call): New function. Checks if point at method
2826 call with explicit target.
2827 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2828 to the method name tokens when it precedes them.
2829 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2830 (ruby-smie-rules): Add rule for indentation before and after "."
2831 token.
2832
df74c4be
SM
28332013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2834
c6dab55f
SM
2835 * textmodes/remember.el (remember-diary-extract-entries):
2836 Avoid add-to-list.
2837
df74c4be
SM
2838 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2839 an instruction.
2840
8c1ae481
DG
28412013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2842
cfef16c0
DG
2843 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2844 (ruby-smie--implicit-semi-p): Add new operator chars.
2845
8c1ae481
DG
2846 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2847 `smie-down-list'.
2848 (ruby-smie--args-separator-p): Check that there's no newline
2849 between method call and its arguments.
2850
87756ca9
AM
28512013-10-20 Alan Mackenzie <acm@muc.de>
2852
2853 Allow comma separated lists after Java "implements".
2854
df74c4be
SM
2855 * progmodes/cc-engine.el (c-backward-over-enum-header):
2856 Parse commas.
87756ca9
AM
2857 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2858 from a "disallowed" list in enum fontification.
2859
c25f8957
JB
28602013-10-20 Johan Bockgård <bojohan@gnu.org>
2861
df74c4be 2862 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2863
c25f8957
JB
2864 * progmodes/verilog-mode.el (verilog-mode): Don't set
2865 comment-indent-function globally.
2866
aca5fcdc
JD
28672013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2868
5f161884
JD
2869 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2870 Move Info menu item creation to ns-win.el.
2871
2872 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2873 in menu bar.
2874
aca5fcdc
JD
2875 * menu-bar.el: Move GNUStep specific menus...
2876
2877 * term/ns-win.el (ns-initialize-window-system): ... to here.
2878
914b7f98
SM
28792013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * simple.el (newline): Only run post-self-insert-hook when
2882 called interactively.
2883
846ffe77
JB
28842013-10-19 Johan Bockgård <bojohan@gnu.org>
2885
2886 * icomplete.el (icomplete-with-completion-tables): Add :version.
2887
033f22dd
AM
28882013-10-19 Alan Mackenzie <acm@muc.de>
2889
2890 Fix fontification bugs with constructors and const.
2891
2892 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2893 CASE 2) Remove the check for the absence of a suffix construct
2894 after a function declaration with only types (no identifiers) in
2895 the parentheses. Also, accept a function declaration with just a
2896 type inside the parentheses, if this type can be positively
2897 recognised as such, or if a prefix keyword like "explicit" nails
2898 down the construct as a declaration.
2899
58ce0cfc
EZ
29002013-10-19 Eli Zaretskii <eliz@gnu.org>
2901
2902 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2903 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2904 the problem whereby selecting a menu item that leads to a
2905 minibuffer prompt moves the cursor out of the minibuffer window,
2906 making it hard to type at the prompt. Suggested by Stefan Monnier
2907 <monnier@iro.umontreal.ca>.
2908
50e28e7d
JD
29092013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2910
2911 * menu-bar.el: Don't make Services menu.
2912
7deed4bf
RS
29132013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2914
2915 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2916 (ffap-alist): Use ffap-c++-mode for c++-mode.
2917 (ffap-c++-path): New variable.
2918 (ffap-c++-mode): New function.
2919
7bcb455b
JVJ
29202013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2921
2922 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2923
f0ff1cd5
MA
29242013-10-18 Michael Albinus <michael.albinus@gmx.de>
2925
2926 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2927 introduced on 2013-09-08, which results in an infinite loop
2928 requesting a password.
2929
d64da4b7
GM
29302013-10-18 Glenn Morris <rgm@gnu.org>
2931
2932 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2933
ea89ff08
WS
29342013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2935
2936 Sync with upstream verilog-mode revision 1a6ecec7.
2937 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2938 (verilog-mode-release-date): Remove.
2939 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2940 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2941 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2942 (verilog-auto-tieoff-ignore-regexp)
2943 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2944 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2945 (verilog-signals-with, verilog-dir-cache-preserving)
2946 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2947 Doc fixes.
2948 (verilog-case-fold): New option, to control case folding in
2949 regexp searches, bug597.
2950 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2951 (verilog-string-match-fold, verilog-in-paren-count)
2952 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2953 (verilog-at-close-struct-p): New functions.
2954 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2955 (verilog-forward-sexp, verilog-set-auto-endcomments):
2956 (verilog-leap-to-case-head): Handle "unique0" case.
2957 (verilog-in-constraint-re): New constant.
2958 (verilog-keywords, verilog-type-font-keywords):
2959 Add some SystemVerilog 1800-2012 keywords.
2960 (verilog-label-be): Remove unimplemented argument, bug669.
2961 (verilog-batch-execute-func): When batch expanding clear
2962 create-lockfiles to prevent spurious user locks when a file ends
2963 up not changing.
2964 (verilog-calculate-indent, verilog-calc-1)
2965 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2966 (verilog-do-indent): Fix indentation of nested constraints
2967 and structures.
2968 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2969 (verilog-auto-inst-param): Use verilog-string-match-fold.
2970 (verilog-read-inst-module-matcher):
2971 Fix AUTOINST on gate primitives with #1.
2972 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2973 Reads all user-defined typed variables.
2974 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2975 (verilog-signals-matching-regexp)
2976 (verilog-signals-not-matching-regexp, verilog-auto):
2977 Respect verilog-case-fold.
2978 (verilog-diff-report): Fix line count.
2979 (verilog-auto-assign-modport): Remove unused local `modi'.
2980 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2981 better handle multidimensional arrays.
2982 Fix packed array ports misadding bit index in AUTOINST, bug637.
2983 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2984 to not double-declare existing outputs and inputs, respectively.
2985 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2986 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2987 (verilog-sk-uvm-component): New skeleton.
2988 (verilog-submit-bug-report): Add verilog-case-fold,
2989 remove verilog-mode-release-date.
2990
ef566920
BR
29912013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2992
2993 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2994 as before.
2995
29df8a0b
RT
29962013-10-18 Reuben Thomas <rrt@sc3d.org>
2997
e0eb0550 2998 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2999 remember buffers (bug#13566).
3000
04a19a79
DC
30012013-10-18 Daniel Colascione <dancol@dancol.org>
3002
3003 When evaluating forms in ielm, direct standard output to ielm
3004 buffer. Add new ielm-return-for-effect command. Remove trailing
3005 whitespace throughout.
3006
3007 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3008 (ielm-return-for-effect): New command.
3009 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3010 (ielm-eval-input): Accept optional `for-effect' parameter.
3011 Bind `standard-output' to stream we create using
04a19a79
DC
3012 `ielm-standard-output-impl'. Suppress printing result when
3013 `for-effect'.
3014 (ielm-standard-output-impl): New function.
3015 (inferior-emacs-lisp-mode): Explain new features in documentation.
3016
4c1f03ef
MA
30172013-10-17 Michael Albinus <michael.albinus@gmx.de>
3018
3019 Code cleanup.
3020
3021 * net/tramp.el (tramp-debug-message): Do not check for connection
3022 buffer.
3023 (tramp-message): Use "vector" connection property.
3024
3025 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3026 (tramp-equal-remote, tramp-eshell-directory-change)
3027 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3028 (tramp-adb-handle-rename-file)
3029 * net/tramp-cmds.el (tramp-list-remote-buffers)
3030 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3031 * net/tramp-compat.el (tramp-compat-process-running-p)
3032 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3033 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3034 (tramp-gvfs-handle-rename-file)
3035 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3036 (tramp-set-file-uid-gid)
3037 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3038 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3039 of `file-remote-p'.
3040
3041 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3042 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3043 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3044 (tramp-gw-open-network-stream): Suppress unrelated traces.
3045
3046 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3047 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3048 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3049 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3050 connection property.
3051
3052 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3053 persistency file.
4c1f03ef
MA
3054
3055 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3056 Refactor common code. Improve debug message.
3057 (tramp-maybe-open-connection)
3058 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3059 connection buffer too early.
3060
3061 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3062 from `tramp-smb-actions-with-acl'.
3063 (tramp-smb-actions-set-acl): New defconst.
3064 (tramp-smb-handle-copy-directory)
3065 (tramp-smb-action-get-acl): New defun, renamed from
3066 `tramp-smb-action-with-acl'.
3067 (tramp-smb-action-set-acl): New defun.
3068 (tramp-smb-handle-set-file-acl): Rewrite.
3069
642eb8b6
GM
30702013-10-17 Glenn Morris <rgm@gnu.org>
3071
3072 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3073
85527ff3
SM
30742013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3075
921c1d62
SM
3076 * skeleton.el (skeleton-newline): Remove.
3077 (skeleton-internal-1): Use (insert "\n") instead.
3078
e333fb10
SM
3079 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3080 let-bindings.
3081
85527ff3
SM
3082 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3083 forward-sexp-function while we redo its job (bug#15613).
3084
c8722a97
JB
30852013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3086
3087 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3088 represented by lists.
3089
7a550bbb
GM
30902013-10-16 Glenn Morris <rgm@gnu.org>
3091
3092 * tmm.el (tmm--history): New dynamic variable.
3093 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3094
f19da8ad
MA
30952013-10-16 Michael Albinus <michael.albinus@gmx.de>
3096
3097 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3098 (tramp-smb-errors): Add error messages.
3099 (tramp-smb-actions-with-acl): New defconst.
3100 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3101 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3102 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3103 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3104 (tramp-smb-get-stat-capability): Fix tests.
3105
a24b9961
DK
31062013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3107
3108 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3109 (bug#15580).
3110
62ad85e6
GM
31112013-10-16 Glenn Morris <rgm@gnu.org>
3112
0283d6b0
GM
3113 * ansi-color.el (ansi-color-drop-regexp):
3114 Add 1J, 1K, 2K. (Bug#15617)
3115
012e2f9f
GM
3116 * files.el (hack-local-variables--warned-lexical): New.
3117 (hack-local-variables):
3118 Warn about misplaced lexical-binding. (Bug#15616)
3119
62ad85e6
GM
3120 * net/eww.el (eww-render): Always set eww-current-url,
3121 and update header line. (Bug#15622)
3122 (eww-display-html): ... Rather than just doing it here.
3123
6456c0ea
EZ
31242013-10-15 Eli Zaretskii <eliz@gnu.org>
3125
3126 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3127 menu navigations commands.
3128
c2de5588
DK
31292013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3130
3131 * progmodes/subword.el (subword-capitalize): Be careful when
3132 the search for [[:alpha:]] fails (bug#15580).
3133
ccd4a783
EZ
31342013-10-14 Eli Zaretskii <eliz@gnu.org>
3135
3136 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3137 to commands that scroll the menu.
3138
1eda1d8d
DG
31392013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3140
c2de5588
DK
3141 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3142 Handle methods ending with `?' and `!'.
1eda1d8d 3143
e70181b8
AM
31442013-10-14 Akinori MUSHA <knu@iDaemons.org>
3145
3146 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3147 `japanese-cp932' to `cp932' to fix the problem where saving a
3148 source file written in Shift_JIS twice would end up having
3149 `coding: japanese-cp932' which Ruby could not recognize.
3150 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3151 in `ruby-encoding-map'.
3152 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3153 doesn't need to be explicitly declared in magic comment.
3154 (ruby-encoding-map): Add type declaration for better customize UI.
3155
9148ee92
GM
31562013-10-13 Glenn Morris <rgm@gnu.org>
3157
a5d38e34
GM
3158 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3159 Occur buffers are read-only. http://bugs.debian.org/720775
3160
9148ee92
GM
3161 * emacs-lisp/authors.el (authors-fixed-entries):
3162 Comment out old alpha stuff.
3163
a9ba094b
DG
31642013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3165
3166 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3167 to `after-save-hook' instead of `before-save-hook'.
3168 (ruby-mode-set-encoding): Use the value of coding system used to
3169 write the file. Call `basic-save-buffer-1' after modifying the
3170 buffer.
3171
7a068717
AM
31722013-10-13 Alan Mackenzie <acm@muc.de>
3173
3174 Fix indentation/fontification of Java enum with
3175 "implements"/generic.
3176
c2de5588
DK
3177 * progmodes/cc-engine.el (c-backward-over-enum-header):
3178 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3179 (c-inside-bracelist-p): Uses new function above.
3180 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3181 function above.
3182 (c-font-lock-enum-tail): Uses new function above.
3183
85b64f02
KH
31842013-10-13 Kenichi Handa <handa@gnu.org>
3185
3186 * international/mule-cmds.el (select-safe-coding-system): Remove a
3187 superfluous condition in chekcing whether a coding system is safe
3188 or not.
3189
fc7f501b
OK
31902013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3191
3192 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3193
fdcb2049
AP
31942013-10-13 Andreas Politz <politza@hochschule-trier.de>
3195
3196 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3197
8c106d17
GM
31982013-10-13 Glenn Morris <rgm@gnu.org>
3199
feab892d
GM
3200 * menu-bar.el (menu-bar-update-buffers):
3201 Unify Buffers menu prompt string. (Bug#15576)
3202
b22d0686
GM
3203 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3204
8c106d17
GM
3205 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3206 Add some entries.
3207 (authors-fixed-entries): Use accented form of name.
3208
1b12c797
SM
32092013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3210
650fa7bf 3211 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3212 method calls (bug#15594).
650fa7bf
SM
3213 (ruby-smie--args-separator-p): New function.
3214 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3215 recognize paren-free method calls.
3216
1b12c797
SM
3217 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3218 internals of universal-argument.
3219
029619c8
EZ
32202013-10-11 Eli Zaretskii <eliz@gnu.org>
3221
3222 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3223 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3224 dropped menu on second mouse click on the menu bar.
029619c8 3225
dd070019
SM
32262013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3229 (explicit-shell-file-name): Declare.
3230 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3231 (sh-completion-at-point-function): New function.
3232 (sh-mode): Use it.
3233 (sh-smie--keyword-p): Remove unused argument.
3234 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3235 vars.
3236 (sh-set-shell): Always setup SMIE, even if we use the
3237 old indentation code.
3238
0922b826
DG
32392013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3240
b68e2926
DG
3241 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3242 cases of ? and =.
3243 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3244 predicate would return nil are almost non-existent.
3245 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3246
0922b826
DG
3247 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3248 cache also after commands that modify the buffer but don't move
3249 point.
3250
ee041f2d
SM
32512013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * env.el (substitute-env-in-file-name): New function.
3254 (substitute-env-vars): Extend the meaning of the optional arg.
3255
a5dab159
EZ
32562013-10-10 Eli Zaretskii <eliz@gnu.org>
3257
3258 * term/w32-win.el (dynamic-library-alist): Define separate lists
3259 of GIF DLLs for versions before and after 5.0.0 of giflib.
3260 (Bug#15531)
3261
0449d6cd 32622013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3263
3264 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3265 not locked, use last revision and current source as
3266 defaults. (Bug#15569)
3267
2f6e161e
MY
32682013-10-10 Masatake YAMATO <yamato@redhat.com>
3269
3270 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3271 menu-bar is hidden.
3272
6c8413fc
MR
32732013-10-10 Martin Rudalics <rudalics@gmx.at>
3274
3275 * window.el (pop-to-buffer-same-window): Fix doc-string.
3276 (Bug#15492)
3277
20832de0
SM
32782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3281
c6e8ae77
AC
32822013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3283
3284 * calendar/icalendar.el (icalendar-import-file):
3285 Fix interactive spec. (Bug#15482)
3286
9db13baf
GM
32872013-10-10 Glenn Morris <rgm@gnu.org>
3288
9271e90e
GM
3289 * desktop.el (desktop-save): Default to saving in .emacs.d,
3290 since PWD is no longer in desktop-path by default. (Bug#15319)
3291
9db13baf
GM
3292 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3293 now that text mode has a menu with the same entry.
3294 (menu-bar-text-mode-auto-fill): Remove now unused func.
3295 * textmodes/text-mode.el (text-mode-map):
3296 Use auto-fill help text from menu-bar.el.
3297
a0be396a 32982013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3299
3300 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3301
2edcd3c7
JL
33022013-10-09 Juri Linkov <juri@jurta.org>
3303
3304 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3305 instead of this-command-keys. Add universal-argument-more and
3306 universal-argument-minus to the list of prefix commands. (Bug#15568)
3307
574411d0
GM
33082013-10-09 Glenn Morris <rgm@gnu.org>
3309
14afa541
GM
3310 * vc/vc-svn.el (vc-svn-create-repo):
3311 Expand paths in file://... url. (Bug#15446)
3312
574411d0
GM
3313 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3314 Add some entries.
3315 (authors): Remove unused local variables.
3316
79804536
SM
33172013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * profiler.el: Create a more coherent calltree from partial backtraces.
3320 (profiler-format): Hide the tail with `invisible' so that C-s can still
3321 find the hidden elements.
3322 (profiler-calltree-depth): Don't recurse so enthusiastically.
3323 (profiler-function-equal): New hash-table-test.
3324 (profiler-calltree-build-unified): New function.
3325 (profiler-calltree-build): Use it.
3326 (profiler-report-make-name-part): Indent the calltree less.
3327 (profiler-report-mode): Add visibility specs for profiler-format.
3328 (profiler-report-expand-entry, profiler-report-toggle-entry):
3329 Expand the whole subtree when provided with a prefix arg.
3330
238150c8
DG
33312013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3332
3333 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3334 iuwu-mod token.
3335 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3336 hanging iuwu-mod token.
3337 (ruby-smie--forward-token): Do not include a dot after a token in
3338 that token.
3339 (ruby-smie--backward-token): Likewise.
3340
b0949cc4
JL
33412013-10-08 Juri Linkov <juri@jurta.org>
3342
3343 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3344 to isearch-other-control-char.
3345 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3346 and isearch-post-command-hook to post-command-hook.
3347 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3348 and isearch-post-command-hook from post-command-hook.
3349 (isearch-unread-key-sequence)
3350 (isearch-reread-key-sequence-naturally)
3351 (isearch-lookup-scroll-key, isearch-other-control-char)
3352 (isearch-other-meta-char): Remove functions.
3353 (isearch-pre-command-hook, isearch-post-command-hook):
3354 New functions based on isearch-other-meta-char rewritten
3355 relying on the new behavior of overriding-terminal-local-map
3356 that does not replace the local keymaps any more. (Bug#15200)
3357
4ed77415
EZ
33582013-10-08 Eli Zaretskii <eliz@gnu.org>
3359
3360 Support menus on text-mode terminals.
3361 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3362 functionality.
3363
3364 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3365
c2de5588
DK
3366 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3367 Move here from mouse.el.
4ed77415
EZ
3368 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3369 and arrow keys.
3370 (tty-menu-navigation-map): New map for TTY menu navigation.
3371
3372 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3373
3374 * frame.el (display-mouse-p): Report text-mode mouse as available
3375 on w32.
3376 (display-popup-menus-p): Report availability if mouse is
3377 available; don't condition on window-system.
3378
3379 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3380 (tty-menu-selected-face): New faces.
3381
b7d5bd82
TL
33822013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3383
06286513
SM
3384 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3385 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3386 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3387 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3388 New constants.
3389 (lisp-mode-variables): New `elisp' argument.
3390 (emacs-lisp-mode): Use it.
3391 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3392 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3393
b7d5bd82
TL
3394 * indent.el: Use lexical-binding.
3395 (indent-region): Add progress reporter.
3396 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3397 last step.
3398 (indent--next-tab-stop): New function to implement this behavior.
3399 (tab-to-tab-stop, move-to-tab-stop): Use it.
3400
34012013-10-08 Teemu Likonen <tlikonen@iki.fi>
3402
3403 * indent.el (indent-rigidly--current-indentation): New function.
3404 (indent-rigidly-map): New var.
3405 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3406
5ea75d23
BG
34072013-10-08 Bastien Guerry <bzg@gnu.org>
3408
3409 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3410
cc5da1ec
SM
34112013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3412
8ffa1a0b
SM
3413 * progmodes/perl-mode.el: Use lexical-binding.
3414 Remove redundant :group args.
3415 (perl-nochange): Change default to be closer to other major modes's
3416 standard behavior.
3417 (perl-indent-line): Don't consider text on current line as a
3418 valid beginning of function from which to indent.
3419
f2223371
SM
3420 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3421 with more than one argument (bug#15538).
3422
44256060
SM
3423 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3424
cc5da1ec
SM
3425 * vc/pcvs.el: Use lexical-binding.
3426 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3427 environment of `eval'.
3428 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3429 than a list of expressions. Adjust callers.
3430 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3431
0ea1599d
DG
34322013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3433
3434 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3435 case of the dot in a chained method call being on the following line.
0ea1599d 3436
da3e5ebb
SM
34372013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3438
2abb4e65
SM
3439 * electric.el (electric-indent-inhibit): New var.
3440 (electric-indent-post-self-insert-function): Use it.
3441 * progmodes/python.el (python-mode): Set it.
3442
d2e0e795
SM
3443 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3444 open braces.
3445
3446 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3447
bdc6b4c8
SM
3448 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3449 (css-mode): Use electric-indent-chars.
3450
da3e5ebb
SM
3451 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3452 (font-lock-beg, font-lock-end): Move before first use.
3453 (nxml-mode): Use syntax-propertize-function.
3454 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3455 (nxml-extend-after-change-region): Remove.
3456 * nxml/xmltok.el: Use lexical-binding.
3457 (xmltok-save): Use `declare'.
3458 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3459 * nxml/nxml-util.el: Use lexical-binding.
3460 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3461 Use `declare'.
3462 * nxml/nxml-ns.el: Use lexical-binding.
3463 (nxml-ns-save): Use `declare'.
3464 (nxml-ns-prefixes-for): Avoid add-to-list.
3465 * nxml/rng-match.el: Use lexical-binding.
3466 (rng--ipattern): Use cl-defstruct.
3467 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3468 (rng-cons-group-after, rng-subst-group-after)
3469 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3470 Use closures instead of `(lambda...).
3471
f8f91d5d
MA
34722013-10-07 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3475 of BEG and END.
3476
da3e5ebb
SM
3477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3478 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3479 (tramp-gvfs-handle-insert-file-contents): Remove function.
3480
da3e5ebb
SM
3481 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3482 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3483
3484 * net/trampver.el: Update release number.
3485
7ccae3b1
SM
34862013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3487
55ca2c0d
SM
3488 * progmodes/compile.el (compilation-parse-errors):
3489 Use compilation--put-prop.
3490 (compilation--ensure-parse): Check compilation-multiline.
3491
731fc3ae
SM
3492 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3493
da3e5ebb
SM
3494 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3495 lexical-binding.
a5833280 3496
2e7ba2c2
SM
3497 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3498
7ccae3b1
SM
3499 * progmodes/ruby-mode.el: Fix recently added tests.
3500 (ruby-smie-grammar): Add - and +.
3501 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3502 (ruby-smie--backward-id): New functions.
3503 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3504 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3505 any more.
3506
85698d63
LL
35072013-10-07 Leo Liu <sdl.web@gmail.com>
3508
3509 * register.el (register-preview-delay)
3510 (register-preview-functions): New variables.
3511 (register-read-with-preview, register-preview)
3512 (register-describe-oneline): New functions.
3513 (point-to-register, window-configuration-to-register)
3514 (frame-configuration-to-register, jump-to-register)
3515 (number-to-register, view-register, insert-register)
3516 (copy-to-register, append-to-register, prepend-to-register)
3517 (copy-rectangle-to-register): Use register-read-with-preview to
3518 read register. (Bug#15525)
3519
3986af6c
DS
35202013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3521
3522 * net/network-stream.el (network-stream-open-starttls): Don't add
3523 --insecure if it's already present, because that gnutls-cli
3524 rejects getting that parameter twice.
3525
5cd9cda9
DG
35262013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3527
3528 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3529 keyword, too.
3530
da9ea6d9
DG
35312013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3532
3533 * newcomment.el (comment-use-global-state): Change default value
3534 to t, mark obsolete (Bug#15251).
3535 (comment-beginning): In addition to `comment-to-syntax', check the
3536 value of `comment-use-global-state'.
3537
34d1a133
SM
35382013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3541 (ruby-comment-column): Follow the global default, by default.
3542 (ruby-smie-grammar): Add assignment syntax.
3543 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3544 open-paren, a comma, or a \.
3545 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3546 and line continuations.
3547 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3548 followed by implicit semi-colons. Add rule for string concatenation
3549 and for indentation at BOB.
3550 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3551
3552 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3553 calling next-sexp, since next-token may have skipped chars which
3554 next-sexp doesn't know should be skipped!
3555
6f6ab820
LL
35562013-10-05 Leo Liu <sdl.web@gmail.com>
3557
34d1a133
SM
3558 * progmodes/octave.el (octave-send-region):
3559 Call compilation-forget-errors.
6f6ab820 3560
34ca0f4c
XF
35612013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3562
3563 * vc/vc-svn.el (vc-svn-find-admin-dir):
3564 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3565 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3566 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3567 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3568
a27c1b72
SM
35692013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3572
258ab3bc
SM
35732013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * subr.el (read-passwd): Hide chars even when called within a context
3576 where after-change-functions is disabled (bug#15501).
3577 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3578 until we removed ourself from overriding-terminal-local-map.
3579
939fb29c
LL
35802013-10-04 Leo Liu <sdl.web@gmail.com>
3581
258ab3bc
SM
3582 * progmodes/octave.el (inferior-octave-mode):
3583 Call compilation-forget-errors.
939fb29c 3584
63bd7f35
XF
35852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3586
3587 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3588
9e6229fa
MA
35892013-10-04 Michael Albinus <michael.albinus@gmx.de>
3590
3591 * net/secrets.el (secrets-create-collection): Add optional
3592 argument ALIAS. Use proper Label keyword. Append ALIAS as
3593 dbus-call-method argument. (Bug#15516)
3594
1dab32a3
LL
35952013-10-04 Leo Liu <sdl.web@gmail.com>
3596
3597 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3598 (inferior-octave-compilation-font-lock-keywords): New variables.
3599 (compilation-error-regexp-alist)
3600 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3601 (inferior-octave-mode): Use compilation-shell-minor-mode.
3602
6cad7ba3
JS
36032013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3604
3605 * minibuffer.el (completion--replace): Be careful that `end' might be
3606 a marker.
3607
acbadd00
DU
36082013-10-03 Daiki Ueno <ueno@gnu.org>
3609
3610 Add support for package signature checking.
3611 * emacs-lisp/package.el (url-http-file-exists-p)
3612 (epg-make-context, epg-context-set-home-directory)
3613 (epg-verify-string, epg-context-result-for)
3614 (epg-signature-status, epg-signature-to-string)
3615 (epg-check-configuration, epg-configuration)
3616 (epg-import-keys-from-file): Declare.
3617 (package-check-signature): New user option.
3618 (package-unsigned-archives): New user option.
3619 (package-desc): Add `signed' field.
3620 (package-load-descriptor): Set `signed' field if .signed file exists.
3621 (package--archive-file-exists-p): New function.
3622 (package--check-signature): New function.
3623 (package-install-from-archive): Check package signature.
3624 (package--download-one-archive): Check archive signature.
3625 (package-delete): Remove .signed file.
3626 (package-import-keyring): New command.
3627 (package-refresh-contents): Import default keyring.
3628 (package-desc-status): Add "unsigned" status.
3629 (describe-package-1, package-menu--print-info)
3630 (package-menu-mark-delete, package-menu--find-upgrades)
3631 (package-menu--status-predicate): Support "unsigned" status.
3632
adf2aa61
SM
36332013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3636 the new compilation scheme using the new byte-codes.
3637
3638 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3639 (byte-pophandler): New byte codes.
3640 (byte-goto-ops): Adjust accordingly.
3641 (byte-compile--use-old-handlers): New var.
3642 (byte-compile-catch): Use new byte codes depending on
3643 byte-compile--use-old-handlers.
3644 (byte-compile-condition-case--old): Rename from
3645 byte-compile-condition-case.
3646 (byte-compile-condition-case--new): New function.
3647 (byte-compile-condition-case): New function that dispatches depending
3648 on byte-compile--use-old-handlers.
3649 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3650 when we can.
3651
3652 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3653 Optimize under `condition-case' and `catch' if
3654 byte-compile--use-old-handlers is nil.
3655 (disassemble-offset): Handle new bytecodes.
3656
328a8179
SM
36572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * subr.el (error): Use `declare'.
3660 (decode-char, encode-char): Use advertised-calling-convention instead
3661 of the docstring to discourage use of the `restriction' arg.
3662
15a1e936
DU
36632013-10-03 Daiki Ueno <ueno@gnu.org>
3664
3665 * epg.el (epg-verify-file): Add a comment saying that it does not
3666 notify verification error as a return value nor a signal.
3667 (epg-verify-string): Ditto.
3668
376f862a
KR
36692013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3670
3671 * progmodes/compile.el (compilation-start): Try globbing the arg to
3672 `cd' (bug#15417).
3673
a2f93a5f
MA
36742013-10-02 Michael Albinus <michael.albinus@gmx.de>
3675
3676 Sync with Tramp 2.2.8.
3677
3678 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3679 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3680 * net/trampver.el: Update release number.
3681
0daa0804
JD
36822013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3683
3684 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3685 and default-process-coding-system for darwin only.
3686
abd1ae34
SM
36872013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3690
be4e325d
MH
36912013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3692
3693 * vc/vc-git.el (vc-git-grep): Disable pager.
3694
e9155c4a
DG
36952013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3696
494e898b
DG
3697 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3698 Use :url instead of :homepage, as per
3699 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3700
e9155c4a
DG
3701 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3702 non-nil, use `syntax-ppss' (Bug#15251).
3703
481a8e0f
RS
37042013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3705
be4e325d
MH
3706 * progmodes/octave.el (inferior-octave-startup-file):
3707 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3708
056453c6
DG
37092013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3710
be4e325d
MH
3711 * emacs-lisp/package.el (package-desc-from-define):
3712 Accept additional arguments as plist, convert them to an alist and store
3713 them in the `extras' slot.
056453c6
DG
3714 (package-generate-description-file): Convert extras alist back to
3715 plist and append to the `define-package' form arguments.
3716 (package--alist-to-plist): New function.
3717 (package--ac-desc): Add `extras' slot.
3718 (package--add-to-archive-contents): Check if the archive-contents
3719 vector is long enough, and if it is, pass its `extras' slot value
3720 to `package-desc-create'.
3721 (package-buffer-info): Call `lm-homepage', pass the returned value
3722 to `package-desc-from-define'.
3723 (describe-package-1): Render the homepage button (Bug#13291).
3724
be4e325d
MH
3725 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3726 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3727
832966e5
JD
37282013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3729
3730 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3731 and default-process-coding-system to utf-8-unix (Bug#15402).
3732
6cfe977d
XF
37332013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3734
3735 * subr.el (looking-back): Do not recommend using looking-back.
3736
38de11bd
AM
37372013-09-28 Alan Mackenzie <acm@muc.de>
3738
3739 Fix indentation/fontification of Java enum with "implements".
3740
3741 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3742 regexp which matches "implements", etc., in Java.
3743 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3744 specifier clauses coming after "enum".
3745 * progmodes/cc-fonts.el (c-font-lock-declarations)
3746 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3747 after "enum".
3748
1610938f
JD
37492013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3750
3751 * faces.el (region): Change ns_selection_color to
3752 ns_selection_fg_color, add ns_selection_bg_color.
3753
e090f499
LL
37542013-09-28 Leo Liu <sdl.web@gmail.com>
3755
4d2e94d1
LL
3756 * progmodes/octave.el (inferior-octave-completion-table)
3757 (inferior-octave-completion-at-point): Minor tweaks.
3758
e090f499
LL
3759 * textmodes/ispell.el (ispell-lookup-words): Rename from
3760 lookup-words. (Bug#15460)
3761 (lookup-words): Obsolete.
3762 (ispell-complete-word, ispell-command-loop): All uses changed.
3763
7e138a62
RS
37642013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3765
3766 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3767 (octave-mode-menu): Add octave-send-buffer.
3768 (octave-send-buffer): New function.
3769
5af5ed08
RS
37702013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3771
3772 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3773 octave-lookfor.
3774 (octave-mode-menu): Add octave-lookfor.
3775 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3776 octave-lookfor.
3777 (octave-lookfor): New function.
3778
3b7b2692
SM
37792013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * emacs-lisp/cl-macs.el:
3782 (cl--loop-destr-temps): Remove.
3783 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3784 its convention.
3785 (cl--loop-set-iterator-function): New function.
3786 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3787 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3788 Bind `it' with `let' instead of substituting it with `cl-subst'.
3789 (cl--unused-var-p): New function.
3790 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3791 Eliminate some unused variable warnings (bug#15326).
3792
529fb53f
TH
37932013-09-27 Tassilo Horn <tsdh@gnu.org>
3794
3795 * doc-view.el (doc-view-scale-reset): Rename from
3796 `doc-view-reset-zoom-level'.
3797 (doc-view-scale-adjust): New command.
3798 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3799 `doc-view-scale-adjust'.
3800
0550c95a
TH
38012013-09-26 Tassilo Horn <tsdh@gnu.org>
3802
3803 * doc-view.el (doc-view-reset-zoom-level): New command.
3804 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3805 zoom commands (bug#15466).
3806
6950f152
KH
38072013-09-26 Kenichi Handa <handa@gnu.org>
3808
3809 * international/quail.el (quail-help): Make it not a command.
3810
39587580
LL
38112013-09-26 Leo Liu <sdl.web@gmail.com>
3812
3813 * minibuffer.el (completion-all-sorted-completions): Make args
3814 optional as they are.
3815
00578659
DC
38162013-09-25 Daniel Colascione <dancol@dancol.org>
3817
3818 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3819 specs are and that they're not evaluated.
3820
0c173878
SS
38212013-09-24 Sam Steingold <sds@gnu.org>
3822
3823 * midnight.el (clean-buffer-list-kill-regexps)
3824 (clean-buffer-list-kill-buffer-names): Update for the new Man
3825 buffer naming which includes the object name.
3826
84998447
SM
38272013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3830 (eshell-parse-command, eshell-parse-pipeline): Use it since
3831 eshell-separate-commands requires a dynamic scoped var.
3832 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3833
33215353
LL
38342013-09-23 Leo Liu <sdl.web@gmail.com>
3835
3836 * autoinsert.el (auto-insert-alist): Make the value of
3837 lexical-binding match its file setting.
3838
57b16162
JB
38392013-09-23 Juanma Barranquero <lekktu@gmail.com>
3840
c8af4e67
JB
3841 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3842
57b16162
JB
3843 * autoarg.el (autoarg-kp-digit-argument):
3844 * electric.el (Electric-command-loop):
3845 * kmacro.el (kmacro-step-edit-insert):
3846 Do not set universal-argument-num-events.
3847
7186ba60
LL
38482013-09-22 Leo Liu <sdl.web@gmail.com>
3849
3850 * files.el (interpreter-mode-alist): Add octave.
3851
ece15004
AM
38522013-09-21 Alan Mackenzie <acm@muc.de>
3853
3854 C++: fontify identifier in declaration following "public:" correctly.
3855 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3856 to match "public", etc.
3857 (c-decl-prefix-re): Add ":" into the C++ value.
3858 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3859 bit. Add a check for a ":" preceded by "public", etc.
3860
75d83e22
EZ
38612013-09-21 Eli Zaretskii <eliz@gnu.org>
3862
3863 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3864 recognized by GDB 7.5 and later.
3865
d052d3bd
XF
38662013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3867
3868 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3869
31dca772
R
38702013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * subr.el (internal--call-interactively): New const.
3873 (called-interactively-p): Use it (bug#3984).
3874
98ccf24e
XF
38752013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3876
3877 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3878 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3879 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3880
c39cc7d1
SM
38812013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3884 (eshell-ls-orig-insert-directory): Remove.
3885 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3886 (eshell-ls-use-in-dired): Use advice-add/remove.
3887 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3888 Add `orig-fun' arg for use in :around advice.
3889 Make it check (redundantly) eshell-ls-use-in-dired.
3890
9a0289a2
GM
38912013-09-19 Glenn Morris <rgm@gnu.org>
3892
a2c501b8
GM
3893 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3894
c440407a
GM
3895 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3896
9a0289a2
GM
3897 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3898
85e05915
MA
38992013-09-19 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3902 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3903 (tramp-get-remote-python): New defuns.
3904 (tramp-get-remote-uid-with-perl)
3905 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3906 contributed by yary <not.com@gmail.com> (tiny change).
3907 (tramp-get-remote-uid-with-python)
3908 (tramp-get-remote-gid-with-python): New defuns. Python code
3909 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3910 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3911
ce503312
GM
39122013-09-19 Glenn Morris <rgm@gnu.org>
3913
f7544773
GM
3914 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3915
72fd2877
GM
3916 * eshell/em-unix.el (eshell-remove-entries):
3917 Rename argument to avoid name-clash with global `top-level'.
3918
336b5a56
GM
3919 * eshell/esh-proc.el (eshell-kill-process-function):
3920 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3921 (eshell-reset-after-proc): Remove unused arg `proc'.
3922
57a3a53d
GM
3923 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3924 (directory-files-and-attributes): Mark unused arg.
3925
3261d4af
GM
3926 * eshell/em-unix.el (eshell-remove-entries):
3927 Remove unused arg `path'. Update callers.
3928
8e51b5d0
GM
3929 * eshell/em-hist.el (eshell-hist-parse-arguments):
3930 Remove unused arg `silent'. Update callers.
3931
ce503312
GM
3932 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3933 Fix (f)boundp mix-up.
3934
3935 * eshell/em-smart.el (eshell-smart-scroll-window)
3936 (eshell-disable-after-change):
336b5a56 3937 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3938
ee3ce8a7
AM
39392013-09-18 Alan Mackenzie <acm@muc.de>
3940
3941 Fix fontification of type when followed by "const".
3942 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3943 "known" types from fontification.
3944
ec9177ba
GM
39452013-09-18 Glenn Morris <rgm@gnu.org>
3946
7bb3e768
GM
3947 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3948 (chart-face-list): Drop Emacsen without display-color-p.
3949
5148da15
GM
3950 * net/eww.el (libxml-parse-html-region): Declare.
3951 (eww-display-html): Explicit error if no libxml2 support.
3952
2f68e157
GM
3953 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3954
9019d095
GM
3955 * image.el (image-type-from-buffer, image-multi-frame-p):
3956 Remove --without-x warning/error.
67645389 3957
5f30349b 3958 * mouse.el (mouse-yank-primary):
45069b2e 3959 * term.el (term-mouse-paste):
5f30349b
GM
3960 Reorder to silence --without-x compilation.
3961
cd8edbbe
GM
3962 * mpc.el (doc-view-mode): Silence --without-x compilation.
3963
8a78544e
GM
3964 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3965 Silence --without-x compilation.
3966
12679bfd
GM
3967 * progmodes/gud.el (gud-find-file, gud-mode):
3968 Silence --without-x compilation.
3969 (tooltip-mode): Declare.
30810a05 3970
f0047cb9
GM
3971 * wdired.el (dired-backup-overwrite): Remove declaration.
3972 (wdired-mode-map): Add doc string.
3973
e740f9d2
GM
3974 * custom.el (x-get-resource): Declare.
3975
92d77c89
GM
3976 * eshell/em-glob.el (ange-cache):
3977 * eshell/em-unix.el (ange-cache): Declare.
3978
76e69577
GM
3979 * faces.el (x-display-list, x-open-connection, x-get-resource):
3980 Declare.
7e58af4b
GM
3981
3982 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3983 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3984 Declare.
76e69577 3985
4bd4c0af 3986 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3987
ffb82dbd
GM
3988 * net/gnutls.el (gnutls-log-level): Declare.
3989
986ed135
GM
3990 * net/shr.el (image-size, image-animate): Declare.
3991
e740f9d2
GM
3992 * simple.el (font-info): Declare.
3993
d2f3e9f8
GM
3994 * subr.el (x-popup-dialog): Declare.
3995
047a1a4c
GM
3996 * term/common-win.el (x-select-enable-primary)
3997 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3998 Declare.
3999
f4a1d572
GM
4000 * term/ns-win.el (x-handle-args): Declare.
4001
e843de77
GM
4002 * term/x-win.el (x-select-enable-clipboard): Declare.
4003
5fa89513
GM
4004 * term/w32-win.el (create-default-fontset): Declare.
4005
38702b5b
GM
4006 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4007 Declare.
4008
e740f9d2
GM
4009 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4010 (fit-frame-to-buffer): Explicit error if --without-x.
4011 (mouse-autoselect-window-select): Silence compiler.
4012
49a053fc
GM
4013 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4014
4015 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4016 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4017 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4018 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4019 Remove unused local variables.
4020
4021 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4022
ec9177ba
GM
4023 * textmodes/two-column.el: Make 2C-split work for --without-x.
4024 (scroll-bar-columns): Autoload.
4025 (top-level): Require fringe when compiling.
4026
9f25cb77
LL
40272013-09-18 Leo Liu <sdl.web@gmail.com>
4028
4029 * subr.el (add-hook): Robustify to handle closure as well.
4030
2b42da98
GM
40312013-09-17 Glenn Morris <rgm@gnu.org>
4032
4033 * simple.el (messages-buffer-mode-map): Unbind "g".
4034
e8b66a6a
SM
40352013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4036
9c0ad4f7
SM
4037 * help-mode.el (help-mode-finish): Use derived-mode-p.
4038 Remove obsolete highlighting.
4039
7a806dfb
SM
4040 * play/life.el (life-mode): Use define-derived-mode. Derive from
4041 special-mode.
4042 (life): Let-bind inhibit-read-only.
4043 (life-setup): Avoid `setq'. Use `life-mode'.
4044
96dbf5a8
SM
4045 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4046 which should not be needed any more.
4047 (package-menu-refresh, package-menu-describe-package): Use user-error.
4048
e8b66a6a
SM
4049 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4050 (eshell-post-rewrite-command-hook): Make obsolete.
4051 (eshell-parse-command): Simplify.
4052 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4053 (eshell--cmd): Declare.
4054 (eshell-parse-pipeline): Remove unused var `final-p'.
4055 Pass a dynvar to eshell-post-rewrite-command-hook.
4056 Implement the new eshell-post-rewrite-command-function.
4057 (eshell-invoke-directly): Remove unused arg `input'.
4058 * eshell/esh-io.el (eshell-io-initialize):
4059 Use eshell-post-rewrite-command-function (bug#15399).
4060 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4061 adjust to new calling convention.
4062 (eshell-create-handles): Rename args to avoid clashing with dynvar
4063 `standard-output'.
4064
90582f05
GM
40652013-09-17 Glenn Morris <rgm@gnu.org>
4066
4067 * simple.el (messages-buffer-mode): New major mode.
4068 (messages-buffer): New function.
4069 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4070 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4071 (ert-run-test): Use `messages-buffer' function.
90582f05 4072 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4073 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4074 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4075
39eb0cb5 40762013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4077
4078 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4079
1d42e5b6 4080 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4081
70568a90
SM
40822013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4083
504a0381
SM
4084 * icomplete.el (icomplete-in-buffer): New var.
4085 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4086 vars and replace them with functions.
4087 (icomplete-minibuffer-setup): Adjust accordingly.
4088 (icomplete--completion-table, icomplete--completion-predicate)
4089 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4090 New functions.
4091 (icomplete-forward-completions, icomplete-backward-completions)
4092 (icomplete-simple-completing-p, icomplete-exhibit)
4093 (icomplete-completions): Use them.
4094 (icomplete--in-region-buffer): New var.
4095 (icomplete--in-region-setup): New function.
4096 (icomplete-mode): Use it.
4097
70568a90
SM
4098 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4099 (bug#15379).
4100 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4101 return args and options.
4102 (eshell-eval-using-options): Use the new return value of
4103 eshell--do-opts to set the options's vars in their scope.
4104 (eshell--set-option): Rename from eshell-set-option.
4105 Add arg `opt-vals'.
4106 (eshell--process-option): Rename from eshell-process-option.
4107 Add arg `opt-vals'.
4108 (eshell--process-args): Use an `opt-vals' alist to store the options's
4109 values during their processing and return them additionally to the
4110 remaining args.
4111
578c21bc
DG
41122013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4113
4114 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4115 continuation character an operator, as far as indentation is
4116 concerned (Bug#15369).
4117
c089653d
MR
41182013-09-15 Martin Rudalics <rudalics@gmx.at>
4119
4120 * window.el (window--state-put-2): Don't process buffer state
4121 when buffer doesn't exist any more (Bug#15382).
4122
1e53bb4b
GM
41232013-09-15 Glenn Morris <rgm@gnu.org>
4124
30753242
GM
4125 * eshell/em-unix.el (eshell/rm):
4126 Make -f ignore missing files. (Bug#15373)
4127
1e53bb4b
GM
4128 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4129 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4130 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4131
0d8863b3
GM
41322013-09-14 Glenn Morris <rgm@gnu.org>
4133
4134 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4135
d3fc6549
GM
41362013-09-13 Glenn Morris <rgm@gnu.org>
4137
4138 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4139 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4140
fcd42c11
DA
41412013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4142
4143 * frame.el (x-focus-frame): Mark as declared in frame.c.
4144
7830899f
SM
41452013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * ls-lisp.el: Use advice-add.
4148 (original-insert-directory): Remove.
4149 (ls-lisp--insert-directory): Rename from insert-directory; add
4150 `orig-fun' argument.
4151 (insert-directory): Advise.
4152
84387cd2
EZ
41532013-09-13 Eli Zaretskii <eliz@gnu.org>
4154
4155 * term.el (term-emulate-terminal): Decode the command string
4156 before passing it to term-command-hook. (Bug#15337)
4157
35ffc6ba
GM
41582013-09-13 Glenn Morris <rgm@gnu.org>
4159
5c3f9bcc
GM
4160 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4161
2ada368a
GM
4162 * eshell/esh-ext.el (eshell-search-path): Declare.
4163
fcef2e13
GM
4164 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4165 Otherwise an error occurs if eshell-dirs module not loaded.
4166
35ffc6ba
GM
4167 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4168
35c3d36e
MA
41692013-09-13 Michael Albinus <michael.albinus@gmx.de>
4170
4171 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4172 `tramp-check-proper-host'. Check for a valid method name.
4173
4174 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4175 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4176 * net/tramp-sh.el (tramp-maybe-open-connection):
4177 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4178
4179 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4180 also for hash values.
4181
ae5e4c48
SM
41822013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4183
379add74
SM
4184 * term/ns-win.el (parameters): Don't declare as dynamic.
4185 (before-make-frame-hook): Don't add ineffective function.
4186
ae5e4c48
SM
4187 * eshell/*.el: Use lexical-binding (bug#15231).
4188
b5623270
KH
41892013-09-12 Kenichi Handa <handa@gnu.org>
4190
ae5e4c48 4191 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4192
30213927
GM
41932013-09-12 Glenn Morris <rgm@gnu.org>
4194
be94d713 4195 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4196 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4197
44915370
GM
4198 * subr.el (do-after-load-evaluation): Also give compiler warnings
4199 when obsolete files are used (except by obsolete files).
4200
a6ae021f
GM
4201 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4202 in the status output, assume `filename' is the first. (Bug#15322)
4203
40e64f0c
GM
4204 * vc/vc.el (vc-deduce-fileset): Doc fix.
4205
16d9f896
GM
4206 * calc/calc-help.el (Info-goto-node):
4207 * progmodes/cperl-mode.el (Info-find-node):
4208 * vc/ediff.el (Info-goto-node): Update declarations.
4209
dea01c6e
GM
4210 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4211
759880bf 4212 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4213 (vc-bzr-pull): Require vc-dispatcher.
4214 * vc/vc-git.el (vc-compilation-mode): Declare.
4215 (vc-git-pull): Require vc-dispatcher.
4216
08d66420
GM
4217 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4218
30b626e9
GM
4219 * progmodes/octave.el (help-button-action): Declare.
4220
8c05cb10
GM
4221 * shell.el (shell-directory-tracker): Output error as a message
4222 rather than just returning it as a string.
4223 (shell-process-pushd): Remove useless use of message.
4224
30213927
GM
4225 * dframe.el (dframe-timer-fn):
4226 * files.el (dir-locals-read-from-file):
4227 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4228 (mpc-format):
4229 * reveal.el (reveal-post-command):
4230 * saveplace.el (load-save-place-alist-from-file):
4231 * shell.el (shell-resync-dirs):
4232 * w32-common-fns.el (x-get-selection-value):
4233 * emacs-lisp/copyright.el (copyright-find-copyright):
4234 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4235 * emulation/tpu-edt.el (tpu-copy-keyfile):
4236 * play/bubbles.el (bubbles--mark-neighbourhood):
4237 * progmodes/executable.el
4238 (executable-make-buffer-file-executable-if-script-p):
4239 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4240
d3b049e6
SM
42412013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4242
170266d0
SM
4243 Cleanup Eshell to rely less on dynamic scoping.
4244 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4245 last-value, and ext-command here. Bind `args' closer to `body'.
4246 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4247 (eshell--args): Declare new dynamic var.
4248 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4249 last-value, and ext-command. Pass `args' to `body'.
4250 (eshell-process-args): Bind eshell--args.
4251 (eshell-set-option): Use eshell--args.
4252 * eshell/eshell.el (eshell): Use derived-mode-p.
4253 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4254 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4255 (eshell-glob-function): Declare.
4256 * eshell/esh-util.el: Require cl-lib.
4257 (eshell-read-hosts-file): Avoid add-to-list.
4258 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4259 `err'.
4260 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4261 Declare.
4262 (eshell/diff): Remove unused var `err'.
4263 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4264 `killflag'.
4265 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4266 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4267 first use.
4268 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4269 Move declaration before first use.
4270 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4271 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4272 rely on cl-return.
4273
56834f3b
GM
42742013-09-12 Glenn Morris <rgm@gnu.org>
4275
4276 * term/ns-win.el (global-map): Remove binding for ispell-next,
4277 deleted 1999-05-29. (Bug#15357)
4278
5c91a2b8
GM
42792013-09-11 Glenn Morris <rgm@gnu.org>
4280
da712f22
GM
4281 * echistory.el (electric-command-history): Remove call to deleted func.
4282
512e4cdc
GM
4283 * play/landmark.el (landmark-mode): Fix typos.
4284
d3506ca5
GM
4285 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4286 Check cvs-sort-ignore-file is bound.
4287
5c91a2b8
GM
4288 * savehist.el: No need for cl when compiling on Emacs.
4289
feeff482
SM
42902013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4291
656bd483
SM
4292 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4293 (bug#15338).
d3b049e6
SM
4294 (eshell-self-insert-command, eshell-send-invisible):
4295 Remove unused argument.
656bd483
SM
4296 (eshell-handle-control-codes): Remove unused var `orig'.
4297 Avoid delete-backward-char.
4298
feeff482
SM
4299 * files.el (set-auto-mode): Simplify a bit further.
4300
2a08047a
GM
43012013-09-11 Glenn Morris <rgm@gnu.org>
4302
4303 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4304 (set-auto-mode): Don't regexp-quote elements.
4305 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4306 * progmodes/cc-mode.el (interpreter-mode-alist):
4307 * progmodes/ruby-mode.el (interpreter-mode-alist):
4308 Revert previous change.
4309
34675540
SM
43102013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4311
1b3b87df
SM
4312 * play/snake.el (snake-mode):
4313 * play/mpuz.el (mpuz-mode):
4314 * play/landmark.el (lm-mode):
4315 * play/blackbox.el (blackbox-mode):
4316 * play/5x5.el (5x5-mode):
4317 * obsolete/options.el (Edit-options-mode):
4318 * net/quickurl.el (quickurl-list-mode):
4319 * net/newst-treeview.el (newsticker-treeview-mode):
4320 * mail/rmailsum.el (rmail-summary-mode):
4321 * mail/mspools.el (mspools-mode):
4322 * locate.el (locate-mode):
4323 * ibuffer.el (ibuffer-mode):
4324 * emulation/ws-mode.el (wordstar-mode):
4325 * emacs-lisp/debug.el (debugger-mode):
4326 * array.el (array-mode):
4327 * net/eudc.el (eudc-mode): Use define-derived-mode.
4328 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4329 Move initialization into declaration.
4330 (mairix-searches-mode): Use define-derived-mode.
4331 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4332 (eudc-edit-hotlist): Use dolist.
4333 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4334 (Man-mode): Use define-derived-mode.
4335 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4336 (Info-edit-mode): Use define-derived-mode.
4337 (Info-cease-edit): Use Info-mode.
4338 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4339 into declaration.
4340 (eshell-mode): Use define-derived-mode.
4341 * chistory.el (command-history-mode-map): Rename from
4342 command-history-map.
4343 (command-history-mode): Use define-derived-mode.
da712f22 4344 (Command-history-setup): Remove function.
1b3b87df
SM
4345 * calc/calc.el (calc-trail-mode-map): New var.
4346 (calc-trail-mode): Use define-derived-mode.
4347 (calc-trail-buffer): Set calc-main-buffer manually.
4348 * bookmark.el (bookmark-insert-annotation): New function.
4349 (bookmark-edit-annotation): Use it.
4350 (bookmark-edit-annotation-mode): Make it a proper major mode.
4351 (bookmark-send-edited-annotation): Use derived-mode-p.
4352 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4353 closer to its ideal place. Use \' to match EOS.
4354
34675540
SM
4355 * profiler.el (profiler-calltree-find): Use function-equal.
4356
6a5c15d9
GM
43572013-09-10 Glenn Morris <rgm@gnu.org>
4358
1af4c220
GM
4359 * files.el (interpreter-mode-alist): Convert to regexps.
4360 (set-auto-mode): Adapt for this. (Bug#15306)
4361 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4362 Comment out unused variable.
4363 * progmodes/cc-mode.el (interpreter-mode-alist):
4364 * progmodes/python.el (interpreter-mode-alist):
4365 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4366 * progmodes/sh-script.el (sh-set-shell):
4367 No longer use interpreter-mode-alist to get list of shells.
4368
6a5c15d9
GM
4369 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4370
8c27f5ff
SM
43712013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4372
02ef6c1a 4373 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4374 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4375 Bind switch-frame explicitly. Replace universal-argument-minus with
4376 a conditional binding.
4377 (universal-argument-num-events, saved-overriding-map): Remove.
4378 (restore-overriding-map): Remove.
4379 (universal-argument--mode): Rename from save&set-overriding-map,
4380 and rewrite.
4381 (universal-argument, universal-argument-more, negative-argument)
4382 (digit-argument): Adjust accordingly.
4383 (universal-argument-minus): Remove.
4384 (universal-argument-other-key): Remove.
4385
8c27f5ff
SM
4386 * subr.el (with-demoted-errors): Add `format' argument.
4387
6480194c
MA
43882013-09-10 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4391 `tramp-cleanup-connection'.
4392
4393 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4394 parameters KEEP-DEBUG and KEEP-PASSWORD.
4395
4396 * net/tramp.el (tramp-file-name-handler):
4397 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4398 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4399 (tramp-maybe-open-connection):
8c27f5ff
SM
4400 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4401 Use `tramp-cleanup-connection'.
6480194c 4402
8c27f5ff
SM
4403 * net/tramp-sh.el (tramp-maybe-open-connection):
4404 Catch 'uname-changed inside the progress reporter.
6480194c 4405
e5e916d8
GM
44062013-09-10 Glenn Morris <rgm@gnu.org>
4407
9a2c9b47
GM
4408 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4409
e5e916d8
GM
4410 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4411 returns "alternate access method" in mode (eg "-rw-r--r--.").
4412
144e38fe
GM
44132013-09-08 Glenn Morris <rgm@gnu.org>
4414
4415 * saveplace.el (load-save-place-alist-from-file):
4416 Demote errors. (Bug#15305)
4417
af9ff9e8
MA
44182013-09-08 Michael Albinus <michael.albinus@gmx.de>
4419
4420 Improve compatibility with older Emacsen, and XEmacs.
4421
4422 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4423 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4424 (with-tramp-progress-reporter): Do not let-bind `result'.
4425 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4426 (tramp-handle-make-auto-save-file-name): New function, moved from
4427 tramp-sh.el.
4428
4429 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4430 for `make-auto-save-file-name'.
8c27f5ff
SM
4431 (tramp-adb--gnu-switches-to-ash):
4432 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4433
4434 * net/tramp-cache.el (tramp-cache-print): Call
4435 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4436
4437 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4438 bound. It isn't for XEmacs.
4439
8c27f5ff
SM
4440 * net/tramp-compat.el (tramp-compat-copy-file):
4441 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4442 (tramp-compat-replace-regexp-in-string): New defun.
4443
4444 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4445 for `make-auto-save-file-name'.
4446 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4447 `copy-file'.
4448 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4449 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4450 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4451
8c27f5ff
SM
4452 * net/tramp-gw.el (tramp-gw-open-network-stream):
4453 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4454
8c27f5ff
SM
4455 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4456 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4457 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4458 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4459 (tramp-sh-file-inotifywait-process-filter):
4460 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4461 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4462
4463 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4464 for `make-auto-save-file-name'.
8c27f5ff
SM
4465 (tramp-smb-handle-copy-directory):
4466 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4467 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4468 (tramp-smb-handle-copy-file): Improve error message.
4469 (tramp-smb-handle-rename-file): Rename directly only in case
4470 `newname' does not exist yet. This is a restriction of smbclient.
4471 (tramp-smb-maybe-open-connection): Rerun the function only when
4472 `auth-sources' is non-nil.
4473
0ca754d0
KH
44742013-09-08 Kenichi Handa <handa@gnu.org>
4475
e0eb0550 4476 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4477 more characters.
4478
e8dd0787
AM
44792013-09-07 Alan Mackenzie <acm@muc.de>
4480
4481 Correctly fontify Java class constructors.
4482 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4483 in Java Mode.
4484 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4485 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4486 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4487 "typeless" declaration there.
4488
f2f248e7
RW
44892013-09-07 Roland Winkler <winkler@gnu.org>
4490
4491 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4492 field subtitle for entry type book.
4493
67982e2b
SM
44942013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * minibuffer.el: Make minibuffer-complete call completion-in-region
4497 rather than other way around.
4498 (completion--some, completion-pcm--find-all-completions):
4499 Don't delay signals when debugging.
4500 (minibuffer-completion-contents): Beware fields within the
4501 minibuffer contents.
4502 (completion-all-sorted-completions): Use defvar-local.
4503 (completion--do-completion, completion--cache-all-sorted-completions)
4504 (completion-all-sorted-completions, minibuffer-force-complete):
4505 Add args `beg' and `end'.
4506 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4507 (minibuffer-complete): Use completion-in-region.
4508 (completion-complete-and-exit): New fun, extracted from
4509 minibuffer-complete-and-exit.
4510 (minibuffer-complete-and-exit): Use it.
4511 (completion--complete-and-exit): Rename from
4512 minibuffer--complete-and-exit.
4513 (completion-in-region--single-word): New function, extracted from
4514 minibuffer-complete-word.
4515 (minibuffer-complete-word): Use it.
4516 (display-completion-list): Make `common-substring' argument obsolete.
4517 (completion--in-region): Call completion--in-region-1 instead of
4518 minibuffer-complete.
4519 (completion-help-at-point): Pass boundaries to
4520 minibuffer-completion-help as args rather than via an overlay.
4521 (completion-pcm--string->pattern): Use `any-delim'.
4522 (completion-pcm--optimize-pattern): New function.
4523 (completion-pcm--pattern->regex): Handle `any-delim'.
4524 * icomplete.el (icomplete-forward-completions)
4525 (icomplete-backward-completions, icomplete-completions):
4526 Adjust calls to completion-all-sorted-completions and
4527 completion--cache-all-sorted-completions.
4528 (icomplete-with-completion-tables): Default to t.
4529 * emacs-lisp/crm.el (crm--current-element): Rename from
4530 crm--select-current-element. Don't put an overlay but return the
4531 boundaries instead.
4532 (crm--completion-command): Take two new args to bind to the boundaries.
4533 (crm-completion-help): Adjust accordingly.
4534 (crm-complete): Use completion-in-region.
4535 (crm-complete-word): Use completion-in-region--single-word.
4536 (crm-complete-and-exit): Use completion-complete-and-exit.
4537
e17d94a5
SM
45382013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4541 than dynamically.
4542
96727100
JL
45432013-09-06 Juri Linkov <juri@jurta.org>
4544
4545 * info.el (Info-display-images-node): When image file doesn't exist
4546 display text version of the image if it's provided in the Info file.
4547 Otherwise, display the location of missing image from SRC attribute.
4548 Add help-echo text property from ALT attribute. (Bug#15279)
4549
86cf7329
SM
45502013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4553 (edit-abbrevs-mode): Use define-derived-mode.
4554
4555 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4556 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4557 that it's defined.
4558 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4559 Use define-derived-mode.
4560
4561 * epg.el (epg-start-encrypt): Minor CSE simplification.
4562
816244a2
WX
45632013-09-06 William Xu <william.xwl@gmail.com>
4564
4565 * arc-mode.el: Add support for 7za (bug#15264).
4566 (archive-7z-program): New var.
4567 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4568 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4569 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4570
1486fa31
MA
45712013-09-06 Michael Albinus <michael.albinus@gmx.de>
4572
4573 Remove URL syntax.
4574
4575 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4576 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4577 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4578 (tramp-postfix-host-format, tramp-file-name-regexp)
4579 (tramp-completion-file-name-regexp)
4580 (tramp-completion-dissect-file-name)
4581 (tramp-handle-substitute-in-file-name): Remove 'url case.
4582 (tramp-file-name-regexp-url)
4583 (tramp-completion-file-name-regexp-url): Remove constants.
4584
39785324
GM
45852013-09-06 Glenn Morris <rgm@gnu.org>
4586
4587 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4588
1f896cb7
DG
45892013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4590
4591 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4592 keywords" below "here-doc beginnings" (Bug#15270).
4593
c0458e0b
SM
45942013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * subr.el (pop): Use `car-safe'.
4597 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4598 to detect unused `pop' return value.
4599
4600 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4601 var `block-regexp'.
4602 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4603 (python-fill-string): Remove unused var `marker'.
4604 (python-skeleton-add-menu-items): Remove unused var `items'.
4605
4606 * international/mule-cmds.el: Require CL.
4607 (find-coding-systems-for-charsets): Avoid add-to-list.
4608 (sanitize-coding-system-list): New function, extracted from
4609 select-safe-coding-system-interactively.
4610 (select-safe-coding-system-interactively): Use it.
4611 (read-input-method-name): Accept symbols for `default'.
4612
4613 * emacs-lisp/advice.el (defadvice): Add indent rule.
4614
6c42fc3e
DH
46152013-09-05 Daniel Hackney <dan@haxney.org>
4616
4617 * dired-x.el:
4618 * net/ange-ftp.el:
4619 * net/browse-url.el:
4620 * net/dbus.el:
4621 * net/eudc.el:
4622 * net/eudcb-ldap.el:
4623 * net/eww.el:
4624 * net/imap.el:
4625 * printing.el:
4626 * vc/ediff-diff.el:
4627 * vc/ediff-init.el:
4628 * vc/ediff-merg.el:
4629 * vc/ediff-mult.el:
4630 * vc/ediff-util.el:
4631 * vc/ediff-wind.el:
4632 * vc/ediff.el:
4633 * vc/emerge.el:
4634 * vc/pcvs.el:
4635 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4636 byte compiler. Remove some unused let-bound variables.
4637
4c528aab
SM
46382013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4641 a "ref-cell", since it gets better optimized (bug#14883).
4642
bd15c390
GM
46432013-09-05 Glenn Morris <rgm@gnu.org>
4644
4645 * progmodes/cc-awk.el (c-forward-sws): Declare.
4646
1c3ac2e5
GM
46472013-09-04 Glenn Morris <rgm@gnu.org>
4648
4649 * generic-x.el [rul-generic-mode]: Require cc-mode.
4650 (c++-mode-syntax-table): Declare.
4651 (rul-generic-mode-syntax-table): Init in the defvar.
4652
52b1cc79
SM
46532013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4654
c828af56
SM
4655 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4656 (vc-do-command, vc-set-async-update):
4657 * vc/vc-mtn.el (vc-mtn-dir-status):
4658 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4659 (vc-hg-pull, vc-hg-merge-branch):
4660 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4661 (vc-git-merge-branch):
4662 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4663 (vc-cvs-dir-status-files):
4664 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4665 (vc-bzr-dir-status-files):
4666 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4667 * vc/vc-annotate.el: Use lexical-binding.
4668 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4669 (vc-sentinel-movepoint): Declare.
4670 (vc-annotate): Don't use `goto-line'.
4671 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4672 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4673 (vc-sentinel-movepoint): Declare.
4674 * vc/vc-svn.el: Use lexical-binding.
4675 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4676 * vc/vc-sccs.el:
4677 * vc/vc-rcs.el: Use lexical-binding.
4678
abae272c
SM
4679 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4680 `deleted'. Don't drop errors silently.
4681
52b1cc79
SM
4682 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4683
63191d9f
XF
46842013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4685
4686 * vc/vc.el (vc-ignore): Rewrite.
4687 (vc-default-ignore): New function.
4688 (vc-default-ignore-completion-table): Use find-ignore-file.
4689
4690 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4691 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4692 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4693 Remove. Most code moved to vc.el.
4694
9d3f707c
SM
46952013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4696
abae272c 4697 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4698 * net/tramp-smb.el (tramp-smb-get-file-entries):
4699 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4700 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4701
fde38d49
SM
4702 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4703 Update call to it.
4704 (eww-change-select): Remove unused var `properties'.
4705 (eww-make-unique-file-name): Remove unused var `base'.
4706
4707 * finder.el (finder-compile-keywords): Don't mess with windows.
4708
84032db7
SM
4709 * calculator.el (calculator-funcall): Fix typo in last change.
4710
724f5e41
SM
4711 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4712
14b511d4
SM
4713 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4714 <pkg>-autoloads.el file stop us.
4715
9d3f707c 4716 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4717 warnings, and factor out common code.
9d3f707c 4718
88527bc0
DG
47192013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4720
4721 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4722 two-character operators and whether the character preceding them
4723 changes their meaning (Bug#15208).
4724
96edb677
FEG
47252013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4726
4727 Format code sent to Python shell for robustness.
9d3f707c
SM
4728 * progmodes/python.el (python-shell-buffer-substring):
4729 New function.
96edb677
FEG
4730 (python-shell-send-region, python-shell-send-buffer): Use it.
4731
95beaef3
MA
47322013-09-02 Michael Albinus <michael.albinus@gmx.de>
4733
4734 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4735 * net/tramp.el (tramp-user-error): ... here.
4736 (tramp-find-method, tramp-check-proper-host)
4737 (tramp-dissect-file-name, tramp-debug-message)
4738 (tramp-handle-shell-command):
4739 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4740 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4741
4742 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4743
f167c27b
MR
47442013-09-02 Martin Rudalics <rudalics@gmx.at>
4745
4746 * avoid.el (mouse-avoidance-point-position)
4747 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4748 returns nil.
4749
cd16c5f1
FEG
47502013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4751
4752 * progmodes/python.el (python-shell-completion-get-completions):
4753 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4754 (python-nav-if-name-main): New command.
cd16c5f1 4755
e73c3a0d
GM
47562013-09-01 Glenn Morris <rgm@gnu.org>
4757
f8ccce03
GM
4758 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4759 Avoid leading space in $wins. Otherwise the sed command used by
4760 eg compile-main ends up containing "/*.el". (Bug#15170)
4761
e73c3a0d
GM
4762 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4763
415f808e
GM
47642013-08-30 Glenn Morris <rgm@gnu.org>
4765
4766 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4767 Fix is-this-a-directory logic. (Bug#15220)
4768
f069bba8
SM
47692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4770
112798c1
SM
4771 * textmodes/css-mode.el: Use SMIE.
4772 (css-smie-grammar): New var.
4773 (css-smie--forward-token, css-smie--backward-token)
4774 (css-smie-rules): New functions.
4775 (css-mode): Use them.
4776 (css-navigation-syntax-table): Remove var.
4777 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4778 (css-indent-calculate, css-indent-line): Remove functions.
4779
4780 Misc changes to reduce use of `(lambda...); and other cleanups.
4781 * cus-edit.el: Use lexical-binding.
4782 (customize-push-and-save, customize-apropos)
4783 (custom-buffer-create-internal): Use closures.
4784 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4785 * progmodes/ada-xref.el: Use setq.
4786 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4787 * dframe.el: Use lexical-binding.
4788 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4789 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4790 * descr-text.el: Use lexical-binding.
4791 (describe-text-widget, describe-text-sexp, describe-property-list):
4792 Use closures.
4793 * comint.el (comint-history-isearch-push-state): Use a closure.
4794 * calculator.el: Use lexical-binding.
4795 (calculator-number-to-string): Make it work with lexical-binding.
4796 (calculator-funcall): Same and use cl-letf.
4797
2da4c3ab
SM
4798 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4799 (lisp--company-doc-string, lisp--company-location): New functions.
4800 (lisp-completion-at-point): Use them to improve Company support.
4801
f069bba8
SM
4802 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4803 params of lambda expressions.
4804 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4805 (ruby-smie--opening-pipe-p): New function.
4806 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4807 symbols and matched |...| for formal params.
4808 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4809 from being treated as hanging. Handle "rescue".
4810
6758b6a8
GM
48112013-08-29 Glenn Morris <rgm@gnu.org>
4812
4813 * progmodes/cc-engine.el (c-pull-open-brace):
4814 Move definition before use.
4815
e8dfd197
SM
48162013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4819 are immutable. Don't use `unsafe' any more.
4820 (cl--defsubst-expand): Don't substitute at the same time as keeping
4821 a residual unused let-binding. Don't use `unsafe' any more.
4822
cc585c96
GM
48232013-08-29 Glenn Morris <rgm@gnu.org>
4824
ba579ea6
GM
4825 * calendar/cal-china.el (calendar-chinese-year-cache):
4826 Recenter on 2015.
4827
8201a87e
GM
4828 * nxml/nxml-util.el (nxml-debug-clear-inside):
4829 Use cl-loop rather than loop.
4830
6ee877c7
GM
4831 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4832
cc585c96
GM
4833 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4834
27be8d39
GM
48352013-08-28 Glenn Morris <rgm@gnu.org>
4836
397440a1
GM
4837 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4838
2bb762d4
GM
4839 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4840
27be8d39
GM
4841 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4842
2d69b99e
SM
48432013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4844
f663baa7
SM
4845 * simple.el (repeat-complex-command--called-interactively-skip):
4846 New function.
4847 (repeat-complex-command): Use it (bug#14136).
4848
dd4f8b74
SM
4849 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4850 (c-define-abbrev-table): Add `doc' argument.
4851 (c-mode-abbrev-table, c++-mode-abbrev-table)
4852 (objc-mode-abbrev-table, java-mode-abbrev-table)
4853 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4854 (awk-mode-abbrev-table): Use it.
4855 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4856 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4857 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4858 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4859 Move initialization into the declaration; and remove any
4860 autoload cookie.
4861
b58969f7
SM
4862 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4863 and dynamic let binding.
4864
4021d6a6
SM
4865 * vc/smerge-mode.el: Remove redundant :group args.
4866
2d69b99e
SM
4867 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4868 to load-path.
4869
274919fd
JL
48702013-08-28 Juri Linkov <juri@jurta.org>
4871
4872 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4873 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4874 (isearch-other-meta-char): Handle an undefined shifted printing
4875 character by downshifting it. (Bug#15200)
4876
121f8c95
JL
48772013-08-28 Juri Linkov <juri@jurta.org>
4878
4879 * isearch.el (isearch-search): Change regexp error message for
4880 non-regexp searches. (Bug#15166)
4881
50b13cde
PE
48822013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4883
4884 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4885 for portability to hosts where /bin/sh has problems.
4886
95888bca
SM
48872013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4890
bbe558f1
JL
48912013-08-27 Juri Linkov <juri@jurta.org>
4892
4893 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4894 in the keyboard macro. (Bug#15126)
4895
26f98a7d
JL
48962013-08-27 Juri Linkov <juri@jurta.org>
4897
4898 * isearch.el (isearch-quote-char): Comment out converting unibyte
4899 to multibyte, thus syncing with its `quoted-insert' counterpart.
4900 (Bug#15166)
4901
7c97d35e
MR
49022013-08-27 Martin Rudalics <rudalics@gmx.at>
4903
4904 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4905 argument in call of get-largest-window (Bug#15185).
4906 Reported by Stephen Leake.
7c97d35e 4907
a0b5606e 49082013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4909
4910 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4911
9e89d835
SM
49122013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4915 from a matcher-function unless there's no more matches (bug#15161).
4916
78fc2530
MA
49172013-08-26 Michael Albinus <michael.albinus@gmx.de>
4918
4919 * minibuffer.el: Revert change from 2013-08-20.
4920
4921 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4922 with text property `tramp-default', if appropriate.
4923 (tramp-check-proper-host): New defun.
4924 (tramp-dissect-file-name): Do not check hostname. Revert change
4925 of 2013-03-18.
4926 (tramp-backtrace): Make VEC-OR-PROC optional.
4927
4928 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4929 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4930 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4931 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4932 Apply `tramp-check-proper-host'.
78fc2530 4933
edca97cd
TH
49342013-08-26 Tassilo Horn <tsdh@gnu.org>
4935
4936 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4937 lambda expression in order to have `describe-variable' display it.
4938
df54bcbd
MA
49392013-08-26 Michael Albinus <michael.albinus@gmx.de>
4940
4941 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4942 BUF can be optional. (Bug#15186)
4943
eed99101
XF
49442013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4945
4946 * progmodes/flymake.el (flymake-get-real-file-name-function):
4947 Fix broken customization. (Bug#15184)
4948
b5eb9035
AM
49492013-08-25 Alan Mackenzie <acm@muc.de>
4950
8a51e842
AM
4951 Improve indentation of bracelists defined by macros (without "=").
4952
4953 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4954 expansion begins with "{", regard it as bracelist when it doesn't
4955 contain a ";".
4956
869455d4
AM
4957 Parse C++ inher-intro when there's a template split over 2 lines.
4958
4959 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4960 rigorously the search for "class" etc. followed by ":".
4961
4962 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4963 random languages a regexp which never matches rather than nil.
4964
b5eb9035
AM
4965 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4966
4967 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4968 (c-awk-regexp-one-line-possibly-open-char-list-re)
4969 (c-awk-one-line-possibly-open-regexp-re)
4970 (c-awk-one-line-non-syn-ws*-re): Remove.
4971 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4972 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4973 (c-awk-space*-unclosed-regexp-/-re): New constants.
4974 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4975 aren't regexp delimiters.
4976
4977 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4978 handling for a rare situation in AWK Mode involving unterminated
4979 strings/regexps.
4980
61611d54
GM
49812013-08-23 Glenn Morris <rgm@gnu.org>
4982
2d85dc34
GM
4983 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4984
cb8d2612
GM
4985 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4986
bb35f42f
GM
4987 * files.el (create-file-buffer): If the result would begin with
4988 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4989
b9808e77
SM
49902013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4991
e3a66363
SM
4992 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4993 text-properties (bug#15155).
4994
b9808e77
SM
4995 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4996 exist any more.
4997 (calc-keypad-redraw): Remove unused var `pad'.
4998 (calc-keypad-press): Remove unused var `menu'.
4999
7fd5f65e
MR
50002013-08-23 Martin Rudalics <rudalics@gmx.at>
5001
b9808e77
SM
5002 * window.el (display-buffer-pop-up-frame):
5003 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5004 use it as the new frame's buffer (Bug#15133).
5005
8352b530
SM
50062013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * calendar/timeclock.el: Minor cleanups.
5009 (timeclock-ask-before-exiting, timeclock-use-display-time):
5010 Use `symbol'.
5011 (timeclock-modeline-display): Define as alias before the
5012 actual definition.
5013 (timeclock-mode-line-display): Use define-minor-mode.
5014 (timeclock-day-list-template): Make it a function, add an argument.
5015 (timeclock-day-list-required, timeclock-day-list-length)
5016 (timeclock-day-list-debt, timeclock-day-list-span)
5017 (timeclock-day-list-break): Adjust calls accordingly.
5018
9f7b1925
SM
50192013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5022 Use read--expression so that completion works again.
5023
6e50e983
SS
50242013-08-21 Sam Steingold <sds@gnu.org>
5025
5026 Add rudimentary inferior shell interaction
5027 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5028 (sh-set-shell): Reset it.
9f7b1925
SM
5029 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5030 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5031
dbb0d350
SM
50322013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * align.el: Use lexical-binding.
5035 (align-region): Simplify accordingly.
5036
c88586a9
MA
50372013-08-20 Michael Albinus <michael.albinus@gmx.de>
5038
5039 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5040
5041 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5042 `non-essential' up.
5043
f95527c8
MA
50442013-08-17 Michael Albinus <michael.albinus@gmx.de>
5045
5046 * net/tramp.el:
5047 * net/tramp-adb.el:
5048 * net/tramp-cmds.el:
5049 * net/tramp-ftp.el:
5050 * net/tramp-gvfs.el:
5051 * net/tramp-gw.el:
5052 * net/tramp-sh.el: Don't wrap external variable declarations by
5053 `eval-when-compile'.
5054
4b5fe4ee
LMI
50552013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5056
5057 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5058 now that Emacs supports ImageMagick animations.
5059
13c366c9
MA
50602013-08-16 Michael Albinus <michael.albinus@gmx.de>
5061
5062 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5063 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5064
3dfc5cd6
MR
50652013-08-16 Martin Rudalics <rudalics@gmx.at>
5066
5067 * window.el (mouse-autoselect-window-select): Do autoselect when
5068 mouse pointer is on margin.
5069
4bbb4381
WP
50702013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5071
5072 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5073
3a2ddc2d
GM
50742013-08-16 Glenn Morris <rgm@gnu.org>
5075
e8bedf5a
GM
5076 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5077 Handle "Remote Directory" response of some clients. (Bug#15058)
5078
58c4682f
GM
5079 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5080 Tweak warning. (Bug#14926)
5081
57953f49
GM
5082 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5083 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5084
3a2ddc2d
GM
5085 * image-mode.el (image-mode-map): Add menu items to reverse,
5086 increase, decrease, reset animation speed.
5087 (image--set-speed, image-increase-speed, image-decrease-speed)
5088 (image-reverse-speed, image-reset-speed): New functions.
5089 (image-mode-map): Add bindings for speed commands.
5090
5091 * image.el (image-animate-get-speed, image-animate-set-speed):
5092 New functions.
5093 (image-animate-timeout): Respect image :speed property.
5094
10fa0ed3
SM
50952013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5098 previous line (bug#15101).
5099 (debugger-eval-expression, debugger-record-expression):
5100 Use read--expression (bug#15102).
5101
5d89d9d2
MA
51022013-08-15 Michael Albinus <michael.albinus@gmx.de>
5103
5104 Remove byte compiler warnings, visible when compiling with
5105 `byte-compile-force-lexical-warnings' set to t.
5106
5107 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5108 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5109 (tramp-handle-unhandled-file-name-directory)
5110 (tramp-handle-file-notify-add-watch, tramp-action-login)
5111 (tramp-action-succeed, tramp-action-permission-denied)
5112 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5113 arguments with "_".
5114
5115 * net/tramp-adb.el (tramp-adb-parse-device-names)
5116 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5117 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5118 (tramp-adb-handle-file-truename): Remove unused arguments.
5119
5120 * net/tramp-cache.el (tramp-flush-directory-property)
5121 (tramp-flush-connection-property, tramp-list-connections)
5122 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5123
10fa0ed3
SM
5124 * net/tramp-compat.el (tramp-compat-make-temp-file):
5125 Rename FILENAME to F.
5d89d9d2
MA
5126
5127 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5128 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5129 (tramp-zeroconf-parse-workstation-device-names)
5130 (tramp-zeroconf-parse-webdav-device-names)
5131 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5132
5133 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5134 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5135
5136 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5137 arguments.
5138 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5139 (tramp-sh-handle-insert-file-contents-literally)
5140 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5141 with "_".
5142 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5143 Remove unused variables.
5144
5145 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5146 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5147 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5148
5149 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5150 Make them a defconst.
5151 (tramp-uuencode-region): Remove unused variable.
5152
62f33bae
JB
51532013-08-14 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * frameset.el (frameset--prop-setter): New function.
5156 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5157 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5158 parameter was already set in FILTERED. Doc fix.
5159 (frameset--record-minibuffer-relationships): Allow saving a
5160 minibufferless frame without its corresponding minibuffer frame.
5161 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5162 frame, if the frame id matches.
5163 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5164 frames before orphaned ones.
5165 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5166
c660a885
MR
51672013-08-14 Martin Rudalics <rudalics@gmx.at>
5168
5169 * window.el (window-make-atom): Don't overwrite parameter
5170 already present.
5171 (display-buffer-in-atom-window): Handle special case where we
5172 split an already atomic window.
5173 (window--major-non-side-window, display-buffer-in-side-window)
5174 (window--side-check): Ignore minibuffer window when walking
5175 window tree.
5176 (window-deletable-p): Return 'frame only if no other frame uses
5177 our minibuffer window.
5178 (record-window-buffer): Run buffer-list-update-hook.
5179 (split-window): Make sure window--check-frame won't destroy an
5180 existing atomic window in case the new window gets nested
5181 inside.
5182 (display-buffer-at-bottom): Ignore minibuffer window when
5183 walking window tree. Don't split a side window.
5184 (pop-to-buffer): Don't set-buffer here, the select-window call
5185 should do that.
5186 (mouse-autoselect-window-select): Autoselect only if we are in the
5187 text portion of the window.
5188
8259030d
LMI
51892013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5190
21c58ae2
LMI
5191 * net/shr.el (shr-parse-image-data): New function to grab both the
5192 data itself and the Content-Type.
5193 (shr-put-image): Use it.
5194
5195 * net/eww.el (eww-display-image): Ditto.
5196
8259030d
LMI
5197 * image.el (image-content-type-suffixes): New variable.
5198
ad756449
FEG
51992013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5200
5201 * progmodes/python.el (python-imenu--build-tree)
5202 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5203
f73f4ce6
XF
52042013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5205
5206 * simple.el (backward-word): Mention the optional argument.
5207
1f585e65
SM
52082013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * frameset.el (frameset--make): Rename constructor from make-frameset.
5211 (frameset-p, frameset-valid-p): Don't autoload.
5212 (frameset-valid-p): Use normal accessors.
5213
af1c6c84
GM
52142013-08-13 Glenn Morris <rgm@gnu.org>
5215
55e47f95
GM
5216 * progmodes/compile.el (compile-command): Tweak example in doc.
5217 * obsolete/scribe.el (scribe-mode):
5218 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5219
f0024d8c
GM
5220 * mail/feedmail.el (feedmail-confirm-outgoing)
5221 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5222
5223 * cus-start.el (truncate-partial-width-windows): Fix type.
5224
5225 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5226
af1c6c84
GM
5227 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5228
5514cc4c
SM
52292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * emacs-lisp/timer.el (timer--time-setter): New function.
5232 (timer--time): Use it as gv-setter.
5233
5234 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5235 setter is not a symbol.
5236
7997a2f1
GJ
52372013-08-12 Grégoire Jadi <daimrod@gmail.com>
5238
5239 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5240 if sending fails. This makes debugging easier.
5241
01f1a9ab
JB
52422013-08-12 Juanma Barranquero <lekktu@gmail.com>
5243
5244 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5245 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5246 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5247
594a4307
EZ
52482013-08-12 Eli Zaretskii <eliz@gnu.org>
5249
5250 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5251
7a22490f 52522013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5253
5254 * format.el (format-annotate-function):
5255 Handle read-only text properties in the source. (Bug#14887)
5256
3e41a054
LMI
52572013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258
5514cc4c
SM
5259 * net/eww.el (eww-display-html): Ignore coding system errors.
5260 One web site uses "utf-8lias" as the coding system.
3e41a054 5261
7ec326db
JB
52622013-08-11 Juanma Barranquero <lekktu@gmail.com>
5263
5264 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5265
5660113b
JB
52662013-08-10 Juanma Barranquero <lekktu@gmail.com>
5267
9a4ebc74
JB
5268 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5269 (tutorial--detailed-help): Remove unused local variables.
5270 (tutorial--save-tutorial-to): Use ignore-errors.
5271 (help-with-tutorial): Use looking-at-p.
5272
5273 * view.el (view-buffer-other-window, view-buffer-other-frame):
5274 Mark unused arguments.
5275
5276 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5277 (woman-select-symbol-fonts, woman, woman-find-file)
5278 (woman-insert-file-contents, woman-non-underline-faces):
5279 Use string-match-p.
5280 (woman1-unquote): Move declaration.
5281
5282 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5283 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5284 argument. Remove unused local variable.
5285 (xml-parse-elem-type): Use string-match-p.
5286 (xml-substitute-numeric-entities): Use ignore-errors.
5287
45fdb482
JB
5288 * calculator.el (calculator): Mark unused argument.
5289 (calculator-paste, calculator-quit, calculator-integer-p):
5290 Use ignore-errors.
5291 (calculator-string-to-number, calculator-decimal, calculator-exp)
5292 (calculator-op-or-exp): Use string-match-p.
5293
5294 * dired.el (dired-buffer-more-recently-used-p): Declare.
5295 (dired-insert-set-properties, dired-insert-old-subdirs):
5296 Use ignore-errors.
5297
5298 * dired-aux.el (dired-compress): Use ignore-errors.
5299 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5300 (dired-do-async-shell-command, dired-do-shell-command)
5301 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5302 (dired-insert-subdir-validate): Use string-match-p.
5303 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5304 (dired-add-entry): Use string-match-p, looking-at-p.
5305 (dired-insert-subdir-newpos): Remove unused local variable.
5306
5307 * filenotify.el (file-notify-callback): Remove unused local variable.
5308
5309 * filesets.el (filesets-error): Mark unused argument.
5310 (filesets-which-command-p, filesets-filter-dir-names)
5311 (filesets-directory-files, filesets-get-external-viewer)
5312 (filesets-ingroup-get-data): Use string-match-p.
5313
5314 * find-file.el (ff-other-file-name, ff-other-file-name)
5315 (ff-find-the-other-file, ff-cc-hh-converter):
5316 Remove unused local variables.
5317 (ff-get-file-name): Use string-match-p.
5318 (ff-all-dirs-under): Use ignore-errors.
5319
5320 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5321 (follow-select-if-visible): Remove unused local variable.
5322
5323 * forms.el (read-file-filter): Move declaration.
5324 (forms--make-format, forms--make-parser, forms-insert-record):
5325 Quote function with #'.
5326 (forms--update): Use string-match-p. Quote function with #'.
5327
5328 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5329 (help-make-xrefs): Use looking-at-p.
5330 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5331
5332 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5333 (ibuffer-confirm-operation-on): Use string-match-p.
5334
5335 * msb.el (msb-item-handler, msb-dired-item-handler):
5336 Mark unused arguments.
5337
5338 * ses.el (ses-decode-cell-symbol)
5339 (ses-kill-override): Remove unused local variable.
5340 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5341 (ses-load): Use ignore-errors, looking-at-p.
5342 (ses-jump-safe): Use ignore-errors.
5343 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5344
5345 * tabify.el (untabify, tabify): Mark unused arguments.
5346
5347 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5348 Mark unused argument.
5349 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5350 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5351
c880af52
JB
5352 * emacs-lisp/timer.el (timer--time): Define setter with
5353 gv-define-setter to avoid deprecation warning.
5354
5660113b 5355 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5356 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5357 (cmpl-statistics-block): Remove (body was commented out).
5358 All callers changed.
5359 (add-completions-from-buffer, load-completions-from-file):
5360 Remove unused variables.
5361
156aab80
JB
53622013-08-09 Juanma Barranquero <lekktu@gmail.com>
5363
5c5dee78
JB
5364 * filecache.el (file-cache-delete-file-list):
5365 Print message only when told so.
5366 (file-cache-files-matching): Use #' in mapconcat argument.
5367
156aab80
JB
5368 * ffap.el (ffap-url-at-point): Fix reference to variable
5369 thing-at-point-default-mail-uri-scheme.
5370
ad9dcd70
SM
53712013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5372
54bd972f
SM
5373 * subr.el (define-error): New function.
5374 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5375 error-file-not-found and define with define-error.
5376 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5377 and define with define-error.
5378 * userlock.el (file-locked, file-supersession):
5379 * simple.el (mark-inactive):
5380 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5381 * progmodes/ada-mode.el (ada-mode-errors):
5382 * play/life.el (life-extinct):
5383 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5384 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5385 * nxml/rng-util.el (rng-error):
5386 * nxml/rng-uri.el (rng-uri-error):
5387 * nxml/rng-match.el (rng-compile-error):
5388 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5389 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5390 * nxml/nxml-rap.el (nxml-scan-error):
5391 * nxml/nxml-outln.el (nxml-outline-error):
5392 * net/soap-client.el (soap-error):
5393 * net/gnutls.el (gnutls-error):
5394 * net/ange-ftp.el (ftp-error):
5395 * mpc.el (mpc-proc-error):
5396 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5397 (json-number-format, json-string-escape, json-string-format)
5398 (json-key-format, json-object-format):
5399 * jka-compr.el (compression-error):
5400 * international/quail.el (quail-error):
5401 * international/kkc.el (kkc-error):
5402 * emacs-lisp/ert.el (ert-test-failed):
5403 * calc/calc.el (calc-error, inexact-result, math-overflow)
5404 (math-underflow):
5405 * bookmark.el (bookmark-error-no-filename):
5406 * epg.el (epg-error): Define with define-error.
5407
0ea9e53a
SM
5408 * time.el (display-time-event-handler)
5409 (display-time-next-load-average): Don't call sit-for since it seems
5410 unnecessary (bug#15045).
5411
b0429158
SM
5412 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5413 Use #' instead of ' to quote functions.
5414 (checkdoc-output-mode): Use setq-local.
5415 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5416 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5417 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5418 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5419 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5420 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5421 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5422 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5423
ad9dcd70
SM
5424 * ido.el (ido-completion-help): Fix up compiler warning.
5425
77187e6f
JB
54262013-08-09 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * frameset.el (frameset-p): Add autoload cookie.
5429 (frameset--jump-to-register): New function, based on code moved from
5430 register.el.
5431 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5432
5433 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5434 (frameset-restore, frameset-save, frameset-session-filter-alist):
5435 Remove declarations.
5436 (register-alist): Doc fix.
5437 (frameset-to-register): Move to frameset.el.
5438 (jump-to-register, describe-register-1): Remove frameset-specific code.
5439
9d3aa82c
JB
54402013-08-08 Juanma Barranquero <lekktu@gmail.com>
5441
5442 * allout-widgets.el (allout-widgets-pre-command-business)
5443 (allout-widgets-post-command-business)
5444 (allout-widgets-after-change-handler)
5445 (allout-decorate-item-and-context, allout-set-boundary-marker)
5446 (allout-body-modification-handler)
5447 (allout-graphics-modification-handler): Mark ignored arguments.
5448 (allout-widgets-post-command-business)
5449 (allout-widgets-exposure-change-processor)
5450 (allout-widgets-exposure-undo-processor)
5451 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5452 (allout-parse-item-at-point, allout-decorate-item-guides)
5453 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5454 * allout.el (epa-passphrase-callback-function): Declare.
5455 (allout-overlay-insert-in-front-handler)
5456 (allout-overlay-interior-modification-handler)
5457 (allout-isearch-end-handler, allout-chart-siblings)
5458 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5459 (allout-yank-processing, allout-process-exposed)
5460 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5461 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5462 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5463 (lisp-indent-defform): Mark ignored arguments.
5464 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5465 (calculate-lisp-indent): Remove unused variables.
5466 * international/characters.el (indian-2-column, arabic-2-column)
5467 (tibetan): Mark ignored arguments.
5468 (use-cjk-char-width-table): Mark ignored arguments.
5469 Remove unused variables.
5470 * international/fontset.el (build-default-fontset-data)
5471 (x-compose-font-name, create-fontset-from-fontset-spec):
5472 Mark ignored arguments.
5473 (fontset-plain-name): Remove unused variables.
5474 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5475 (keyboard-coding-system): Mark ignored arguments.
5476 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5477 * help.el (resize-temp-buffer-window):
5478 * window.el (display-buffer-in-major-side-window)
5479 (display-buffer-in-side-window, display-buffer-in-previous-window):
5480 Remove unused variables.
5481 * isearch.el (isearch-forward-symbol):
5482 * version.el (emacs-bzr-version-bzr):
5483 * international/mule-cmds.el (current-language-environment):
5484 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5485 (x-handle-display):
5486 * term/pc-win.el (x-list-fonts, x-display-planes)
5487 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5488 (x-server-version, x-display-screens, x-display-mm-height)
5489 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5490 (x-selection-owner-p, x-own-selection-internal)
5491 (x-disown-selection-internal, x-get-selection-internal)
5492 (msdos-initialize-window-system):
5493 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5494 * term/x-win.el (x-handle-no-bitmap-icon):
5495 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5496 (vc-default-find-file-hook, vc-default-extra-menu):
5497 Mark ignored arguments.
5498
0ca3f70e
SM
54992013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5502 break-condition in the context of the debugged code (bug#12685).
5503
74c5d24c
CS
55042013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5505
5506 * comint.el:
5507 Do not use an overlay to highlight the last prompt. (Bug#14744)
5508 (comint-mode): Make comint-last-prompt buffer local.
5509 (comint-last-prompt): New variable.
5510 (comint-last-prompt-overlay): Remove. Superseded by
5511 comint-last-prompt.
0ca3f70e
SM
5512 (comint-snapshot-last-prompt, comint-output-filter):
5513 Use comint-last-prompt.
74c5d24c 5514
c03c02ee
JB
55152013-08-08 Juanma Barranquero <lekktu@gmail.com>
5516
a3738d20 5517 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5518 (frameset-save): Check validity of the resulting frameset.
5519
04263d23
XF
55202013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5521
5522 * ido.el (ido-record-command): Add doc string.
5523
76c5e5ab
JB
55242013-08-08 Juanma Barranquero <lekktu@gmail.com>
5525
5526 * frameset.el (frameset): Do not disable creation of the default
5527 frameset-p predicate. Doc fix.
5528 (frameset-valid-p): New function, copied from the old predicate-p.
5529 Add additional checks.
5530 (frameset-restore): Check with frameset-valid-p.
5531 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5532 (frameset-name, frameset-description, frameset-properties)
5533 (frameset-states): Add docstring.
f9dbf1cb
JB
5534 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5535 (frameset-filter-alist): Doc fixes.
76c5e5ab 5536
bd0c3c0b
JB
55372013-08-08 Juanma Barranquero <lekktu@gmail.com>
5538
5539 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5540
c735544c
SM
55412013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5544 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5545 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5546 (byte-compile-normal-call): Remove obsolescence check.
5547
2805a651
JB
55482013-08-08 Juanma Barranquero <lekktu@gmail.com>
5549
3677ffeb
JB
5550 * frameset.el (frameset-restore): Doc fix.
5551
2805a651
JB
5552 * register.el (frameset-frame-id, frameset-frame-with-id)
5553 (frameset-p, frameset-restore, frameset-save): Declare.
5554 (register-alist): Document framesets.
5555 (frameset-session-filter-alist): Declare.
5556 (frameset-to-register): New function.
5557 (jump-to-register): Implement jumping to framesets. Doc fix.
5558 (describe-register-1): Describe framesets.
5559
5560 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5561
a912c016
JB
55622013-08-07 Juanma Barranquero <lekktu@gmail.com>
5563
5564 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5565 Use lexical-binding.
5566
5567 * frameset.el (frameset): Use type vector, not list (incompatible
5568 change). Do not declare a new constructor, use the default one.
5569 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5570 `name' and `description', respectively, and add read-only slot
5571 `timestamp'. Doc fixes.
5572 (frameset-copy, frameset-persistent-filter-alist)
5573 (frameset-filter-alist, frameset-switch-to-gui-p)
5574 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5575 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5576 (frameset-filter-iconified, frameset-keep-original-display-p):
5577 Doc fixes.
5578 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5579 Rename from frameset-filter-(save|restore)-param. All callers changed.
5580 Doc fix.
5581 (frameset-p): Adapt to change to vector and be more thorough.
5582 Change arg name to OBJECT. Doc fix.
5583 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5584 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5585 All callers changed.
5586 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5587 All callers changed.
5588 (frameset--record-minibuffer-relationships): Rename from
5589 frameset--process-minibuffer-frames. All callers changed.
5590 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5591 Use new default constructor (again). Doc fix.
5592 (frameset--find-frame-if): Rename from `frameset--find-frame.
5593 All callers changed.
5594 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5595 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5596 Doc fix.
5597 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5598 PARAMETERS and WINDOW-STATE, respectively.
5599 (frameset-restore): Add new keyword argument PREDICATE.
5600 Reset frameset--target-display to nil. Doc fix.
5601
bb41480a
SM
56022013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5603
f001e98e
SM
5604 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5605 (bat-mode): Use it.
5606 (bat-mode-syntax-table): Mark \n as end-of-comment.
5607 (bat-font-lock-keywords): Remove comment rule.
5608
7679edb1
SM
5609 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5610 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5611
bb41480a
SM
5612 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5613 (byte-compile-callargs-warn): Use `push'.
5614 (byte-compile-arglist-warn): Ignore higher-order "calls".
5615 (byte-compile-file-form-autoload): Use `pcase'.
5616 (byte-compile-function-form): If quoting a symbol, check that it exists.
5617
cdc1ebb9
EZ
56182013-08-07 Eli Zaretskii <eliz@gnu.org>
5619
5620 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5621 and add a few popular commands found in batch files.
5622 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5623 (dos-mode): Doc fixes.
5624
312b1740
SM
56252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5628 (dos-mode): Use setq-local. Add space after "rem".
5629 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5630 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5631
400a3178
AM
56322013-08-07 Arni Magnusson <arnima@hafro.is>
5633
5634 * progmodes/dos.el: New file.
5635 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5636 dos-mode.
5637
3b5c03d3
GM
56382013-08-06 Glenn Morris <rgm@gnu.org>
5639
5640 * calendar/calendar.el: Add new faces, and day-header-array.
5641 (calendar-weekday-header, calendar-weekend-header)
5642 (calendar-month-header): New faces.
5643 (calendar-day-header-construct): New function.
5644 (calendar-day-header-width): Also :set calendar-day-header-array.
5645 (calendar-american-month-header, calendar-european-month-header)
5646 (calendar-iso-month-header): Use calendar- faces.
5647 (calendar-generate-month):
5648 Use calendar-day-header-array for day headers; apply faces to them.
5649 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5650 (calendar-abbrev-construct): Add optional maxlen argument.
5651 (calendar-day-name-array): Doc fix.
5652 (calendar-day-name-array, calendar-abbrev-length)
5653 (calendar-day-abbrev-array):
5654 Also :set calendar-day-header-array, and maybe redraw.
5655 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5656 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5657 (calendar-day-name): Add option to use header array.
5658
ec6a2d7a
LMI
56592013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5660
5661 * net/shr.el (shr-render-td): Remove debugging.
5662 (shr-render-td): Make width computation consistent by defaulting
5663 all zero-width columns to 10 characters. This may not be optimal,
5664 but it's at least consistent.
2122cb6d
LMI
5665 (shr-make-table-1): Redo last change to fix the real problem in
5666 colspan handling.
ec6a2d7a 5667
ed4fd9c5
DA
56682013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5669
0ca3f70e
SM
5670 * files.el (cache-long-line-scans):
5671 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5672
64e22afe
JB
56732013-08-06 Juanma Barranquero <lekktu@gmail.com>
5674
024b38fc
JB
5675 * frameset.el (frameset, frameset-filter-alist)
5676 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5677 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5678 (frameset-compute-pos): Rename from frameset--compute-pos,
5679 and add docstring.
5680 (frameset-move-onscreen): Use frameset-compute-pos.
5681 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5682
64e22afe
JB
5683 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5684 Fix typos in docstrings.
5685
c8c2aca8
DA
56862013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5687
5688 * frame.el (get-other-frame): Tiny cleanup.
5689
1d237bba
JB
56902013-08-06 Juanma Barranquero <lekktu@gmail.com>
5691
8951efef
JB
5692 * vc/vc.el (vc-default-ignore-completion-table):
5693 Silence byte-compiler warning.
5694
307764cc
JB
5695 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5696 slot , which can indeed be nil.
5697 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5698 Move entry for `left' from persistent to live filter alist.
5699 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5700 Doc fixes.
5701 (frameset-filter-params): When restoring a frame, copy items added to
5702 `filtered', to avoid unwittingly modifying the original parameters.
5703 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5704 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5705
1d237bba
JB
5706 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5707 to use looking-at-p instead of looking-at. (Bug#15028)
5708
dc6c0eda
SM
57092013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 Revert introduction of isearch-filter-predicates (bug#14714).
5712 Rely on add-function instead.
5713 * isearch.el (isearch-filter-predicates): Rename it back to
5714 isearch-filter-predicate.
5715 (isearch-message-prefix): Use advice-function-mapc and advice
5716 properties to get the isearch-message-prefix.
5717 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5718 instead of run-hook-with-args-until-failure.
5719 (isearch-filter-visible): Not obsolete any more.
5720 * loadup.el: Preload nadvice.
5721 * replace.el (perform-replace): Revert to funcall
5722 instead of run-hook-with-args-until-failure.
5723 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5724 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5725 dired-isearch-filenames-toggle; make it into a proper minor mode.
5726 Use add/remove-function.
5727 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5728 Call the minor-mode rather than add/remove-hook.
5729 (dired-isearch-filter-filenames):
5730 Remove isearch-message-prefix property.
5731 * info.el (Info--search-loop): New function, extracted from Info-search.
5732 Funcall isearch-filter-predicate instead of
5733 run-hook-with-args-until-failure isearch-filter-predicates.
5734 (Info-search): Use it.
5735 (Info-mode): Use isearch-filter-predicate instead of
5736 isearch-filter-predicates.
5737
290d5b58
DA
57382013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5739
5740 Do not call to `selected-window' where it is assumed by default.
5741 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5742 `window-hscroll', `window-width', `window-height', `window-buffer',
5743 `window-frame', `window-start', `window-point', `next-window'
5744 and `window-display-table'.
5745 * abbrev.el (abbrev--default-expand):
5746 * bs.el (bs--show-with-configuration):
5747 * buff-menu.el (Buffer-menu-mouse-select):
5748 * calc/calc.el (calc):
5749 * calendar/calendar.el (calendar-generate-window):
5750 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5751 (diary-make-entry):
5752 * comint.el (send-invisible, comint-dynamic-complete-filename)
5753 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5754 * completion.el (complete):
5755 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5756 * disp-table.el (describe-current-display-table):
5757 * doc-view.el (doc-view-insert-image):
5758 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5759 * ehelp.el (with-electric-help):
5760 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5761 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5762 * emacs-lisp/helper.el (Helper-help-scroller):
5763 * emulation/cua-base.el (cua--post-command-handler-1):
5764 * eshell/esh-mode.el (eshell-output-filter):
5765 * ffap.el (ffap-gnus-wrapper):
5766 * help-macro.el (make-help-screen):
5767 * hilit-chg.el (highlight-compare-buffers):
5768 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5769 * hl-line.el (global-hl-line-highlight):
5770 * icomplete.el (icomplete-simple-completing-p):
5771 * isearch.el (isearch-done):
5772 * jit-lock.el (jit-lock-stealth-fontify):
5773 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5774 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5775 * mpc.el (mpc-tagbrowser, mpc):
5776 * net/rcirc.el (rcirc-any-buffer):
5777 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5778 * play/landmark.el (landmark-max-width, landmark-max-height):
5779 * play/zone.el (zone):
5780 * progmodes/compile.el (compilation-goto-locus):
5781 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5782 * progmodes/etags.el (find-tag-other-window):
5783 * progmodes/fortran.el (fortran-column-ruler):
5784 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5785 * progmodes/verilog-mode.el (verilog-point-text):
5786 * reposition.el (reposition-window):
5787 * rot13.el (toggle-rot13-mode):
5788 * server.el (server-switch-buffer):
5789 * shell.el (shell-dynamic-complete-command)
5790 (shell-dynamic-complete-environment-variable):
5791 * simple.el (insert-buffer, set-selective-display)
5792 (delete-completion-window):
5793 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5794 (speedbar-recenter):
5795 * startup.el (fancy-splash-head):
5796 * textmodes/ispell.el (ispell-command-loop):
5797 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5798 * tutorial.el (help-with-tutorial):
5799 * vc/add-log.el (add-change-log-entry):
5800 * vc/compare-w.el (compare-windows):
5801 * vc/ediff-help.el (ediff-indent-help-message):
5802 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5803 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5804 (ediff-setup-control-frame):
5805 * vc/emerge.el (emerge-position-region):
5806 * vc/pcvs-util.el (cvs-bury-buffer):
5807 * window.el (walk-windows, mouse-autoselect-window-select):
5808 * winner.el (winner-set-conf, winner-undo): Related users changed.
5809
38276e01
JB
58102013-08-05 Juanma Barranquero <lekktu@gmail.com>
5811
5812 * frameset.el (frameset--set-id): Doc fix.
5813 (frameset-frame-id, frameset-frame-id-equal-p)
5814 (frameset-locate-frame-id): New functions.
5815 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5816 (frameset-restore): Use them.
5817
12b4c0ea
DA
58182013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5819
5820 Do not call to `selected-frame' where it is assumed by default.
5821 Affected functions are `raise-frame', `redraw-frame',
5822 `frame-first-window', `frame-terminal' and `delete-frame'.
5823 * calendar/appt.el (appt-disp-window):
5824 * epg.el (epg-wait-for-completion):
5825 * follow.el (follow-delete-other-windows-and-split)
5826 (follow-avoid-tail-recenter):
5827 * international/mule.el (set-terminal-coding-system):
5828 * mail/rmail.el (rmail-mail-return):
5829 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5830 * progmodes/f90.el (f90-add-imenu-menu):
5831 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5832 * server.el (server-switch-buffer):
5833 * simple.el (delete-completion-window):
5834 * talk.el (talk):
5835 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5836 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5837 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5838 * vc/ediff.el (ediff-documentation): Related users changed.
5839 * frame.el (selected-terminal): Remove the leftover.
5840
17f25e76
GM
58412013-08-05 Glenn Morris <rgm@gnu.org>
5842
5843 * calendar/calendar.el (calendar-generate-month):
5844 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5845 (calendar-generate-month, calendar-font-lock-keywords):
5846 Fix for calendar-day-header-width > length of any day name.
17f25e76 5847
063233c3
JB
58482013-08-05 Juanma Barranquero <lekktu@gmail.com>
5849
5850 * desktop.el (desktop-clear): Use new name of sort predicate.
5851
5852 * frameset.el (frameset): Add docstring. Move :version property to its
5853 own `version' slot.
5854 (frameset-copy): Rename from copy-frameset.
5855 (frameset-p): Check more thoroughly.
5856 (frameset-prop): Do not check for :version, which is no longer a prop.
5857 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5858 Use new :never value instead of t.
5859 (frameset-filter-alist): Expand and clarify docstring.
5860 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5861 (frameset-filter-minibuffer, frameset-filter-save-param)
5862 (frameset-filter-restore-param, frameset-filter-iconified):
5863 Add pointer to docstring of frameset-filter-alist.
5864 (frameset-filter-params): Rename filter values to be more meaningful:
5865 :never instead of t, and reverse the meanings of :save and :restore.
5866 (frameset--process-minibuffer-frames): Clarify error message.
5867 (frameset-save): Avoid unnecessary and confusing call to framep.
5868 Use new BOA constructor for framesets.
5869 (frameset--reuse-list): Doc fix.
5870 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5871 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5872 (frameset-minibufferless-first-p): Doc fix.
5873 Rename from frameset-sort-frames-for-deletion.
5874 (frameset-restore): Doc fixes. Use new function names.
5875 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5876
d5671a82
JB
58772013-08-04 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * desktop.el (desktop-restore-forces-onscreen)
5880 (desktop-restore-reuses-frames): Document :keyword constant values.
5881 (desktop-filter-parameters-alist): Remove, now identical to
5882 frameset-filter-alist.
5883 (desktop--filter-tty*): Remove, moved to frameset.el.
5884 (desktop-save-frameset, desktop-restore-frameset):
5885 Do not pass :filters argument.
5886
5887 * frameset.el (frameset-live-filter-alist)
5888 (frameset-persistent-filter-alist): New variables.
5889 (frameset-filter-alist): Use them. Add autoload cookie.
5890 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5891 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5892 `frameset--id' (it's supposed to be internal to frameset.el).
5893 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5894 (frameset--initial-params): New function.
5895 (frameset--get-frame): Use it. Doc fix.
5896 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5897 Accept :all, not 'all.
5898 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5899 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5900 with fbound symbols. Fix frame id matching, and remove matching ids if
5901 the frame being restored is deleted. Obey :delete.
5902
671d5c16
SM
59032013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * subr.el (macrop): New function.
5906 (text-clone--maintaining): New var.
5907 (text-clone--maintain): Rename from text-clone-maintain. Use it
5908 instead of inhibit-modification-hooks.
5909
5910 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5911 a proxy, so as handle autoloads and redefinitions of the target.
5912 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5913
5914 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5915 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5916 (pcase--mutually-exclusive-p): New function.
5917 (pcase--split-consp): Use it.
5918 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5919 mutually exclusive with the current predicate.
5920
5921 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5922 (edebug-macrop): Remove. Use `macrop' instead.
5923 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5924 (ad-macro-p):
5925 * eshell/esh-cmd.el (eshell-macrop):
5926 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5927
1d44e9dc
SM
59282013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5931 (advice-mapc): New function, using it.
5932 (advice-function-member-p): New function.
5933 (advice--normalize): Store the cdr in advice--saved-rewrite since
5934 that's the part that will be changed.
5935 (advice--symbol-function): New function.
5936 (advice-remove): Handle removal before the function is defined.
5937 Adjust to new advice--saved-rewrite.
5938 (advice-member-p): Use advice-function-member-p and
5939 advice--symbol-function.
5940
5414a283
JB
59412013-08-04 Juanma Barranquero <lekktu@gmail.com>
5942
51d30f2c
JB
5943 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5944 (frameset-filter-minibuffer): Doc fix.
5945 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5946 (frameset--set-id, frameset--process-minibuffer-frames)
5947 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5948 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5949
5414a283
JB
5950 * desktop.el (desktop-clear): Only delete frames when called
5951 interactively and desktop-restore-frames is non-nil. Doc fix.
5952 (desktop-read): Set desktop-saved-frameset to nil.
5953
ab419665
XF
59542013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5955
5956 * vc/vc.el (vc-ignore): Rewrite.
5957 (vc-default-ignore-completion-table):
5958 (vc--read-lines):
5959 (vc--add-line, vc--remove-regexp): New functions.
5960
5961 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5962 (vc-svn-ignore-completion-table): New function.
5963
5964 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5965 (vc-hg-ignore-completion-table):
5966 (vc-hg-find-ignore-file): New functions.
5967
5968 * vc/vc-git.el (vc-git-ignore): Rewrite.
5969 (vc-git-ignore-completion-table):
5970 (vc-git-find-ignore-file): New functions.
5971
5972 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5973
5974 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5975 (vc-bzr-ignore-completion-table):
5976 (vc-bzr-find-ignore-file): New functions.
5977
2613dea2
JB
59782013-08-03 Juanma Barranquero <lekktu@gmail.com>
5979
5980 * frameset.el (frameset-prop): New function and setter.
5981 (frameset-save): Do not modify frame list passed by the caller.
5982
9c959872
SM
59832013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5986
a104f656
SM
59872013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5988
70122acf
SM
5989 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5990 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5991
a104f656
SM
5992 * custom.el (custom-initialize-default, custom-initialize-set)
5993 (custom-initialize-reset, custom-initialize-changed): Affect the
5994 toplevel-default-value (bug#6275, bug#14586).
5995 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5996 for bug#6275.
5997
f078d570
JB
59982013-08-02 Juanma Barranquero <lekktu@gmail.com>
5999
185e3b5a
JB
6000 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6001 Add cl-def* expressions.
6002
f078d570
JB
6003 * frameset.el (frameset-filter-params): Fix order of arguments.
6004
9421876d
JB
60052013-08-02 Juanma Barranquero <lekktu@gmail.com>
6006
6007 Move code related to saving frames to frameset.el.
6008 * desktop.el: Require frameset.
6009 (desktop-restore-frames): Doc fix.
6010 (desktop-restore-reuses-frames): Rename from
6011 desktop-restoring-reuses-frames.
6012 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6013 (desktop-clear): Clear frames too.
6014 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6015 (desktop--filter-tty*, desktop-save, desktop-read):
6016 Use frameset functions.
6017 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6018 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6019 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6020 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6021 (desktop--process-minibuffer-frames, desktop-save-frames)
6022 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6023 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6024 (desktop--sort-states, desktop-restoring-frames-p)
6025 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6026 (desktop-restoring-frameset-p, desktop-restore-frameset)
6027 (desktop--check-dont-save, desktop-save-frameset): New functions.
6028 (desktop--app-id): New constant.
6029 (desktop-first-buffer, desktop-buffer-ok-count)
6030 (desktop-buffer-fail-count): Move before first use.
6031 * frameset.el: New file.
6032
76dc5996
SM
60332013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * files.el: Use lexical-binding.
6036 (dir-locals-read-from-file): Remove unused `err' variable.
6037 (hack-dir-local-variables--warned-coding): New var.
6038 (hack-dir-local-variables): Use it to avoid repeated warnings.
6039 (make-backup-file-name--default-function): New function.
6040 (make-backup-file-name-function): Use it as default.
6041 (buffer-stale--default-function): New function.
6042 (buffer-stale-function): Use it as default.
6043 (revert-buffer-insert-file-contents--default-function): New function.
6044 (revert-buffer-insert-file-contents-function): Use it as default.
6045 (insert-directory): Avoid add-to-list.
6046
6047 * autorevert.el (auto-revert-handler): Simplify.
6048 Use buffer-stale--default-function.
6049
06d36e2b
TH
60502013-08-01 Tassilo Horn <tsdh@gnu.org>
6051
5f648ab4
TH
6052 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6053
06d36e2b
TH
6054 * whitespace.el (whitespace-ensure-local-variables): New function.
6055 (whitespace-cleanup-region): Call it.
6056 (whitespace-turn-on): Call it.
6057
a43dc424
MA
60582013-08-01 Michael Albinus <michael.albinus@gmx.de>
6059
6060 Complete file name handlers.
6061
6062 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6063 (tramp-handle-verify-visited-file-modtime)
6064 (tramp-handle-file-notify-rm-watch): New functions.
6065 (tramp-call-process): Do not bind `default-directory'.
6066
44e18199
JB
6067 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6068 Order alphabetically.
a43dc424
MA
6069 [access-file, add-name-to-file, dired-call-process]:
6070 [dired-compress-file, file-acl, file-notify-rm-watch]:
6071 [file-ownership-preserved-p, file-selinux-context]:
6072 [make-directory-internal, make-symbolic-link, set-file-acl]:
6073 [set-file-selinux-context, set-visited-file-modtime]:
6074 [verify-visited-file-modtime]: Add handler.
6075 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6076
6077 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6078 [file-notify-add-watch, file-notify-rm-watch]:
6079 [set-file-times, set-visited-file-modtime]:
6080 [verify-visited-file-modtime]: Add handler.
6081 (with-tramp-gvfs-error-message)
6082 (tramp-gvfs-handle-set-visited-file-modtime)
6083 (tramp-gvfs-fuse-file-name): Remove.
6084 (tramp-gvfs-handle-file-notify-add-watch)
6085 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6086 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6087
44e18199
JB
6088 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6089 Order alphabetically.
a43dc424
MA
6090 [file-notify-rm-watch ]: Use default Tramp handler.
6091 [executable-find]: Remove private handler.
6092 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6093 `default-directory'.
6094 (tramp-sh-handle-executable-find)
6095 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6096 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6097 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6098 Do not use `format' in `tramp-message'.
6099
6100 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6101 [file-notify-rm-watch, set-visited-file-modtime]:
6102 [verify-visited-file-modtime]: Add handler.
6103 (tramp-smb-call-winexe): Do not bind `default-directory'.
6104
7188b515
XF
61052013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6106
6107 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6108
2412ee1a
DG
61092013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6110
6111 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6112 use it.
6113 (log-view-diff-changeset): Same.
6114 (log-view-diff-common): Call backend command `previous-revision'
6115 to find out the previous revision, in both cases. Swap the
6116 variables `to' and `fr', so that `fr' usually refers to the
6117 earlier revision (Bug#14989).
6118
5002a754
KRC
61192013-07-31 Kan-Ru Chen <kanru@kanru.info>
6120
6121 * ibuf-ext.el (ibuffer-filter-by-filename):
6122 Make it work with dired buffers too.
6123
44e18199 61242013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6125
6126 * emacs-lisp/re-builder.el (reb-color-display-p):
6127 * files.el (save-buffers-kill-terminal):
6128 * net/browse-url.el (browse-url):
6129 * server.el (server-save-buffers-kill-terminal):
6130 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6131 Prefer nil to selected-frame for the first arg of frame-parameter.
6132
aeca3fbb
XF
61332013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6134
6135 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6136
158bc55c
SB
61372013-07-30 Stephen Berman <stephen.berman@gmx.net>
6138
6139 * minibuffer.el (completion--twq-all): Try and preserve each
6140 completion's case choice (bug#14907).
6141
d50fceab
LMI
61422013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6143
ac38e731
LMI
6144 * net/network-stream.el (open-network-stream): Mention the new
6145 :nogreeting parameter.
6146 (network-stream-open-starttls): Use the :nogreeting parameter
6147 (bug#14938).
6148
1211de50
LMI
6149 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6150
997798bf
LMI
6151 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6152 more natural than popping.
6153
d50fceab 6154 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6155 (shr-urlify): Highlight under mouse.
d50fceab 6156
5c09de04
XF
61572013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6158
207d1d04
XF
6159 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6160
6161 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6162
5c09de04
XF
6163 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6164 buffer for output.
6165
3cd51eaa
XF
6166 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6167 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6168
44e18199 6169 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6170 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6171
6172 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6173
6174 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6175 buffer for output.
6176
35a89bdd
EZ
61772013-07-29 Eli Zaretskii <eliz@gnu.org>
6178
6179 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6180 initial frame is minibuffer-less. (Bug#14841)
6181
78822e94
MA
61822013-07-29 Michael Albinus <michael.albinus@gmx.de>
6183
6184 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6185 option.
6186
6187 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6188 (tramp-maybe-open-connection): Use it.
6189
9503c190
JB
61902013-07-28 Juanma Barranquero <lekktu@gmail.com>
6191
6192 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6193 minimal set of parameters passed when creating a frame, because
6194 the minibuffer status of a frame cannot be changed later.
6195
d5a845b4
SB
61962013-07-28 Stephen Berman <stephen.berman@gmx.net>
6197
6198 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6199 replace-regexp-in-string and inadvertent omissions in previous change.
6200 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6201 name of filtered items buffer.
d5a845b4 6202
ddeffb17
JB
62032013-07-28 Juanma Barranquero <lekktu@gmail.com>
6204
6205 * desktop.el: Optionally force offscreen frames back onscreen.
6206 (desktop-restoring-reuses-frames): New option.
6207 (desktop--compute-pos, desktop--move-onscreen): New functions.
6208 (desktop--make-frame): Use desktop--move-onscreen.
6209
f5950f7a
AM
62102013-07-27 Alan Mackenzie <acm@muc.de>
6211
6212 Fontify a Java generic method as a function.
6213 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6214 value to t.
6215
ae43b66a
SB
62162013-07-27 Stephen Berman <stephen.berman@gmx.net>
6217
6218 * calendar/todo-mode.el: Add command to rename todo files.
6219 (todo-rename-file): New command.
6220 (todo-key-bindings-t): Add key binding for it. Change the
6221 bindings of todo-filter-regexp-items(-multifile) to use `x'
6222 instead of `r', since the latter is better suited to the new
6223 renaming command.
6224
5ab78d3d
AM
62252013-07-27 Alan Mackenzie <acm@muc.de>
6226
6227 Make Java try-with-resources statement parse properly.
6228 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6229 (c-block-stmt-1-2-key): New language constants/variables.
6230 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6231 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6232 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6233 with c-block-stmt-1-2-key.
5ab78d3d 6234
d85c4d50
JB
62352013-07-27 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * desktop.el (desktop--make-frame): Apply most frame parameters after
6238 creating the frame to force (partially or totally) offscreen frames to
6239 be restored as such.
6240
e4c467f9
XF
62412013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6242
6243 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6244 (Bug#14948)
e4c467f9 6245
7ced0d04
SM
62462013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6247
6248 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6249 `base' arg of backtrace-frame.
6250
fec92060
EZ
62512013-07-26 Eli Zaretskii <eliz@gnu.org>
6252
6253 * simple.el (list-processes): Doc fix.
6254
d58d31fb
JB
62552013-07-26 Juanma Barranquero <lekktu@gmail.com>
6256
6257 * desktop.el (desktop--select-frame):
d85c4d50 6258 Try harder to reuse existing frames.
d58d31fb 6259
53ff3e77
SM
62602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6263 (edebug-eval): Use backtrace-eval.
6264 (edebug--display, edebug--recursive-edit): Don't let-bind the
6265 edebug-outer-* vars that keep track of variables we locally let-bind.
6266 (edebug-outside-excursion): Don't restore outside values of locally
6267 let-bound vars.
6268 (edebug--display): Use user-error.
6269 (cl-lexical-debug, cl-debug-env): Remove.
6270
045f7a53
JB
62712013-07-26 Juanma Barranquero <lekktu@gmail.com>
6272
6273 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6274 are restored to be sure that they are visible before deleting any
6275 remaining ones.
6276
59070b32
MM
62772013-07-26 Matthias Meulien <orontee@gmail.com>
6278
742a3501
XF
6279 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6280 vc-print-root-log. (Bug#14948)
59070b32 6281
b1fb3596
RS
62822013-07-26 Richard Stallman <rms@gnu.org>
6283
6284 Add aliases for encrypting mail.
6285 * epa.el (epa-mail-aliases): New option.
6286 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6287 Bind inhibit-read-only so read-only text doesn't ruin everything.
6288 (epa-mail-default-recipients): New subroutine broken out.
6289 Handle epa-mail-aliases.
6290
56ea7291
SM
62912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 Add support for lexical variables to the debugger's `e' command.
6294 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6295 vars, except for debugger-outer-match-data.
6296 (debugger-frame-number): Move check for "on a function call" from
6297 callers into it. Add `skip-base' argument.
6298 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6299 (debugger-env-macro): Only reset the state stored in non-variables,
6300 i.e. current-buffer and match-data.
6301 (debugger-eval-expression): Rewrite using backtrace-eval.
6302 * subr.el (internal--called-interactively-p--get-frame): Remove.
6303 (called-interactively-p):
6304 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6305 `base' arg of backtrace-frame instead.
6306
15ac32d5
GM
63072013-07-26 Glenn Morris <rgm@gnu.org>
6308
8358a09d
GM
6309 * align.el (align-regexp): Doc fix. (Bug#14857)
6310 (align-region): Explicit error if subexpression missing/does not match.
6311
15ac32d5
GM
6312 * simple.el (global-visual-line-mode):
6313 Do not duplicate the mode lighter. (Bug#14858)
6314
f47ad11b
MR
63152013-07-25 Martin Rudalics <rudalics@gmx.at>
6316
6317 * window.el (display-buffer): In display-buffer bind
6318 split-window-keep-point to t, bug#14829.
6319
02530987
JB
63202013-07-25 Juanma Barranquero <lekktu@gmail.com>
6321
6322 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6323 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6324 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6325 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6326 Change accordingly.
f63ebeb5
JB
6327 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6328 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6329
6ccb9cab 63302013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6331
6ccb9cab 6332 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6333
cb3a56d2
JB
63342013-07-25 Juanma Barranquero <lekktu@gmail.com>
6335
6336 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6337 parameter to modify-frame-parameters if the value has not changed;
6338 this is a workaround for bug#14949.
6339 (desktop--make-frame): On cl-delete-if call, check parameter name,
6340 not full parameter.
6341
7aa7fff0
XF
63422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6343
6344 * vc/vc.el (vc-ignore): New function.
6345
6346 * vc/vc-svn.el (vc-svn-ignore): New function.
6347
6348 * vc/vc-hg.el (vc-hg-ignore): New function.
6349
6350 * vc/vc-git.el (vc-git-ignore): New function.
6351
6352 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6353 (vc-dir-ignore): New function.
6354
6355 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6356 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6357
6358 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6359
6360 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6361
889acc5c
JB
63622013-07-24 Juanma Barranquero <lekktu@gmail.com>
6363
6364 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6365 (desktop-restore-frames): Warn when deleting an existing frame failed.
6366
86c40970
GM
63672013-07-24 Glenn Morris <rgm@gnu.org>
6368
6369 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6370
d5d3c58a
MA
63712013-07-24 Michael Albinus <michael.albinus@gmx.de>
6372
6373 * filenotify.el (file-notify-supported-p):
6374 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6375 Remove functions.
6376
6377 * autorevert.el (auto-revert-use-notify):
6378 (auto-revert-notify-add-watch):
6379 * net/tramp.el (tramp-file-name-for-operation):
6380 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6382 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6383 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6384 Remove `file-notify-supported-p' entry.
6385
d100084b
GM
63862013-07-24 Glenn Morris <rgm@gnu.org>
6387
6388 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6389 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6390
ac93e56b
SM
63912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6392
249eea30
SM
6393 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6394 checked with memq (bug#14935).
6395
ac93e56b
SM
6396 * files.el (revert-buffer-function): Use a non-nil default.
6397 (revert-buffer-preserve-modes): Declare var to
6398 provide access to the `preserve-modes' argument.
6399 (revert-buffer): Let-bind it.
6400 (revert-buffer--default): New function, extracted from revert-buffer.
6401
2cdeb903
SM
64022013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * lpr.el: Signal print errors more prominently.
6405 (print-region-function): Don't default to nil.
6406 (lpr-print-region): New function, extracted from print-region-1.
6407 Check lpr's return value and signal an error in case of problem.
6408 (print-region-1): Use it.
6409 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6410 versions instead.
6411 (ps-printer-name): Default to nil.
6412 (ps-printer-name-option): Default to lpr-printer-switch.
6413 (ps-print-region-function): Don't default to nil.
6414 (ps-postscript-code-directory): Simplify default.
6415 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6416 (ps-string-list, ps-eval-switch, ps-flatten-list)
6417 (ps-flatten-list-1): Remove.
6418 (ps-multibyte-buffer): Avoid setq.
6419 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6420 (print-region-function, ps-print-region-function): Don't set them here.
6421
73600831
XF
64222013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6423
0e55c076
XF
6424 * ido.el (ido-fractionp):
6425 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6426 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6427 (ido-max-directory-size, ido-max-dir-file-cache)
6428 (ido-decorations): Doc fix.
6429
73600831
XF
6430 * ansi-color.el: Fix old URL.
6431
3d012865
MM
64322013-07-23 Michael R. Mauger <michael@mauger.com>
6433
e903c210 6434 * progmodes/sql.el: Version 3.3
3d012865
MM
6435 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6436 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6437 (sql-interactive-remove-continuation-prompt): Rewrite, use
6438 functions above. Fix continuation prompt and complete output line
6439 handling.
6440 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6441 redirected output buffer.
6442 (sql-mode): Restore deleted code (Bug#13591).
6443
da77a2e2
JB
64442013-07-23 Juanma Barranquero <lekktu@gmail.com>
6445
6446 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6447
80ff0c71
MA
64482013-07-23 Michael Albinus <michael.albinus@gmx.de>
6449
6450 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6451
6452 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6453 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6454 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6455
b61d71e4
JB
64562013-07-23 Juanma Barranquero <lekktu@gmail.com>
6457
6458 * desktop.el (desktop-clear): Simplify; remove useless checks
6459 against invalid buffer names.
6460 (desktop-list*): Use cl-list*.
6461 (desktop-buffer-info, desktop-create-buffer): Simplify.
6462
c3512092
LL
64632013-07-23 Leo Liu <sdl.web@gmail.com>
6464
6465 * bookmark.el (bookmark-make-record): Restore NAME as a default
6466 value. (Bug#14933)
6467
0ac26976
SM
64682013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6469
7d22ce18
SM
6470 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6471 extracted from autoload--insert-text.
6472 (autoload--insert-text): Remove.
6473 (autoload--print-cookie-text): New function, extracted from
6474 autoload--insert-cookie-text.
6475 (autoload--insert-cookie-text): Remove.
6476 (autoload-generate-file-autoloads): Adjust calls accordingly.
6477
9b2607e8
SM
6478 * winner.el (winner-hook-installed-p): Remove.
6479 (winner-mode): Simplify accordingly.
6480
c43a8618
SM
6481 * subr.el (add-to-list): Fix compiler-macro when `append' is
6482 not constant. Don't use `cl-member' for the base case.
6483
0ac26976
SM
6484 * progmodes/subword.el: Fix boundary case (bug#13758).
6485 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6486 own group.
6487 (subword-backward-regexp): Make it a constant.
6488 (subword-forward-internal): Don't treat a trailing capital as the
6489 beginning of a word.
6490
6874724a
AR
64912013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6492
6493 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6494 global value of tabulated-list-revert-hook (bug#14930).
6495
70f1b5e8
JB
64962013-07-22 Juanma Barranquero <lekktu@gmail.com>
6497
a1c80d9d
JB
6498 * desktop.el: Require 'cl-lib.
6499 (desktop-before-saving-frames-functions): New hook.
6500 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6501 for frames being saved. Rename from desktop--save-minibuffer-frames.
6502 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6503 Do not save frames with non-nil `desktop-dont-save' parameter.
6504 Filter out deleted frames.
a1c80d9d
JB
6505 (desktop--find-frame): Use cl-find-if.
6506 (desktop--select-frame): Use cl-(first|second|third) to access values
6507 of desktop-mini.
6508 (desktop--make-frame): Use cl-delete-if.
6509 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6510 (desktop-restore-frames): Use cl-(first|second|third) to access values
6511 of desktop-mini. Look for visible frame at the end, not while
6512 restoring frames.
6513
70f1b5e8
JB
6514 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6515 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6516 Use string-match-p, looking-at-p (bug#14927).
6517
728dc3cc
JB
65182013-07-21 Juanma Barranquero <lekktu@gmail.com>
6519
56bc453c
JB
6520 * desktop.el (desktop-saved-frame-states):
6521 Rename from desktop--saved-states; all users changed.
6522 (desktop-save-frames): Rename from desktop--save-frames.
6523 Do not save state to desktop file.
6524 (desktop-save): Save desktop-saved-frame-states to desktop file
6525 and reset to nil.
6526 (desktop-restoring-frames-p): New function.
6527 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6528 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6529 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6530
728dc3cc
JB
6531 * desktop.el: Correctly restore iconified frames.
6532 (desktop--filter-iconified-position): New function.
6533 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6534
862f1c9c
GM
65352013-07-20 Glenn Morris <rgm@gnu.org>
6536
c4074c9f
GM
6537 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6538 Let `message' do the formatting.
6539 (def-gdb-preempt-display-buffer): Add explicit format.
6540
d828e5f9
GM
6541 * image-dired.el (image-dired-track-original-file):
6542 Use with-current-buffer.
6543 (image-dired-track-thumbnail): Use with-current-buffer.
6544 Avoid changing point of wrong window.
6545
862f1c9c
GM
6546 * image-dired.el (image-dired-track-original-file):
6547 Avoid changing point of wrong window. (Bug#14909)
6548
f0398ec1 65492013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6550
6551 * progmodes/gdb-mi.el (gdb-done-or-error):
6552 Guard against "%" in gdb output. (Bug#14127)
6553
1451928f
AS
65542013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6555
763a086d
JB
6556 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6557 (Bug#14826)
f7a03897 6558
1451928f
AS
6559 * international/mule.el (coding-system-iso-2022-flags): Fix last
6560 change.
6561
99107004
KH
65622013-07-20 Kenichi Handa <handa@gnu.org>
6563
763a086d
JB
6564 * international/mule.el (coding-system-iso-2022-flags):
6565 Add `8-bit-level-4'. (Bug#8522)
99107004 6566
48494e06
LMI
65672013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6568
8ba8eec5
LMI
6569 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6570 (bug#14815).
6571
dfbc66e3
LMI
6572 * net/eww.el (eww-process-text-input): Allow inputting when the
6573 point is at the start of the line, as the properties aren't
6574 front-sticky.
6575
48494e06
LMI
6576 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6577 degenerate widths.
6578
77c92cb9
RS
65792013-07-19 Richard Stallman <rms@gnu.org>
6580
aec7da77
RS
6581 * epa.el (epa-popup-info-window): Doc fix.
6582
77c92cb9
RS
6583 * subr.el (split-string): New arg TRIM.
6584
945c5bb1
JB
65852013-07-18 Juanma Barranquero <lekktu@gmail.com>
6586
6587 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6588 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6589
e06ec67f
MA
65902013-07-18 Michael Albinus <michael.albinus@gmx.de>
6591
c7064f05 6592 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6593 `file-notify-support'. Do not autoload. Adapt all uses.
6594 (file-notify-supported-p): New defun.
6595
c7064f05
JB
6596 * autorevert.el (auto-revert-use-notify):
6597 Use `file-notify-supported-p' instead of `file-notify-support'.
6598 Adapt docstring.
e06ec67f
MA
6599 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6600
6601 * net/tramp.el (tramp-file-name-for-operation):
6602 Add `file-notify-supported-p'.
6603
6604 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6605 New defun.
6606 (tramp-sh-file-name-handler-alist): Add it as handler for
6607 `file-notify-supported-p '.
6608
6609 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6610 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6611 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6612 Add `ignore' as handler for `file-notify-*' functions.
6613
5dc8a629
EZ
66142013-07-17 Eli Zaretskii <eliz@gnu.org>
6615
6616 * simple.el (line-move-partial, line-move): Don't start vscroll or
6617 scroll-up if the current line is not taller than the window.
6618 (Bug#14881)
6619
77aea2fb
DG
66202013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6621
6622 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6623 highlight question marks in the method names as strings.
ac72c08d
DG
6624 (ruby-block-beg-keywords): Inline.
6625 (ruby-font-lock-keyword-beg-re): Extract from
6626 `ruby-font-lock-keywords'.
77aea2fb 6627
18c26d81
JD
66282013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6629
6630 * frame.el (blink-cursor-blinks): New defcustom.
6631 (blink-cursor-blinks-done): New defvar.
6632 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6633 (blink-cursor-timer-function): Check if number of blinks has been
6634 done on X and NS.
6635 (blink-cursor-suspend, blink-cursor-check): New defuns.
6636
da48522e
GM
66372013-07-15 Glenn Morris <rgm@gnu.org>
6638
6639 * edmacro.el (edmacro-format-keys): Fix previous change.
6640
0463c1ef
PE
66412013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6642
6643 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6644 The hack didn't work outside English locales anyway.
6645
b43f6451
JB
66462013-07-15 Juanma Barranquero <lekktu@gmail.com>
6647
6648 * simple.el (define-alternatives): Rename from alternatives-define,
6649 per RMS' suggestion.
6650
b958c0ad
JB
66512013-07-14 Juanma Barranquero <lekktu@gmail.com>
6652
6653 * desktop.el (desktop-restore-frames): Change default to t.
6654 (desktop-restore-in-current-display): Now offer more options.
6655 (desktop-restoring-reuses-frames): New customization option.
6656 (desktop--saved-states): Doc fix.
6657 (desktop-filter-parameters-alist): New variable, renamed and expanded
6658 from desktop--excluded-frame-parameters.
6659 (desktop--target-display): New variable.
6660 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6661 (desktop--filter-tty*, desktop--filter-*-color)
6662 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6663 (desktop--filter-save-desktop-parm)
6664 (desktop-restore-in-original-display-p): New functions.
6665 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6666 (desktop--save-minibuffer-frames): New function, inspired by a similar
6667 function from Martin Rudalics.
6668 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6669 (desktop--restore-in-this-display-p): Remove.
6670 (desktop--find-frame): Rename from desktop--find-frame-in-display
6671 and add predicate argument.
6672 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6673 (desktop--reuse-list): New variable.
6674 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6675 New functions.
6676 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6677
f6dd8b36
MA
66782013-07-14 Michael Albinus <michael.albinus@gmx.de>
6679
6680 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6681
2ce3c565
DG
66822013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6683
763a086d
JB
6684 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6685 Highlight conversion methods on Kernel.
2ce3c565 6686
2cdb7698
AM
66872013-07-13 Alan Mackenzie <acm@muc.de>
6688
6689 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6690 and comment it out. This out-commenting enables certain C++
6691 declarations to be parsed correctly.
6692
1a67b811
EZ
66932013-07-13 Eli Zaretskii <eliz@gnu.org>
6694
1b796d6b
EZ
6695 * international/mule.el (define-coding-system): Doc fix.
6696
1a67b811
EZ
6697 * simple.el (default-font-height): Don't call font-info if the
6698 frame's default font didn't change since the frame was created.
6699 (Bug#14838)
6700
58fbe886
LL
67012013-07-13 Leo Liu <sdl.web@gmail.com>
6702
6703 * ido.el (ido-read-file-name): Guard against non-symbol value.
6704
1f0480d4
FEG
67052013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6706
6707 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6708 in nested defuns.
6709
97ead0e5
LL
67102013-07-13 Leo Liu <sdl.web@gmail.com>
6711
6712 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6713 ido-set-matches call. (Bug#6852)
6714
0880a952
DG
67152013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6716
6717 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6718 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6719 Ruby 2.0.
6720 (ruby-font-lock-keywords): Distinguish calls to functions with
6721 module-like names from module references. Highlight character
6722 literals.
6723
a7d8babb
SDJ
67242013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6725
6726 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6727 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6728
acfcc8c5
JB
67292013-07-12 Juanma Barranquero <lekktu@gmail.com>
6730
6731 * desktop.el (desktop--v2s): Remove unused local variable.
6732 (desktop-save-buffer): Make defvar-local; adjust docstring.
6733 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6734 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6735
051f2775
AS
67362013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6737
6738 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6739
f24e7572
GM
67402013-07-12 Eli Zaretskii <eliz@gnu.org>
6741
6742 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6743 (Bug#14842)
6744
539a920c
GM
67452013-07-12 Glenn Morris <rgm@gnu.org>
6746
6747 * doc-view.el: Require cl-lib at runtime too.
6748 (doc-view-remove-if): Remove.
6749 (doc-view-search-next-match, doc-view-search-previous-match):
6750 Use cl-remove-if.
6751
6752 * edmacro.el: Require cl-lib at runtime too.
6753 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6754 (edmacro-mismatch, edmacro-subseq): Remove.
6755
6756 * shadowfile.el: Require cl-lib.
6757 (shadow-remove-if): Remove.
6758 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6759 Use cl-remove-if.
6760
6761 * wid-edit.el: Require cl-lib.
6762 (widget-choose): Use cl-remove-if.
6763 (widget-remove-if): Remove.
6764
6765 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6766 (ebrowse-delete-if-not): Remove.
6767 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6768 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6769 Use cl-delete-if-not.
6770
1048af7c
JB
67712013-07-12 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6774 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6775
6c0674ee
LL
67762013-07-12 Leo Liu <sdl.web@gmail.com>
6777
6778 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6779
a19b3c2d
GM
67802013-07-11 Glenn Morris <rgm@gnu.org>
6781
4582a01c
GM
6782 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6783 (edebug-gensym-index, edebug-gensym):
6784 Remove reimplementation of cl-gensym.
6785 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6786
6787 * thumbs.el: Require cl-lib at run-time too.
6788 (thumbs-gensym-counter, thumbs-gensym):
6789 Remove reimplementation of cl-gensym.
6790 (thumbs-temp-file): Use cl-gensym.
6791
a19b3c2d
GM
6792 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6793 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6794 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6795 (ert--union, ert--gensym-counter, ert--gensym-counter)
6796 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6797 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6798 (ert-make-test-unbound, ert--expand-should-1)
6799 (ert--expand-should, ert--should-error-handle-error)
6800 (should-error, ert--explain-equal-rec)
6801 (ert--plist-difference-explanation, ert-select-tests)
6802 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6803 Use cl-lib functions rather than reimplementations.
6804
88f6a933
MA
68052013-07-11 Michael Albinus <michael.albinus@gmx.de>
6806
6807 * net/tramp.el (tramp-methods): Extend docstring.
6808 (tramp-connection-timeout): New defcustom.
6809 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6810 (with-tramp-progress-reporter): Simplify.
6811 (tramp-process-actions): Improve messages.
6812
6813 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6814 * net/tramp-sh.el (tramp-maybe-open-connection):
6815 Use `tramp-connection-timeout'.
6816 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6817 (Bug#14808)
6818
a43d577e
LL
68192013-07-11 Leo Liu <sdl.web@gmail.com>
6820
6821 * ido.el (ido-read-file-name): Conform to the requirements of
6822 read-file-name. (Bug#11861)
6823 (ido-read-directory-name): Conform to the requirements of
6824 read-directory-name.
6825
d77974bf
JB
68262013-07-11 Juanma Barranquero <lekktu@gmail.com>
6827
6828 * subr.el (delay-warning): New function.
6829
35cb8a3e
EZ
68302013-07-10 Eli Zaretskii <eliz@gnu.org>
6831
6832 * simple.el (default-line-height): New function.
6833 (line-move-partial, line-move): Use it instead of computing the
6834 line height inline.
6835 (line-move-partial): Always compute ROWH. If the last line is
6836 partially-visible, but its text is completely visible, allow
6837 cursor to enter such a partially-visible line.
6838
525c5c77
MA
68392013-07-10 Michael Albinus <michael.albinus@gmx.de>
6840
6841 Improve error messages. (Bug#14808)
6842
6843 * net/tramp.el (tramp-current-connection): New defvar, moved from
6844 tramp-sh.el.
0ac26976 6845 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6846 needed anymore.
0ac26976
SM
6847 (tramp-error-with-buffer): Show message in minibuffer.
6848 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6849 (with-tramp-progress-reporter): Improve messages.
6850 (tramp-process-actions): Use progress reporter. Delete process in
6851 case of error. Improve messages.
6852
763a086d
JB
6853 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6854 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6855 (tramp-current-connection): Remove.
525c5c77
MA
6856 (tramp-maybe-open-connection): The car of
6857 `tramp-current-connection' are the first 3 slots of the vector.
6858
c7a4d368
TZ
68592013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6860
6861 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6862 inside continued strings.
6863
954b166e
PE
68642013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6865
6866 Timestamp fixes for undo (Bug#14824).
6867 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6868
56973319
LL
68692013-07-10 Leo Liu <sdl.web@gmail.com>
6870
6871 * files.el (require-final-newline): Allow safe local value.
6872 (Bug#14834)
6873
5550a72c
LL
68742013-07-09 Leo Liu <sdl.web@gmail.com>
6875
6876 * ido.el (ido-read-directory-name): Handle fallback.
6877 (ido-read-file-name): Update DIR to ido-current-directory.
6878 (Bug#1516)
c28b9050 6879 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6880
70c46b28
DG
68812013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6882
6883 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6884 "autoload". Remove "warn lower camel case" section, previously
6885 commented out. Highlight negation char. Do not highlight the
6886 target in singleton method definitions.
6887
0b64b838
SM
68882013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6889
7fd72e2c
SM
6890 * faces.el (tty-setup-hook): Declare the hook.
6891
0b64b838
SM
6892 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6893 and detect when a guard/pred depends on local vars (bug#14773).
6894 (pcase--u1): Adjust caller.
6895
ab49d60b
EZ
68962013-07-08 Eli Zaretskii <eliz@gnu.org>
6897
6898 * simple.el (line-move-partial, line-move): Account for
6899 line-spacing.
701d79aa
EZ
6900 (line-move-partial): Avoid setting vscroll when the last
6901 partially-visible line in window is of default height.
ab49d60b 6902
2d756ae0
LMI
69032013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
6905 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6906 been used a while.
6907
ed095bd7
JB
69082013-07-07 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * subr.el (read-quoted-char): Remove unused local variable `char'.
6911
f1e6674b
MK
69122013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6913
584ee3fc
GM
6914 * ediff.el (ediff-version): Version update.
6915 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6916 (ediff-merge-with-ancestor-command, ediff-directories-command)
6917 (ediff-directories3-command, ediff-merge-directories-command)
6918 (ediff-merge-directories-with-ancestor-command): New functions.
6919 All are command-line interfaces to ediff: to facilitate calling
6920 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6921
6922 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6923 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6924
584ee3fc
GM
6925 * viper.el (viper-version): Version update.
6926 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6927
584ee3fc
GM
69282013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6931 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6932 (viper-intercept-ESC-key): Simplify.
6933 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6934 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6935 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6936 (viper-setup-ESC-to-escape): New functions.
6937 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6938 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6939
9aff9b38
EZ
69402013-07-07 Eli Zaretskii <eliz@gnu.org>
6941
5165d44a
JB
6942 * simple.el (default-font-height, window-screen-lines):
6943 New functions.
9aff9b38
EZ
6944 (line-move, line-move-partial): Use them instead of
6945 frame-char-height and window-text-height. This makes scrolling
6946 text smoother when the buffer's default face uses a font that is
6947 different from the frame's default font.
6948
1afb1d07
JD
69492013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6950
6951 * files.el (write-file): Do not display confirm dialog for NS,
6952 it does its own dialog, which can't be cancelled (Bug#14578).
6953
23de972a
EZ
69542013-07-06 Eli Zaretskii <eliz@gnu.org>
6955
6956 * simple.el (line-move-partial): Adjust the row returned by
6957 posn-at-point for the current window-vscroll. (Bug#14567)
6958
54a42486
MA
69592013-07-06 Michael Albinus <michael.albinus@gmx.de>
6960
6961 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6962 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6963 spaces.
6964
34ada5f4
MR
69652013-07-06 Martin Rudalics <rudalics@gmx.at>
6966
6967 * window.el (window-state-put-stale-windows): New variable.
6968 (window--state-put-2): Save list of windows without matching buffer.
6969 (window-state-put): Remove "bufferless" windows if possible.
6970
11e03d89
JB
69712013-07-06 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * simple.el (alternatives-define): Remove leftover :group keyword.
6974 Tweak docstring.
6975
3504a4be
LL
69762013-07-06 Leo Liu <sdl.web@gmail.com>
6977
6978 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6979 (ido-enable-virtual-buffers): New variable.
6980 (ido-buffer-internal, ido-toggle-virtual-buffers)
6981 (ido-make-buffer-list): Use it.
6982 (ido-exhibit): Support turning on and off virtual buffers
6983 automatically.
6984
61e56e2c
JB
69852013-07-06 Juanma Barranquero <lekktu@gmail.com>
6986
6987 * simple.el (alternatives-define): New macro.
6988
321e1a9c
SM
69892013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * subr.el (read-quoted-char): Use read-key.
6992 (sit-for): Let read-event decode tty input (bug#14782).
6993
d610f6dd
SB
69942013-07-05 Stephen Berman <stephen.berman@gmx.net>
6995
6996 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6997 mode command and externally. Fix various related bugs.
6998 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6999 (todo-delete-file): New command.
7000 (todo-check-file): New function.
7001 (todo-show): Handle external deletion of the file we're trying to
7002 show (bug#14688). Replace called-interactively-p by an optional
7003 prefix argument to avoid problematic interaction with catch form
7004 when byte compiled (bug#14702).
7005 (todo-quit): Handle external deletion of the archive's todo file.
7006 Make sure the buffer that was visiting the archive file is still
7007 live before trying to bury it.
7008 (todo-category-completions): Handle external deletion of any
7009 category completion files.
7010 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7011 of todo files, in case of external deletion.
7012 (todo-add-file): Replace unnecessary setq by let-binding.
7013 (todo-find-archive): Check whether there are any archives.
7014 Replace unnecessary setq by let-binding.
7015 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7016 archive buffer whether or not the archive already exists.
7017 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7018 check if the archive is new; if it is, update list of archives.
7019 (todo-default-todo-file): Allow nil to be a valid value for when
7020 there are no todo files.
7021 (todo-reevaluate-default-file-defcustom): Use corrected definition
7022 of todo-default-todo-file.
7023 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7024 (todo-delete-category, todo-show-categories-table)
7025 (todo-category-number): Clarify comment.
7026 (todo-filter-items): Clarify documentation string.
7027 (todo-show-current-file, todo-display-as-todo-file)
7028 (todo-reset-and-enable-done-separator): Tweak documentation string.
7029 (todo-done-separator): Make separator length window-width, since
7030 bug#2749 is now fixed.
7031
ddbdfd6f
MA
70322013-07-05 Michael Albinus <michael.albinus@gmx.de>
7033
321e1a9c
SM
7034 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7035 Support both "gvfs-monitor-dir" and "inotifywait".
7036 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7037 `tramp-sh-file-notify-process-filter'.
7038 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7039 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7040
96eb829a
LL
70412013-07-05 Leo Liu <sdl.web@gmail.com>
7042
7043 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7044
cf13177e
YM
70452013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7046
7047 * frame.el (display-pixel-height, display-pixel-width)
7048 (display-mm-height, display-mm-width): Mention behavior on
7049 multi-monitor setups in docstrings.
7050 (w32-display-monitor-attributes-list): Declare function.
7051 (display-monitor-attributes-list): Use it.
7052
864c58ca
MA
70532013-07-04 Michael Albinus <michael.albinus@gmx.de>
7054
7055 * filenotify.el: New package.
7056
7057 * autorevert.el (top): Require filenotify.el.
7058 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7059 instead.
7060 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7061 (auto-revert-notify-handler): Use `file-notify-*' functions.
7062
7063 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7064
321e1a9c
SM
7065 * net/tramp.el (tramp-file-name-for-operation):
7066 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7067
7068 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7069 for `file-notify-add-watch' and `file-notify-rm-watch'.
7070 (tramp-process-sentinel): Improve trace.
7071 (tramp-sh-handle-file-notify-add-watch)
7072 (tramp-sh-file-notify-process-filter)
7073 (tramp-sh-handle-file-notify-rm-watch)
7074 (tramp-get-remote-inotifywait): New defuns.
7075
96673afe
JL
70762013-07-03 Juri Linkov <juri@jurta.org>
7077
7078 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7079 call of `occur-read-primary-args' to interactive spec.
7080
7081 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7082 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7083
924494f4
MM
70842013-07-03 Matthias Meulien <orontee@gmail.com>
7085
7086 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7087 `Buffer-menu-multi-occur'. Add it to the menu.
7088 (Buffer-menu-mode): Document it in docstring.
7089 (Buffer-menu-multi-occur): New command. (Bug#14673)
7090
56f75efc
DG
70912013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7092
7093 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7094 keywords and built-ins.
7095
9b057d61
GM
70962013-07-03 Glenn Morris <rgm@gnu.org>
7097
208dee4d
GM
7098 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7099
9b057d61
GM
7100 Make info-xref checks case-sensitive by default
7101 * info.el (Info-find-node, Info-find-in-tag-table)
7102 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7103 Add option for exact case matching of nodes.
7104 * info-xref.el (info-xref): New custom group.
7105 (info-xref-case-fold): New option.
7106 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7107
e01aa29c
LL
71082013-07-03 Leo Liu <sdl.web@gmail.com>
7109
7110 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7111
3086ca2e
DG
71122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7113
7114 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7115 middle of block statement initially, lower the depth. Remove
7116 FIXME comment, not longer valid. Remove middle of block statement
7117 detection, no need to do that anymore since we've been using
7118 `ruby-parse-region' here.
7119
a3b49114
JD
71202013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7121
7122 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7123
08e5c823 71242013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7125
7126 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7127
2addf922
JB
71282013-07-01 Juanma Barranquero <lekktu@gmail.com>
7129
7130 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7131 (desktop-restore-in-current-display): New customization option.
7132 (desktop--excluded-frame-parameters): Add `font'.
7133 (desktop--save-frames): Rename from desktop--save-windows.
7134 (desktop--restore-in-this-display-p): New function.
7135 (desktop--make-full-frame): Remove unwanted width/height from
7136 full(width|height) frames.
7137 (desktop--restore-frames): Rename from desktop--restore-windows.
7138 Obey desktop-restore-current-display. Do not delete old frames or
7139 select a new frame unless we were able to restore at least one frame.
7140
ef099a94
MN
71412013-06-30 Michal Nazarewicz <mina86@mina86.com>
7142
7143 * files.el (find-file-noselect): Simplify conditional expression.
7144
7145 * remember.el (remember-append-to-file):
7146 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7147
7148 Add `remember-notes' function to store random notes across Emacs
7149 restarts.
7150 * remember.el (remember-data-file): Add :set callback to affect
7151 notes buffer (if any).
7152 (remember-notes): New command.
7153 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7154 New defcustoms for the `remember-notes' function.
7155 (remember-notes-save-and-bury-buffer): New command.
7156 (remember-notes-mode-map): New variable.
7157 (remember-mode): New minor mode.
7158 (remember-notes--kill-buffer-query): New function.
7159 * startup.el (initial-buffer-choice): Add notes to custom type.
7160
0865d506
EZ
71612013-06-30 Eli Zaretskii <eliz@gnu.org>
7162
0ba54312
EZ
7163 * bindings.el (right-char, left-char): Don't call sit-for, this is
7164 no longer needed. Use arithmetic comparison only for numerical
7165 arguments.
7166
ef099a94
MN
7167 * international/mule-cmds.el (select-safe-coding-system):
7168 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7169
2fae38e5
LMI
71702013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7171
7172 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7173 progression on degenerate tables.
ef099a94 7174 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7175
a47cbd64
JB
71762013-06-30 Juanma Barranquero <lekktu@gmail.com>
7177
7178 Some fixes and improvements for desktop frame restoration.
7179 It is still experimental and disabled by default.
7180 * desktop.el (desktop--save-windows): Put the selected frame at
7181 the head of the list.
7182 (desktop--make-full-frame): New function.
7183 (desktop--restore-windows): Try to re-select the frame that was
7184 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7185 just show an error message and continue. Set up maximized frames
7186 so they have default non-maximized dimensions.
a47cbd64 7187
6dbafa30
DG
71882013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7189
ef099a94
MN
7190 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7191 Don't start heredoc inside a string or comment.
6dbafa30 7192
4c672a0f
EZ
71932013-06-29 Eli Zaretskii <eliz@gnu.org>
7194
7195 * bindings.el (visual-order-cursor-movement): New defcustom.
7196 (right-char, left-char): Provide visual-order cursor motion by
7197 calling move-point-visually. Update the doc strings.
7198
50960f36
KH
71992013-06-28 Kenichi Handa <handa@gnu.org>
7200
7201 * international/mule.el (define-coding-system): New coding system
7202 properties :inhibit-null-byte-detection,
7203 :inhibit-iso-escape-detection, and :prefer-utf-8.
7204 (set-buffer-file-coding-system): If :charset-list property of
7205 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7206 appropriate for setting.
7207
c1ea3abf
JB
7208 * international/mule-cmds.el (select-safe-coding-system):
7209 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7210 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7211
7212 * international/mule-conf.el (prefer-utf-8): New coding system.
7213 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7214 files.
7215
75dbaf9d
IK
72162013-06-28 Ivan Kanis <ivan@kanis.fr>
7217
eadb6068
IK
7218 * net/shr.el (shr-render-region): New function.
7219
75dbaf9d
IK
7220 * net/eww.el: Autoload `eww-browse-url'.
7221
9ea5cf9f
DG
72222013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7223
c1ea3abf
JB
7224 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7225 Adapt to `package-desc-version' being a list.
7226 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7227 archive element.
7228
39c0e36f
JB
72292013-06-27 Juanma Barranquero <lekktu@gmail.com>
7230
7231 New experimental feature to save&restore window and frame setup.
7232 * desktop.el (desktop-save-windows): New defcustom.
7233 (desktop--saved-states): New var.
7234 (desktop--excluded-frame-parameters): New defconst.
7235 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7236 (desktop--restore-windows, desktop--save-windows): New functions.
7237 (desktop-save): Call `desktop--save-windows'.
7238 (desktop-read): Call `desktop--restore-windows'.
7239
7f13406b
LMI
72402013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
ef099a94 7242 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7243
1e072639
SB
72442013-06-27 Stephen Berman <stephen.berman@gmx.net>
7245
7246 * info.el (Info-try-follow-nearest-node): Move search for footnote
7247 above search for node name to prevent missing a footnote (bug#14717).
7248
f3e2cbde
SB
72492013-06-27 Stephen Berman <stephen.berman@gmx.net>
7250
7251 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7252
99906aa0
LL
72532013-06-27 Leo Liu <sdl.web@gmail.com>
7254
7255 * net/eww.el (eww-read-bookmarks): Check file size.
7256
539f75f4
SM
72572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7260 advice--pending if newdef is nil or an autoload (bug#13820).
7261 (advice-mapc): New function.
7262
843571cb
LMI
72632013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7264
7265 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7266 probably.
23a75d7f 7267 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7268 (eww-add-bookmark): New command.
7269 (eww-bookmark-mode): New mode and commands.
a285ce99 7270 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7271 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7272
f2136e1e
GM
72732013-06-26 Glenn Morris <rgm@gnu.org>
7274
eab35f39
GM
7275 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7276 (hfy-size): Handle ttys. (Bug#14668)
7277
f2136e1e
GM
7278 * info-xref.el: Update for Texinfo 5 change in *note format.
7279 (info-xref-node-re, info-xref-note-re): New constants.
7280 (info-xref-check-buffer): Use info-xref-note-re.
7281
a49ff80c
SM
72822013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7283
a343d218
SM
7284 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7285
a49ff80c
SM
7286 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7287 nil terminate the loop (bug#14718).
7288
8308f184
LMI
72892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7290
7291 * net/eww.el: Rework history traversal. When going forward/back,
7292 put these actions into the history, too, so that they can be
7293 replayed.
26bf2b82 7294 (eww-render): Move the history reset to the correct buffer.
8308f184 7295
ec64c273
JL
72962013-06-25 Juri Linkov <juri@jurta.org>
7297
7298 * files-x.el (modify-dir-local-variable): Change the header comment
7299 in the file with directory local variables. (Bug#14692)
7300
e080a9d7
JL
7301 * files-x.el (read-file-local-variable-value): Add `default'.
7302 (Bug#14710)
7303
bfbc93a1
IK
73042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7305
7306 * net/eww.el (eww-make-unique-file-name): Create a unique file
7307 name before saving to entering `y' accidentally asynchronously.
7308
73092013-06-25 Ivan Kanis <ivan@kanis.fr>
7310
7311 * net/eww.el (eww-download): New command and keystroke.
7312
16f74f10
LMI
73132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7314
a49ff80c 7315 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7316
7317 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7318 be more consistent with Info and dired.
7319
7320 * net/eww.el (eww-mode-map): Ditto.
7321
12059709
SM
73222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7325 packages from archives.
7326 (package-archive-contents): Change format; include obsolete packages.
7327 (package-desc): Use `dir' to mark builtin packages.
7328 (package--from-builtin): Set the `dir' field to `builtin'.
7329 (generated-autoload-file, version-control): Declare.
7330 (package-compute-transaction): Change first arg and return value to be
7331 lists of package-descs. Adjust to new package-archive-contents format.
7332 (package--add-to-archive-contents): Adjust to new
7333 package-archive-contents format.
7334 (package-download-transaction): Arg is now a list of package-descs.
7335 (package-install): If `pkg' is a package name, pass it as
7336 a requirement, so it is subject to the usual (e.g. disabled) checks.
7337 (describe-package): Accept package-desc as well.
7338 (describe-package-1): Describe a specific package-desc. Add links to
7339 other package-descs for the same package name.
7340 (package-menu-describe-package): Pass the actual package-desc.
7341 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7342 works correctly.
7343 (package-desc-status): New function.
7344 (package-menu--refresh): New function, extracted
7345 from package-menu--generate.
7346 (package-menu--generate): Use it.
7347 (package-delete): Update package-alist.
7348 (package-menu-execute): Don't call package-initialize.
7349
7350 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7351 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7352 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7353 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7354 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7355 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7356
8bbdea0f
MR
73572013-06-25 Martin Rudalics <rudalics@gmx.at>
7358
7359 * window.el (window--state-get-1): Workaround for bug#14527.
7360 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7361
e82b0991
LMI
73622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7363
7364 * net/eww.el (eww-back-url): Implement the history by stashing all
7365 the data into a list.
d3f0f918 7366 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7367
c763842b
SM
73682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7371 for values and use read--expression for expressions (bug#14710).
7372 (read-file-local-variable): Avoid setq.
7373 (read-file-local-variable-mode): Use minor-mode-list.
7374
bceff189
RW
73752013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7376
864c58ca 7377 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7378 for DOI URLs.
7379
45f431c6
RW
73802013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7381
864c58ca 7382 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7383 Update imenu-support when dialect changes.
7384
f42d8237
LL
73852013-06-25 Leo Liu <sdl.web@gmail.com>
7386
7387 * ido.el (ido-read-internal): Allow forward slash on windows.
7388
be549ce6
LMI
73892013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7390
7391 * net/eww.el (eww): Start of strings is \\`, not ^.
7392
71d4c19d
IK
73932013-06-24 Ivan Kanis <ivan@kanis.fr>
7394
5196f88a
IK
7395 * net/shr.el (shr-browse-url): Fix interactive spec.
7396
71d4c19d
IK
7397 * net/eww.el (eww): Add a trailing slash to domain names.
7398
ae36ca55
JB
73992013-06-24 Juanma Barranquero <lekktu@gmail.com>
7400
7401 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7402
0ebd92a3
LMI
74032013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7404
bdaa086b
LMI
7405 * net/shr.el (shr-browse-url): Use an external browser if given a
7406 prefix.
7407
c763842b 7408 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7409
b89fc156
IK
74102013-06-24 Ivan Kanis <ivan@kanis.fr>
7411
7412 * net/eww.el (eww): Work more correctly for file: URLs.
7413 (eww-detect-charset): Allow quoted charsets.
7414 (eww-yank-page-url): New command and keystroke.
7415
18eb4bca
DU
74162013-06-24 Daiki Ueno <ueno@gnu.org>
7417
7418 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7419 file name of gpg executable.
7420 (epg-context-program): New function.
7421 (epg-context-home-directory): New function.
7422 (epg-context-set-program): New function.
7423 (epg-context-set-home-directory): New function.
7424 (epg--start): Use `epg-context-program' instead of
7425 'epg-gpg-program'.
7426 (epg--list-keys-1): Likewise.
7427
6c6268c8
LL
74282013-06-24 Leo Liu <sdl.web@gmail.com>
7429
7430 * ido.el (ido-read-internal): Fix bug#14620.
7431
5e400cb3
JB
74322013-06-23 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * faces.el (face-documentation): Simplify.
7435 (read-face-attribute, tty-find-type, x-resolve-font-name):
7436 Use `string-match-p'.
7437 (list-faces-display): Use `string-match-p'. Simplify.
7438 (face-spec-recalc): Check face to avoid face alias loops.
7439 (read-color): Use `string-match-p' and non-capturing parenthesis.
7440
f3f9606c
LMI
74412013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7442
7443 * net/shr.el (shr-rescale-image): Use the new
7444 :max-width/:max-height functionality.
7445
a3ca09b9
IK
74462013-06-23 Ivan Kanis <ivan@kanis.fr>
7447
7448 * net/eww.el (eww-search-prefix): New variable.
7449 (eww): Use it.
f865b474
IK
7450 (eww-external-browser): New variable.
7451 (eww-mode-map): New keystroke.
7452 (eww-browse-with-external-browser): New command.
a3ca09b9 7453
e854cfc7
IK
7454 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7455
18bb9e21
JB
74562013-06-23 Juanma Barranquero <lekktu@gmail.com>
7457
7458 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7459 Don't skip aligning the next header field when padding is 0;
7460 otherwise, field width is not respected unless the title is as
7461 wide as the field.
7462
5b165ade
SM
74632013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/package.el (package-el-version): Remove.
7466 (package-process-define-package): Fix inf-loop.
7467 (package-install): Allow symbols as arguments again.
7468
12adebe9
DG
74692013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7470
7471 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7472 add some more keyword-like methods.
7473 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7474
388573ee
JB
74752013-06-22 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * bs.el (bs-buffer-show-mark): Make defvar-local.
7478 (bs-mode): Use setq-local.
7479
7480 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7481 (emacs-lock--try-unlocking): Make defvar-local.
7482
4582a01c 74832013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7484
2663dd23
GM
7485 * play/cookie1.el (cookie-apropos): Minor simplification.
7486
3d94f3ad
GM
7487 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7488
f72e2fdb
DG
74892013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7490
7491 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7492 `regexp-opt', it breaks the build during dumping.
7493
73eab938
DG
74942013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7495
c763842b
SM
7496 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7497 Highlight keyword-like methods on Kernel and Module with
73eab938 7498 font-lock-builtin-face.
5cf8176d
DG
7499 (auto-mode-alist): Consolidate different entries into one regexp
7500 and add more *file-s.
73eab938 7501
d26255f6
SB
75022013-06-21 Stephen Berman <stephen.berman@gmx.net>
7503
7504 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7505
7506 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7507 (diary-entry): Use it in the action of this button type instead of
7508 diary-goto-entry.
7509
7510 * calendar/todo-mode.el: New version.
7511 (todo-add-category): Append new category to end of file and give
7512 it the highest number, instead of putting it at the beginning and
7513 giving it 0. Incorporate noninteractive functionality.
7514 (todo-forward-category): Adapt to 1-based category numbering.
7515 Allow skipping over archived categories.
7516 (todo-backward-category): Derive from todo-forward-category.
7517 (todo-backward-item, todo-forward-item): Make noninteractive and
7518 delegate interactive part to new commands. Make sensitive to done items.
7519 (todo-categories): Make value an alist of category names and
7520 vectors of item counts.
7521 (todo-category-beg): Make a defconst.
7522 (todo-category-number): Use 1 instead of 0 as initial value.
7523 (todo-category-select): Make sensitive to overlays, optional item
7524 highlighting and done items.
7525 (todo-delete-item): Make sensitive to overlays and marked and done items.
7526 (todo-edit-item): Make sensitive to overlays and editing of
7527 date/time header optional. Add format checks.
7528 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7529 no-op if point is not on an item. Advertise using todo-edit-quit.
7530 (todo-edit-mode): Make sensitive to new format, font-locking, and
7531 multiple todo files.
7532 (todo-insert-item, todo-insert-item-here): Derive from
7533 todo-basic-insert-item and extend functionality.
7534 (todo-item-end, todo-item-start): Make sensitive to done items.
7535 (todo-item-string): Don't return text properties. Restore point.
7536 (todo-jump-to-category): Make sensitive to multiple todo files and
7537 todo archives. Use extended category completion.
7538 (todo-lower-item, todo-raise-item): Rename to *-priority and
7539 derive from todo-set-item-priority.
7540 (todo-mode): Derive from special-mode. Make sensitive to new
7541 format, font-locking and multiple todo files. Make read-only.
7542 (todo-mode-map): Don't suppress digit keys, so they can supply
7543 prefix arguments. Add many new key bindings.
7544 (todo-prefix): Insert as an overlay instead of file text.
7545 Change semantics from diary date expression to purely visual mark.
7546 (todo-print): Rename to todo-print-buffer. Make buffer display
7547 features printable. Remove option to restrict number of items
7548 printed. Add option to print to file.
7549 (todo-print-function): Rename to todo-print-buffer-function.
7550 (todo-quit): Extend to handle exiting new todo modes.
7551 (todo-remove-item): Make sensitive to overlays.
7552 (todo-save): Extend to buffers of filtered items.
7553 (todo-show): Make sensitive to done items, multiple todo files and
7554 new todo modes. Offer to convert legacy todo file before creating
7555 first new todo file.
7556 (todo-show-priorities): Rename to todo-top-priorities.
7557 Change semantics of value 0.
7558 (todo-top-priorities): Rename to todo-filter-top-priorities,
7559 derive from todo-filter-items and extend functionality.
7560 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7561 and extend functionality to other types of filtered items.
7562 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7563 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7564 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7565 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7566 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7567 (todo-edit-mode-hook, todo-entry-prefix-function)
7568 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7569 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7570 (todo-initials, todo-insert-threshold, todo-item-string-start)
7571 (todo-line-string, todo-menu, todo-mode-hook)
7572 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7573 (todo-print-priorities, todo-remove-separator)
7574 (todo-save-top-priorities-too, todo-string-count-lines)
7575 (todo-string-multiline-p, todo-time-string-format)
7576 (todo-tmp-buffer-name): Remove.
7577 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7578 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7579 (todo-edit-category-diary-inclusion)
7580 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7581 (todo-edit-file, todo-edit-item-date-day)
7582 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7583 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7584 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7585 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7586 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7587 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7588 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7589 (todo-filter-top-priorities-multifile, todo-find-archive)
7590 (todo-find-filtered-items-file, todo-go-to-source-item)
7591 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7592 (todo-jump-to-archive-category, todo-lower-category)
7593 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7594 (todo-move-category, todo-move-item, todo-next-button)
7595 (todo-next-item, todo-padded-string, todo-powerset)
7596 (todo-previous-button, todo-previous-item)
7597 (todo-print-buffer-to-file, todo-raise-category)
7598 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7599 (todo-set-category-number, todo-set-item-priority)
7600 (todo-set-top-priorities-in-category)
7601 (todo-set-top-priorities-in-file, todo-show-categories-table)
7602 (todo-sort-categories-alphabetically-or-numerically)
7603 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7604 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7605 (todo-toggle-item-header, todo-toggle-item-highlighting)
7606 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7607 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7608 (todo-unarchive-items, todo-unmark-category): New commands.
7609 (todo-absolute-file-name, todo-add-to-buffer-list)
7610 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7611 (todo-basic-insert-item, todo-category-completions)
7612 (todo-category-number, todo-category-string-matcher-1)
7613 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7614 (todo-check-format, todo-clear-matches)
7615 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7616 (todo-current-category, todo-date-string-matcher)
7617 (todo-define-insertion-command, todo-diary-expired-matcher)
7618 (todo-diary-goto-entry, todo-diary-item-p)
7619 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7620 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7621 (todo-done-item-section-p, todo-done-separator)
7622 (todo-done-string-matcher, todo-files, todo-filter-items)
7623 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7624 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7625 (todo-insert-category-line, todo-insert-item-from-calendar)
7626 (todo-insert-sort-button, todo-insert-with-overlays)
7627 (todo-insertion-command-name, todo-insertion-key-bindings)
7628 (todo-label-to-key, todo-longest-category-name-length)
7629 (todo-make-categories-list, todo-mode-external-set)
7630 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7631 (todo-modes-set-3, todo-multiple-filter-files)
7632 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7633 (todo-read-category, todo-read-date, todo-read-dayname)
7634 (todo-read-file-name, todo-read-time)
7635 (todo-reevaluate-category-completions-files-defcustom)
7636 (todo-reevaluate-default-file-defcustom)
7637 (todo-reevaluate-filelist-defcustoms)
7638 (todo-reevaluate-filter-files-defcustom)
7639 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7640 (todo-reset-done-separator, todo-reset-done-separator-string)
7641 (todo-reset-done-string, todo-reset-global-current-todo-file)
7642 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7643 (todo-reset-prefix, todo-set-categories)
7644 (todo-set-date-from-calendar, todo-set-show-current-file)
7645 (todo-set-top-priorities, todo-short-file-name)
7646 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7647 (todo-total-item-counts, todo-update-buffer-list)
7648 (todo-update-categories-display, todo-update-categories-sexp)
7649 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7650 New functions.
7651 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7652 New major modes.
7653 (todo-categories, todo-display, todo-edit, todo-faces)
7654 (todo-filtered): New defgroups.
7655 (todo-archived-only, todo-button, todo-category-string, todo-date)
7656 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7657 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7658 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7659 (todo-add-item-if-new-category, todo-always-add-time-string)
7660 (todo-categories-align, todo-categories-archived-label)
7661 (todo-categories-category-label, todo-categories-diary-label)
7662 (todo-categories-done-label, todo-categories-number-separator)
7663 (todo-categories-todo-label, todo-categories-totals-label)
7664 (todo-category-completions-files, todo-completion-ignore-case)
7665 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7666 (todo-done-separator-string, todo-done-string)
7667 (todo-files-function, todo-filter-done-items, todo-filter-files)
7668 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7669 (todo-initial-category, todo-initial-file, todo-item-mark)
7670 (todo-legacy-date-time-regexp, todo-mode-line-function)
7671 (todo-nondiary-marker, todo-number-prefix)
7672 (todo-print-buffer-function, todo-show-current-file)
7673 (todo-show-done-only, todo-show-first, todo-show-with-done)
7674 (todo-skip-archived-categories, todo-top-priorities-overrides)
7675 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7676 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7677 New defcustoms.
7678 (todo-category-done, todo-date-pattern, todo-date-string-start)
7679 (todo-diary-items-buffer, todo-done-string-start)
7680 (todo-filtered-items-buffer, todo-item-start)
7681 (todo-month-abbrev-array, todo-month-name-array)
7682 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7683 (todo-top-priorities-buffer): New defconsts.
7684 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7685 (todo-categories-with-marks, todo-category-string-face)
7686 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7687 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7688 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7689 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7690 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7691 (todo-font-lock-keywords, todo-global-current-todo-file)
7692 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7693 (todo-insertion-commands-args)
7694 (todo-insertion-commands-args-genlist)
7695 (todo-insertion-commands-names, todo-insertion-map)
7696 (todo-key-bindings-t, todo-key-bindings-t+a)
7697 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7698 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7699 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7700 (todo-visited): New variables.
7701
cad5d1cb
GM
77022013-06-21 Glenn Morris <rgm@gnu.org>
7703
7704 * play/cookie1.el (cookie-apropos): Add optional display argument.
7705 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7706 (psychoanalyze-pinhead): Use cookie-doctor.
7707
9e277302
JB
77082013-06-21 Juanma Barranquero <lekktu@gmail.com>
7709
7710 * emacs-lisp/package.el (tar-get-file-descriptor)
7711 (tar--extract): Declare.
7712
c5b0993e
EW
77132013-06-21 Eduard Wiebe <usenet@pusto.de>
7714
7715 Extend flymake's warning predicate to be a function (bug#14217).
7716 * progmodes/flymake.el (flymake-warning-predicate): New.
7717 (flymake-parse-line): Use it.
7718 (flymake-warning-re): Make obsolete alias to
7719 `flymake-warning-predicate'.
7720
a7d2d465
SM
77212013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7724 (package-obsolete-list): Remove.
7725 (package-activate): Remove min-version argument. Add `force' argument.
7726 Adjust to new package-alist format.
7727 (package-mark-obsolete): Remove.
7728 (package-unpack): Force reload of the package's autoloads.
7729 (package-installed-p): Check builtins if the installed package is not
7730 recent enough.
7731 (package-initialize): Don't reset package-obsolete-list.
7732 Don't specify which package version to activate.
7733 (package-process-define-package, describe-package-1)
7734 (package-menu--generate): Adjust to new package-alist format.
7735
cedf5c9d
JB
77362013-06-21 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * allout-widgets.el (allout-widgets-mode-off)
7739 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7740 (allout-widgets-post-command-business)
7741 (allout-widgets-after-copy-or-kill-function)
7742 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7743 (allout-decorate-item-and-context)
7744 (allout-graphics-modification-handler): Fix typos in docstrings.
7745 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7746
7747 * cmuscheme.el (scheme-start-file): Doc fix.
7748 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7749 (scheme-input-filter): Use `string-match-p'.
7750
7751 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7752
7753 * dired-x.el: Use Dired consistently in docstrings.
7754
7755 * dired.el: Use Dired consistently in docstrings.
7756 (dired-readin, dired-mode): Use `setq-local'.
7757 (dired-switches-alist): Make defvar-local.
7758 (dired-buffers-for-dir): Use `zerop'.
7759 (dired-safe-switches-p, dired-switches-escape-p)
7760 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7761 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7762 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7763 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7764 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7765 (dired-toggle-marks, dired-mark-files-containing-regexp)
7766 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7767 (dired-flag-auto-save-files, dired-flag-backup-files):
7768 Use `looking-at-p'.
7769 (dired-mark-files-regexp, dired-build-subdir-alist):
7770 Use `string-match-p', `looking-at-p'.
7771
7772 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7773 (direct-print-region-helper): Use `string-match-p'.
7774
aed838b5
LL
77752013-06-21 Leo Liu <sdl.web@gmail.com>
7776
cedf5c9d
JB
7777 * comint.el (comint-redirect-results-list-from-process):
7778 Fix infinite loop.
aed838b5 7779
d80a808f
LMI
77802013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
7782 * net/eww.el (eww-update-header-line-format): Quote % characters.
7783
e7a526e3
GM
77842013-06-21 Glenn Morris <rgm@gnu.org>
7785
7786 * play/cookie1.el (cookie): New custom group.
7787 (cookie-file): New option.
7788 (cookie-check-file): New function.
7789 (cookie): Make it interactive. Make start and end messages optional.
7790 Interactively, display the result. Default to cookie-file.
7791 (cookie-insert): Default to cookie-file.
7792 (cookie-snarf): Make start and end messages optional.
7793 Default to cookie-file. Use with-temp-buffer.
7794 (cookie-read): Rename from read-cookie.
7795 Make start and end messages optional. Default to cookie-file.
7796 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7797 Do not autoload it.
e7a526e3
GM
7798 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7799 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7800
62efb35e
LL
78012013-06-21 Leo Liu <sdl.web@gmail.com>
7802
7803 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7804
21e3f963
GM
78052013-06-21 Glenn Morris <rgm@gnu.org>
7806
7807 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7808
fd846ab4
SM
78092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7810 Daniel Hackney <dan@haxney.org>
7811
7812 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7813 Consolidate the single-file vs tarball code.
7814 (package-desc-suffix): New function.
7815 (package-desc-full-name): Don't bother inlining it.
7816 (package-load-descriptor): Return the new package-desc.
7817 (package-mark-obsolete): Remove unused arg `package'.
7818 (package-unpack): Make it work for single files as well.
7819 Make it update package-alist.
7820 (package--make-autoloads-and-stuff): Rename from
7821 package--make-autoloads-and-compile. Don't compile any more.
7822 (package--compile): New function.
7823 (package-generate-description-file): New function, extracted from
7824 package-unpack-single.
7825 (package-unpack-single): Remove.
7826 (package--with-work-buffer): Add indentation and debugging info.
7827 (package-download-single): Remove.
7828 (package-install-from-archive): Rename from package-download-tar, make
7829 it take a pkg-desc, and make it work for single files as well.
7830 (package-download-transaction): Simplify.
7831 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7832 external tar program.
7833 (package-install-from-buffer): Remove `pkg-desc' argument.
7834 Use package-tar-file-info for tar-mode buffers.
7835 (package-install-file): Simplify accordingly.
7836 (package-archive-base): Change to take a pkg-desc.
7837 * tar-mode.el (tar--check-descriptor): New function, extracted from
7838 tar-get-descriptor.
7839 (tar-get-descriptor): Use it.
7840 (tar-get-file-descriptor): New function.
7841 (tar--extract): New function, extracted from tar-extract.
7842 (tar--extract): Use it.
7843 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7844 case the summary uses non-ascii. Adjust to new calling convention of
7845 package-tar-file-info.
7846
b7deae5e
LL
78472013-06-21 Leo Liu <sdl.web@gmail.com>
7848
fd846ab4
SM
7849 * comint.el (comint-redirect-results-list-from-process):
7850 Fix random delay. (Bug#14681)
b7deae5e 7851
7a65a0b2
JB
78522013-06-21 Juanma Barranquero <lekktu@gmail.com>
7853
7854 * profiler.el (profiler-format-number): Use log, not log10.
7855
1493c2af
JB
78562013-06-20 Juanma Barranquero <lekktu@gmail.com>
7857
7858 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7859
aff6371e
SM
78602013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7863 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7864 yet available.
7865 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7866 (AUTOGENEL): ... here.
7867 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7868 (cl--defsubst-expand): Use it.
7869
89561f72
PE
78702013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7871
7872 * subr.el (log10): Move here from C code, and declare as obsolete.
7873 All uses of (log10 X) replaced with (log X 10).
7874
47199123
JB
78752013-06-20 Juanma Barranquero <lekktu@gmail.com>
7876
7877 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7878 Declare with `defvar-local'.
7879 (tabulated-list-use-header-line, tabulated-list-entries)
7880 (tabulated-list-padding, tabulated-list-printer)
7881 (tabulated-list-sort-key): Declare with `defvar-local'.
7882 (tabulated-list-init-header, tabulated-list-print-fake-header):
7883 Use `setq-local'.
7884
4a172eab
MA
78852013-06-20 Michael Albinus <michael.albinus@gmx.de>
7886
47199123
JB
7887 * arc-mode.el (archive-mode): Add `archive-write-file' to
7888 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7889
5fc0acc0
JB
78902013-06-20 Juanma Barranquero <lekktu@gmail.com>
7891
d5b27848
JB
7892 * cus-edit.el (custom-commands): Fix typos.
7893 (custom-display): Fix tooltip text.
7894 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7895 Fix typos in docstrings.
7896 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7897 (custom-unlispify-menu-entry, custom-magic-value-create)
7898 (custom-add-see-also, custom-group-value-create): Use ?\s.
7899 (custom-guess-type, customize-apropos, editable-field)
7900 (custom-face-value-create): Use `string-match-p'.
7901 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7902
7903 * custom.el (custom-load-symbol): Use `string-match-p'.
7904
a5c581d8
JB
7905 * ansi-color.el: Convert to lexical binding.
7906 (ansi-colors): Fix URL.
7907 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7908 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7909 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7910
970ad972
G
79112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7912
7913 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7914
7915 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7916
79172013-06-19 Tom Tromey <tromey@redhat.com>
7918
7919 * net/eww.el (eww-top-url): Remove.
7920 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7921 (eww-render): Set new variables. Don't set eww-top-url.
7922 (eww-handle-link): Handle "prev", "home", and "contents".
7923 Downcase the rel text.
7924 (eww-top-url): Choose best top URL.
7925
79262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7927
7928 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7929 relying in widget.el. Using widget.el leads to too many
7930 user interface inconsistencies.
7931 (eww-self-insert): Implement entering commands in text fields.
7932 (eww-process-text-input): New function to make text input field editing
7933 work.
7934 (eww-submit): Rewrite to use the new-style form methods.
7935 (eww-select-display): Display the correct selected item.
7936 (eww-change-select): Implement changing the select value.
7937 (eww-toggle-checkbox): Implement radio/checkboxes.
7938 (eww-update-field): Fix compilation error.
7939 (eww-tag-textarea): Implement <textarea>.
7940
7941 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7942 we don't shadow mode-specific bindings.
7943
7944 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7945 nothing to push.
7946
7947 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7948
4582a01c 79492013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7950
7951 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7952
15b263dc
MA
79532013-06-19 Michael Albinus <michael.albinus@gmx.de>
7954
7955 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7956 not needed.
7957
7958 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7959
8f5297f7
LMI
79602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7961
7962 * net/browse-url.el (browse-url-browser-function):
7963 `eww-browse-url' has the right calling signature, `eww' does not.
7964
011c4552
GM
79652013-06-19 Glenn Morris <rgm@gnu.org>
7966
2285bd27
GM
7967 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7968 Only eval autoloaded macros.
7969 (byte-compile-autoload): Only give the macro warning for macros.
7970
1d653303
GM
7971 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7972 (ps-underlined-faces): Declare.
7973
bdd779ec
GM
7974 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7975 (speedbar-add-supported-extension): Declare.
7976
011c4552
GM
7977 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7978 Don't include a date stamp in the header of the generated file;
7979 it leads to needless differences between output files.
7980
e59dfb0e
MA
79812013-06-19 Michael Albinus <michael.albinus@gmx.de>
7982
c763842b
SM
7983 * net/secrets.el (secrets-struct-secret-content-type):
7984 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7985 Some servers do not offer introspection.
e59dfb0e 7986
102626e2
SM
79872013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * electric.el (electric-pair-mode): Improve interaction with
7990 electric-layout-mode.
7991 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7992 (electric-pair-syntax): Use text-mode-syntax-table in comments
7993 and strings.
7994 (electric-pair--insert): New function.
7995 (electric-pair-post-self-insert-function): Use it and
7996 electric--after-char-pos.
7997
ad528125
LL
79982013-06-19 Leo Liu <sdl.web@gmail.com>
7999
8000 * progmodes/octave.el (octave-help): Fix regexp.
8001
924d6997
G
80022013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8003
8004 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8005 (shr-table-horizontal-line): Allow nil as a value, and change the
8006 default.
8007 (shr-insert-table-ruler): Respect the nil value.
8008
80092013-06-18 Tom Tromey <tromey@barimba>
8010
8011 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8012 New defvars.
8013 (eww-open-file): New defun.
8014 (eww-render): Initialize new variables.
8015 (eww-display-html): Handle "link" and "a".
8016 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8017 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8018 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8019 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8020 New defuns.
924d6997 8021
d1bbba4f
DG
80222013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8023
8024 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8025 Distinguish ternary operator tokens from slash symbol and slash
8026 char literal.
8027
14dd22d2
JB
80282013-06-18 Juanma Barranquero <lekktu@gmail.com>
8029
8030 Convert symbol prettification into minor mode and global minor mode.
8031
8032 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8033 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8034 (prettify-symbols--keywords): Rename from
8035 `prog-prettify-symbols-alist' and make a local defvar.
8036 (prettify-symbols--compose-symbol): Rename from
8037 `prog--prettify-font-lock-compose-symbol'.
8038 (prettify-symbols--make-keywords): Rename from
8039 `prog-prettify-font-lock-symbols-keywords' and simplify.
8040 (prog-prettify-install): Remove.
8041 (prettify-symbols-mode): New minor mode, based on
8042 `prog-prettify-install'.
8043 (turn-on-prettify-symbols-mode): New function.
8044 (global-prettify-symbols-mode): New globalized minor mode.
8045
8046 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8047 * progmodes/cfengine.el (cfengine3-mode):
8048 * progmodes/perl-mode.el (perl-mode): Don't call
8049 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8050
292c880c
JL
80512013-06-18 Juri Linkov <juri@jurta.org>
8052
8053 * files-x.el (modify-file-local-variable-message): New function.
8054 (modify-file-local-variable)
8055 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8056 and call `modify-file-local-variable-message' when it's non-nil.
8057 (add-file-local-variable, delete-file-local-variable)
8058 (add-file-local-variable-prop-line)
8059 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8060 and use it. (Bug#9820)
8061
0950aa27
JL
80622013-06-18 Juri Linkov <juri@jurta.org>
8063
8064 * emulation/vi.el (vi-shell-op):
8065 * emulation/vip.el (vip-execute-com, ex-command):
8066 * emulation/viper-cmd.el (viper-exec-bang):
8067 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8068 the call of `shell-command-on-region'. (Bug#14637)
8069
8070 * simple.el (shell-command-on-region): Doc fix.
8071
8fbcca16
SM
80722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8075 (bug#14633).
8076
dd7426ea
GM
80772013-06-18 Glenn Morris <rgm@gnu.org>
8078
4ba54f7d
GM
8079 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8080
dd7426ea
GM
8081 * newcomment.el (comment-search-forward, comment-search-backward):
8082 Doc fix. (Bug#14376)
8083
58aa805b
JB
80842013-06-18 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8087 (buffer-face-mode-invoke): Doc fix.
8088
9a08a617
MM
80892013-06-18 Matthias Meulien <orontee@gmail.com>
8090
8091 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8092 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8093
f2f426ca
GM
80942013-06-18 Glenn Morris <rgm@gnu.org>
8095
9445f99b
GM
8096 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8097 Replace obsolete function generic-make-keywords with its expansion.
8098
e0df2d14
GM
8099 * progmodes/python.el (ffap-alist): Declare.
8100
f2f426ca
GM
8101 * textmodes/reftex.el (bibtex-mode-map): Declare.
8102
f7f9a720
SM
81032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8106 (package-unpack, package-unpack-single): Return the pkg-dir.
8107 (package-download-transaction): Use it to update package-alist.
8108
57ff04e0
LMI
81092013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8111 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8112 possible choice.
8113
c048c022
JL
81142013-06-17 Juri Linkov <juri@jurta.org>
8115
8116 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8117
b5bcaee5
DG
81182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8119
a020afb9
JB
8120 * emacs-lisp/package.el (package-load-descriptor):
8121 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8122 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8123
551e07e5
JB
81242013-06-17 Juanma Barranquero <lekktu@gmail.com>
8125
8126 * startup.el (command-line): Expand package name returned by
8127 `package--description-file' (bug#14639).
8128
d363bffb
DG
81292013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8130
8131 * emacs-lisp/package.el (package-load-descriptor): Do not call
8132 `emacs-lisp-mode', just use its syntax table.
8133
f612933b
JB
81342013-06-17 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8137 `font-lock-extra-managed-props' if any prettifying keyword is added.
8138 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8139 (prog-mode): Use `setq-local'.
8140
db3b7db5
SM
81412013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * international/characters.el (standard-case-table): Set syntax of ?»
8144 and ?« to punctuation.
8145
f3d674df
JB
81462013-06-16 Juanma Barranquero <lekktu@gmail.com>
8147
8148 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8149 Save relevant match data before calling `syntax-ppss' (bug#14595).
8150
31489a32
JL
81512013-06-15 Juri Linkov <juri@jurta.org>
8152
8153 * files-x.el (modify-file-local-variable-prop-line): Add local
8154 variables to the end of the existing comment on the first line.
8155 Use `file-auto-mode-skip' to skip interpreter magic line,
8156 and also skip XML declaration.
8157
66bd25ab
SM
81582013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * startup.el (package--builtin-versions): New var.
8161 (package-subdirectory-regexp): Remove.
8162 (package--description-file): Hard code its value instead.
8163
8164 * emacs-lisp/package.el: Don't activate packages older than builtin.
8165 (package-obsolete-list): Rename from package-obsolete-alist, and make
8166 it into a simple list of package-desc.
8167 (package-strip-version): Remove.
8168 (package-built-in-p): Use package--builtin-versions.
8169 (package-mark-obsolete): Simplify.
8170 (package-process-define-package): Mark it obsolete if older than the
8171 builtin version.
8172 (package-handle-response): Use line-end-position.
8173 (package-read-archive-contents, package--download-one-archive):
8174 Simplify.
8175 (package--add-to-archive-contents): Skip if older than the builtin or
8176 installed version.
8177 (package-menu-describe-package): Fix last change.
8178 (package-list-unversioned): New var.
8179 (package-menu--generate): Use it.
8180
8181 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8182 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8183 (autoload-builtin-package-versions): New variable.
8184 (autoload-generate-file-autoloads): Use them.
8185 Remove the list of autoloaded functions/macros from the
8186 (autoload...) comments.
8187
8188 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8189
9583ec36
EZ
81902013-06-15 Eli Zaretskii <eliz@gnu.org>
8191
8192 * simple.el (line-move-partial): Don't jump to the next screen
8193 line as soon as it becomes visible. Instead, continue enlarging
8194 the vscroll until the portion of a tall screen line that's left on
8195 display is about the height of the frame's default font.
8196 (Bug#14567)
8197
f0100d8a
GM
81982013-06-15 Glenn Morris <rgm@gnu.org>
8199
b86a85ca
GM
8200 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8201 compilation-error-regexp-alist void, or local while let-bound.
8202
f0100d8a
GM
8203 * progmodes/make-mode.el (makefile-mode-syntax-table):
8204 Treat "=" as punctuation. (Bug#14614)
8205
05e7ce90
JB
82062013-06-15 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * help-fns.el (describe-variable):
8209 Add extra line for permanent-local variables.
8210
12e5e86e
SH
82112013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8212
8213 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8214 Add export, import, library. (Bug#9164)
8215 (library): Set indent function.
8216
230dcbaf
GM
82172013-06-14 Glenn Morris <rgm@gnu.org>
8218
8219 * term/xterm.el (xterm--query):
8220 Stop after first matching handler. (Bug#14615)
8221
e36b2d20 82222013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8223
8224 Add support for dired in saveplace.
8225 * dired.el (dired-initial-position-hook): New variable.
8226 (dired-initial-position): Call hook to place cursor position.
8227 * saveplace.el (save-place-to-alist): Add dired position.
8228 (save-place-dired-hook): New function.
8229
0b31660d
SM
82302013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8231
bf1e6ae8
SM
8232 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8233 through a symbol rather than letrec.
8234
1b8dff23
SM
8235 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8236 (package-desc): Add `dir' field.
8237 (package-desc-full-name): New function.
8238 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8239 (package-maybe-load-descriptor): Remove.
8240 (package-load-all-descriptors): Just call package-load-descriptor.
8241 (package--disabled-p): New function.
8242 (package-desc-vers, package-desc-doc): Remove aliases.
8243 (package--dir): Remove function.
8244 (package-activate): Check if a package is disabled.
8245 (package-process-define-package): New function, extracted from
8246 define-package.
8247 (define-package): Turn into a place holder.
8248 (package-unpack-single, package-tar-file-info):
8249 Use package--description-file.
8250 (package-compute-transaction): Use package--disabled-p.
8251 (package-download-transaction): Don't call
8252 package-maybe-load-descriptor since they're all loaded anyway.
8253 (package-install): Change argument to be a pkg-desc.
8254 (package-delete): Use a single pkg-desc argument.
8255 (describe-package-1): Use package-desc-dir instead of package--dir.
8256 Use package-desc property instead of package-symbol.
8257 (package-install-button-action): Adjust accordingly.
8258 (package--push): Rewrite.
8259 (package-menu--print-info): Adjust accordingly. Change the ID format
8260 to be a pkg-desc.
8261 (package-menu-describe-package, package-menu-get-status)
8262 (package-menu--find-upgrades, package-menu-mark-upgrades)
8263 (package-menu-execute, package-menu--name-predicate):
8264 Adjust accordingly.
8265 * startup.el (package--description-file): New function.
8266 (command-line): Use it.
8267 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8268 Use package-desc-version.
8269
0b31660d
SM
8270 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8271 (byte-compile-preprocess): Use it.
8272 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8273 can't quite recognize.
8274 (byte-compile-add-to-list): Remove.
8275 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8276 (cconv-closure-convert): Add assertion.
8277
8278 * emacs-lisp/map-ynp.el: Use lexical-binding.
8279 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8280 Factor out some repeated code.
8281
de0503df
SM
82822013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * subr.el (with-eval-after-load): New macro.
8285 (eval-after-load): Allow form to be a function.
8286 take advantage of lexical-binding.
8287 (do-after-load-evaluation): Use dolist and adjust to new format.
8288 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8289
bc5c8c5a
JL
82902013-06-13 Juri Linkov <juri@jurta.org>
8291
8292 * replace.el (perform-replace): Display "symbol " and other search
8293 modes from `isearch-message-prefix' in the *Help* buffer.
8294
8295 * isearch.el (isearch-query-replace): Add " symbol" and other
8296 possible search modes from `isearch-message-prefix' to the prompt.
8297 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8298 when reading a regexp to collect.
8299
a22289f7
JL
83002013-06-13 Juri Linkov <juri@jurta.org>
8301
8302 * isearch.el (word-search-regexp): Match whitespace if the search
8303 string begins or ends in whitespace. The LAX arg is applied to
8304 both ends of the search string. Use `regexp-quote' and explicit
8305 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8306 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8307 boundaries are replaced with symbol boundaries, and characters
8308 between symbols match non-word non-symbol syntax. (Bug#14602)
8309
cb89acab
JL
83102013-06-13 Juri Linkov <juri@jurta.org>
8311
8312 * isearch.el (isearch-del-char): Don't exceed the length of
8313 `isearch-string' by the prefix arg. (Bug#14563)
8314
6e8cfc81
JL
83152013-06-13 Juri Linkov <juri@jurta.org>
8316
8317 * isearch.el (isearch-yank-word, isearch-yank-line)
8318 (isearch-char-by-name, isearch-quote-char)
8319 (isearch-printing-char, isearch-process-search-char):
8320 Add optional count prefix arg. (Bug#14563)
8321
8322 * international/isearch-x.el
8323 (isearch-process-search-multibyte-characters):
8324 Add optional count prefix arg.
8325
c23d55f4
VS
83262013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8329 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8330 lexical-binding.
8331
83322013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8333
8334 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8335
ba947bc4
GM
83362013-06-13 Glenn Morris <rgm@gnu.org>
8337
8baeb37a
GM
8338 * startup.el (tty-handle-args):
8339 Don't just discard "--" and anything after. (Bug#14608)
8340
ba947bc4
GM
8341 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8342
9abefce4
MA
83432013-06-13 Michael Albinus <michael.albinus@gmx.de>
8344
8345 Implement changes in Secret Service API. Make it backward compatible.
8346 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8347 (secrets-create-item): Use it. Prefix properties with interface.
8348
5755011f
MH
83492013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8350
8351 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8352 (term-emulate-terminal): Respect term-suppress-hard-newline.
8353
1261d2da
S
83542013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8355
8356 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8357 Only remove a `thumb-file' overlay. (Bug#14548)
8358
868490bb
GJ
83592013-06-12 Grégoire Jadi <daimrod@gmail.com>
8360
8361 * mail/reporter.el (reporter-submit-bug-report):
8362 Handle missing package-name. (Bug#14600)
8363
79d7167f
TH
83642013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8365
8366 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8367 (reftex-citation-prompt, reftex-default-bibliography)
8368 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8369 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8370 (reftex-bib-sort-author, reftex-bib-sort-year)
8371 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8372 (reftex-extract-bib-entries-from-thebibliography)
8373 (reftex-get-bibkey-default, reftex-get-bib-names)
8374 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8375 (reftex-format-bib-entry, reftex-parse-bibitem)
8376 (reftex-format-bibitem, reftex-do-citation)
8377 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8378 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8379 (reftex-insert-bib-matches, reftex-format-citation)
8380 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8381 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8382 existing comments into docstrings.
8383
5f9dbd7a
XF
83842013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8385
8386 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8387
94df41ab
AS
83882013-06-12 Andreas Schwab <schwab@suse.de>
8389
8390 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8391 for auto-save files.
8392
a7f3fecc
GM
83932013-06-12 Glenn Morris <rgm@gnu.org>
8394
001809f6
GM
8395 * ido.el (ido-delete-ignored-files): Remove.
8396 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8397 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8398
834b5ded
EL
83992013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8400
08c73ed2
EL
8401 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8402
834b5ded
EL
8403 * ido.el (ido-delete-ignored-files): New function,
8404 split from ido-make-file-list-1.
8405 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8406 (ido-make-file-list-1): Use ido-delete-ignored-files.
8407
daabf15a
LL
84082013-06-12 Leo Liu <sdl.web@gmail.com>
8409
8410 * progmodes/octave.el (inferior-octave-startup)
8411 (inferior-octave-completion-table)
8412 (inferior-octave-track-window-width-change)
8413 (octave-eldoc-function-signatures, octave-help)
8414 (octave-find-definition): Use single quoted strings.
8415 (inferior-octave-startup-args): Change default value.
8416 (inferior-octave-startup): Do not hard code "-i" and
8417 "--no-line-editing".
8418 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8419 (inferior-octave-directory-tracker): Use it.
8420 (octave-goto-function-definition): Robustify.
8421 (octave-help): Support highlighting operators in 'See also'.
8422 (octave-find-definition): Find subfunctions only in Octave mode.
8423
cf4e5178
SM
84242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * help-fns.el (help-fns--compiler-macro): If the handler function is
8427 named, then put a link to it.
8428 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8429 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8430 (cl-typep): Use it.
8431 (cl-eval-when): Simplify debug spec.
8432 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8433 compiler-macro function instead of setting `compiler-macro-file'.
8434
99c81280 84352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8436
8437 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8438 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8439
f56be016
SM
84402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8441 Daniel Hackney <dan@haxney.org>
8442
8443 First part of Daniel Hackney's patch to package.el.
8444 * emacs-lisp/package.el: Use defstruct.
8445 (package-desc): New, main struct.
8446 (package--bi-desc, package--ac-desc): New structs, used to describe the
8447 format in external files.
8448 (package-desc-vers): Replace with package-desc-version accessor.
8449 (package-desc-doc): Replace with package-desc-summary accessor.
8450 (package-activate-1): Remove `package' arg since the pkg-vec now
8451 includes the name.
8452 (define-package): Use package-desc-from-define.
8453 (package-unpack-single): Change file-name arg to be a symbol.
8454 (package--add-to-archive-contents): Use package-desc-create and new
8455 accessor functions to package--ac-desc.
8456 (package-buffer-info, package-tar-file-info): Return a package-desc.
8457 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8458 arg to be a package-desc.
8459 (package-install-file): Adjust accordingly. Use \' to match EOS.
8460 (package--from-builtin): New function.
8461 (describe-package-1, package-menu--generate): Use it.
8462 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8463 (package-generate-autoloads): Idem and return the name of the file.
8464 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8465 Change pkg-info arg to be a package-desc.
8466 Use package-make-ac-desc.
8467 (package-upload-file): Use \' to match EOS.
8468 * finder.el (finder-compile-keywords): Use package-make-builtin.
8469
31119d63
SM
84702013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8471
931a2762
SM
8472 * vc/vc.el (vc-deduce-fileset): Change error message.
8473 (vc-read-backend): New function.
8474 (vc-next-action): Use it.
8475
5a3eb0c6
SM
8476 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8477
e3eb1bb7
SM
8478 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8479 (prolog-font-lock-keywords): Use regexp-opt instead.
8480 Don't manually highlight strings.
8481 (prolog-mode-variables): Simplify comment-start-skip.
8482 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8483
31119d63
SM
8484 * emacs-lisp/generic.el (generic--normalise-comments)
8485 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8486 (generic-mode-set-comments): Use them.
8487 (generic-bracket-support): Use setq-local.
8488 (generic-make-keywords-list): Declare obsolete.
8489
7de135d0
GM
84902013-06-11 Glenn Morris <rgm@gnu.org>
8491
8492 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8493 Prettify after setting font-lock-defaults. (Bug#14574)
8494
fa6bc6fd
JB
84952013-06-11 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * replace.el (query-replace, occur-read-regexp-defaults-function)
8498 (replace-search):
8499 * subr.el (declare-function, number-sequence, local-set-key)
8500 (substitute-key-definition, locate-user-emacs-file)
8501 (with-silent-modifications, split-string, eval-after-load):
8502 Fix typos, remove unneeded backslashes and reflow some docstrings.
8503
cf1f9b9a
SM
85042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8507 default for Elisp files.
8508
56602a4b
GM
85092013-06-11 Glenn Morris <rgm@gnu.org>
8510
8511 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8512 although define-derived-mode was doing this anyway. (Bug#14583)
8513
30ae0b2c
JB
85142013-06-10 Juanma Barranquero <lekktu@gmail.com>
8515
8516 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8517 Fix make-variable-buffer-local call to refer to the correct variable.
8518
fa472906
AG
85192013-06-10 Aidan Gauland <aidalgol@amuri.net>
8520
8521 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8522 (eshell-visual-subcommands, eshell-visual-options):
8523 Add summary line to docstrings. Add cross-references.
fa472906 8524
ff4871b9
GM
85252013-06-10 Glenn Morris <rgm@gnu.org>
8526
8527 * epa.el (epa-read-file-name): New function. (Bug#14510)
8528 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8529
04fcf1b0
AG
85302013-06-09 Aidan Gauland <aidalgol@amuri.net>
8531
8532 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8533 output redirection to be ignored with visual commands.
8534
88b00caa
AG
85352013-06-09 Aidan Gauland <aidalgol@amuri.net>
8536
8537 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8538 (eshell-term-initialize): Move long lambda to separate function
8539 eshell-visual-command-p.
e7b41c4c
JB
8540 * eshell/em-dirs.el (eshell-dirs-initialise):
8541 * eshell/em-script.el (eshell-script-initialize):
8542 Add missing #' to lambda.
88b00caa 8543
fda74125
LL
85442013-06-08 Leo Liu <sdl.web@gmail.com>
8545
8546 * progmodes/octave.el (octave-add-log-current-defun): New function.
8547 (octave-mode): Set add-log-current-defun-function.
8548 (octave-goto-function-definition): Do not move point if not found.
8549 (octave-find-definition): Enhance to try subfunctions first.
8550
467f3b33
GM
85512013-06-08 Glenn Morris <rgm@gnu.org>
8552
8553 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8554 (byte-compile-backward-char, byte-compile-backward-word):
8555 Improve previous change, to handle non-explicit nil.
8556
544badc3
SM
85572013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8560 (smie--opener/closer-at-point): New function.
8561 (smie--matching-block-data): Use it. Don't match from right after an
8562 opener or right before a closer. Obey smie-blink-matching-inners.
8563 Don't signal a mismatch for repeated inners like "switch..case..case".
8564
a175bf33
LL
85652013-06-07 Leo Liu <sdl.web@gmail.com>
8566
8567 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8568 to t. (Bug#14303)
ce8209d4
LL
8569 (octave-function-header-regexp): Fix. (Bug#14570)
8570 (octave-help-mode-finish-hook, octave-help-mode-finish):
8571 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8572
8573 * newcomment.el (comment-search-backward): Revert last change.
8574 (Bug#14434)
8575
8576 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8577
a822acff
EZ
85782013-06-07 Eli Zaretskii <eliz@gnu.org>
8579
8580 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8581 through xargs, to avoid failure due to MS-Windows limitations on
8582 command-line length.
8583
961166f5
GM
85842013-06-06 Glenn Morris <rgm@gnu.org>
8585
d0341459
GM
8586 * font-lock.el (lisp-font-lock-keywords-2):
8587 Treat user-error like error.
8588
961166f5
GM
8589 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8590 (byte-compile-backward-char, byte-compile-backward-word):
8591 Handle explicit nil arguments. (Bug#14565)
8592
80fa505f
AM
85932013-06-05 Alan Mackenzie <acm@muc.de>
8594
8595 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8596 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8597 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8598 (Bug#9706)
80fa505f 8599
fccdc796
SM
86002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * autorevert.el (auto-revert-notify-handler): Use memq.
8603 Hide assertion failure.
8604
8605 * skeleton.el: Use cl-lib.
8606 (skeleton-further-elements): Use defvar-local.
8607 (skeleton-insert): Use cl-progv.
8608
9bfff84b
TZ
86092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8610
8611 * progmodes/prog-mode.el (prog-prettify-symbols)
8612 (prog-prettify-install): Update docstrings.
8613
55577e7c
SM
86142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * simple.el: Move all the prog-mode code to prog-mode.el.
8617 * progmodes/prog-mode.el: New file.
8618 * loadup.el: Add prog-mode.el.
8619
8fc57765
TZ
86202013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8621
8622 * simple.el (prog-prettify-symbols): Add version.
8623 (prog-prettify-install): Add convenience function to prettify symbols.
8624
8625 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8626 (perl--augmented-font-lock-keywords-1)
8627 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8628 variables and use it.
8629
8630 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8631 (cfengine3-mode): Remove unneeded variable and use it.
8632
8633 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8634 (lisp--augmented-font-lock-keywords-1)
8635 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8636 Remove unneeded variables and use it.
8637
650645d5 86382013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8639
8640 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8641 to point when opening the connection. (Bug#14380)
28f5da6d 8642
781b4af6
SM
86432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * subr.el (load-history-regexp, load-history-filename-element)
8646 (eval-after-load, after-load-functions, do-after-load-evaluation)
8647 (eval-next-after-load, display-delayed-warnings)
8648 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8649 definition of save-match-data.
8650 (overriding-local-map): Remove accidental obsolescence declaration.
8651
8652 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8653
3ca0d0b4
TZ
86542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8655
8656 Generalize symbol prettify support to prog-mode and implement it
8657 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8658 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8659 (prog--prettify-font-lock-compose-symbol)
8660 (prog-prettify-font-lock-symbols-keywords): New variables and
8661 functions to support symbol prettification.
8662 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8663 (lisp--augmented-font-lock-keywords-1)
8664 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8665 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8666 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8667 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8668 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8669 * progmodes/perl-mode.el (perl-prettify-symbols)
8670 (perl--font-lock-compose-symbol)
8671 (perl--font-lock-symbols-keywords): Move to prog-mode.
8672 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8673 (perl-font-lock-keywords-1)
8674 (perl-font-lock-keywords-2): Remove explicit prettify support.
8675 (perl--augmented-font-lock-keywords)
8676 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8677 (perl--augmented-font-lock-keywords-2, perl-mode):
8678 Implement prettify support.
3ca0d0b4 8679
976cb066
LL
86802013-06-05 Leo Liu <sdl.web@gmail.com>
8681
8682 Re-implement smie matching block highlight using
8683 show-paren-data-function. (Bug#14395)
8684 * emacs-lisp/smie.el (smie-matching-block-highlight)
8685 (smie--highlight-matching-block-overlay)
8686 (smie--highlight-matching-block-lastpos)
8687 (smie-highlight-matching-block)
8688 (smie-highlight-matching-block-mode): Remove.
8689 (smie--matching-block-data-cache): New variable.
8690 (smie--matching-block-data): New function.
8691 (smie-setup): Use smie--matching-block-data for
8692 show-paren-data-function.
8693
8694 * progmodes/octave.el (octave-mode-menu): Fix.
8695 (octave-find-definition): Skip garbage lines.
8696
208d0342
SM
86972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 Fix compilation error with simultaneous dynamic+lexical scoping.
8700 Add warning when a defvar appears after the first let-binding.
8701 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8702 (byte-compile-close-variables): Initialize it.
8703 (byte-compile--declare-var): New function.
8704 (byte-compile-file-form-defvar)
8705 (byte-compile-file-form-define-abbrev-table)
8706 (byte-compile-file-form-custom-declare-variable): Use it.
8707 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8708 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8709 (byte-compile-bind): Handle dynamic bindings that shadow
8710 lexical bindings.
8711 (byte-compile-unbind): Make arg non-optional.
8712 (byte-compile-let): Simplify.
8713 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8714 (cconv--analyse-function, cconv-analyse-form): Populate it.
8715 Protect byte-compile-bound-variables to limit the scope of defvars.
8716 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8717 Remove unneeded rule for `declare'.
8718
8719 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8720 so as to avoid depending on cl-adjoin at run-time.
8721 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8722
8723 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8724 (macroexp--warn-and-return): Use it.
8725
1ac2891e
GM
87262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * lisp/subr.el: Convert to lexical binding.
8729 (overriding-local-map): Make obsolete.
8730 (add-to-list): Doc fix. Add compiler macro.
8731 (read-key): Swap values of local maps.
8732
2587b005
LL
87332013-06-05 Leo Liu <sdl.web@gmail.com>
8734
8735 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8736
f1da3c88
LL
87372013-06-04 Leo Liu <sdl.web@gmail.com>
8738
8739 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8740 (compilation-auto-jump): Suppress the "Mark set" message to give
8741 way to exit message.
8742
3caa391f
AM
87432013-06-04 Alan Mackenzie <acm@muc.de>
8744
8745 Remove faulty optimisation from indentation calculation.
8746 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8747 search limit based on 2000 characters back from indent-point.
8748
068922a2
TH
87492013-06-03 Tassilo Horn <tsdh@gnu.org>
8750
8751 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8752
1f8fdd53
SM
87532013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8754
bbcc4d97
SM
8755 * emacs-lisp/lisp.el: Use lexical-binding.
8756 (lisp--local-variables-1, lisp--local-variables): New functions.
8757 (lisp--local-variables-completion-table): New var.
208d0342 8758 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8759
1f8fdd53
SM
8760 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8761 eagerly (bug#14422).
8762
c9628c79
MA
87632013-06-03 Michael Albinus <michael.albinus@gmx.de>
8764
8765 * autorevert.el (auto-revert-notify-enabled)
8766 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8767 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8768 (auto-revert-notify-handler): Handle also gfilenotify.
8769
e7b41c4c 8770 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8771 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8772 Remove.
c9628c79 8773
e5e4a942
JL
87742013-06-03 Juri Linkov <juri@jurta.org>
8775
8776 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8777 `M-s h .'. (Bug#14427)
8778
8779 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8780 command `hi-lock-face-symbol-at-point'.
8781 (hi-lock-face-symbol-at-point): New command.
8782 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8783 (hi-lock-menu): Add `highlight-symbol-at-point'.
8784 (hi-lock-mode): Doc fix.
8785
8786 * isearch.el (isearch-forward-symbol-at-point): New command.
8787 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8788 (isearch-highlight-regexp): Add a regexp which matches
8789 words/symbols for word/symbol mode.
8790
8791 * subr.el (find-tag-default-bounds): New function with the body
8792 mostly moved from `find-tag-default'.
8793 (find-tag-default): Move most code to `find-tag-default-bounds',
8794 call it and apply `buffer-substring-no-properties' afterwards.
8795
26b3353a
TH
87962013-06-03 Tassilo Horn <tsdh@gnu.org>
8797
781b4af6
SM
8798 * eshell/em-term.el (eshell-term-initialize):
8799 Use `cl-intersection' rather than `intersection'.
26b3353a 8800
51b60f53
XF
88012013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8802
fe054b63 8803 * vc/log-view.el: Doc fix.
d3ffe17c 8804 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8805
a0eb10b3 88062013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8807
8808 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8809 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8810 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8811 (eieio-unbound, eieio-default-superclass)
8812 (eieio--define-field-accessors, method-static, method-before)
8813 (method-primary, method-after, method-num-lists)
8814 (method-generic-before, method-generic-primary)
8815 (method-generic-after, method-num-slots)
8816 (eieio-specialized-key-to-generic-key)
8817 (eieio--check-type, class-v, class-p)
8818 (eieio-class-name, define-obsolete-function-alias)
8819 (eieio-class-parents-fast, eieio-class-children-fast)
8820 (same-class-fast-p, class-constructor, generic-p)
8821 (generic-primary-only-p, generic-primary-only-one-p)
8822 (class-option-assoc, class-option, eieio-object-p)
8823 (class-abstract-p, class-method-invocation-order)
8824 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8825 (eieio-class-un-autoload, eieio-defclass)
8826 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8827 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8828 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8829 (eieio-defgeneric-reset-generic-form)
8830 (eieio-defgeneric-form-primary-only)
8831 (eieio-defgeneric-reset-generic-form-primary-only)
8832 (eieio-defgeneric-form-primary-only-one)
8833 (eieio-defgeneric-reset-generic-form-primary-only-one)
8834 (eieio-unbind-method-implementations)
8835 (eieio--defmethod, eieio--typep)
8836 (eieio-perform-slot-validation, eieio-validate-slot-value)
8837 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8838 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8839 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8840 (eieio-slot-name-index, eieio-class-slot-name-index)
8841 (eieio-set-defaults, eieio-initarg-to-attribute)
8842 (eieio-attribute-to-initarg, eieio-c3-candidate)
8843 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8844 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8845 (eieio-class-precedence-list, eieio-generic-call-methodname)
8846 (eieio-generic-call-arglst, eieio-generic-call-key)
8847 (eieio-generic-call-next-method-list)
8848 (eieio-pre-method-execution-functions, eieio-generic-call)
8849 (eieio-generic-call-primary-only, eieiomt-method-list)
8850 (eieiomt-optimizing-obarray, eieiomt-install)
8851 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8852 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8853 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8854 (defclass): Remove `eval-and-compile' from macro.
8855 (call-next-method, shared-initialize): Instead of using
8856 `scoped-class' variable, use new eieio--scoped-class, and
8857 eieio--with-scoped-class.
8858 (initialize-instance): Rename local variable 'scoped-class' to
8859 'this-class' to remove ambiguitity from old global.
8860
8861 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8862 eieio.el.
4f405069
JB
8863 (eieio--scoped-class-stack): New variable.
8864 (eieio--scoped-class): New fcn.
890f7890
DE
8865 (eieio--with-scoped-class): New scoping macro.
8866 (eieio-defclass): Use pushnew instead of add-to-list.
8867 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8868 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8869 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8870 `scoped-class' variable, use new eieio--scoped-class, and
8871 eieio--with-scoped-class.
8872
8873 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8874
d105b0e2
TH
88752013-06-02 Tassilo Horn <tsdh@gnu.org>
8876
8877 * eshell/esh-ext.el (eshell-external-command): Pass args to
8878 `eshell-find-interpreter'.
8879 (eshell-find-interpreter): Add new second parameter ARGS.
8880
8881 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8882 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8883
8884 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8885 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8886
8887 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8888 (eshell-visual-options): New defcustom.
8889 (eshell-escape-control-x): Adapt docstring.
8890 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8891 `eshell-visual-options' in addition to `eshell-visual-commands'.
8892 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8893
f46305c8 88942013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8895
8896 * progmodes/python.el (python-indent-block-enders): Add break,
8897 continue and raise keywords.
8898
d870df21
GM
88992013-06-01 Glenn Morris <rgm@gnu.org>
8900
9133b82e
GM
8901 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8902
02c992ec 8903 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8904 * progmodes/cc-cmds.el (delete-forward-p):
8905 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8906 * progmodes/cc-engine.el (buffer-syntactic-context):
8907 * progmodes/cc-fonts.el (face-property-instance):
8908 * progmodes/cc-mode.el (set-keymap-parents):
8909 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8910 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8911 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8912 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8913 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8914
31e7b090
GM
8915 * progmodes/cc-vars.el (other): Emacs has this widget since
8916 at least 21.1, so don't (re)define it.
8917
d870df21
GM
8918 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8919 Replace the obsolete alias pcomplete-arg-quote-list.
8920
c75c93c7
LL
89212013-06-01 Leo Liu <sdl.web@gmail.com>
8922
8923 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8924 punctuation syntax.
8925 (inferior-octave-minimal-columns)
8926 (inferior-octave-last-column-width): New variables.
8927 (inferior-octave-track-window-width-change): New function.
8928 (inferior-octave-mode): Adjust column width so that Octave output,
8929 for example from 'ls', can fit into the window nicely.
8930
973d1e12
DG
89312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8932
8933 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8934 Highlight expansions inside regexp literals.
8935
0888c286
GM
89362013-05-31 Glenn Morris <rgm@gnu.org>
8937
e26aac1f
GM
8938 * obsolete/sym-comp.el (symbol-complete):
8939 Replace obsolete completion-annotate-function.
8940
0888c286
GM
8941 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8942
19bb8e62
DG
89432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8944
781b4af6
SM
8945 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8946 New function, checks if point is inside a literal that allows
19bb8e62
DG
8947 expression expansion.
8948 (ruby-syntax-propertize-expansion): Use it.
8949 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8950 around the body.
8951
01dea85f
JL
89522013-05-30 Juri Linkov <juri@jurta.org>
8953
8954 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8955 to "\M-si".
8956 (isearch-invisible): New variable.
8957 (isearch-forward): Doc fix.
8958 (isearch-mode): Set `isearch-invisible'
8959 to the value of `search-invisible'.
8960 (isearch-toggle-case-fold): Doc fix.
8961 (isearch-toggle-invisible): New command.
8962 (isearch-query-replace): Let-bind `search-invisible'
8963 to the value of `isearch-invisible'.
8964 (isearch-search): Use `isearch-invisible' instead of
8965 `search-invisible'. Let-bind `search-invisible'
8966 to the value of `isearch-invisible'. (Bug#11378)
8967
ab1bdce5
JL
89682013-05-30 Juri Linkov <juri@jurta.org>
8969
8970 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8971 call when `query-flag' is nil and `search-invisible' is non-nil.
8972 (Bug#11746)
8973
d6d236e2
GM
89742013-05-30 Glenn Morris <rgm@gnu.org>
8975
8accd027
GM
8976 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8977
2a8bed1c
GM
8978 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8979 (cc-require): Suppress spurious "noruntime" warnings.
8980 (cc-require-when-compile): Use fboundp, for sake of compiler.
8981
d6d236e2
GM
8982 * progmodes/cc-mode.el: Move load of cc-vars before that of
8983 cc-langs (which in turn loads cc-vars), to quieten compiler.
8984
9190b35b
SM
89852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * paren.el: Simplify the code.
8988 (show-paren-mode): Always start the timer.
8989 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8990 (show-paren--overlay, show-paren--overlay-1): Rename from
8991 show-paren-overlay and show-paren-overlay-1, and initialize to an
8992 overlay rather than to nil.
8993 (show-paren-function): Misc cleanup and simplifications.
8994
4f8d1cf6
SM
89952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * paren.el (show-paren-data-function): New hook.
8998 (show-paren--default): New function, extracted from show-paren-function.
8999 (show-paren-function): Use show-paren-data-function.
9000
02d844b5
GM
90012013-05-30 Glenn Morris <rgm@gnu.org>
9002
d209d4a9
GM
9003 * ielm.el (ielm-map, ielm-complete-symbol):
9004 Use completion-at-point rather than obsolete functions.
9005 (inferior-emacs-lisp-mode): Doc fix.
9006 Set completion-at-point-functions, rather than
9007 comint-dynamic-complete-functions.
9008
2082faa6
GM
9009 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9010 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9011 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9012
dd8620de
GM
9013 * image.el (image-animated-p): Tweak definition.
9014
ceca95b1
GM
9015 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9016 (rlogin-process-connection-type): Tweak default. Add set-after.
9017 (rlogin-host): Doc fix.
9018 (rlogin): Tweak prompt.
9019 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9020
ee9f1acc
GM
9021 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9022 * progmodes/tcl.el (inferior-tcl-mode-map):
9023 Use completion-at-point rather than obsolete alias.
9024
45ce222e
GM
9025 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9026
02d844b5
GM
9027 * minibuffer.el (read-file-name-completion-ignore-case):
9028 Move before completion--in-region, for eager macro expansion.
9029
ac44d6c1
JL
90302013-05-29 Juri Linkov <juri@jurta.org>
9031
9032 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9033 for total count of matching lines. Add `global-matches' for total
9034 count of matches. Rename `matches' to `lines' for count of
9035 matching lines. Add `matches' for count of matches.
9036 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9037 to `prev-line' for line number of prev match endpt.
9038 Increment `matches' for every match. Print the number of
9039 matching lines in the header.
9040 (occur-context-lines): Rename `lines' to `curr-line'.
9041 Rename `prev-lines' to `prev-line'. (Bug#14017)
9042
3c9c9d38
JL
90432013-05-29 Juri Linkov <juri@jurta.org>
9044
9045 * replace.el (perform-replace): Add `skip-read-only-count',
9046 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9047 Increment them for corresponding conditions and report the number
9048 of skipped occurrences in the final message. (Bug#11746)
9049 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9050 (replace-string, replace-regexp): Doc fix.
9051
33e249a2
SM
90522013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9053
8e399682
SM
9054 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9055
33e249a2 9056 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9057 prog-mode-map (bug#14504).
33e249a2 9058
f236dd84
LL
90592013-05-29 Leo Liu <sdl.web@gmail.com>
9060
9061 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9062 (octave-help): Small simplification.
9063
9064 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9065 off the highlight first.
9066
3694d13f
GM
90672013-05-29 Glenn Morris <rgm@gnu.org>
9068
03983bdc
GM
9069 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9070 Handle idlwave-last-system-routine-info-cons-cell being nil.
9071
bc74a74a
GM
9072 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9073 (idlwave-write-paths): Simplify via with-temp-buffer.
9074
8b394200
GM
9075 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9076 * emulation/cua-rect.el: Also load cua-base at run time.
9077
3694d13f
GM
9078 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9079 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9080 (cperl-imenu-on-info): Require imenu.
9081
336d7284
AM
90822013-05-28 Alan Mackenzie <acm@muc.de>
9083
9084 Handle "capitalised keywords" correctly.
33e249a2 9085 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9086
cb29c582
AG
90872013-05-28 Aidan Gauland <aidalgol@amuri.net>
9088
781b4af6 9089 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9090
690e44b2
GM
90912013-05-28 Glenn Morris <rgm@gnu.org>
9092
e658d75c
GM
9093 * vc/vc-arch.el (vc-exec-after): Declare.
9094 (vc-switches): Autoload.
9095 * vc/vc-bzr.el: No need to require vc when compiling.
9096 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9097 (vc-resynch-buffer, vc-dir-refresh): Declare.
9098 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9099 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9100 (vc-resynch-buffer): Declare.
9101 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9102 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9103 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9104 (grep-read-regexp, grep-read-files, grep-expand-template)
9105 (vc-dir-refresh): Declare.
9106 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9107 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9108 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9109 * vc/vc-mtn.el (vc-exec-after): Declare.
9110 (vc-switches): Autoload.
9111 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9112 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9113 (vc-file-tree-walk): Declare.
712b9732
GM
9114 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9115 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9116 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9117 * vc/vc-svn.el (vc-exec-after): Declare.
9118 (vc-switches, vc-setup-buffer): Autoload.
9119 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9120 Autoload.
9121 (vc-resynch-buffer): Declare.
9122
98e87fb3
GM
9123 * obsolete/fast-lock.el (byte-compile-warnings):
9124 Don't warn about obsolete features in this obsolete file.
9125
f5379553
GM
9126 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9127 Move definition before use.
9128
7a20ef83
GM
9129 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9130 (dun-unix-verbs): Remove dun-zippy.
9131 (dun-zippy): Remove function.
9132
690e44b2
GM
9133 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9134
3a52ccf7
JL
91352013-05-27 Juri Linkov <juri@jurta.org>
9136
9137 * replace.el (replace-search): New function with code moved out
9138 from `perform-replace'.
9139 (replace-highlight, replace-dehighlight): Move function definitions
9140 up closer to `replace-search'. (Bug#11746)
9141
d289938a
JL
91422013-05-27 Juri Linkov <juri@jurta.org>
9143
9144 * replace.el (perform-replace): Ignore invisible matches.
9145 In addition to checking `query-replace-skip-read-only', also
9146 filter out matches by calling `run-hook-with-args-until-failure'
9147 on `isearch-filter-predicates', and also check `search-invisible'
9148 for t or call `isearch-range-invisible'.
9149 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9150
66fc57e3
JL
91512013-05-27 Juri Linkov <juri@jurta.org>
9152
9153 * isearch.el (isearch-filter-predicates): Rename from
9154 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9155 (isearch-message-prefix): Display text from the property
9156 `isearch-message-prefix' of the currently active filters.
9157 (isearch-search): Don't compare `isearch-filter-predicate' with
9158 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9159 on `isearch-filter-predicates'. Also check `search-invisible' for t
9160 or call `isearch-range-invisible'.
9161 (isearch-filter-visible): Make obsolete.
9162 (isearch-lazy-highlight-search):
9163 Call `run-hook-with-args-until-failure' on
9164 `isearch-filter-predicates' and use `isearch-range-invisible'.
9165
9166 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9167 `isearch-filter-predicates' instead of `funcall'ing
9168 `isearch-filter-predicate'.
9169 (Info-mode): Set `Info-isearch-filter' to
9170 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9171
9172 * dired-aux.el (dired-isearch-filter-predicate-orig):
9173 Remove variable.
9174 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9175 (dired-isearch-filenames-end): Add and remove
9176 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9177 instead of changing the value of `isearch-filter-predicate'.
9178 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9179 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9180 Put property `isearch-message-prefix' to "filename " on
9181 `dired-isearch-filter-filenames'.
9182
9183 * wdired.el (wdired-change-to-wdired-mode):
9184 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9185 locally instead of changing `isearch-filter-predicate'.
9186 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9187
f1a60a0f
DG
91882013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9189
9190 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9191 return the commit hash (Bug#14459). Also set the
9192 `vc-git-detached' property.
9193 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9194 (vc-git-mode-line-string): Use the same help-echo format whether
9195 in detached mode or not, because we know the actual revision now.
9196 When in detached mode, shorten the revision to 7 chars.
9197
7f17cc40
SM
91982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * emacs-lisp/easy-mmode.el (define-minor-mode):
9201 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9202 mode hook and provide a docstring.
9203
25c8401c
AM
92042013-05-27 Alan Mackenzie <acm@muc.de>
9205
9206 Remove spurious syntax-table text properties inserted by C-y.
9207 * progmodes/cc-mode.el (c-after-change): Also clear hard
9208 syntax-table property with value nil.
9209
dde84790
MA
92102013-05-27 Michael Albinus <michael.albinus@gmx.de>
9211
9212 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9213 when reading the events; the buffer layout shall not be changed.
9214
837fd9af
LL
92152013-05-27 Leo Liu <sdl.web@gmail.com>
9216
9217 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9218 New variable.
9219 (inferior-octave-directory-tracker): Automatically re-sync
9220 default-directory.
9221 (octave-help): Improve handling of 'See also'.
9222
4fd996b3
SM
92232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9224
416f1802
SM
9225 * doc-view.el: Minor naming convention tweaks.
9226 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9227
4fd996b3
SM
9228 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9229 even if there's no `display' property yet (bug#14435).
9230
a052ef3b
EZ
92312013-05-25 Eli Zaretskii <eliz@gnu.org>
9232
4fd996b3 9233 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9234
9235 * Makefile.in (custom-deps, finder-data, autoloads)
9236 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9237 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9238 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9239
c9023370
SM
92402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9243 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9244 Don't burp at EOB.
c9023370 9245
24d699fa
LL
92462013-05-25 Leo Liu <sdl.web@gmail.com>
9247
9248 * comint.el (comint-previous-matching-input): Do not flood the
9249 *Messages* buffer with trivial messages.
9250
17e5c0cc
SM
92512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * progmodes/flymake.el (flymake-nop): Don't return a string.
9254 (flymake-set-at): Fix typo.
9255
9256 * simple.el (read--expression): New function, extracted from
9257 eval-expression. Set completion-at-point-functions (bug#14465).
9258 (eval-expression, eval-minibuffer): Use it.
9259
5d028165
XF
92602013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9261
9262 * progmodes/flymake.el (flymake-save-buffer-in-file)
9263 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9264 (flymake-selected-frame, flymake-log, flymake-ins-after)
9265 (flymake-set-at, flymake-get-buildfile-from-cache)
9266 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9267 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9268 Refine the doc string.
9269 (flymake-get-file-name-mode-and-masks): Reformat.
9270 (flymake-get-real-file-name-function): Fix a minor bug.
9271
7a1d7ba7
JL
92722013-05-24 Juri Linkov <juri@jurta.org>
9273
9274 * progmodes/grep.el (grep-mode-font-lock-keywords):
9275 Support =linenumber= format used by git-grep for lines with
9276 function names. (Bug#13549)
9277
650cff3d
SM
92782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9279
9280 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9281 0 after a semi-colon; it works better for smie-auto-fill.
9282 (octave--indent-new-comment-line): New function.
9283 (octave-indent-new-comment-line): Use it (indirectly).
9284 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9285 modify comment-line-break-function.
9286
9287 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9288 (smie-setup): Use add-function to set it.
9289
9631677d
SS
92902013-05-24 Sam Steingold <sds@gnu.org>
9291
9292 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9293 argument (before the `interactive' argument).
9294
50105835
SM
92952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * image-mode.el (image-mode-winprops): Add winprops to
9298 image-mode-winprops-alist before running
9299 image-mode-new-window-functions.
9300 * doc-view.el (doc-view-new-window-function): Don't delay
9301 doc-view-goto-page via timers (bug#14435).
9302
57b9823e
TH
93032013-05-24 Tassilo Horn <tsdh@gnu.org>
9304
9305 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9306 (doc-view-desktop-save-buffer): New function.
9307 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9308 (desktop-buffer-mode-handlers):
9309 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9310 handler.
9311 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9312 `desktop-save-buffer' function.
9313
91aafa16
MA
93142013-05-24 Michael Albinus <michael.albinus@gmx.de>
9315
9316 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9317 (tramp-gvfs-file-name-handler): Raise a user error when
9318 `tramp-gvfs-enabled' is nil.
9319 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9320 Do not raise a user error when loading package. (Bug#14447)
9321
ec076379
MA
9322 * net/xesam.el: Move to obsolete/.
9323
db785726
GM
93242013-05-24 Glenn Morris <rgm@gnu.org>
9325
af5c7606
GM
9326 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9327
e5d1916a
GM
9328 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9329
ded62b08
GM
9330 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9331 (Info-find-node, Man-getpage-in-background): Declare.
9332
9e614a3f
GM
9333 * mail/unrmail.el (unrmail):
9334 Replace obsolete detect-coding-with-priority.
9335
892f8ca3
GM
9336 * net/socks.el (socks-split-string): Use this rather than split-string.
9337 (socks-nslookup-host): Update for above change.
9338 (dynamic-choice, s5-dynamic-choice-match)
9339 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9340 Comment out unused code.
9341
3c291973
GM
9342 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9343 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9344 (gud-tooltip-echo-area): Make obsolete.
9345 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9346
43cc956b
GM
9347 * progmodes/js.el (js--optimize-arglist): Declare.
9348
dab49a3b
GM
9349 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9350
36b9d085
GM
9351 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9352 (ediff-window-C): Declare.
9353
e354ae76
GM
9354 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9355 Tweak requires to silence compiler.
9356
b8e57bf4
GM
9357 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9358 (he-search-string, he-tried-table, he-expand-list)
9359 (he-init-string, he-string-member, he-substitute-string)
9360 (he-reset-string): Declare.
9361
db785726
GM
9362 * obsolete/options.el (list-options): Use custom-variable-p,
9363 rather than obsolete alias.
9364
b3531901
SS
93652013-05-23 Sam Steingold <sds@gnu.org>
9366
9367 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9368 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9369 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9370
bdda4c66
SM
93712013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * emacs-lisp/smie.el (smie-indent-forward-token)
9374 (smie-indent-backward-token): Handle string tokens (bug#14381).
9375
c43d45f9
TH
93762013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9377
fe1eb856
RS
9378 * ielm.el (ielm-menu): New menu.
9379 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9380
fe1eb856
RS
93812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9382
9383 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9384 Fix deactivate action.
9385
9386 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9387 Add cleveref macros.
074dd971 9388
c43d45f9
TH
9389 * lisp/textmodes/reftex-parse.el
9390 (reftex-locate-bibliography-files): Accept options for
9391 bibliography commands.
9392 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9393 Add addbibresource. Basic Biblatex support.
9394
7764286e
MA
93952013-05-23 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/tramp-gvfs.el (top):
9398 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9399 when loading package. (Bug#14447)
9400
d361bc10
GM
94012013-05-23 Glenn Morris <rgm@gnu.org>
9402
8fa23984
GM
9403 * progmodes/js.el: No need to load comint when compiling.
9404 (ring-insert, comint-send-string, comint-send-input)
9405 (comint-last-input-end, ido-chop): Declare.
9406
a5c7df1a
GM
9407 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9408 * vc/ediff-mult.el: Adjust requires.
9409 (ediff-directories-internal, ediff-directory-revisions-internal)
9410 (ediff-patch-file-internal): Declare.
9411 * vc/ediff-ptch.el: Adjust requires.
9412 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9413 (ediff-find-file): Autoload.
9414 * vc/ediff-util.el: No need to load ediff when compiling.
9415 (ediff-regions-internal): Declare.
9416 * vc/ediff-wind.el: Adjust requires.
9417 (ediff-compute-toolbar-width): Define when compiling.
9418 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9419 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9420 (dired-get-filename, dired-get-marked-files)
9421 (ediff-last-dir-patch, ediff-patch-default-directory)
9422 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9423 (ediff-patch-buffer-internal): Declare.
9424
e2aec513
GM
9425 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9426 (ispell-process, ispell-buffer-local-words, lm-summary)
9427 (lm-section-start, lm-section-end): Declare.
9428 (checkdoc-ispell-init): Simplify.
9429
e68bbd7c
GM
9430 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9431 (he-string-member, he-reset-string, he-substitute-string): Declare.
9432
7efe0991
GM
9433 * eshell/em-ls.el: Adjust requires.
9434 (eshell-glob-regexp): Declare.
f87b1284
GM
9435 * eshell/em-tramp.el: Adjust requires.
9436 (eshell-parse-command): Autoload.
9437 * eshell/em-xtra.el: Adjust requires.
9438 (eshell-parse-command): Autoload.
9439 * eshell/esh-ext.el: Adjust requires.
9440 (eshell-parse-command, eshell-close-handles): Autoload.
9441 * eshell/esh-io.el: Adjust requires.
9442 (eshell-output-filter): Autoload.
9443 * eshell/esh-util.el: No need to load tramp when compiling.
9444 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9445 Declare.
9446 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9447 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9448 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9449 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9450 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9451 * eshell/esh-opt.el, eshell/esh-proc.el:
9452 * eshell/esh-var.el: Adjust requires.
9453 * eshell/eshell.el: Do not require esh-util twice.
9454 (eshell-add-input-to-history): Declare.
9455 (eshell-command): Check history module is active before using it.
9456
d361bc10
GM
9457 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9458
85d090a9
LL
94592013-05-22 Leo Liu <sdl.web@gmail.com>
9460
9461 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9462
5d0acd9d
MA
94632013-05-22 Michael Albinus <michael.albinus@gmx.de>
9464
9465 * autorevert.el (auto-revert-notify-add-watch)
9466 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9467 it indicates changes in file modification time.
9468
0cdffd7d
GM
94692013-05-22 Glenn Morris <rgm@gnu.org>
9470
ca5995ec
GM
9471 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9472 Always delete the autoloaded function from the noruntime and
9473 unresolved functions lists.
9474
6450907e
GM
9475 * allout.el: No need to load epa, epg, overlay when compiling.
9476 (epg-context-set-passphrase-callback, epg-list-keys)
9477 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9478 (epg-key-user-id-list): Declare.
9479
9c6906f6
GM
9480 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9481 (viper-set-parsing-style-toggling-macro)
9482 (viper-set-emacs-state-searchstyle-macros):
9483 Use called-interactively-p on Emacs.
9484 (viper-looking-back): Make it an obsolete alias. Update callers.
9485 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9486 Use looking-back rather than viper-looking-back.
9487 (viper-tmp-insert-at-eob, viper-enlarge-region)
9488 (viper-read-string-with-history, viper-register-to-point)
9489 (viper-append-to-register, viper-change-state-to-vi)
9490 (viper-backward-char-carefully, viper-forward-char-carefully)
9491 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9492 (viper-change-state-to-emacs): Declare.
9493 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9494 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9495 * emulation/viper-mous.el: Do not load viper-cmd.
9496 (viper-backward-char-carefully, viper-forward-char-carefully)
9497 (viper-forward-word, viper-adjust-window): Declare.
9498
5f70c169
GM
9499 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9500
b1b7f300
GM
9501 * progmodes/idlw-help.el (idlwave-help-fontify):
9502 Use called-interactively-p.
9503
f6ebbb46
GM
9504 * term/w32console.el (w32-get-console-codepage)
9505 (w32-get-console-output-codepage): Declare.
9506
0cdffd7d
GM
9507 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9508 Remove unnecessary declarations.
9509 (dframe-message): Doc fix.
9510
9511 * info.el (dframe-select-attached-frame, dframe-current-frame):
9512 Declare.
9513
9514 * speedbar.el (speedbar-message): Make it an obsolete alias.
9515 Update all callers.
9516 (speedbar-with-attached-buffer)
9517 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9518 (speedbar-with-writable): Use backquote.
9519 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9520 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9521 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9522 rather than speedbar- aliases.
9523 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9524 (speedbar-make-specialized-keymap, speedbar-insert-button)
9525 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9526 (speedbar-do-function-pointer): Declare.
9527 (rmail-speedbar-button, rmail-speedbar-find-file)
9528 (rmail-speedbar-move-message):
9529 Use dframe-with-attached-buffer rather than speedbar- alias.
9530 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9531 (dframe-message, speedbar-make-specialized-keymap)
9532 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9533 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9534 (speedbar-insert-button, dframe-select-attached-frame)
9535 (dframe-maybee-jump-to-attached-frame)
9536 (speedbar-change-initial-expansion-list)
9537 (speedbar-previously-used-expansion-list-name): Declare.
9538 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9539 Use dframe-message, dframe-with-attached-buffer rather than
9540 speedbar- aliases.
9541 (gud-sentinel): Silence compiler.
9542 * progmodes/vhdl-mode.el (speedbar-refresh)
9543 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9544 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9545 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9546 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9547 (speedbar-file-lists, speedbar-make-tag-line)
9548 (speedbar-line-directory, speedbar-goto-this-file)
9549 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9550 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9551 (speedbar-make-button, speedbar-reset-scanners)
9552 (speedbar-files-item-info, speedbar-line-text)
9553 (speedbar-find-file-in-frame, speedbar-set-timer)
9554 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9555 (speedbar-with-writable): Do not (re)define it.
9556 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9557 rather than speedbar- alias.
9558
ee44b62a
LL
95592013-05-21 Leo Liu <sdl.web@gmail.com>
9560
9561 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9562 menu items.
9563 (octave-mode): Tweak fill-nobreak-predicate.
9564 (inferior-octave-startup): Check process to avoid infinite loop.
9565 (inferior-octave): Pop to buffer first to show abornmal process
9566 exit information.
9567
640f050f
GM
95682013-05-21 Glenn Morris <rgm@gnu.org>
9569
79458038
GM
9570 * printing.el (pr-menu-bar): Define when compiling.
9571
9cc3e83f
LL
95722013-05-21 Leo Liu <sdl.web@gmail.com>
9573
9574 * progmodes/octave.el (octave-auto-fill): Remove.
9575 (octave-indent-new-comment-line): Improve.
9576 (octave-mode): Use auto fill mode through
4f405069 9577 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9578 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9579 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9580 (octave-help): Show parent directory.
9581
f440830d
GM
95822013-05-21 Glenn Morris <rgm@gnu.org>
9583
9584 * files.el (dired-unmark):
9585 * progmodes/gud.el (gdb-input): Update declarations.
9586
9587 * calculator.el (electric, ehelp): No need to load when compiling.
9588 (Electric-command-loop, electric-describe-mode): Declare.
9589
9590 * doc-view.el (doc-view-current-converter-processes): Move before use.
9591
9592 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9593 Move MODE-set-explicitly definition before use.
9594
9595 * international/mule-diag.el (mule-diag):
9596 Don't use obsolete window-system-version.
9597
9598 * mail/feedmail.el (smtpmail): No need to load when compiling.
9599 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9600
9601 * mail/mail-utils.el (rfc822): No need to load when compiling.
9602 (rfc822-addresses): Autoload it.
9603 (mail-strip-quoted-names): Trivial simplification.
9604
9605 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9606 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9607
9608 * net/snmp-mode.el (tempo): Don't duplicate requires.
9609
9610 * progmodes/prolog.el (info): No need to load when compiling.
9611 (comint): Require before shell requires it.
9612 (Info-goto-node): Autoload it.
9613 (Info-follow-nearest-node): Declare.
9614 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9615
9616 * textmodes/artist.el (picture-mode-exit): Declare.
9617
9618 * textmodes/reftex-parse.el (reftex-parse-from-file):
9619 Trivial rewrite so the compiler can parse it better.
9620
b4da2cbb
LL
96212013-05-20 Leo Liu <sdl.web@gmail.com>
9622
9623 * progmodes/octave.el (octave-help-mode-map)
9624 (octave-help-mode-finish-hook): New variables.
9625 (octave-help-mode, octave-help-mode-finish): New functions.
9626 (octave-help): Use octave-help-mode.
9627
33c0f65b
GM
96282013-05-20 Glenn Morris <rgm@gnu.org>
9629
9630 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9631
1a0a0a8a
DG
96322013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9633
9634 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9635 start at point, so that expansion starting right after opening
9636 slash in a regexp is recognized.
9637 (ruby-syntax-before-regexp-re): New defvar, extracted from
9638 ruby-syntax-propertize-function. Since the value of this regexp
9639 is looked up at runtime now, we should be able to turn
9640 `ruby-syntax-methods-before-regexp' into a defcustom later.
9641 (ruby-syntax-propertize-function): Split regexp matching into two
9642 parts, for opening and closing slashes. That allows us to skip
9643 over string interpolations and support multiline regexps.
9644 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9645 for them, which calls `ruby-syntax-propertize-expansion'.
9646 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9647 call to `ruby-syntax-propertize-function'.
9648 (ruby-syntax-propertize-expansion): Extracted from
9649 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9650 (ruby-syntax-propertize-percent-literal): Leave point right after
9651 the percent symbol, so that the expression expansion rule can
9652 propertize the contents.
462388b6
DG
9653 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9654 heredoc openers.
9655 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9656
c1a6c0a4
JL
96572013-05-18 Juri Linkov <juri@jurta.org>
9658
9659 * man.el (Man-default-man-entry): Remove `-' from the end
9660 of the default value. (Bug#14400)
9661
8051fccd
GM
96622013-05-18 Glenn Morris <rgm@gnu.org>
9663
9664 * comint.el (comint-password-prompt-regexp):
9665 Allow "password for XXX" where XXX contains colons (eg https://...).
9666
5e80b74f
LL
96672013-05-18 Leo Liu <sdl.web@gmail.com>
9668
9669 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9670 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9671 (octave-source-directories): Don't check process.
9672 (octave-source-directories, octave-find-definition): Doc fix.
9673
521a54c5
GM
96742013-05-18 Glenn Morris <rgm@gnu.org>
9675
86a94b05
GM
9676 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9677 Remove backspace/delete bindings. (Bug#14392)
9678
521a54c5
GM
9679 * cus-dep.el (custom-make-dependencies): Sort the output.
9680 (custom-versions-load-alist): Convert comment to doc.
9681
42caeb89
LL
96822013-05-17 Leo Liu <sdl.web@gmail.com>
9683
9684 * newcomment.el (comment-search-backward): Stricter in finding
9685 comment start. (Bug#14303)
9686
9687 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9688 (octave-comment-start-skip): Properly anchored.
9689
e219dd97
LL
96902013-05-17 Leo Liu <sdl.web@gmail.com>
9691
fe1eb856
RS
9692 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9693 Clean up when turned off. (Bug#14395)
e219dd97
LL
9694 (smie--highlight-matching-block-overlay): No longer buffer-local.
9695 (smie-highlight-matching-block): Adjust.
9696
dc5dcb4b
PE
96972013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9698
9699 Doc string fix for "nanoseconds" (Bug#14406).
9700 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9701 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9702
1db165f0
JB
97032013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9704
9705 * calc/calc-units.el (math-extract-units): Preserve powers
9706 of units.
9707
c7a8fcac
LL
97082013-05-17 Leo Liu <sdl.web@gmail.com>
9709
9710 * subr.el (delete-consecutive-dups): New function.
9711 * ido.el (ido-set-matches-1): Use it.
9712 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9713 * ido.el (ido-remove-consecutive-dups): Remove.
9714
f678b18a
SM
97152013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9718 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9719 regexp-opt's `words'.
9720
ebfe68e8
LL
97212013-05-16 Leo Liu <sdl.web@gmail.com>
9722
9723 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9724 (smie--highlight-matching-block-overlay)
9725 (smie--highlight-matching-block-lastpos)
9726 (smie--highlight-matching-block-timer): New variables.
9727 (smie-highlight-matching-block): New function.
9728 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9729 (smie-setup): Conditionally enable smie-blink-matching-open.
9730
bc8bc17d
WS
97312013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9732
9733 Sync with upstream verilog-mode r840.
9734 * progmodes/verilog-mode.el (verilog-mode-version)
9735 (verilog-mode-release-date): Update.
9736 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9737 (verilog-sig-tieoff): Fix string error on
9738 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9739 (verilog-read-decls): Fix parameters confusing
9740 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9741
df065a0b
EZ
97422013-05-16 Eli Zaretskii <eliz@gnu.org>
9743
9744 * subr.el (reveal-filename): New function.
9745
9746 * loadup.el: Compute Emacs executable versions on MS-Windows,
9747 where executables have the .exe extension. Add a hard link
9748 emacs-XX.YY.ZZ.exe on MS-Windows.
9749
9750 * Makefile.in (XARGS_LIMIT): New variable.
9751 (custom-deps, finder-data, autoloads)
9752 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9753 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9754 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9755 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9756
2d4bf34b
LL
97572013-05-16 Leo Liu <sdl.web@gmail.com>
9758
9759 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9760 (octave-mode-menu, octave-mode-map): Remove its uses.
9761
6b9c2d85
RZ
97622013-05-16 Reto Zimmermann <reto@gnu.org>
9763
9764 Sync with upstream vhdl mode v3.34.2.
9765 * progmodes/vhdl-mode.el: Use `push' throughout.
9766 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9767 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9768 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9769 (vhdl-actual-generic-name): New option to derive actual generic name.
9770 (vhdl-port-paste-signals): Replace formal by actual generics.
9771 (vhdl-beautify): New name for old group vhdl-align. Update users.
9772 (vhdl-beautify-options): New option.
9773 (vhdl-last-input-event): New compat alias. Use throughout.
9774 (vhdl-goto-line): Replace user level function `goto-line'.
9775 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9776 vhdl-fix-statement-buffer.
9777 (vhdl-create-mode-menu): Add some entries.
9778 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9779 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9780 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9781 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9782 to force statements on one line.
9783 (vhdl-remove-trailing-spaces-region):
9784 New, split from vhdl-remove-trailing-spaces.
9785 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9786 Respect vhdl-beautify-options.
9787 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9788 (vhdl-update-sensitivity-list): Not add with index if exists without.
9789 Not include array index with signal. Ignore keywords in comments.
9790 (vhdl-get-visible-signals): Regexp tweaks.
9791 (vhdl-template-component-inst): Handle empty library.
9792 (vhdl-template-type): Add template for 'enum' type.
9793 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9794 Use vhdl-replace-string.
9795 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9796 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9797 (vhdl-speedbar-initialize): Update for above name change.
9798 (vhdl-compose-wire-components): Fix in handling of constants.
9799 (vhdl-error-regexp-emacs-alist): New variable.
9800 (vhdl-error-regexp-add-emacs): New function;
9801 adds support for new compile.el (Emacs 22+)
9802 (vhdl-generate-makefile-1): Change target order for single lib. units.
9803 Allow use of absolute file names.
9804
9df4ec5e
LL
98052013-05-16 Leo Liu <sdl.web@gmail.com>
9806
9807 * simple.el (prog-indent-sexp): Indent enclosing defun.
9808
f5ba00a6
GM
98092013-05-15 Glenn Morris <rgm@gnu.org>
9810
ed8be7ff
GM
9811 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9812 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9813 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9814 (whitespace-highlight): Move to whitespace group.
9815
9816 * comint.el (comint-source):
9817 * pcmpl-linux.el (pcmpl-linux):
9818 * shell.el (shell-faces):
9819 * eshell/esh-opt.el (eshell-opt):
9820 * international/ccl.el (ccl): Remove empty custom groups.
9821
9822 * completion.el (dynamic-completion-mode):
9823 * jit-lock.el (jit-lock-debug-mode):
9824 * minibuffer.el (completion-in-region-mode):
9825 * type-break.el (type-break-mode-line-message-mode)
9826 (type-break-query-mode):
9827 * emulation/tpu-edt.el (tpu-edt-mode):
9828 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9829 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9830 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9831
9832 * term/xterm.el (xterm): Change parent group to terminals.
9833
9834 * master.el (master): Remove empty custom group.
9835 (master-mode): Remove unused :group argument.
9836 * textmodes/refill.el (refill): Remove empty custom group.
9837 (refill-mode): Remove unused :group argument.
9838
9839 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9840
82a7c41b
GM
9841 * cus-dep.el: Provide a feature.
9842 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9843 Don't mistakenly ignore files whose basenames match a basename
9844 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9845 Add a fallback method for getting :group.
f5ba00a6 9846
6d65486d
JL
98472013-05-15 Juri Linkov <juri@jurta.org>
9848
da547b32
JL
9849 * isearch.el (isearch-char-by-name): Rename from
9850 `isearch-insert-char-by-name'. Doc fix.
9851 (isearch-forward): Mention `isearch-char-by-name' in
9852 the docstring. (Bug#13348)
9853
6d65486d
JL
9854 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9855 `exit-minibuffer' instead of
9856 `isearch-nonincremental-exit-minibuffer'.
9857 (isearch-edit-string): Remove mention of
9858 `isearch-nonincremental-exit-minibuffer' from docstring.
9859 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9860 (isearch-forward-exit-minibuffer)
9861 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9862
c9990474
SM
98632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9864
6e911150
SM
9865 * loadup.el: Just use unversioned DOC.
9866
c9990474
SM
9867 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9868 literals as extending to EOB.
9869 (nxml-last-fontify-end): Remove unused variable.
9870 (nxml-after-change1): Use with-silent-modifications.
9871 (nxml-extend-after-change-region): Simplify.
9872 (nxml-extend-after-change-region1): Remove function.
9873 (nxml-after-change1): Don't adjust for dependent regions.
9874 (nxml-fontify-matcher): Simplify.
9875 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9876 (xmltok-add-dependent): Remove function.
9877 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9878 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9879 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9880 unclosed <[[, <?, comment, and other literals as extending to EOB.
9881 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9882 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9883 Remove functions.
9884 (rng-do-some-validation-1): Don't mark dependent regions.
9885 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9886 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9887 (nxml-clear-dependent-regions): Remove functions.
9888 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9889 (nxml-ensure-scan-up-to-date):
9890 Don't clear&mark dependent regions.
9891
e3772e98
LL
98922013-05-15 Leo Liu <sdl.web@gmail.com>
9893
c9990474
SM
9894 * progmodes/octave.el (octave-goto-function-definition):
9895 Improve and fix callers.
e3772e98 9896
5ac2eb34
SM
98972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9898
c46c57b0
SM
9899 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9900 the setter (bug#14387).
9901
5ac2eb34
SM
9902 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9903 surrounding group (bug#14402).
9904
180ed218
JL
99052013-05-14 Juri Linkov <juri@jurta.org>
9906
9907 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9908 (Bug#14390)
9909
0ac0fecb
GM
99102013-05-14 Glenn Morris <rgm@gnu.org>
9911
9912 * progmodes/f90.el (f90-imenu-generic-expression):
9913 Fix typo in 2013-05-08 change. (Bug#14402)
9914
2e78e6a7
JPG
99152013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9916
5ac2eb34
SM
9917 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9918 Remove signals for which replies are never received.
2e78e6a7 9919
53267cca
JPG
99202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9921
9922 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9923 (gdb-handler-alist, gdb-handler-number): Remove variables.
9924 (gdb-handler-list): New variable.
9925 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9926 (gdb-pending-handler-p, gdb-handle-reply)
9927 (gdb-remove-all-pending-triggers): New functions.
9928 (gdb-discard-unordered-replies): New defcustom.
9929 (gdb-handler): New defstruct.
9930 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9931 instead of gdb-pending-triggers. Update docstring.
9932 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9933 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9934 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9935 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9936 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9937 (gdb-frame-handler): Pending triggers are now automatically managed.
9938 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9939 Remove argument.
9940 (gdb-input): Automatically handles pending triggers. Update docstring.
9941 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9942 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9943 Update comments.
9944 (gdb-done-or-error): Now use gdb-handle-reply.
9945
d04ce803
JPG
99462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9947
9948 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9949 gdb-debug-log.
9950
0114073a
GM
99512013-05-14 Glenn Morris <rgm@gnu.org>
9952
9953 * subr.el (user-emacs-directory-warning): New option.
9954 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9955
4d25fd7e
LL
99562013-05-14 Leo Liu <sdl.web@gmail.com>
9957
9958 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9959 during redisplay.
9960 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9961 (octave-font-lock-texinfo-comment): Fix invalid search bound
9962 error: wrong side of point.
4d25fd7e 9963
27c8b6eb
GM
99642013-05-14 Glenn Morris <rgm@gnu.org>
9965
61aaeb01
GM
9966 * progmodes/flymake.el (flymake-xml-program): New option.
9967 (flymake-xml-init): Use it.
9968
5bf90bc5
GM
9969 * term/xterm.el: Provide a feature.
9970
9971 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9972
f4c7dfd2
GM
99732013-05-13 Glenn Morris <rgm@gnu.org>
9974
9975 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9976 Add compat aliases as a hack workaround. (Bug#14384)
9977
2aeb3a1d
LL
99782013-05-13 Leo Liu <sdl.web@gmail.com>
9979
b0e069c2
LL
9980 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9981 ###, and %!.
f5a9432f
LL
9982 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9983 C-M-q.
b0e069c2
LL
9984 (octave-comment-start-skip): Include %!.
9985 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9986
30ea8374
LL
99872013-05-12 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/octave.el (inferior-octave-startup): Store the value
9990 of __octave_srcdir__ for octave-source-directories.
9991 (inferior-octave-check-process): New function refactored out of
9992 inferior-octave-send-list-and-digest.
9993 (octave-source-directories)
9994 (octave-find-definition-filename-function): New variables.
9995 (octave-source-directories)
9996 (octave-find-definition-default-filename): New functions.
9997 (octave-find-definition): Improve to find functions implemented in C++.
9998
472a3834
GM
99992013-05-12 Glenn Morris <rgm@gnu.org>
10000
10001 * calendar/diary-lib.el (diary-outlook-format-1):
10002 Don't include dayname in the output. (Bug#14349)
10003
3191b52f
GM
100042013-05-11 Glenn Morris <rgm@gnu.org>
10005
0060ac73
GM
10006 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10007
3191b52f
GM
10008 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10009 Treat cc-provide like provide.
10010
e065ba74
KR
100112013-05-11 Kevin Ryde <user42@zip.com.au>
10012
10013 * cus-dep.el (custom-make-dependencies):
10014 Use generated-autoload-load-name for the sake of files such
10015 such cedet/semantic/bovine/c.el, where the base file name
10016 is not in load-path. (Bug#5277)
10017
36f84c37
GM
100182013-05-11 Glenn Morris <rgm@gnu.org>
10019
10020 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10021 Provide features.
10022
c8730c3a
LL
100232013-05-11 Leo Liu <sdl.web@gmail.com>
10024
10025 * progmodes/octave.el (octave-indent-comment): Improve.
10026 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10027 (octave-eldoc-function-signatures, octave-eldoc-function):
10028 New functions.
c8730c3a
LL
10029 (octave-mode, inferior-octave-mode): Add eldoc support.
10030
212e29f2
RS
100312013-05-11 Richard Stallman <rms@gnu.org>
10032
10033 * epa.el (epa-decrypt-file): Take output file name as argument
10034 and read it using `interactive'.
10035
083fe0d7
LL
100362013-05-11 Leo Liu <sdl.web@gmail.com>
10037
10038 * progmodes/octave.el (octave-beginning-of-line)
10039 (octave-end-of-line): Check before using up-list because it jumps
10040 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10041 (octave-indent-comment): New function.
10042 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10043 (octave-begin-keywords, octave-end-keywords)
10044 (octave-reserved-words, octave-smie-bnf-table)
10045 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10046
8582e4c4
GM
100472013-05-11 Glenn Morris <rgm@gnu.org>
10048
f20def1f
GM
10049 * faces.el (internal-face-x-get-resource):
10050 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10051 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10052 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10053 Fix declarations.
f20def1f 10054
445f95e2
GM
10055 * calc/calc-menu.el: Make it loadable in isolation.
10056
10057 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10058 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10059 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10060 (eudc-bbdb-query-internal): Require 'bbdb.
10061
99fb2756
GM
10062 * lpr.el (lpr-headers-switches):
10063 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10064
10065 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10066
0da7ad96
GM
10067 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10068
8582e4c4
GM
10069 * term.el (term-set-escape-char): Make it idempotent.
10070
f71c50d0
LL
100712013-05-10 Leo Liu <sdl.web@gmail.com>
10072
5ac2eb34
SM
10073 * progmodes/octave.el (inferior-octave-completion-table):
10074 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10075 completion due to bug#11906.
10076 (octave-beginning-of-defun): Re-write to be more general.
10077
d5837773
GM
100782013-05-10 Glenn Morris <rgm@gnu.org>
10079
10080 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10081
027c0f75
SM
100822013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * comint.el (comint-redirect-send-command-to-process): Use :around
10085 rather than :override for comint-redirect-filter.
10086 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10087 Call it instead of comint-redirect-original-filter-function (which
10088 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10089
4465bfb4
JD
100902013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10091
10092 * frame.el (display-monitor-attributes-list): Add NS case.
10093 (ns-display-monitor-attributes-list): Declare.
10094
2d809ffa 100952013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10096
10097 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10098
e54eeb9b
GM
100992013-05-09 Glenn Morris <rgm@gnu.org>
10100
56cd351d
GM
10101 * international/fontset.el (vertical-centering-font-regexp):
10102 Set standard-value.
10103
d84b6108
GM
10104 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10105
a931698a
GM
10106 * bookmark.el (bookmark-search-delay):
10107 * cus-start.el (vertical-centering-font-regexp):
10108 * ps-mule.el (ps-mule-font-info-database-default):
10109 * ps-print.el (ps-default-fg, ps-default-bg):
10110 * type-break.el (type-break-good-break-interval):
10111 * whitespace.el (whitespace-indentation-regexp)
10112 (whitespace-space-after-tab-regexp):
10113 * emacs-lisp/testcover.el (testcover-1value-functions)
10114 (testcover-noreturn-functions, testcover-progn-functions)
10115 (testcover-prog1-functions):
10116 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10117 * eshell/em-glob.el (eshell-glob-translate-alist):
10118 * play/tetris.el (tetris-tty-colors):
10119 * progmodes/cpp.el (cpp-face-default-list):
10120 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10121 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10122 (idlwave-help-browser-generic-args):
10123 * progmodes/make-mode.el (makefile-special-targets-list):
10124 * progmodes/python.el (python-shell-virtualenv-path):
10125 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10126 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10127 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10128 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10129 * textmodes/reftex-vars.el (reftex-format-label-function):
10130 * textmodes/remember.el (remember-diary-file): Fix custom types.
10131
e54eeb9b
GM
10132 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10133 Add :version.
10134
455851dd
LL
101352013-05-09 Leo Liu <sdl.web@gmail.com>
10136
10137 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10138 Restore file completion. (Bug#14300)
455851dd
LL
10139 (inferior-octave-startup): Fix incorrect highlighting for the
10140 first prompt.
10141
a9e4425b
SM
101422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * progmodes/ruby-mode.el: First cut at SMIE support.
10145 (ruby-use-smie): New var.
10146 (ruby-smie-grammar): New constant.
10147 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10148 (ruby-smie--forward-token, ruby-smie--backward-token)
10149 (ruby-smie-rules): New functions.
10150 (ruby-mode-variables): Setup SMIE if applicable.
10151
060ca408
EZ
101522013-05-08 Eli Zaretskii <eliz@gnu.org>
10153
10154 * simple.el (line-move-visual): Signal beginning/end of buffer
10155 only if vertical-motion moved less than it was requested. Avoids
10156 silly incorrect error messages when there are display strings with
10157 multiple newlines at EOL.
10158
1d5963cc
SM
101592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10162 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10163 (prolog-char-quote-workaround):
10164 * progmodes/cperl-mode.el (cperl-under-as-char):
10165 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10166 Mark as obsolete.
10167 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10168 their declaration.
10169 (vhdl-mode-syntax-table-init): Remove.
10170
c9990474
SM
10171 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10172 last change.
1d5963cc
SM
10173
10174 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10175 syntax for "_".
10176 (ld-script-font-lock-keywords):
10177 Change regexps to use things like \_< and \_>.
10178
10179 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10180 Change all regexps to use things like \_< and \_>.
10181
10182 * progmodes/autoconf.el (autoconf-definition-regexp)
10183 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10184 Handle a _ with symbol syntax.
10185 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10186
c9990474
SM
10187 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10188 Consolidate declaration.
1d5963cc
SM
10189 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10190 the declaration.
10191 (ada-create-syntax-table): Remove.
10192 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10193 already has the right syntax nowadays.
10194 (ada-goto-next-word): Don't change the syntax of "_".
10195
10196 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10197 with-wrapper-hook.
10198
72d3cfca
SS
101992013-05-08 Sam Steingold <sds@gnu.org>
10200
10201 * thingatpt.el (thing-at-point): Accept optional second argument
10202 NO-PROPERTIES to strip the text properties from the return value.
10203 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10204 to `thing-at-point' instead of stripping the properties ourselves.
10205 Also, when `thing-at-point' fails to find a url, prepend "http://"
10206 to the filename at point on the assumption that the user is
10207 pointing at something like gnu.org/gnu.
10208
5cb15713
JB
102092013-05-08 Juanma Barranquero <lekktu@gmail.com>
10210
10211 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10212 * faces.el (crm-separator):
10213 Silence byte-compiler.
10214
10215 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10216 (tool-bar-map): Remove unneeded defvars.
10217
ea78b95b
LL
102182013-05-08 Leo Liu <sdl.web@gmail.com>
10219
10220 Re-work a fix for bug#10994 based on Le Wang's patch.
10221 * ido.el (ido-remove-consecutive-dups): New helper.
10222 (ido-completing-read): Use it.
10223 (ido-chop): Revert fix for bug#10994.
10224
dc7466df
AS
102252013-05-08 Adam Spiers <emacs@adamspiers.org>
10226
10227 * cus-edit.el (custom-save-variables):
10228 Pretty-print long values. (Bug#14187)
10229
9ecf672a
GM
102302013-05-08 Glenn Morris <rgm@gnu.org>
10231
10232 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10233 (m4-mode-syntax-table): Init in the defvar.
10234 (m4-mode-abbrev-table): Let define-derived-mode define it.
10235
3f555be8
TT
102362013-05-08 Tom Tromey <tromey@redhat.com>
10237
10238 * progmodes/m4-mode.el (m4-mode-syntax-table):
10239 Do not treat "_" as word constituent. (Bug#14167)
10240
7cc8ae06
GM
102412013-05-07 Glenn Morris <rgm@gnu.org>
10242
4f58bc06
GM
10243 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10244 Remove explicit eshell-isearch-cancel-map.
10245
7cc8ae06
GM
10246 * progmodes/f90.el (f90-smart-end-names): New option.
10247 (f90-smart-end): Doc fix.
10248 (f90-end-block-optional-name): New constant.
10249 (f90-block-match): Respect f90-smart-end-names.
10250
ceb57e59
SM
102512013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10254 about implicit semi-colons (bug#14218).
10255
4e3f9230
YM
102562013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10257
10258 * frame.el (display-monitor-attributes-list)
10259 (frame-monitor-attributes): New functions.
10260
203a5572
LL
102612013-05-06 Leo Liu <sdl.web@gmail.com>
10262
10263 * progmodes/octave.el (octave-syntax-propertize-function): Change
10264 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10265 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10266 (octave-completion-at-point): Rename from
203a5572
LL
10267 octave-completion-at-point-function.
10268 (inferior-octave-directory-tracker): Robustify.
10269 (octave-text-functions): Remove and fix its uses. No such things
10270 any more.
10271
ee6cff99
SM
102722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/trace.el (trace--display-buffer): New function.
10275 (trace-make-advice): Use it.
10276
32985194
JL
102772013-05-06 Juri Linkov <juri@jurta.org>
10278
10279 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10280 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10281 Doc fix.
10282 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10283 in the help string. (Bug#12985)
10284
a1c700de
KD
102852013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10286
10287 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10288
c67c0839
SM
102892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10290
323885fd
SM
10291 * progmodes/perl-mode.el: Add support for here documents.
10292 (perl-syntax-propertize-function): Match here-doc markers.
10293 (perl-syntax-propertize-special-constructs): Find their end.
10294 (perl-imenu-generic-expression): Use [:alnum:].
10295
c67c0839
SM
10296 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10297 (advice--add-function): Refresh the advice if already present
10298 (bug#14317).
10299
d491e7a8
IA
103002013-05-06 Ivan Andrus <darthandrus@gmail.com>
10301
10302 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10303
ddf9925e
GM
103042013-05-06 Glenn Morris <rgm@gnu.org>
10305
7cc3af27
GM
10306 * w32-fns.el (w32-charset-info-alist): Declare.
10307
16e343d6
GM
10308 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10309 of its defcustom properties.
10310 (eshell-cmpl-initialize): No need to load pcomplete.
10311
7d889a47
GM
10312 * generic-x.el: No need to require comint when compiling.
10313
ddf9925e
GM
10314 * net/eudc-export.el: Make it loadable without bbdb.
10315 (top-level): Use require rather than load-library.
10316 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10317 (eudc-batch-export-records-to-bbdb)
10318 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10319 Require bbdb.
10320
1e2c18df
SM
103212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10324 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10325 some tweaks, instead.
10326
02502a5f
LL
103272013-05-05 Leo Liu <sdl.web@gmail.com>
10328
10329 * progmodes/octave.el (octave-font-lock-keywords)
10330 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10331 (inferior-octave-send-list-and-digest): Improve error message.
10332 (octave-mode, inferior-octave-mode): Use setq-local.
10333 (octave-help): Set info-lookup-mode.
10334
0dc04f42
RS
103352013-05-05 Richard Stallman <rms@gnu.org>
10336
6c54491c
RS
10337 * vc/compare-w.el (compare-windows-whitespace):
10338 Treat no-break space as whitespace.
10339
0dc04f42
RS
10340 * mail/rmailsum.el (rmail-summary-rmail-update):
10341 Detect empty summary and don't change selected message.
10342 (rmail-summary-goto-msg): Likewise.
10343
df8f35df
RS
10344 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10345 Doc fixes, rename args.
10346
5356e1a3
AM
103472013-05-05 Alan Mackenzie <acm@muc.de>
10348
10349 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10350
d44014cb
JL
103512013-05-05 Juri Linkov <juri@jurta.org>
10352
10353 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10354 to not add the length of the summary segment to the return value.
10355 (Bug#14125)
10356
c129b51f
LL
103572013-05-05 Leo Liu <sdl.web@gmail.com>
10358
10359 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10360 (inferior-octave-output-filter): Remove.
10361 (octave-send-region, inferior-octave-startup): Fix callers.
10362 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10363 (octave-binary-file-extensions): New user variable.
10364 (octave-find-definition): Confirm if opening binary files.
10365 (octave-help-file): Use octave-find-definition to get the binary
10366 confirmation.
10367 (octave-help): Adjust for octave-help-file change.
10368
aa7dab97
SM
103692013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10372 Merge the two entries that handle function definitions.
10373 (pascal--syntax-propertize): New const.
10374 (pascal-mode): Use it. Use setq-local.
10375
fd3a9a6b
GM
103762013-05-04 Glenn Morris <rgm@gnu.org>
10377
10378 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10379 (diary-from-outlook): Respect diary-from-outlook-function.
10380
30c7e542
SM
103812013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10384 Move the declaration from C.
10385 (read-minibuffer, eval-minibuffer): Move from C.
10386 (completion-setup-function): Avoid minibuffer-completion-contents.
10387
b54f978b
LL
103882013-05-03 Leo Liu <sdl.web@gmail.com>
10389
10390 * progmodes/octave.el (octave-font-lock-keywords): Do not
10391 dehighlight 'end' in comments or strings.
30c7e542
SM
10392 (octave-completing-read, octave-goto-function-definition):
10393 New helpers.
d4d0f9b3
LL
10394 (octave-help-buffer): New user variable.
10395 (octave-help-file, octave-help-function): New button types.
10396 (octave-help): New command and bind it to C-h ;.
10397 (octave-find-definition): New command and bind it to M-.
d74a1581 10398 (user-error): Alias to error if not defined.
b54f978b 10399
27135018
LL
104002013-05-02 Leo Liu <sdl.web@gmail.com>
10401
10402 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10403 for \. (bug#14332)
10404 (octave-font-lock-keywords): Include [ and {.
10405
0d634d3a
LL
104062013-05-02 Leo Liu <sdl.web@gmail.com>
10407
10408 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10409 (inferior-octave): Remove calling comint-mode and return the buffer.
10410 (inferior-octave-startup): Cosmetic changes.
10411
b4c8295e
LL
104122013-05-02 Leo Liu <sdl.web@gmail.com>
10413
30c7e542
SM
10414 * progmodes/octave.el (octave-syntax-propertize-function):
10415 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10416
f12ad6ec
GM
104172013-05-02 Glenn Morris <rgm@gnu.org>
10418
10419 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10420 * desktop.el (vc-dir-mode): Just autoload it here.
10421
30cac1e0
AM
104222013-05-02 Alan Mackenzie <acm@muc.de>
10423
10424 Eliminate variable c-standard-font-lock-fontify-region-function.
10425 * progmodes/cc-mode.el
10426 (c-standard-font-lock-fontify-region-function): Remove.
10427 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10428
d8ef28b1
LL
104292013-05-01 Leo Liu <sdl.web@gmail.com>
10430
2640d52e 10431 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10432 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10433 variables were removed from Octave in 2007.
d8ef28b1
LL
10434 (inferior-octave-startup): Fix uses.
10435 (comint-line-beginning-position): Remove compatibility code for
10436 emacs 21.
10437
ac63ec89
JL
104382013-05-01 Juri Linkov <juri@jurta.org>
10439
10440 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10441
9e9be37c
JL
104422013-05-01 Juri Linkov <juri@jurta.org>
10443
10444 * comint.el (comint-previous-matching-input): Don't print message
10445 "History item: %d" when `isearch-mode' is active.
10446 (comint-history-isearch-message): Print message "History item: %d"
10447 when `comint-input-ring-index' is not empty and this function is
10448 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10449
9b92c13b
LL
104502013-05-01 Leo Liu <sdl.web@gmail.com>
10451
10452 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10453 definitions. Use completion-at-point to insert keywords.
10454 (octave-abbrev-start): Remove.
10455 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10456
b12d33d7
LL
104572013-04-30 Leo Liu <sdl.web@gmail.com>
10458
10459 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10460 change.
10461
3d1c39fa
AM
104622013-04-30 Alan Mackenzie <acm@muc.de>
10463
10464 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10465 * progmodes/cc-engine.el (c-back-over-member-initializers):
10466 new function.
3d1c39fa
AM
10467 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10468 (most) member init lists.
10469
5147fc17
RS
104702013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10471
10472 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10473 variable.
10474
5b78d7fc
LL
104752013-04-30 Leo Liu <sdl.web@gmail.com>
10476
10477 * progmodes/octave.el (octave-variables): Remove. No builtin
10478 variables any more. All converted to functions.
10479 (octave-font-lock-keywords, octave-completion-at-point-function):
10480 Fix uses.
10481 (octave-font-lock-texinfo-comment): New user variable.
10482 (octave-texinfo-font-lock-keywords): New variable for texinfo
10483 comment block.
10484 (octave-function-comment-block): New face.
10485 (octave-font-lock-texinfo-comment): New function.
10486 (octave-mode): Font lock texinfo comment block.
10487
38d8527b
LL
104882013-04-29 Leo Liu <sdl.web@gmail.com>
10489
10490 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10491 indexing expression.
10492 (octave-continuation-string): Do not use \.
10493 (inferior-octave-complete-impossible): Remove.
10494 (inferior-octave-completion-table)
10495 (inferior-octave-completion-at-point): Remove its uses.
10496 (inferior-octave-startup): completion_matches was introduced to
10497 Octave in 1996 so safe to assume it.
10498 (octave-function-file-comment): Improve to follow how Octave does it.
10499 (octave-update-function-file-comment): Tweak.
10500
2ec12cb0
LL
105012013-04-29 Leo Liu <sdl.web@gmail.com>
10502
10503 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10504 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10505 (octave-function-file-comment): Fix typo.
10506 (octave-sync-function-file-names): Use read-char-choice.
10507
6eaed048
JB
105082013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10509
10510 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10511 to t for the less important warnings.
10512
3ffa2d4f
DH
105132013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10514
10515 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10516
685c9501
GM
105172013-04-27 Glenn Morris <rgm@gnu.org>
10518
10519 * vc/log-view.el (log-view-current-entry):
10520 Treat "---" separator lines as part of the following rev. (Bug#14169)
10521
0208ede7
JL
105222013-04-27 Juri Linkov <juri@jurta.org>
10523
10524 * subr.el (read-number): Doc fix about using it by interactive
10525 code letter `n'. (Bug#14254)
10526
5db9dace
JL
105272013-04-27 Juri Linkov <juri@jurta.org>
10528
10529 * desktop.el (desktop-auto-save-timeout): New option.
10530 (desktop-file-checksum): New variable.
10531 (desktop-save): Add optional arg `auto-save' and don't auto-save
10532 if nothing changed.
10533 (desktop-auto-save-timer): New variable.
10534 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10535 (after-init-hook): Call `desktop-auto-save-set-timer'.
10536 Suggested by Reuben Thomas <rrt@sc3d.org> in
10537 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10538
b7260dd4
LL
105392013-04-27 Leo Liu <sdl.web@gmail.com>
10540
10541 * progmodes/octave.el (octave-function-file-p)
10542 (octave-skip-comment-forward, octave-function-file-comment)
10543 (octave-update-function-file-comment): New functions.
10544 (octave-mode-map): Bind C-c ; to
10545 octave-update-function-file-comment.
10546 (octave-mode-menu): Add octave-update-function-file-comment.
10547 (octave-mode, inferior-octave-mode): Fix doc-string.
10548 (octave-insert-defun): Conform to Octave's coding convention.
10549 (Bug#14285)
10550
10551 * files.el (basic-save-buffer): Don't let errors in
10552 before-save-hook prevent saving buffer.
10553
c46da669
RW
105542013-04-20 Roland Winkler <winkler@gnu.org>
10555
10556 * faces.el (read-face-name): Use completing-read if arg multiple
10557 is nil.
10558
a81ee1eb
IL
105592013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10560
10561 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10562 displayed, move point to after the totals line.
10563 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10564 for the details.
10565
4fac34ce
SM
105662013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10569 Add current dir to the load-path.
10570 (package-generate-autoloads): Don't rely on
10571 autoload-ensure-default-file.
10572
f6bfc063
RT
105732013-04-26 Reuben Thomas <rrt@sc3d.org>
10574
d40ab5cf
BG
10575 * textmodes/remember.el (remember-store-in-files): Document that
10576 the file name format is passed to `format-time-string'.
f6bfc063 10577
e55d3b04
LL
105782013-04-26 Leo Liu <sdl.web@gmail.com>
10579
10580 * progmodes/octave.el (octave-sync-function-file-names): New function.
10581 (octave-mode): Use it in before-save-hook.
10582
e53052d3
SM
105832013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10584
140ef50c
SM
10585 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10586 (bug#14274).
10587
e53052d3
SM
10588 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10589 \n and comment, even if it's not an implicit ; (bug#14218).
10590
af80458d 105912013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10592
10593 * subr.el (read-number): Once more use `read' rather than
10594 `string-to-number', to trap non-numeric input. (Bug#14254)
10595
af80458d 105962013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10597
10598 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10599 Use `syntax-multiline' text property consistently instead of
8a621d53 10600 `font-lock-multiline'. (Bug#14237)
70203c2e 10601
e6ea1f6c
GM
106022013-04-26 Glenn Morris <rgm@gnu.org>
10603
10604 * emacs-lisp/shadow.el (list-load-path-shadows):
10605 No longer necessary to check for duplicate simple.el, since
10606 2012-07-07 change to init_lread to not include installation lisp
10607 directories in load-path when running uninstalled. (Bug#14270)
10608
070ccca4
LL
106092013-04-26 Leo Liu <sdl.web@gmail.com>
10610
10611 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10612 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10613 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10614 octave-in-string-or-comment-p.
10615 (octave-in-comment-p, octave-in-string-p)
10616 (octave-in-string-or-comment-p): Replace defsubst with defun.
10617
9d1c5fb6
PE
106182013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10619
10620 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10621
c034abda
BG
106222013-04-25 Bastien Guerry <bzg@gnu.org>
10623
10624 * textmodes/remember.el (remember-data-directory)
10625 (remember-directory-file-name-format): Fix custom types.
10626
584ea277
LL
106272013-04-25 Leo Liu <sdl.web@gmail.com>
10628
e53052d3
SM
10629 * progmodes/octave.el (octave-completion-at-point-function):
10630 Make use of inferior octave process.
584ea277
LL
10631 (octave-initialize-completions): Remove.
10632 (inferior-octave-completion-table): New function.
10633 (inferior-octave-completion-at-point): Use it.
10634 (octave-completion-alist): Remove.
10635
1693b06a
SM
106362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10639 (opascal-mode-syntax-table): New var.
10640 (opascal-literal-kind, opascal-is-literal-end)
10641 (opascal-literal-token-at): Rewrite.
10642 (opascal--literal-start-re, opascal-font-lock-keywords)
10643 (opascal--syntax-propertize): New constants.
10644 (opascal-font-lock-defaults): Adjust.
10645 (opascal-mode): Use them. Set comment-<foo> variables as well.
10646 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10647 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10648 (delphi-other-face, opascal-other-face): Remove face variables.
10649 (opascal-save-state): Remove macro.
10650 (opascal-fontifying-progress-step): Remove constant.
10651 (opascal--ignore-changes): Remove var.
10652 (opascal-set-token-property, opascal-parse-next-literal)
10653 (opascal-is-stable-literal, opascal-complete-literal)
10654 (opascal-is-literal-start, opascal-face-of)
10655 (opascal-parse-region, opascal-parse-region-until-stable)
10656 (opascal-fontify-region, opascal-after-change)
10657 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10658 (opascal-debug-parse-region, opascal-debug-parse-window)
10659 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10660 (opascal-debug-fontify-buffer): Remove.
10661 (opascal-debug-mode-map): Adjust accordingly.
10662
be64c05d
LL
106632013-04-25 Leo Liu <sdl.web@gmail.com>
10664
10665 Merge octave-mod.el and octave-inf.el into octave.el with some
10666 cleanups.
10667 * progmodes/octave.el: New file renamed from octave-mod.el.
10668 * progmodes/octave-inf.el: Merged into octave.el.
10669 * progmodes/octave-mod.el: Renamed to octave.el.
10670
d79d37bd
TH
106712013-04-25 Tassilo Horn <tsdh@gnu.org>
10672
10673 * textmodes/reftex-vars.el
10674 (reftex-label-ignored-macros-and-environments): New defcustom.
10675
10676 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10677
ced3fc5d
SM
106782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10681 (smie-indent-keyword): Improve the check to ensure that the next
10682 comment is really on the same line.
10683 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10684
10685 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10686 semi-colons if the line is not otherwise empty (bug#14218).
10687
1c141dad
GM
106882013-04-25 Glenn Morris <rgm@gnu.org>
10689
10690 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10691
5058062a
SM
106922013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * progmodes/opascal.el (opascal-set-token-property): Rename from
10695 opascal-set-text-properties and only set `token' (bug#14134).
10696 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10697 (opascal-literal-text-properties): Remove.
10698 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10699 Adjust callers.
10700
5db9dace 107012013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10702
10703 * textmodes/remember.el (remember-handler-functions): Add an
10704 option for a new handler `remember-store-in-files'.
10705 (remember-data-directory, remember-directory-file-name-format):
10706 New options.
10707 (remember-store-in-files): New function to store remember notes
10708 as separate files within a directory.
10709
4391916c
MH
107102013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10711
10712 * progmodes/compile.el (compilation-next-error-function):
10713 Pass "formats" to compilation-find-file (bug#11777).
10714
bb7cdf58
GM
107152013-04-24 Glenn Morris <rgm@gnu.org>
10716
3b8fe752 10717 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10718 * vc/vc-hg.el (vc-hg-print-log):
10719 * vc/vc-svn.el (vc-svn-print-log):
10720 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10721
bb7cdf58
GM
10722 * vc/vc-bzr.el (vc-bzr-print-log):
10723 * vc/vc-cvs.el (vc-cvs-print-log):
10724 * vc/vc-git.el (vc-git-print-log):
10725 * vc/vc-hg.el (vc-hg-print-log):
10726 * vc/vc-mtn.el (vc-mtn-print-log):
10727 * vc/vc-rcs.el (vc-rcs-print-log):
10728 * vc/vc-sccs.el (vc-sccs-print-log):
10729 * vc/vc-svn.el (vc-svn-print-log):
10730 * vc/vc.el (vc-print-log-internal): Doc fixes.
10731
b46a056e
GM
107322013-04-23 Glenn Morris <rgm@gnu.org>
10733
10734 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10735 Remove venerable code attempting to avoid substitute-command-keys.
10736
0aecf718
TH
107372013-04-23 Tassilo Horn <tsdh@gnu.org>
10738
4391916c
MH
10739 * textmodes/reftex-vars.el (reftex-label-regexps):
10740 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10741
117f94cf
SM
107422013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10743
4391916c 10744 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10745 Use lexical-binding.
10746 (jit-lock-force-redisplay): Use markers, check buffer's continued
10747 existence and beware narrowed buffers.
10748 (jit-lock-fontify-now): Adjust call accordingly.
10749
1d829c64
SM
107502013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10753 to avoid misleading the user.
10754
72d548a9
LL
107552013-04-22 Leo Liu <sdl.web@gmail.com>
10756
10757 * info-look.el: Prefer latex2e.info. (Bug#14240)
10758
d0853629
MA
107592013-04-22 Michael Albinus <michael.albinus@gmx.de>
10760
10761 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10762
10763 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10764 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10765 (tramp-set-completion-function, tramp-parse-putty):
10766 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10767 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10768 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10769 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10770 (tramp-call-local-coding-command): Use `tramp-call-process'
10771 instead of `tramp-compat-call-process'.
10772
10773 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10774 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10775 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10776 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10777 (tramp-maybe-send-script): Check for Perl binary.
10778 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10779
38cc0210
DU
107802013-04-22 Daiki Ueno <ueno@gnu.org>
10781
10782 * epg.el (epg-context-pinentry-mode): New function.
10783 (epg-context-set-pinentry-mode): New function.
10784 (epg--start): Pass --pinentry-mode option to gpg command.
10785
cc641ee1
XF
107862013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10787
02d844b5 10788 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10789 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10790 `completion-at-point'. (Bug#13774)
5d4e5c31 10791
cc641ee1
XF
10792 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10793 default key binding for `describe-distribution' has been moved to
10794 `C-h C-o'. (Bug#13970)
10795
1b42ee43
GM
107962013-04-21 Glenn Morris <rgm@gnu.org>
10797
10798 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10799 Add doc strings.
10800 (vc-print-log): Clarify interactive prompt.
10801
a6d63d97
GM
108022013-04-20 Glenn Morris <rgm@gnu.org>
10803
10804 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10805 No longer include timestamp etc information.
10806
d7f5c16f
RW
108072013-04-20 Roland Winkler <winkler@gnu.org>
10808
10809 * faces.el (read-face-name): Bug fix, return just one face if arg
10810 multiple is nil. (Bug#14209)
10811
bcd7a0a4
SM
108122013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10815 (remove-function): Autoload.
10816
10817 * comint.el (comint-redirect-original-filter-function): Remove.
10818 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10819 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10820 (vc-cvs-annotate-command):
bcd7a0a4
SM
10821 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10822 * progmodes/prolog.el (prolog-consult-compile):
10823 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10824 Use add/remove-function instead.
10825 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10826 (gud-tooltip-process-output, gud-tooltip-tips):
10827 Use add/remove-function instead.
10828 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10829 (scheme-interaction-mode, exit-scheme-interaction-mode):
10830 Use add/remove-function instead.
10831
10832 * vc/vc-dispatcher.el: Use lexical-binding.
10833 (vc--process-sentinel): Rename from vc-process-sentinel.
10834 Change last arg to be the code to run. Don't use vc-previous-sentinel
10835 and vc-sentinel-commands any more.
10836 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10837 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10838
e36b2d20 108392013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10840
bcd7a0a4 10841 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10842 Handle function names with a single character. (Bug#14111)
4d3268ba 10843
781b4af6 108442013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10845
10846 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10847 for subroutines defined in an eval (bug#14182).
10848
7d688336
TV
108492013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10850
10851 * bookmark.el (bookmark-completing-read): Improve handling of empty
10852 string (bug#14176).
10853
31dcede0
SM
108542013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10857
adc31213
FEG
108582013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10859
10860 New faster Imenu implementation (bug#14058).
10861 * progmodes/python.el:
10862 (python-imenu-prev-index-position):
10863 (python-imenu-format-item-label-function)
10864 (python-imenu-format-parent-item-label-function)
10865 (python-imenu-format-parent-item-jump-label-function):
10866 New vars.
10867 (python-imenu-format-item-label)
10868 (python-imenu-format-parent-item-label)
10869 (python-imenu-format-parent-item-jump-label)
10870 (python-imenu--put-parent, python-imenu--build-tree)
10871 (python-imenu-create-index, python-imenu-create-flat-index)
10872 (python-util-popn): New functions.
10873 (python-mode): Set imenu-create-index-function to
10874 python-imenu-create-index.
10875
cdca8255
SM
108762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 * winner.el (winner-active-region): Use region-active-p, activate-mark
10879 and deactivate-mark (bug#14225).
10880
10881 * simple.el (deactivate-mark): Don't inline it.
10882
beb42340
MA
108832013-04-18 Michael Albinus <michael.albinus@gmx.de>
10884
10885 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10886
fc7f4d7e
TH
108872013-04-18 Tassilo Horn <tsdh@gnu.org>
10888
10889 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10890 file extensions from the archive-mode entry in order to prefer
10891 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10892
29f47822
LL
108932013-04-18 Leo Liu <sdl.web@gmail.com>
10894
10895 * bindings.el (help-event-list): Add ?\?.
10896
d36ed1c8
SM
108972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * subr.el (with-wrapper-hook): Declare obsolete.
10900 * simple.el (filter-buffer-substring-function): New hook.
10901 (filter-buffer-substring): Use it.
10902 (filter-buffer-substring-functions): Mark obsolete.
10903 * minibuffer.el (completion-in-region-function): New hook.
10904 (completion-in-region): Use it.
10905 (completion-in-region-functions): Mark obsolete.
10906 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10907 * abbrev.el (abbrev-expand-function): New hook.
10908 (expand-abbrev): Use it.
10909 (abbrev-expand-functions): Mark obsolete.
10910 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10911 and :filter-return.
10912
04754d36
FEG
109132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10914
10915 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10916 and do not care about match data.
10917
dd8791e9
SM
109182013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10921 completion tables when completing error conditions and
10922 `declare' arguments.
10923 (lisp-complete-symbol, field-complete): Mark as obsolete.
10924 (check-parens): Unmatched parens are user errors.
10925 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10926
ffe54a13
AM
109272013-04-17 Michal Nazarewicz <mina86@mina86.com>
10928
dd8791e9
SM
10929 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10930 command changed buffer (ie. `flyspell-pre-buffer' is not current
10931 buffer), which prevents making decisions based on invalid value of
10932 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10933 cause an error when `flyspell-pre-point' was nil after switching
10934 buffers.
10935 (flyspell-post-command-hook): No longer needs to change buffers when
10936 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10937
ec7e39f2
AM
109382013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10939
10940 * textmodes/ispell.el (ispell-add-per-file-word-list):
10941 Fix `flyspell-correct-word-before-point' error when accepting
10942 words and `coment-padding' is an integer by using
10943 `comment-normalize-vars' (Bug #14214).
10944
083850a6
FEG
109452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10946
10947 New defun movement commands.
10948 * progmodes/python.el (python-nav--syntactically)
10949 (python-nav--forward-defun, python-nav-backward-defun)
10950 (python-nav-forward-defun): New functions.
10951
619ed6e1
FEG
109522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10953
10954 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10955 (python-syntax-context): Use named compiler-macro for backwards
10956 compatibility with Emacs 24.x.
10957
7a1beb6c
LL
109582013-04-17 Leo Liu <sdl.web@gmail.com>
10959
10960 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10961 octave-hide-process-buffer.
10962
2d3fa3e5
SM
109632013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10966 (bug#14216).
10967
7ce5be54
JPG
109682013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10969
10970 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10971 Fix adjustment of offset when receiving incomplete responses from GDB
10972 (bug#14129).
10973
351edece
SM
109742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10977 python-mode-abbrev-table.
10978 (python-skeleton-define): Adjust accordingly.
10979 (python-mode-abbrev-table): New table that inherits from it so that
10980 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10981
10982 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10983 (abbrev-symbol): Use it.
10984 (abbrev--before-point): Use it since we already handle inheritance.
10985
613f9481
LL
109862013-04-16 Leo Liu <sdl.web@gmail.com>
10987
10988 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10989 binding to info-lookup-symbol.
10990
51646b62
JB
109912013-04-16 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * minibuffer.el (completion--twq-all):
10994 * term/ns-win.el (ns-initialize-window-system):
10995 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10996
efb3f01d
SM
109972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10998
36c0a301
SM
10999 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11000 global bindings.
11001
efb3f01d
SM
11002 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11003
fb549d64
DG
110042013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11005
11006 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11007 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11008 to nil.
11009 (ruby-end-of-defun): Remove the unused arg, change the docstring
11010 to reflect that this function is only used as the value of
11011 `end-of-defun-function'.
11012 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11013 to reflect an earlier change that beginning/end-of-defun functions
11014 jump between methods in a class definition, as well as top-level
11015 functions.
11016
21e8fe2f
SM
110172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * minibuffer.el (minibuffer-complete): Don't just scroll
11020 a *Completions* that's been iconified.
11021 (minibuffer-force-complete): Make sure repetitions do cycle when going
11022 through completion-in-region -> minibuffer-complete.
11023
20e527d0
AM
110242013-04-15 Alan Mackenzie <acm@muc.de>
11025
11026 Correct the placement of c-cpp-delimiters when there're #s not at
11027 col 0.
11028
11029 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11030 place a submatch around the #.
21e8fe2f
SM
11031 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11032 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11033 on the #, not BOL.
11034
dabefae5
SM
110352013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11038 (advice--member-p): New arg `name'.
11039 (advice--add-function, advice-member-p): Use it (bug#14202).
11040
85c9ab64
AM
110412013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11042
11043 Reformulate java imenu-generic-expression.
11044 The old expression contained ill formed regexps.
11045
11046 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11047 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11048 (cc-imenu-java-method-arg-regexp): New defconsts.
11049 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11050 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11051 handling of spaces in the regexp.
11052
0f821d99
AM
110532013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11054
11055 * textmodes/ispell.el (ispell-command-loop): Remove
11056 flyspell highlight of a word when ispell accepts it (bug #14178).
11057
eb922adf
MA
110582013-04-15 Michael Albinus <michael.albinus@gmx.de>
11059
11060 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11061 uses code from the previous `ange-ftp-run-real-handler'.
11062 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11063 only in case that function exist. This is needed for proper
11064 unloading of Tramp.
11065
4d9a0979
TH
110662013-04-15 Tassilo Horn <tsdh@gnu.org>
11067
11068 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11069
11070 * textmodes/reftex.el (reftex-compile-variables): Use it.
11071
a829b0dc
SM
110722013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11073
91e8293c
SM
11074 * files.el (normal-mode): Only use default major-mode if no other mode
11075 was specified.
11076
830aed4d
SM
11077 * emacs-lisp/trace.el (trace-values): New function.
11078
a829b0dc
SM
11079 * files.el: Allow : in local variables (bug#14089).
11080 (hack-local-variable-regexp): New var.
11081 (hack-local-variables-prop-line, hack-local-variables): Use it.
11082
7ae9f0fb
RW
110832013-04-13 Roland Winkler <winkler@gnu.org>
11084
11085 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11086 data before it gets modified by bibtex-beginning-of-entry.
11087
6646e848
RW
110882013-04-13 Roland Winkler <winkler@gnu.org>
11089
11090 * textmodes/bibtex.el (bibtex-url): Doc fix.
11091
110922013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11093
11094 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11095 does not visit a BibTeX file, exclude it from the list of buffers
11096 returned by bibtex-initialize.
11097
0aa3616e
SB
110982013-04-13 Stephen Berman <stephen.berman@gmx.net>
11099
11100 * window.el (split-window): Remove interactive form, since as a
11101 command this function is a special case of split-window-below.
11102 Correct doc string.
11103
011cddd6
RW
111042013-04-12 Roland Winkler <winkler@gnu.org>
11105
11106 * faces.el (read-face-name): Do not override value of arg default.
11107 Allow single faces and strings as default values. Remove those
11108 elements from return value that are not faces.
11109 (describe-face): Simplify.
11110 (face-at-point): New optional args thing and multiple so that this
11111 function can provide the same functionality previously provided by
11112 read-face-name.
11113 (make-face-bold, make-face-unbold, make-face-italic)
11114 (make-face-unitalic, make-face-bold-italic, invert-face)
11115 (modify-face, read-face-and-attribute): Use face-at-point.
11116
11117 * cus-edit.el (customize-face, customize-face-other-window)
11118 * cus-theme.el (custom-theme-add-face)
11119 * face-remap.el (buffer-face-set)
11120 * facemenu.el (facemenu-set-face): Use face-at-point.
11121
f24e0036
MA
111222013-04-12 Michael Albinus <michael.albinus@gmx.de>
11123
11124 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11125
da3cda2d
TH
111262013-04-10 Tassilo Horn <tsdh@gnu.org>
11127
11128 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11129 off leading { and trailing } from field values.
11130
15e54145
SM
111312013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11132
78ce603d
SM
11133 * emacs-lisp/timer.el (timer--check): New function.
11134 (timer--time, timer-set-function, timer-event-handler): Use it.
11135 (timer-set-idle-time): Simplify.
11136 (timer--activate): CSE.
11137 (timer-event-handler): Give more info in error message.
11138 (internal-timer-start-idle): New function, moved from C.
11139
15e54145
SM
11140 * mpc.el (mpc-proc): Add `restart' argument.
11141 (mpc-proc-cmd): Use it.
11142 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11143 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11144 less often.
11145
7144c627
MY
111462013-04-10 Masatake YAMATO <yamato@redhat.com>
11147
11148 * progmodes/sh-script.el: Implement `sh-mode' own
11149 `add-log-current-defun-function' (bug#14112).
11150 (sh-current-defun-name): New function.
11151 (sh-mode): Use the function.
11152
b39792eb
BG
111532013-04-09 Bastien Guerry <bzg@gnu.org>
11154
11155 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11156
8acdeb71
SM
111572013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11158
6fcdab68
SM
11159 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11160
8acdeb71
SM
11161 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11162 timer (bug#14156).
11163
e3e7b504
NF
111642013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11165
11166 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11167 declaration.
11168
201bb296
LL
111692013-04-07 Leo Liu <sdl.web@gmail.com>
11170
11171 * pcmpl-x.el: New file.
11172
ebb19708
DA
111732013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11174
11175 Do not set x-display-name until X connection is established.
11176 This is needed to prevent from weird situation described at
11177 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11178 * frame.el (make-frame): Set x-display-name after call to
11179 window system initialization function, not before.
11180 * term/x-win.el (x-initialize-window-system): Add optional
11181 display argument and use it.
11182 * term/w32-win.el (w32-initialize-window-system):
11183 * term/ns-win.el (ns-initialize-window-system):
11184 * term/pc-win.el (msdos-initialize-window-system):
11185 Add compatible optional display argument.
11186
33bb237a
EZ
111872013-04-06 Eli Zaretskii <eliz@gnu.org>
11188
11189 * files.el (normal-backup-enable-predicate): On MS-Windows and
11190 MS-DOS compare truenames of temporary-file-directory and of the
11191 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11192 don't fail comparison by compare-strings. Also, compare file
11193 names case-insensitively on MS-Windows and MS-DOS.
11194
134abf1f
SM
111952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11198 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11199
d695cb94
DG
112002013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11201
e3e7b504
NF
11202 * whitespace.el (whitespace-color-on, whitespace-color-off):
11203 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11204
f4ad7ea1 112052013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11206
11207 * ispell.el (ispell-set-spellchecker-params):
11208 Really set `ispell-args' for all equivs.
11209
632556e4
SM
112102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * ido.el (ido-completions): Use extra elements of ido-decorations
11213 (bug#14143).
11214 (ido-decorations): Update docstring.
11215
2a417372
MA
112162013-04-05 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11219 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11220 nil during initialization, in order not to miss changes since the
11221 file was opened. (Bug#14140)
11222
fc164b0c
LL
112232013-04-05 Leo Liu <sdl.web@gmail.com>
11224
11225 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11226
0ccecc08
JB
112272013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11228
11229 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11230
51af1aa2
GM
112312013-04-04 Glenn Morris <rgm@gnu.org>
11232
11233 * electric.el (electric-pair-inhibit-predicate): Add :version.
11234
b208ebc6
SM
112352013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11238 when a package is required several times (bug#14082).
11239
f3d3eaf0
RW
112402013-04-04 Roland Winkler <winkler@gnu.org>
11241
11242 * faces.el (read-face-name): Behave as promised by the docstring.
11243 Assume that arg default is a list of faces.
11244 (describe-face): Call read-face-name with list of default faces.
11245
2575da50
TV
112462013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11247
11248 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11249 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11250 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11251 the header.
11252 (bookmark-exit-hook-internal): Save even if list is empty.
11253
397703b4
YH
112542013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11255
11256 * emacs-lisp/package.el (package-pinned-packages): New var.
11257 (package--add-to-archive-contents): Obey it (bug#14118).
11258
691e26ae
AM
112592013-04-03 Alan Mackenzie <acm@muc.de>
11260
8a621d53
JB
11261 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11262 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11263
11264 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11265 parameter `not-in-delimiter'. Handle being inside comment opener.
11266 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11267 character in case we're typing a '*' after a '/'.
11268 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11269 instead by passing the parameter to c-state-pp-to-literal.
11270
11271 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11272 for elt. 7 of a parse state.
11273
4b725a70
PE
112742013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11275
11276 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11277 * international/latin1-disp.el, international/mule-util.el:
11278 * language/cyril-util.el, language/european.el, language/ind-util.el:
11279 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11280 * language/tibetan.el, language/viet-util.el:
11281 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11282
15c579f0
SM
112832013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11284
11285 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11286 (electric-pair-post-self-insert-function): Use it.
11287 (electric-pair-default-inhibit): New function, extracted from
11288 electric-pair-post-self-insert-function.
11289
a77e2924
RW
112902013-03-31 Roland Winkler <winkler@gnu.org>
11291
11292 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11293
2bd8a4a8
SM
112942013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11297
8d3655be 112982013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11299
11300 Un-indent after "pass" and "return" statements (Bug#13888)
11301 * progmodes/python.el (python-indent-block-enders): New var.
11302 (python-indent-calculate-indentation): Use it.
11303
8d3655be 113042013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11305
11306 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11307 defun. Defining it as defalias could introduce too eager
11308 byte-compiler optimization. (Bug#14030)
11309
8d3655be 113102013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11311
11312 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11313
0b1619da
LL
113142013-03-30 Leo Liu <sdl.web@gmail.com>
11315
11316 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11317 (kmacro-execute-from-register): Pass the keyboard macro to
11318 kmacro-call-macro or repeating won't work correctly.
11319
0b938190
TZ
113202013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11321
11322 * progmodes/subword.el: Back to using `forward-symbol'.
11323
11324 * subr.el (forward-whitespace, forward-symbol)
11325 (forward-same-syntax): Move from thingatpt.el.
11326
35710234
LL
113272013-03-29 Leo Liu <sdl.web@gmail.com>
11328
11329 * kmacro.el (kmacro-to-register): New command.
11330 (kmacro-execute-from-register): New function.
11331 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11332
efc0bb73
SM
113332013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * mpc.el: Use defvar-local and setq-local.
11336 (mpc--proc-connect): Connection failures are not bugs.
11337 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11338 (mpc-volume-map): Bind to the up-events.
11339
75a2f981
TZ
113402013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11341
11342 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11343 instead of `forward-symbol'.
11344
17c781d1
SM
113452013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11346
11347 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11348 (edebug--recursive-edit): Use it.
11349 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11350 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11351
f67bfbcf
LL
113522013-03-28 Leo Liu <sdl.web@gmail.com>
11353
11354 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11355
b59f639d
EZ
113562013-03-27 Eli Zaretskii <eliz@gnu.org>
11357
11358 * facemenu.el (list-colors-callback): New defvar.
11359 (list-colors-redisplay): New function.
11360 (list-colors-display): Install list-colors-redisplay as the
11361 revert-buffer-function. (Bug#14063)
11362
f557c1b1
SM
113632013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11364
b1da2957
SM
11365 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11366 and suffixes don't overlap (bug#14061).
11367
f557c1b1
SM
11368 * case-table.el: Use lexical-binding.
11369 (case-table-get-table): New function.
11370 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11371
002668e1
TZ
113722013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11373
11374 * progmodes/subword.el: Add `superword-mode' to do word motion
11375 over symbol_words (parallels and leverages `subword-mode' which
11376 does word motion inside MixedCaseWords).
11377
73572c72
AG
113782013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11379
78b8f320 11380 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11381 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11382
69b2c07e
SM
113832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11386 Change return value to be a sexp. Delay `get-buffer' to after
11387 restoring the desktop (bug#13951).
11388
08bb5ee2
LL
113892013-03-26 Leo Liu <sdl.web@gmail.com>
11390
11391 * register.el: Move semantic tag handling back to
11392 cedet/semantic/senator.el. (Bug#14052)
11393
8d4c974e
SM
113942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11397 into the prompt either (bug#13963).
11398
b234d92c
SM
113992013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11402 part of "(error-foo)".
11403
ddfa3cb4
JL
114042013-03-24 Juri Linkov <juri@jurta.org>
11405
11406 * replace.el (list-matching-lines-prefix-face): New defcustom.
11407 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11408 `occur-engine' if `face-differs-from-default-p' returns t.
11409 (occur-engine): Add `,' inside backquote construct to evaluate
11410 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11411 Pass `prefix-face' to the functions `occur-context-lines' and
11412 `occur-engine-add-prefix'.
11413 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11414 `prefix-face' and propertize the prefix with `prefix-face'.
11415 (Bug#14017)
11416
7b0e2f85
LL
114172013-03-24 Leo Liu <sdl.web@gmail.com>
11418
11419 * nxml/rng-valid.el (rng-validate-while-idle)
11420 (rng-validate-quick-while-idle): Guard against deleted buffer.
11421 (Bug#13999)
11422
11423 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11424 is the last entry in kill-buffer-hook.
11425
11426 * files.el (kill-buffer-hook): Doc fix.
11427
b3082f49
DG
114282013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11429
b234d92c
SM
11430 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11431 Make it safe-local.
bde73d27 11432
b3082f49
DG
11433 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11434
a320a2db
LL
114352013-03-23 Leo Liu <sdl.web@gmail.com>
11436
7e74b0fb
LL
11437 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11438 Remove.
11439
11440 * nxml/rng-valid.el (rng-validate-mode)
11441 (rng-after-change-function, rng-do-some-validation):
11442 * nxml/rng-maint.el (rng-validate-buffer):
11443 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11444 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11445 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11446 (nxml-extend-after-change-region): Use with-silent-modifications.
11447
a320a2db
LL
11448 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11449 timer-idle-list.
11450
11451 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11452 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11453 timer-idle-list. (Bug#13999)
11454
e38e6780
JL
114552013-03-23 Juri Linkov <juri@jurta.org>
11456
11457 * info.el (info-index-match): New face.
11458 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11459 main pattern and add text properties with the new face to matches
11460 in index entries relative to the beginning of the index entry.
11461 (Bug#14015)
11462
e8cc7880
DE
114632013-03-21 Eric Ludlam <zappo@gnu.org>
11464
11465 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11466 Inhibit read only while inserting objects.
11467
9bb0d822
TZ
114682013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11469
11470 * progmodes/cfengine.el: Update docs to mention
11471 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11472 symbol motion. Remove "_" from the word syntax.
11473
aa703640
TZ
114742013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11475
11476 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11477 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11478
afff09d0
JL
114792013-03-20 Juri Linkov <juri@jurta.org>
11480
11481 * info.el (Info-next-reference-or-link)
11482 (Info-prev-reference-or-link): New functions.
11483 (Info-next-reference, Info-prev-reference): Use them.
11484 (Info-try-follow-nearest-node): Handle footnote navigation.
11485 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11486
9a1ff164
SM
114872013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11490 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11491
2667d15d
PE
114922013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11493
11494 Suppress unnecessary non-ASCII chatter during build process.
11495 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11496 (batch-skkdic-convert): Suppress most of the chatter.
11497 It's not needed so much now that machines are faster,
11498 and its non-ASCII component was confusing; see Dmitry Gutov in
11499 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11500
438b0579
LL
115012013-03-20 Leo Liu <sdl.web@gmail.com>
11502
11503 * ido.el (ido-chop): Fix bug#10994.
11504
c128ab07
DG
115052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11506
11507 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11508 Remove vars.
9a1ff164
SM
11509 (whitespace-color-on, whitespace-color-off):
11510 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11511
0e6008c5
SM
115122013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11515 remapping in mode-line.
11516 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11517
627b52b0
DG
115182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11519
11520 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11521 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11522 (whitespace-font-lock-keywords): Change description.
11523 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11524 the constructed keywords instead.
11525 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11526
50c3a20b
LL
115272013-03-19 Leo Liu <sdl.web@gmail.com>
11528
11529 * progmodes/compile.el (compilation-display-error): New command.
11530 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11531 C-o. (Bug#13992)
11532
2aa2157b
PE
115332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11534
11535 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11536
e477dbfa
JD
115372013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11538
11539 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11540
64ab82d1
MA
115412013-03-18 Michael Albinus <michael.albinus@gmx.de>
11542
11543 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11544
11545 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11546 * net/tramp-gvfs.el (top):
11547 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11548 (tramp-handle-shell-command): Use it.
11549 (tramp-dissect-file-name): Raise an error when hostname is a
11550 method name, and neither method nor user is specified.
11551
11552 * net/trampver.el: Update release number.
11553
33cef733
LL
115542013-03-18 Leo Liu <sdl.web@gmail.com>
11555
11556 Make sure eldoc can be turned off properly.
11557 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11558 eldoc-mode.
11559 (eldoc-display-message-p): Revert last change.
11560 (eldoc-display-message-no-interference-p)
11561 (eldoc-print-current-symbol-info): Tweak.
11562
2167b7b2
TH
115632013-03-18 Tassilo Horn <tsdh@gnu.org>
11564
11565 * doc-view.el (doc-view-new-window-function): Check the new window
11566 overlay's display property instead the char property of the
11567 buffer's first char. Use `with-selected-window' instead of
11568 `save-window-excursion' with `select-window'.
11569 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11570 display property instead the char property of the buffer's first char.
2167b7b2 11571
982efbcd
PE
115722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11573
11574 Automate the build of ja-dic.el (Bug#13984).
11575 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11576 from the input, rather than assume that it's been done for us by the
11577 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11578 the current date into a ja-dic.el comment, as that complicates
11579 regression testing.
11580
2fcc7665
SM
115812013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * whitespace.el: Fix double evaluation.
11584 (whitespace-space, whitespace-hspace, whitespace-tab)
11585 (whitespace-newline, whitespace-trailing, whitespace-line)
11586 (whitespace-space-before-tab, whitespace-indentation)
11587 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11588 obsolete defvars.
11589 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11590 (whitespace-color-on): Use a single font-lock-add-keywords call.
11591 Fix double-evaluation of face variables.
11592
67c0a6e6
MA
115932013-03-17 Michael Albinus <michael.albinus@gmx.de>
11594
2fcc7665
SM
11595 * net/tramp-adb.el (tramp-adb-parse-device-names):
11596 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11597 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11598
69489f1d
LL
115992013-03-17 Leo Liu <sdl.web@gmail.com>
11600
11601 Extend eldoc to display info in the mode-line. (Bug#13978)
11602 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11603 (eldoc-mode-line-string): New variable.
11604 (eldoc-minibuffer-message): New function.
11605 (eldoc-message-function): New variable.
11606 (eldoc-message): Use it.
11607 (eldoc-display-message-p)
2fcc7665
SM
11608 (eldoc-display-message-no-interference-p):
11609 Support eldoc-post-insert-mode.
69489f1d
LL
11610
11611 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11612 (eval-expression): Run it.
11613
9c44569e
RW
116142013-03-17 Roland Winkler <winkler@gnu.org>
11615
11616 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11617 strings in the list of return values.
11618
327f1f6f
JB
116192013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11620
11621 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11622 radix before checking for HMS forms.
11623
67ed8fcd
LL
116242013-03-16 Leo Liu <sdl.web@gmail.com>
11625
11626 * progmodes/scheme.el: Add indentation and font-locking for λ.
11627 (Bug#13975)
11628
78be8b64 116292013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11630
11631 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11632 token before point (bug#13942).
11633
78be8b64 116342013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11635
95b43468 11636 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11637
98e775e6
EZ
116382013-03-16 Eli Zaretskii <eliz@gnu.org>
11639
11640 * startup.el (command-line-normalize-file-name): Fix handling of
11641 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11642 <xfq.free@gmail.com> in
11643 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11644
2edd6029
MA
116452013-03-15 Michael Albinus <michael.albinus@gmx.de>
11646
11647 Sync with Tramp 2.2.7.
11648
11649 * net/trampver.el: Update release number.
11650
d35f5864
TH
116512013-03-14 Tassilo Horn <tsdh@gnu.org>
11652
e903c210 11653 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11654 (doc-view-insert-image): Don't modify overlay associated to
11655 non-live windows, and implement horizontal centering of image in
11656 case it's smaller than the window.
11657 (doc-view-new-window-function): Force redisplay of new windows on
11658 doc-view buffers.
d35f5864 11659
1c4a85ed
KF
116602013-03-13 Karl Fogel <kfogel@red-bean.com>
11661
11662 * saveplace.el (save-place-alist-to-file): Don't sort
11663 `save-place-alist', just pretty-print it (bug#13882).
11664
85b66a21
MA
116652013-03-13 Michael Albinus <michael.albinus@gmx.de>
11666
a020afb9
JB
11667 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11668 Check whether `default-file-name-coding-system' is bound.
11669 It isn't in XEmacs.
85b66a21 11670
175600da
SM
116712013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11672
e7f7cb1a
SM
11673 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11674 backquotes for `obsolete' (bug#13929).
11675
175600da
SM
11676 * international/mule.el (find-auto-coding): Include file name in
11677 obsolescence warning (bug#13922).
11678
ca68a22e
TZ
116792013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11680
11681 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11682 for CFEngine 3-specific indentation.
11683 (cfengine3-indent-line): Use it. Fix up category regex.
11684 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11685
940e5099
SM
116862013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * type-break.el (type-break-file-name):
11689 * textmodes/remember.el (remember-data-file):
11690 * strokes.el (strokes-file):
11691 * shadowfile.el (shadow-initialize):
11692 * saveplace.el (save-place-file):
11693 * ps-bdf.el (bdf-cache-file):
11694 * progmodes/idlwave.el (idlwave-config-directory):
11695 * net/quickurl.el (quickurl-url-file):
11696 * international/kkc.el (kkc-init-file-name):
11697 * ido.el (ido-save-directory-list-file):
11698 * emulation/viper.el (viper-custom-file-name):
11699 * emulation/vip.el (vip-startup-file):
11700 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11701 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11702
cc725808
PE
117032013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11704
11705 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11706 * language/thai-word.el: Switch to UTF-8.
11707
a020afb9 11708See ChangeLog.16 for earlier changes.
e3d51b27
MR
11709
11710;; Local Variables:
11711;; coding: utf-8
e3d51b27
MR
11712;; End:
11713
ab422c4d 11714 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11715
11716 This file is part of GNU Emacs.
11717
11718 GNU Emacs is free software: you can redistribute it and/or modify
11719 it under the terms of the GNU General Public License as published by
11720 the Free Software Foundation, either version 3 of the License, or
11721 (at your option) any later version.
11722
11723 GNU Emacs is distributed in the hope that it will be useful,
11724 but WITHOUT ANY WARRANTY; without even the implied warranty of
11725 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11726 GNU General Public License for more details.
11727
11728 You should have received a copy of the GNU General Public License
11729 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.